﻿:root {
 	--background-color-main: white;
  --background-color-menu: black;
  --background-color-head:  rgb(255, 255, 255);
  --border-color-menu: black;
  --normal-color-option: white;
  --border-size-menu: 1px;
  --hover-color-option: yellow;
  --white: white;
  --green: lightgreen;
  --black: black;
  --display-width : 100%;
  --display-height : 424px;
  --base-breadcrumb-color: black;
  --menu-icon-left: 20px;
}

  *,
  *::before,
  *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
  }

 h2 { padding-top:10px;} 
 h3 { padding-left:10px; padding-top:10px;}
 span.tick { font-family: webdings; font-size:28px;}

body {
  display:flex;
  justify-content: center;
  margin: 0px auto;
  align-items: center;
  padding:0px;
  background-color: var(--background-color-main);
}


/* Navbar container */
.navbar {
  overflow: hidden;
  background-color: #13a8c6;
  font-family: Arial;
  width: var(--display-width);
  z-index:2;
}

/* Links inside the navbar */
.navbar a {
  float: left;
  font-size: 16px;
  color: white;
  text-align: center;
  padding: 14px 26px;
  text-decoration: none;
}

/* The dropdown container */
.dropdown {
  float: left;
  overflow: hidden;
    /* width: var(--display-width); */
}

/* Dropdown button */
.dropdown .dropbtn {
  height:100%;
  font-size: 16px;
  border: none;
  outline: none;
  color: white;
  padding: 14px 16px;
  background-color: inherit;
  font: inherit; /* Important for vertical align on mobile phones */
  margin: 0; /* Important for vertical align on mobile phones */
}

/* Add a red background color to navbar links on hover */
.navbar a:hover, .dropdown:hover .dropbtn {
  background-color: rgb(13, 88, 216);
  cursor:pointer;
}

/* Dropdown content (hidden by default) */
.dropdown-content {
  display: none;
  position:absolute;
  top:240px;
  background-color: #f9f9f9;
  width: auto;
  box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.2);
  z-index: 1;
}

/* Mega Menu header, if needed */
.dropdown-content .header {
  background: rgb(13, 88, 216);
  padding: 16px;
  color: white;
}

/* Show the dropdown menu on hover */
.dropdown:hover .dropdown-content {
  display: block;
}

/* Create three equal columns that floats next to each other */
.column {
  float: left;
  width: 33.33%;
  padding: 10px;
  background-color: white;
  height: auto;
}

.column3 {
  float: left;
  width: 200px;
  padding: 10px;
  background-color: white;
  height: auto;
}

.columnAd {
  width:80%;
}
IMG.columnAd  {
  width:80%;
}
/* Style links inside the columns */
.column a, .column3 a  {
  float: none;
  width: 100%;
  color: black;
  padding: 14px 26px;
  text-decoration: none;
  display: block;
  text-align: left;
}

/* Add a background color on hover */
.column a:hover,.column3 a:hover {
  background-color: #ddd;
}

/* Clear floats after the columns */
.row:after {
  content: "";
  display: table;
  clear: both;
}

#search {
  width: 300px;
  height:40px;
}

#search INPUT {
  border-radius:15px;
  height:40px;
  width:400px;
  background-image: url(../media/search.png);
  background-repeat: no-repeat;
  background-position: right center;
  padding-left: 10px;
}

#search A {
  position: relative;
  top:-40px;
  left:370px;
  width:40px;
  height:40px;
  color: transparent;
  font-size: 30px;
}
  
/* The side navigation menu */
.sidenav {
  border: var(--border-color-menu) var(--border-size-menu) solid;
  height: 100%; /* 100% Full-height */
  width: 0; /* 0 width - change this with JavaScript */
  position: fixed; /* Stay in place */
  z-index: 1; /* Stay on top */
  top: 0; /* Stay at the top */
  left: 0;
  z-index: 100;
  background-color:var(--background-color-menu); /* Black*/
  overflow-x: hidden; /* Disable horizontal scroll */
  padding-top: 60px; /* Place content 60px from the top */
  transition: 0.5s; /* 0.5 second transition effect to slide in the sidenav */
}

/* The navigation menu links */
.sidenav a {
  padding: 8px 8px 8px 32px;
  text-decoration: none;
  font-size: 20px;
  color: var(--normal-color-option);
  display: block;
  transition: 0.3s;
}

/* When you mouse over the navigation links, change their color */
.sidenav a:hover {
  color: var(--hover-color-option);

}

/* Position and style the close button (top right corner) */
.sidenav .closebtn {
  position: absolute;
  top: 0;
  right: 25px;
  font-size: 36px;
  margin-left: 50px;
}

#wrapper {
  margin:0;
  width:var(--display-width);
}

.candle_in_hand
{
  background: url(../media/candle\ in\ hand.jpg);
  background-size: cover;
} 

#header {
  width: var(--display-width);
  min-height:200px;
  height: auto;
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  justify-content: space-evenly;
  align-items: flex-end;
  background-color: var(--background-color-head);
  }
  
  #main {
  width: var(--display-width);
  display:flex;
  flex-wrap: wrap;
  flex-direction: column;
  padding-left:20px;
  justify-content: space-evenly;
  align-items: flex-start;
}
.display_in_rows {
  width: var(--display-width);
  display:flex;
  flex-direction: row;
  gap: 4px;
  justify-content: space-evenly;
  align-items: flex-start; 
}
.display_in_rows A {
text-decoration: none;
}

#footer {
  left:0px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  height: 100px; 
  width: var(--display-width);
  background-color: var(--base-breadcrumb-color);
  color: var(--background-color-main);

}

#footer A {
  display: flex;
  text-decoration: none;
  align-content: center;
  align-items: center;
  height: 100px;
  padding-left:20px;
  color: var(--background-color-main);
  
}
  
#menu-open {
 text-decoration: none;
 background-image: url(../media/menu.png);
 left: 15px;
 top: 330px;
 position: absolute;
 z-index: 999;
 transition-duration: 1s;
 transition-delay: 0S;
 transition-timing-function: ease-in-out;
}

#menu-open:hover {
 cursor: hand;
 transform: rotate(360deg) translateZ(10px);
}

.logo {
 padding-left: 30px;
 width:450px;
 height:200px; 
}

.candles {
  width:200px;
  height:200px;
  padding: 0px;
}

#login {
 position:fixed;
 display:none;
 background-color: white;
 color: white;
 padding:3px;
 z-index: 99099;
}

#login .box {
  padding: 10px;
  margin: 50px;
  width:500px;
  height:300px;
  background: #3b75d8;
  border-radius: 5px;
}

#login .closeLogin {
  position: absolute;
  top: 50px;
  left: 460px;
  font-size: 46px;
  margin-left: 50px;
  color: red;
  text-decoration: none;
}

FORM {
  display: flex;
  flex-direction: column;
  align-items: center;
}

INPUT, BUTTON {
  height:30px;
  padding: 10px 0 10px 0;
  border-radius: 3px;
  text-align: center;
  vertical-align: middle;
}

#admin, #user_menu, .log_out {
  display: none;
}


#msg, #val, #code {
  display: none;
  padding-top:20px;
}

  #menu_open_button { 
  display: none; } 
  
  #menu_open_button { 
  position:absolute;
  left:var(--menu-icon-left);
  top:20px;
  width:40px;
  height:40px; 
  background-image: url("../media/menu_off.png");
  background-size: cover;
  }

  #menu_open_button:hover { 
  background-image: url("../media/menu_on.png");
  background-size: cover;
  }

  .navbar {
    display:block;
  }

  #user A  {
    position:absolute;
    left:var(--menu-icon-left);
    top: 70px;
    width: 40px;
    height: 40px;
    overflow: hidden;
    background-image: url("../media/user_off.png");
            background-size: cover;
            transition: background-image 0.3s ease-in-out;
        }

  #user A:hover {
  background-image: url("../media/user_over.png");
  }
  
  #trolley A  {
    position:absolute;
    left:var(--menu-icon-left);
    top: 110px;
    width: 40px;
    height: 40px;
    overflow: hidden;
    background-image: url("../media/trolley_off.png");
            background-size: cover;
            transition: background-image 0.3s ease-in-out;
        }
 #trolley_count {
    width: 40px;
    height: 40px;
    color:#3b75d8;
    position:absolute;
    left:var(--menu-icon-left);
    top: 150px;
    width: 40px;
    height: 40px;
    text-align: center;
    text-decoration: none;
  }

  #trolley A:hover {
  background-image: url("../media/trolley_over.png");
  }


  .clickable {
   cursor:pointer; 
  }

   .login_title {
    font-size: 20px;
    color:white;
    padding-right:10px;
    text-shadow: 1px 1px 2px black;
   }

 .login_input {
    font-size: 20px;
    color:black;
    padding-right:10px;
    border: 2px #000 solid;
    text-shadow: 1px 1px 2px white;
   }


/* scrolling images */
.carousel {
 margin: 0px auto;
 width: 100svw;
 height: 350px;
 border: 0px;
 display: flex;
 overflow-x: auto;
}

.carousel::-webkit-scrollbar {
  display: none;
}

.card {
 width: 1024px;
 height: 350px;
 padding: 0;
 border-radius: 5px;
 flex: 0 0 5em;
}

.group {
  width: 5120px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0px;
  animation: spin 30s infinite linear;
}

@keyframes spin {
   from { translate: 0; }
   to   { translate: -100%; }
}

.card img {
 width:  1024px;
 height: 350px;
 object-fit: fill ;
}

DIV.productBox {
  display:flex;
  flex-direction: column;
  justify-content:center;
  align-content: center;
  width: 250px;
  height: 270px;
  background:#13a8c6;
  margin-left: 5px;
  margin-right: 5px;
  border-radius: 5px;
  border: 1px black solid;
  text-decoration: none;
}
A.noline {
  text-decoration: none;
  color:white;
}
.blue {
  color:#3b75d8;
}
H3.productTitle {
  font-size: 18px;
  font-family: 'Franklin Gothic Medium', 'Arial Narrow', Arial, sans-serif;
  margin: 5px;
  color:yellow;
}
IMG.productThumb {
  width:180px;
  height:180px;
  padding-left:25px;
}
.productBox .productPrice {
  padding-left:6px;
  color:white;
}

DIV.title {
  width: var(--display-width);
}

INPUT.userinput {
 margin-left:20px;
 width: 600px;
 float: right;
}

.middle {
  align-self: flex-start;
  justify-self: center;
  text-align: center;
}

BUTTON.addbtn , #return {
  margin:5px;
  padding:5px;
  border-radius: 50%;
  border: 5px blue solid;
  width:60px;
  height:60px;
  text-align: center;
  justify-self: center;
  vertical-align: middle;
  background-color: bisque;
  cursor: grabbing;
}
BUTTON.addbtn:hover, #return:hover {
  background-color: yellow;
}
BUTTON.disabled {
  background-color: grey;
  opacity: 0.6;
  cursor: not-allowed;
}

.blurb {
  font-family: Verdana, Geneva, Tahoma, sans-serif;
  font-size:20px;
}
p {
  align-self: flex-start;
  padding-top:5px;
  max-width: var(--display-width);
  width:100svw;
}
.underline {
  text-decoration: underline;
}
.container { 
  display: flex;
  flex-direction: row;
  align-content: center;
  justify-content: space-evenly;
  align-items: center;
  width: var(--display-width);
  background-color: white; 
  gap: 4px;
  flex-wrap: wrap;
  height:auto;
  border-bottom: 2px black solid;
  /* overflow: scroll; */
}
.container div {  
  padding: 2px;  font-size: 1.2em; 
}

.container .column {
  width:33.3%;
  height:40px;
}

.box10 {  width:100px; }
.box20 {  width:200px; }
.box30 {  width:300px; }
.box40 {  width:500px; }
.box50 {  width:500px; }
        
.delete {
  width: 50px;
  height: 50px;
  background-image: url('../media/bin.png');
  background-repeat: no-repeat;
  background-size: 75% 75%;
  border-radius: 50%;
  background-position: 50% 50%;
}        
.checkout {
  width: 50px;
  height: 50px;
  background-image: url('../media/checkout.png');
  background-repeat: no-repeat;
  background-size: 75% 75%;
  border-radius: 50%;
  background-position: 50% 50%;
}
 

.checkout_div1 DIV 
{
  display: flex;
  flex-direction: row;
  flex-wrap: nowrap;
  max-width: 512px;
  width: 30svw;
}
.checkout_div2 DIV 
{
  display: flex;
  flex-direction: row;
  flex-wrap: nowrap;
  max-width: 512px;
  width: 70svw;
}
.checkout_div1 input
{
  max-width: 512px;
  width:90%;
}

.title
{
  display: flex;
  flex-direction: row;
  flex-wrap: nowrap;
  color:black;
  text-align: center;
  justify-content: center;
  align-items: center;
  width:90%;
}

#checkout_col
{
  display: flex;
  flex-direction: row;
  align-content: center;
  justify-content: space-evenly;
  align-items: center;
  width: var(--display-width);
  background-color: white; 
  gap: 2px;
  flex-wrap: wrap;
  height:auto;
  border-bottom: 2px black solid;
}

.delete:hover,.checkout:hover {
  background-color: yellow;
} 

.red {
 color: red;
 font-size:22px;  
}
.green {
 color: green;
 font-size:22px;  
}
.blue {
 color: blue;
 font-size:22px;  
}
.phone {
  font-size: 20px;
  font-family: 'Franklin Gothic Medium', 'Arial Narrow', Arial, sans-serif;
}

.email {
  font-size: 20px;
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  font-weight: 800;
}

#notice {
  position:absolute;
  left: 0px;
  top: 0px;
  width: var(--display-width);
  height:auto;
  color:red;
  background-color:rgb(207, 202, 173);
  font-size:22px;  
  text-align: center;
}

#admin_options {
    width: var(--display-width);
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    padding: 10px;
    border: 2px black solid;
    border-radius: 5px;
    gap: 4px;
}

.dashnav UL {
  width: 400px;
  height:auto;
  display:flex;
  flex-direction: column;
  gap: 5px;
}

.dashnav LI, .dashnav LI A {
  width:100%;
  height:40px;
  background-color: #000;
  border-radius: 50%; /* rounded */
  align-items: center;
  justify-content: center;
  list-style-type: none;
  text-decoration: none;
  font-size: 18px;
  color: white;
}

.dashnav LI A {
  width:100%;
  height:100%;
}

.dashnav LI A:hover {
 background-color: #3b75d8;
 } 

.box, A.options {
    width:100%;
    height:auto;
    background-repeat: no-repeat;
    border: 2px black solid;
    border-radius: 5px;
    color: black;
    background-color: bisque;
    text-align: center;
    font-size: 20px;
    margin:5px;
}
.lrgbox {
    width:800px;
    height:50px;
    background-repeat: no-repeat;
    margin: 2px;
    border: 2px black solid;
    border-radius: 5px;
    display: flex;
    flex-direction: column;
    text-decoration: none;
    color: black;
    background-color: bisque;
    border: 2px black solid;
    border-radius: 2px;
    text-align: center;
    font-size: 20px;
    margin:10px;
    align-self: flex-start;
}

/* On smaller screens, where height is less than 450px, change the style of the sidenav (less padding and a smaller font size) */
@media screen and (max-width: 650px) {
  #menu_open_button { display: block; left:20px; }
  .card { flex: 0 0 100%; }
  .sidenav {padding-top: 15px;}
  .sidenav a {font-size: 18px;}
  #footer {width:100svw;}
  .navbar { display: none;}
  body { display: block; }
  :root { --display-width: 100svw; }
  #search { left: 0px; }
  .container div { font-size: 0.75em;}
  .box { border-radius: 0px;
  background-color: white;
  }
 /* scrolling images */

 .carousel,.card {
 width: 100svw;
}

.group {
  width: 100svw;
}
 
}