* {
    margin: 0;
    font-family: Arial;
    border: border-box;

}

html, body {
    width: 100vw; 
    max-width: 100%;
    overflow-x: hidden;
}

header{
    position: sticky;
    top:0px;
}


.navbar{
    height: 60px;
    background-color: #0F1111;
    color: white;
    display:flex;
    align-items:center;
    justify-content: space-evenly;
}

.nav-logo{
    height: 30px;
    width:100px;

}

.logo{
    background-image: url("amazonicon2.PNG");
    background-size: contain;
    background-repeat: no-repeat;
    height: 50px;
    width:100%;
    text-align: center;
}

.border{
    border:1.5px solid transparent;
}

.border:hover{
    border:1.5px solid white;
    padding:4px;
    padding-top:10px;
    padding-bottom: 10px;
}

/* box-2 */
.add-first{
    color:#cccccc;
    font-size:0.85rem;
    margin-left:15px;
}

.add-sec{
    font-size:1rem;
    margin-left:3px;
}

.add-icon{
    display:flex;
    align-items: center;
}

/* box-3 */

.nav-search{
    display:flex;
    justify-content: space-evenly;
    background-color: pink;
    width:800px;
    height:40px;
    border-radius: 4px;
}

.search-select{
    background-color: #f3f3f3;
    width:50px;
    text-align: center;
    border-top-left-radius: 4px;
    border-bottom-left-radius: 4px;
    border:none;
}

.search-input{
    width:100%;
    font-size:1rem;
    border:none;
    outline: none;
}

.search-icon{
    width:45px;
    display:flex;
    justify-content: center;
    align-items: center;
    font-size:1.2rem;
    background-color: rgb(255, 174, 0);
    border-top-right-radius: 4px;
    border-bottom-right-radius: 4px;
    color:#0f1111;
}

.nav-search:hover{
    border:2px solid orange;
}

/* box-4 and box-5 */
span{
    font-size:0.7rem;
}


.nav-signin{
    cursor: pointer;
    position: relative;
    z-index: 1001;
}


/* signin hover */

.signin-hover-button{
    width:100%;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 10px;
}
.signin-hover-button-inner{
    background-color: rgb(255, 225, 0);
    width: 200px;
    border: none;
    height:29px;
    border-radius: 8px;
    font-size: 1rem;
    margin-bottom: 12px;
    padding: 1px 6px;
    cursor: pointer;
}
.signin-hover-details{
    width:100%;
    font-size: 0.85rem;
    text-align: center;
    background-color: rgb(255, 255, 255);
    color: black;
}

.signin-hover a{
    font-size: 0.85rem;
    display: block;
    background-color: rgb(255, 255, 255);
    color: black;
}

.signin-hover ul{
    font-size: 0.85rem;
    /* width: fit-content; */
    /* padding: 0px; */
    line-height: 20px;
    background-color: rgb(255, 255, 255);
    color: black;
    
}

.ul-2{
    border-left: 0.1px solid rgb(174, 174, 174);
    padding-left:20px;
}

.signin-hover{
    display: flex;
    justify-content: space-evenly;
    background-color: rgb(255, 255, 255);
    color: black;
    width: 500px;
    padding: 10px;
    flex-wrap: wrap;
    position: absolute;
    top:60px;
    right:-200px;
    z-index: 1003;
    visibility: hidden;
    border-radius: 10px;
    border: 1px solid rgb(175, 175, 175);
    opacity: 0;
    transition: opacity 0.5s ease;
}


.overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vw;
    background: rgba(0, 0, 0, 0.5); /* Black with transparency */
    z-index: 1000; /* Below the dropdown but above the page */
    visibility: hidden;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.nav-signin:hover ~ .overlay {
    visibility: visible;
    opacity: 1;
} 

.nav-signin:hover .signin-hover{
    visibility: visible;
    opacity: 1;
}

#sign{
    text-decoration: none;
}





/*agaon back*/

.nav-sec{
    font-size:0.85rem;
    font-weight: 700;
}

/* box-6 */
.nav-cart i {
    font-size: 30px;

}

.nav-cart{
    font-size:0.85rem;
    font-weight: 700;
}

/* panel */
.panel{
    height:40px;
    background-color: #222f3d;
    display:flex;
    color:white;
    justify-content: space-evenly;
    align-items: center;
}

.panel-ops p {
    display:inline;
    margin-left: 15px;
}

.panel-ops{
    width: 70%;
    font-size:0.85rem;
}

.panel-deals{
    font-size:0.9rem;
    font-weight: 700;
}

/*hero-section*/
.hero-section{
    background-image: url("hero.png");
    height: 350px;
    background-size: cover;
    display: flex;
    justify-content: center;
    align-items: flex-end;
}

.hero-message{
    background-color: white;
    color:black;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.85rem;
    width: 80%;
    margin-bottom: 25px;

}

.hero-message a {
    text-decoration: none;
    color:#007185;
}

/* shop-section */

.shop-section{
    display:flex;
    justify-content: space-evenly;
    background-color: #ced7e8;
    flex-wrap: wrap;

}

.box{

    height: 400px;
    width: 23rem;
    background-color: white;
    padding:20px 0px 15px;
    margin-top: 15px;
    
}

.box-content{
    margin-left: 1rem;
    margin-right: 1rem;
}

.box-img{
    height:320px;
    margin-top: 1rem;
    margin-bottom: 1rem;
    background-size: cover;
    background-repeat: no-repeat;
    
}

.box-content p{
    color:#007185;
    cursor: pointer;
}

/*footer */

footer{
    margin-top: 15px;
}

.foot-panel1{
    background-color: #37475a;
    color:white;
    height:50px;
    display:flex;
    justify-content: center;
    align-items: center;
    font-size:0.85rem;
}

/* foot panel 2*/

.foot-panel2{
    background-color: #222f3d;
    color:white;
    height:500px;
    display:flex;
    justify-content: space-evenly;
}

ul{
    margin-top:20px;
}

ul a{
    display: block;
    font-size: 0.85rem;
    margin-top: 10px;
    color: #dddddd;
}

/* foot-panel3 */

.foot-panel3{
    background-color: #222f3d;
    color:white;
    border-top: 0.5px solid white;
    height:70px;
    display:flex;
    justify-content: center;
    align-items: center;
}

.foot-logo{
    background-image: url("amazonicon2.PNG");
    background-size: contain;
    background-repeat: no-repeat;
    height: 30px;
    width: 100px;
}

.foot-panel4{
    background-color: #0F1111;
    display:flex;
    flex-wrap: wrap;
    color:white;
    justify-content: center;
    padding-bottom: 25px;
}

.p4-box{
    width:200px;
    margin-top:20px;
}

/* foot-panel5 */

.foot-panel5{
    background-color: #0F1111;
    border-top: 0.5px solid rgb(39, 39, 39);
    color:white;
    /* display:flex;
    justify-content: center; */
    height:80px;
    text-align: center;
    font-size: 0.7rem;
}

.pages{
    
    padding-top: 25px;;
}

.copyright{
    padding-top: 5px;;
}


