* {
    padding: 0px;
    margin: 0px;
    box-sizing: border-box;
}


/* social app*/
.social {
    width: 100%;
    height: 6vh;
    background-color: black;
}

.socialrap {
    width: 80%;
    margin: auto;
}

.name {
    position: absolute;
}

.name h1 {
    color: white;
    font-size: 15px;
    padding-top: 1%;
}

/* navigtion bar */
#nav {
    width: 100%;
    height: 9vh;
    border-bottom: 1px solid black;
    background-color: white;
}

.navrap {
    width: 90%;
    margin: auto;
    display: grid;
    grid-template-columns: auto auto;

}

.logo img {
    margin-top: -2%;
}


* {
    box-sizing: border-box;
}

/* Style the navbar */
.topnav {
    height: 9vh;
    overflow: hidden;
    background-color: white;
    border-bottom: 1px solid black;
}

/* Navbar links */
.topnav a {
    float: left;
    display: block;
    color: black;
    text-align: center;
    padding: 14px 16px;
    text-decoration: none;
    font-size: 17px;
}

/* Navbar links on mouse-over */
.topnav a:hover {
    background-color: #ddd;
    color: black;
}

/* Active/current link */
.topnav a.active {
    color: black;
    height: 9vh;
}

/* Style the input container */
.topnav .login-container {
    float: right;
}

/* Style the input field inside the navbar */
.topnav input[type=text] {
    padding: 6px;
    margin-top: 8px;
    font-size: 15px;
    border: none;
    width: 150px;
    background-color: wheat;
    border-radius: 5px;
    margin-left: -14%;
    /* adjust as needed (as long as it doesn't break the topnav) */
}

/* Style the button inside the input container */
.topnav .login-container button {
    float: right;
    padding: 6px;
    /* margin-top: 8px; */
    margin-right: 16px;
    background: #ddd;
    font-size: 17px;
    border: none;
    cursor: pointer;
}

.topnav .login-container button:hover {
    background: #ccc;
}

/* Add responsiveness - On small screens, display the navbar vertically instead of horizontally */
@media screen and (max-width: 600px) {
    .topnav .login-container {
        float: none;

    }

    .topnav a,
    .topnav input[type=text],
    .topnav .login-container button {
        float: none;
        display: block;
        text-align: left;
        width: 100%;
        margin: 0;
        padding: 14px;

    }

    .topnav input[type=text] {

        border: 1px solid #ccc;
    }
}

.login-container button a i {
    padding-bottom: 6%;
}

/* book */
#newnav {
    margin-top: -1%;
    height: 11vh;
    background-color: white;
    /* border-bottom: 1px solid black; */
}

.newnavrap {
    width: 80%;
}

.newnavrap img {
    padding-left: 8%;
    padding-top: 1.5%;
}

.newnavrap p {
    display: inline;
    padding-left: 1%;
}

/* bestseller */

#video-background {
    position: fixed;
    right: 0;
    bottom: 0;
    /* min-width: 100%;
    min-height: 100%; */
    width: 100%;
    height: auto;
    z-index: -1;

}

.bestseller h2 {
    color: white;
    margin-left: 6%;
    margin-top: 1%;
    background-color: rgba(0, 0, 0, 0.3);
}

.bestimg {
    position: relative;
    /* text-align: center; */
}

.top-right i {
    color: white;
    /* background-color: white;   */
    /* border-radius: 20px; */
    font-size: 25px;
    position: absolute;
    top: 35px;
    right: 25%;
}


.best {
    height: 220vh;
    width: 100%;
    padding-left: 5%;
}

.bestrap {
    display: grid;
    grid-template-columns: auto auto auto auto;
    background-color: rgba(0, 0, 0, 0.3);
    /* overflow: auto; */
    /* grid-column-gap: 10px; */
    /* height: 180vh;  */
}

.bestimg img {
    display: inline;
    margin-top: 8%;
    border-radius: 20px;
}

.bestimg img:hover {
    -webkit-transform: scaleX(-1);
    transform: scaleX(-1);
}

.bestimg p {
    margin-top: 2%;
    font-size: 15px;
    color: yellow;
}

.bestimg h3 {
    font-size: 15px;
    padding-top: 3%;
    color: white;
}

.bestimg h5 {
    font-size: 13px;
    padding-top: 3%;
    color: wheat;
}

.bestimg h4 {
    font-size: 15px;
    padding-top: 3%;
    color: white;
}
/* buy now */
.btn1 {
    border: none;
    /* color: white; */
    padding: 6px 8px;
    font-size: 16px;
    cursor: pointer;
    margin-left: 1%;
    margin-top: 2%;
    height: 5vh;

}

.warning {
    background-color: #eab05b;

}

.warning a {
    text-decoration: none;
    color: black;

}

/* Orange */
.warning:hover {
    background: #e68a00;
}
/* buy now 2 */
.btn4 {
    border: none;
    /* color: white; */
    padding: 6px 8px;
    font-size: 15px;
    cursor: pointer;
    margin-left: -60%;
    margin-top: 2%;
    height: 5vh;

}

.warning {
    background-color: #eab05b;

}

.warning a {
    text-decoration: none;
    color: black;

}

/* Orange */
.warning:hover {
    background: #e68a00;
}

/* banner */
.banner {
    height: 28vh;
    background-image: url(./ban.webp);
    background-repeat: no-repeat;
    background-size: 100%;
    margin-top: 2%;
    /* border: 2px solid black;   */
}

/* cast  */
.top {
    height: 45vh;
    width: 100%;
    background-color: white;
    margin-top: -2.6%;
}

.top h3 {
    padding-top: 2%;
    text-align: center;
}

.image {
    margin-top: 3%;
    margin-left: 1%;
}

.imagerap {
    display: grid;
    grid-template-columns: auto auto auto auto auto auto auto;


}

.imagerap img {
    border-radius: 90px;
}

/* name */
.name {
    display: grid;
    grid-template-columns: auto auto auto auto auto auto auto;

}

.name1 h4 {
    margin-left: 240%;
    margin-top: 50%;

}

.name2 h4 {
    margin-left: 1550%;
    margin-top: 50%;
}

.name3 h4 {
    margin-left: 1300%;
    margin-top: 35%;
}

.name4 h4 {
    margin-left: 2230%;
    margin-top: 50%;
}

.name5 h4 {
    margin-left: 660%;
    margin-top: 50%;
}

.name6 h4 {
    margin-left: 660%;
    margin-top: 30%;
}

.name7 h4 {
    margin-left: 1970%;
    margin-top: 30%;
}

.recommended {
    /* color: black; */
    /* margin-left: 6%; */
    margin-top: 1%;
    background-color: rgba(0, 0, 0, 0.4);

}

.recommended h2 {
    color: white;
    margin-left: 4%;
    margin-top: 1%;
    /* background-color: rgba(0, 0, 0, 0.3); */

}

.best1 {
    /* height: 60vh; */
    width: 100%;
    padding-left: 2%;
}

.bestrap1 {
    height: 85vh;
    display: grid;
    grid-template-columns: auto auto auto auto auto auto auto;
    background-color: rgba(0, 0, 0, 0.4);
    overflow: auto;
    grid-column-gap: 10px;
    /* height: 180vh;  */
}

.flip-box-back img {
    display: inline;
    margin-top: 8%;
    border-radius: 20px;
}

.flip-box-back h3 {
    font-size: 15px;
    padding-top: 3%;
    color: white;
}

.flip-box-back h5 {
    font-size: 13px;
    padding-top: 3%;
    color: wheat;
    margin-left: -60%;
}

.flip-box-back h4 {
    font-size: 15px;
    padding-top: 3%;
    color: white;
    margin-left: -70%;
}

.flip-box-front img {
    /* display: inline; */
    margin-top: 8%;
    border-radius: 20px;
}

.flip-box-front h3 {
    font-size: 15px;
    padding-top: 3%;
    color: white;
}

.flip-box-front h5 {
    font-size: 13px;
    padding-top: 3%;
    color: wheat;
    margin-left: -60%;
}

.flip-box-front h4 {
    font-size: 15px;
    padding-top: 3%;
    color: white;
    margin-left: -70%;
}

.flip-box {
    /* background-color: grey;   */
    margin-top: 4%;
    width: 280px;
    height: 300px;
    /* border: 1px solid #f1f1f1;  */
    perspective: 800px;
}

.flip-box-inner {
    position: relative;
    width: 100%;
    height: 100%;
    text-align: center;
    transition: transform 0.8s;
    transform-style: preserve-3d;
}

.flip-box:hover .flip-box-inner {
    transform: rotateX(180deg);
}

.flip-box-front,
.flip-box-back {
    position: absolute;
    width: 100%;
    height: 100%;
    -webkit-backface-visibility: hidden;
    backface-visibility: hidden;
}

.flip-box-front {
    background-color: transparent;
    color: black;
}

.flip-box-back {
    background-color: transparent;
    color: white;
    transform: rotateX(180deg);
}

/* cast  */
.top1 {
    height: 65vh;
    width: 100%;
    background-color: white;
    margin-top: -2.6%;
}

.top1 h1 {
    padding-top: 2%;
    text-align: center;
}

.image1 {
    margin-top: 3%;
    margin-left: 1%;
}

.imagerap1 {
    display: grid;
    grid-template-columns: auto auto auto auto auto auto auto;


}

.imagerap1 img {
    border-radius: 90px;
}

/* name */
.wardname {
    display: grid;
    grid-template-columns: auto auto auto auto auto auto;

}

.wardname1 h4 {

    margin-left: 25%;
    margin-top: 5%;

}
.wardname1 a {
text-decoration: none;
color: black;
}
.wardname2 h4 {

    margin-left: 35%;
    margin-top: 5%;
}
.wardname2 a {
    text-decoration: none;
    color: black;
    }
.wardname3 h4 {

    margin-left: 35%;
    margin-top: 5%;
}
.wardname3 a {
    text-decoration: none;
    color: black;
    }
.wardname4 h4 {

    margin-left: 30%;
    margin-top: 5%;
}
.wardname4 a {
    text-decoration: none;
    color: black;
    }
.wardname5 h4 {

    margin-left: 35%;
    margin-top: 5%;
}
.wardname5 a {
    text-decoration: none;
    color: black;
    }
.wardname6 h4 {
    margin-left: 35%;
    margin-top: 5%;
}
.wardname6 a {
    text-decoration: none;
    color: black;
    }
.wardname7 h4 {
    margin-left: 1970%;
    margin-top: 30%;
}
.wardname7 a {
    text-decoration: none;
    color: black;
    }
/* collection */
.collection {
    height: 250vh;
    width: 100%;
    background-color: white;
    margin-top: -1%;

}

.collection h1 {
    padding-top: 3%;
    text-align: center;

}

.collectionimage img {
    margin-top: 2%;

}

/* brand */
.brand {
    height: 230vh;
    width: 100%;
    background-color: white;
    margin-top: -1%;

}

.brand h1 {
    margin-top: -4%;
    text-align: center;

}

.brandimagerap {
    display: grid;
    grid-template-columns: auto auto auto auto;
}

.brandimage img {
    margin-top: 6%;
}

/* Container needed to position the overlay. Adjust the width as needed */
.container {
    position: relative;
    width: 100%;
    max-width: 400px;
}




/* The overlay effect (full height and width) - lays on top of the container and over the image */
.overlay {
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    height: 248;
    width: 98%;
    opacity: 0;
    transition: .3s ease;
    background-color: rgba(0, 0, 0, 0.4);
    margin-top: 5.5%;
}

/* When you mouse over the container, fade in the overlay icon*/
.container:hover .overlay {
    opacity: 1;
}

/* The icon inside the overlay is positioned in the middle vertically and horizontally */
.icon {
    color: white;
    font-size: 25px;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    -ms-transform: translate(-50%, -50%);
    text-align: center;
    text-decoration: none;
}

/* When you move the mouse over the icon, change color */
.fa-user:hover {
    color: #eee;
}





/* container2 */
/* Container needed to position the overlay. Adjust the width as needed */
.container2 {
    position: relative;
    width: 100%;
    max-width: 400px;
}




/* The overlay effect (full height and width) - lays on top of the container and over the image */
.overlay2 {
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    height: 218;
    width: 68%;
    opacity: 0;
    transition: .3s ease;
    background-color: rgba(0, 0, 0, 0.7);
    margin-top: 1%;
    border-radius: 90px;
    margin-left: 13%;
}

/* When you mouse over the container, fade in the overlay icon*/
.container2:hover .overlay2 {
    opacity: 1;
}

/* The icon inside the overlay is positioned in the middle vertically and horizontally */
.icon {
    color: white;
    font-size: 22px;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    -ms-transform: translate(-50%, -50%);
    text-align: center;
    text-decoration: none;
}

/* When you move the mouse over the icon, change color */
.fa-user:hover {
    color: #eee;
}

/* banner */
.banner2 {
    height: 30vh;
    background-image: url(./banfooter.jpg);
    background-repeat: no-repeat;
    background-size: 100%;
    margin-top: -2%;
}


/* login modal */

.btn2 {
    border: none;
    color:grey;
    padding: 5px 10px;
    font-size: 18px;
    cursor: pointer;
    height: 5vh;
    margin-top: 2%;
    width: 30%;
}

.default {
    background-color: #e7e7e7;
    color: black;
}

/* Gray */
.default:hover {
    background: #ddd;
}





/* login modal3 */

.btn5 {
    border: none;
    color:grey;
    padding: 5px 10px;
    font-size: 15px;
    cursor: pointer;
    height: 5vh;
    margin-top: 2%;
    width: 30%;
    margin-left: -55%;
}

.default {
    background-color: #e7e7e7;
    color: black;
}

/* Gray */
.default:hover {
    background: #ddd;
}




/* login modal 2 */
.btn3 {
    border: none; 
     color:grey; 
    padding: 5px 10px;
    font-size: 18px;
    cursor: pointer;
    height: 5vh;
    margin-top: 2%;
    width: 30%;
    margin-left: 30%;
    border-radius: 10px;
}

.default {
    background-color: #e7e7e7;
    color: black;
}

/* Gray */
.default:hover {
    background: #ddd;
}

/* footer  */
.footer {

    width: 100%;
    height: 75vh;
    background-color: grey;
}

.footrap {
    width: 100%;
    margin: auto;
    display: grid;
    grid-template-columns: auto auto auto auto auto;
    padding-top: 20px;
    padding-left: 4%;
}

.box8 h3 {
    color: white;
}

.box8 p {
    padding-top: 2%;
    margin-top: 4%;
    color: white;
}

.box8 img {
    padding-top: 4%;
    padding-left: 8px;
}

.box8 h4 {
    margin-top: 4%;
    color: white;
    font-size: 20px;
}

.site {

    margin-top: 4%;
    margin-left: 4%;

}

.site img {
    padding-top: 2%;
    padding-right: 15px;
}