* {
    margin: 0;
    font-family: Arial;
    border: border-box;
}
body {
    overflow-x: hidden;
}

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

.nav-logo {
    height: 50px;
    width: 114px;
}

.logo {
    background-image: url(Img/amazon_logo.png);
    height: 50px;
    width: 100%;
    background-size: cover;
}

.border {
    border: 2px solid transparent;
}

.border:hover {
    border: 1px solid white;
}

/*Box 2:*/
.add-first {
    color: #CCCCCC;
    font-size: 0.85rem;
    margin-left: 23px;
}

.add-second {
    color: #FFFFFF;
    font-size: 1rem;
    margin-left: 4px;
    font-weight: bold;
}

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

.nav-address {
    height: 50px;
    align-content: center;
}

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

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

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

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

.search-icon {
    width: 45px;
    color: black;
    background-color: rgb(205, 205, 8);
    display: flex;
    justify-content: center;
    /*Horizontally*/
    align-items: center;
    font-size: 1.2rem;
    border-top-right-radius: 4px;
    border-bottom-right-radius: 4px;
}

/*Box4:*/

span {
    font-size: 0.7rem;
}

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

.nav-signing {
    height: 50px;
    align-content: center;
}

.nav-return {
    height: 50px;
    align-content: center;
}

.nav-cart {
    height: 50px;
    align-content: center;
}

/*Box6*/

.nav-cart i {
    font-size: 30px;
}

.nav-cart {
    font-size: 14px;
    font-weight: 700;
}

/*Panel*/

.panel {
    background-color: #232F3E;
    display: flex;
    height: 40px;
    color: white;
    font-weight: 400;
    align-items: center;
    justify-content: space-evenly;
}

.panel-all {
    font-weight: 700;
}

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

.panel-ops {
    width: 90%;
    font-size: 0.85rem;
    font-weight: 700;
}

/*hero section*/

.hero-section {
    /* background-image: url("Img/backimg.jpg"); */
    height: 600px;
    display: flex;
    flex-wrap:wrap;
    justify-content: space-evenly;
    background:
        linear-gradient(to bottom,rgba(255, 255, 255,0)50%, rgba(255, 255, 255,1))100%,
        url("Img/backimg.jpg");
    background-size: cover;
    /* width:1520px; */
    width: 100%;


}

.OF{
    /* border: 2px solid black; */
    height: 400px;
    width: 23%;
    background-color: rgb(246, 231, 231);
    position: relative;
    margin-top: 260px;
    padding:20px 0px 15px;
}

.box{
    /* border: 2px solid black; */
    height: 400px;
    width: 23%;
    background-color: rgb(246, 231, 231);
    position: relative;
    margin-top: 15px;
    padding:20px 0px 15px;
}


.box-img{
    height:300px;
    background-size:cover
     /* margin-top: 20px; */
    /* margin-bottom:1rem; */
}

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

.box-content h3{
    margin-bottom: 15px;
}

.box-content p{
    color: #007185;
    margin-top:30px;
}

.backgr{
    background-color:white;
    height:550px;
}

/*footer:*/

footer{
    margin-top:15px;
    width:100%;
}

.foot-panel1{
    background-color:#37475a;
    width:600ox;
    height:50px;
    
    display: flex;
    align-items: center;
    justify-content: center;
    
}
.foot-panel1 a{
    color:white;
    text-decoration: none; 
    
}

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

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

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


.logo {
    background-image: url(Img/amazon_logo.png);
    height: 50px;
    width: 100px;
    background-size: cover;
   
}

.lang{
    height:35px;
    width: 160px;
    color:rgb(235, 221, 221);
    border:1px solid rgb(177, 152, 152);
    display:flex;
    align-items:center;
    justify-content: center;
    font-size:smaller
  
}

.map{
    display:flex;
    align-items:center;
    /* justify-content: center; */
    gap:8px;
}

.foot-panel4{
    background-color:#1a1623;
    color:white;
    height: 90px;
     text-align: center;
      gap:50px;
}

.pages{
    font-size: 0.7rem;
    padding-top:30px;
}

.pages a{
    margin:0 10px;
}

.copyright{
    font-size:0.7rem; 
     padding-top: 5px;
}

@media(max-width: 768px){
   
    .nav-search {
        width: 90%;
    }

    .OF, .box {
        width: 90%;
        margin: 10px auto;
    }

    .foot-panel2 {
        flex-direction: column;
        height: auto;
        padding: 20px;
    }

    .foot-panel3 {
        flex-direction: column;
        height: auto;
        padding: 20px;
        gap: 15px;
    }

    .pages {
        display: flex;
        flex-wrap: wrap;
        justify-content: center;
        gap: 8px;
    }
}

@media (max-width: 480px) {

    .navbar {
        flex-wrap: wrap;
        height: auto;
        padding: 10px;
        gap: 10px;
    }

    .nav-search {
        width: 100%;
    }

    .hero-section {
        height: auto;
    }

    .OF {
        margin-top: 15px;
    }
}