
  :root{  --button-bg-color:#8B4513;
    --nav-color:#D2B4BC;
    --dark-color:#333333;
    --shadow-white-color:#F5F5F5;
    --white-color:#FFFFEF;
    --background-color:#5C3A21;
    --h1-color:#8B4513;


     
    --card-radius: 12px;
    --space: 25px;

}
 * {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
     }

 body {
margin: 0;
padding: 0;
font-family: "Roboto", sans-serif;
background-color: #d99547be;
background-position: cover;
background-repeat: no-repeat;
 }
 h1,h2, h3{
    font-family: "Poppins", sans-serif;
 }

nav{
background-color: var(--dark-color);
box-shadow: #F8F5EF;
}

nav ul{
    width: 100%;
    list-style: none;
    display: flex;
    justify-content: flex-end;
    align-items: center;
}
nav li{
    height: 50px;
}
nav a{
    height: 100%;
    padding: 0 30px;
    text-decoration: none;
    display: flex;
    align-items: center;
    color: #FFFFEF;
}
nav ul img{
    background-color: #f2ebe691;
    width: 100%;
    padding: 2px;

}
nav a:hover{
    background-color: #5f420a;
}

nav ul li:first-child{
    margin-right:auto;
}

@media (max-width: 800px){
    

.navv li a{display: none;}


}

.nav_button{
    width: 100%;
    height: 100%;
    align-self: flex-end;
    margin-right:20px;
    background-color: #b70909a1;
    padding: 5px;
    margin-right: 15px;
    font-size: var(--);
    border-radius: 10px;
    border: 1px solid #f3ebebd5;
    color: #ebdfe2;

}
.side-bar button{
width: 80%;
    height: 8%;
    align-self: flex-end;
    margin-right:20px;
    background-color: #b70909a1;
    padding: 5px;
    margin-right: 15px;
    font-size: var(--);
    border-radius: 10px;
    border: 1px solid #f3ebebd5;
    color: #ebdfe2;
} 

.nav_button:hover{
    background-color: rgba(120, 82, 47, 0.544);
}

.side-bar img{
    width: 40px;
    height: 100%;
    background: transparent;
}


.side-bar{
    position: fixed;
    top: 0;
    right: 0;
    height: 100vh;
    width: 250px;
    backdrop-filter: blur(10px);
    z-index: 10;
    background-color: #6d565d92;
    box-shadow: -10px 0 10px rgba(132, 128, 121, 0.1);
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: flex-start;
}
.side-bar li{
    width: 100%;
}

.side-bar a{
    width: 100%;
}
@media (max-width:720px) {
    .form{width: 80%;
    }
    .door_cards{
       min-height: 250px;
        background-color: #020000fc;
    }

}

form{
    display: none;
    flex-direction: column;
    padding: 50px;
    width: 35%;
    height: 60%;
    justify-content: center;
    align-items: left;
    position: fixed;
    align-self: center;
    justify-self: center;
    top: 10%;
    object-fit: cover;
    z-index: 999;
    background-color: #564423eb;
    border-radius: 17px;
    gap: 5px;
    color: #ebdfe2;
    cursor: pointer;
}

form img{
    margin-top: -30;
    margin-left: 93%;
    width: 30px;
}
legend{
    align-self: center;
    text-decoration: none;
    text-align: center;
    margin-top: -40;
    padding: 30px;
    font-family: 'Poppin',sans-serif;
    color: #f3eeee;
    font-size: clamp(0.5rem, 2vw, 2.5rem);
}
label{
    text-align: left;
    font-size:   clamp(0.5rem, 1.5vw, 2.rem);  
    padding: 1px;
}

form input{
    border: 1px solid #9a3e14;
    width: 95%;
    background-color: #dab59b95;
    height: 10%;
    color: #fff;
    font: bold;
    font-size: 17px;   ;
    border-radius: 3px;
}
form input::placeholder{
    color: #1f12129e;
    font-size: 15px;
}
form input:focus{
    color: #040303ec;
    background-color: #ebbc9b9f;
}
form input:last-child{
    width: 40%;
    margin-left: 55%;
    cursor: pointer;
    justify-self: center;
    border-color: #8B4513;
    background-color: #3e2709e6;
    margin-top: 5px;
    font-size: large;
}
form input:last-child:hover{
    background: transparent;
}
form img:hover{
    border:1.5px solid #F5F5F5;
    border-radius: 2px;
    box-shadow: #5f420a;
}

.search-container{
    align-self: center;
    justify-self: center;
    width: 40%;
    height: 5vh;
    padding: 5px;
    display: flex;
    margin: auto;
    border-radius: 10px;
}
.search-container input{
    width: 100%;
    height: 100%;
    font-size: large;
    font-family: 'Poppins', sans-serif;
    border-radius: 10px;
    border: 0.5px solid #c26718d3;
    padding-left:8px ;
}
.search-container input:focus{
    background-color: #c8919138;
    color: #020000fc;
}

.door_container{
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap:20px;
    align-items: center;
    width: 100%;
    padding: 10px;
    
}
.door_cards{
    width: 100%;
    height: 60vh;
    background-color: #eae4e1cd;
    align-items: center;
    justify-content: center;
    padding: 8px;
    border-radius: 10px;
    transition: 0.5s;
}

.door_cards:hover{
    box-shadow:9px 10px 4px 8px #c4754bde;
}
.door_cards_image{
    width: 100%;
    height: 60%;
    object-fit: cover;
}
.door_cards_image:hover{
box-shadow: 2px #ec9494f1;
}
.door_cards_image img{
    width: 80%;
    margin-left: 10%;
    height: 100%;
}


.door_cards h3{
padding-bottom: 5px;
color: #020202;
padding-top:3px;
font-size: clamp(0.4rem, 0.8vw, 1rem);
  /* 1. Forces all text onto a single line */
  overflow: hidden;
  text-overflow: ellipsis;
}


.door_type{
    margin: 2px;
    margin-left: 5%;
    font-weight: bold;
    padding: 1px;
}
.door_size{
    margin: 2px;
    margin-left: 5%;
    padding: 1px;
}
.door_price{
    text-align: center;
    font-weight: bold;
    text-shadow: #f3ebebd5;
}

.door_cards button{
    width: 80%;
    height: 7%;
    margin-left: 10%;
    border-radius: 10px;
    border: 1.5px solid #f87007da;
    font-size: large;
    margin-top: 8px;
    
}
.door_cards button:hover{
    background-color: #883e05;
}
.popup_size{
    color: white;
    font-family: 'Poppin', sans-serif;
    margin-left: 20%;
    padding-top: 7px;
    font-size: 25px;
}
.product_popup{
            display: none;
            width: 80%;
            height: 80vh;
            position: fixed;
            top: 10%;
            left: 10%;
            background: linear-gradient(#e1d2c4f7, #2f2b24ea);
            z-index: 10;
            box-shadow: 0 0 20px black;
            flex-direction: column;
            overflow-y: scroll;
        }
        .close img{
            padding-top: 5px;
    margin-left: 93%;
    top:5px;
    width: 40px;
}
.close img:hover{
    border:2px solid rgba(203, 142, 12, 0.738);

}


.product_popup_image img{
    width: 60%;
    align-self: center;
    justify-self: center;
    margin-left: 20%;
      height:50vh ;
}
.product_popup h2{
    color: #020202;
    margin-left: 20%;
    padding-top: 10px;
    padding-bottom: 1%;
    white-space: nowrap;  /* 1. Forces all text onto a single line */
  overflow: hidden;     /* 2. Hides the text that spills out of the container */
  text-overflow: ellipsis;
}

.popup_type{
margin-left: 20%;
font-size: 25px;
color: #fff;
  
}
.product_popup .popup_price{
    color: #faf9f9;
    margin-left: 70%;
    padding-bottom:10px ;
    font-size: 27px;
    margin-top: -6%;
}
.product_popup span{
    margin-left: 50%;
    color: #f4f4f4;
    font-family: 'poppin', sans-serif;
}
.quantity{
    width: 20%;
    height: 5%;
    border-radius: 5px;
    font-size: large;
    margin-left:69.2% ;
    background-color: #e28f21;
}
.quantity:focus{
    background-color: #e4ad8ce6;
}
    @media(max-width:800px){
              .product_popup_image {
    width: 80%;
    margin-left: 10%;
      height:42vh ;
}
            .popup_size{
    margin-left: 2%;
    padding-top: 14px;
    font-size: clap(1rem, 1vw, 2rem);
            }
.product_popup h2{
    color: #020202;
    margin-left: 2%;
    padding-top: 2px;
    font-size: clap(1rem, 1vw, 2rem);
    white-space: nowrap;  /* 1. Forces all text onto a single line */
     /* 2. Hides the text that spills out of the container */
  text-overflow: ellipsis;
}

.popup_type{
margin-left: 2%;
font-size: clap(1rem, 1vw, 4rem);
  margin-buttom:-40x;
}
.product_popup .popup_price{
    color: #faf9f9;
    margin-left: 70%;
    padding-bottom:10px ;
    font-size: clap(1rem, 1vw, 2rem);
    margin-top: -8%;
} 
        }



h3{
    margin-left:43% ;
    align-items: center;
    color: white;
    font-family: 'Poppin', sans-serif;
    font-size: 30px;
}
.totalAmount{
    color: #f0e6cce6;
}

.order{
    width: 50%;
    align-self: center;
    background-color: #df8a0bf1;
    height: 5%;
    font-family: 'poppin', sans-serif;
    border-radius: 8px;
}
.order:hover{
    background-color:#efbfbf ;
}




@media (max-width: 720px) {
    .door_container{
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        background: transparent;
    }
  .order_form{
    width:100vh;
    height:47vh;
  }
}

.order_form{
    display: none;
    flex-direction: column;
    align-self:center ;
    position: absolute;
    z-index: 100;
    justify-self: center;
    top: 40%;
    background: linear-gradient(#ebc49df1, #48311cfc);
    width: 50%;
    height: 30vh;
    padding: 10px;
    border-radius: 10px;
}

.order_message{
    width: 100%;
    height: 40%;
    color: #451e06fc;
    font-family: 'Roboto', 'Poppin', sans-serif;
    padding-bottom: 4%;
    text-align: center;

}
.order_form p{
    text-align: center;
    color: #110303;
    padding-bottom: 3px;
}

.order_form_input{
    width: 50%;
    margin-left: 25%;
    height: 20%;
    padding: 3px;
    margin-bottom: 2%;
    border-radius: 5px;
    background-color: #f3eaea3f;
    border: none;
}
.order_form_input:focus{
    background-color: #dcbdbd;
}
.order_form_input:hover{
    background-color: #f5f0f0bf;
}

.ok{
    background-color: #f36d07f9;
    width: 30%;
    height: 17%;
    margin-left: 35%;
    border-radius: 5px;
    border: none;
}
.ok:hover{
    background-color: #faf6f6;
}


