@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@200;300;400;500;600;700;800;900&display=swap');

:root {
    --first-color: hsl(357, 88%, 51%);
    --second-color: hsl(357, 88%, 71%);

    /*========== Font and typography ==========*/
    /*.5rem = 8px | 1rem = 16px ...*/
    --body-font: "Poppins", sans-serif;
    --second-font: "Lora", serif;
    --biggest-font-size: 6rem;
    --bigger-font-size: 4rem;
    --big-font-size: 3.5rem;
    --h1-font-size: 2.25rem;
    --h2-font-size: 1.75rem;
    --h3-font-size: 1.45rem;
    --normal-font-size: 1rem;
    --small-font-size: .875rem;
    --smaller-font-size: .813rem;

    /*========== Font weight ==========*/
    --font-regular: 400;
    --font-medium: 500;

    /*========== z index ==========*/
    --z-tooltip: 10;
    --z-fixed: 100;
}

/*========== Responsive typography ==========*/
@media screen and (max-width: 400px) {
    :root {
        --biggest-font-size: 3.75rem;
        --bigger-font-size: 3rem;
        --big-font-size: 2.75rem;
        --h1-font-size: 2.5rem;
        --h2-font-size: 2.25rem;
        --h3-font-size: 2rem;
        --normal-font-size: 1.938rem;
        --small-font-size: 1.813rem;
        --smaller-font-size: 1.75rem;
    }
}


* {
    font-family: 'Poppins', sans-serif;
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    text-decoration: none;
    outline: none;
    border: none;
    transition: all .3s cubic-bezier(.16, .8, .62, 1.52);
    text-transform: capitalize;
    font-weight: normal;
}


*::selection {
    background: var(--first-color);
    color: #fff;
}

html {
    font-size: 62.5%;
    overflow-x: hidden;
}

body {
    overflow-x: hidden;
}

html::-webkit-scrollbar {
    width: 1rem;
}

html::-webkit-scrollbar-track {
    background: #000;
}

html::-webkit-scrollbar-thumb {
    background: var(--first-color);
    border-radius: .5rem;
}

html::-webkit-scrollbar-thumb:hover {
    background-color: var(--second-color);
}

section {
    padding: 0 7%;
    padding-top: 8.5rem;
}
img{
    max-width: 100%;
    height: auto;
}
.btn {
    display: inline-block;
    padding: .7rem 4rem;
    font-size: var(--h2-font-size);
    color: #fff;
    background: var(--first-color);
    padding-top: 1rem;
    margin-top: 1rem;
}

.btn:hover {
    transform: scale(1.02);
}

.heading {
    text-align: center;
    color: var(--first-color);
    text-transform: uppercase;
    font-size: 3rem;
    margin: 2rem 0;
}

.heading span {
    color: #666;
}

header {
    position: fixed;
    top: 2.5rem;
    left: 50%;
    transform: translateX(-50%);
    width: 93%;
    z-index: 1000;
    background: #fff;
    box-shadow: 0 .5rem 1rem rgba(0, 0, 0, .1);
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 2rem 3rem;
    border-radius: .5rem;
}

.nav-header {
    background: #ffffff00;
    top: 0;
    backdrop-filter: blur(16px);
    width: 100%;
}

header .logo {
    color: #474747;
    font-size: 2.5rem;
}

header .logo span {
    color: var(--first-color);
}

header .navbar ul {
    display: flex;
    align-items: center;
    justify-content: center;
    list-style: none;
}

header .navbar ul li {
    margin-left: 3rem;
}

header .navbar ul li a {
    font-size: var(--h1-font-size);
    color: #333;
}

header .navbar ul li a.active,
header .navbar ul li a:hover {
    color: var(--first-color);
}

#menu {
    font-size: 3rem;
    color: #666;
    cursor: pointer;
    display: none;
}

.home {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    background: linear-gradient(rgba(0, 0, 0, .8), rgba(0, 0, 0, .8)), url(../images/home-background.jpg) no-repeat;
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
}

.home .image {
    flex: 1 1 40rem;
}

.home .image img {
    width: 100%;
}

.home .content {
    flex: 1 1 40rem;
    padding: 4rem 0;
}

.home .content h3 {
    color: var(--first-color);
    font-size: var(--big-font-size);
    padding-bottom: 1rem;
}

.home .content h1 {
    color: #fff;
    font-size: var(--bigger-font-size);
}

.home .content p {
    color: #aaa;
    font-size: var(--h1-font-size);
    padding: 1rem 0;
}

.gallery {
    background: #f0f0f0;
}

/* Swiper class */
.swiper-pagination-bullet {
    background: #333;
}

.swiper-pagination-bullet-active {
    background-color: var(--first-color) !important;
}

.swiper-button-next, .swiper-button-prev{
    color: var(--first-color) !important;
}


.gallery .box-container {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
}

.gallery .box-container .box {
    display: grid;
    background: #444;
    height: 400px;
    text-align: center;
    position: relative;
    width: 330px;
    padding: 2rem 1.5rem 1.5rem;
    border-radius: 1rem;
    margin-bottom: 3.5rem;
    overflow: hidden;
}

.gallery .box-container .box:hover > img{
    transform: scale(1.05);
}
.gallery .box-container .box img {
    object-fit: cover;
    justify-self: center;
    height: 60%;
}

.gallery .box-container .box .info {
    position: absolute;
    bottom: 1.25rem;
    background: #fff;
    padding: 2rem;
    border: .3rem solid var(--first-color);
    border-radius: .5rem;
    width: 100%;
}

.gallery .box-container .box .info h3 {
    background: var(--first-color);
    color: #fff;
    border-radius: .5rem;
    margin: 0 5rem;
    margin-top: -3.7rem;
    padding: .5rem 2rem;
    font-size: var(--h2-font-size);
}

.gallery .box-container .box .info p {
    font-size: var(--h3-font-size);
    color: #666;
    padding: .5rem;
    padding-top: 2rem;
}

.about {
    background: #eee;
    padding-bottom: 3rem;
}

.about .row {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
}

.about .row .image {
    flex: 1 1 40rem;
    padding: 2rem 0;
    text-align: center;
}


.about .row .content {
    flex: 1 1 40rem;
    ;
}

.about .row .content h3 {
    font-size: var(--h1-font-size);
    color: #333;
}

.about .row .content p {
    font-size: var(--h2-font-size);
    color: #666;
    padding: 1rem 0;
}

.movies {
    background: #222;
}

.movies .heading span {
    color: #fff;
}

.movies .box-container {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
}

.movies .box-container .box {
    flex: 1 1 30rem;
    height: 40rem;
    overflow: hidden;
    position: relative;
    margin: 2rem;
    box-shadow: 0 .3rem .5rem #000;
}

.movies .box-container .box img {
    height: 100%;
    width: 100%;
    object-fit: cover;
}

.movies .box-container .box .info {
    padding: 2rem;
    width: 100%;
    position: absolute;
    bottom: -200%;
    left: 0;
    background: rgba(0, 0, 0, .7);
}

.movies .box-container .box:hover .info {
    bottom: 0;
}

.movies .box-container .box .info h3 {
    font-size: var(--h3-font-size);
    color: #fff;
    padding-bottom: .5rem;
}

.movies .box-container .box .info span {
    font-size: 2rem;
    color: var(--first-color);
}

.movies .box-container .box .info .stars i {
    font-size: 2rem;
    color: orange;
    padding: 1rem .1rem;
}

.movies .box-container .box .info p {
    font-size: var(--h3-font-size);
    color: #ccc;
    padding: .5rem 0;
}

.product {
    background: #eee;
}

.product .box-container {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
}

.product .box-container .box {
    margin: 0.5rem;
    padding: 2rem;
    background: #fff;
    border: .1rem solid rgba(0, 0, 0, .1);
    text-align: center;
    width: 27rem;
}

.product .box-container .box:hover {
    box-shadow: 0 .7rem 1rem rgba(0, 0, 0, .1);
}

.product .box-container .box img {
    margin: 1rem 0;
    height: 17rem;
}

.product .box-container .box h3 {
    color: #444;
    font-size: var(--h1-font-size);
}


.product .box-container .box .price {
    color: #666;
    font-size: var(--h1-font-size);
}

.footer {
    text-align: center;
    background: #222;
}

.footer .share {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
}

.footer .share a {
    font-size: 2rem;
    color: #ccc;
    padding: 2rem 4rem;
}

.footer .share a:hover {
    color: #eee;
    transform: translateY(-.25rem);
}

.footer a:hover {
    text-decoration: underline;
}

.footer .cfirst-colorit {
    padding: 1rem 0rem;
    font-size: 1.5rem;
    color: #fff;
    background: #222;
}

.footer .cfirst-colorit a {
    color: var(--first-color);
}

.scroll-top {
    position: fixed;
    bottom: 1.5rem;
    right: 2rem;
    z-index: 1000;
    display: none;
}

.scroll-top:hover img {
    transform: translateY(-.25rem);
}

.scroll-top img {
    height: 6rem;
    filter: drop-shadow(0 .3rem .5rem rgba(0, 0, 0, .2));
}

/* media queries  */

@media (max-width:991px) {

    html {
        font-size: 55%;
    }
    section{
        min-height: auto;
    }

}

@media (max-width:768px) {
    
    #menu {
        display: block;
    }

    header .navbar {
        position: fixed;
        top: 110%;
        left: 0;
        background: #fff;
        width: 100%;
        border-radius: .5rem;
        box-shadow: 0 .5rem 1rem rgba(0, 0, 0, .1);
        transform: scaleY(0);
        transform-origin: top;
        opacity: 0;
    }

    header .navbar ul {
        flex-flow: column;
        padding: 2rem;
    }

    header .navbar ul li {
        margin: 1rem 0;
        width: 100%;
    }

    header .navbar ul li a {
        display: block;
        font-size: 2.5rem;
        border-bottom: .1rem solid rgba(0, 0, 0, .1);
        padding: 1.5rem 0;
    }

    .fa-times {
        transform: rotate(180deg);
    }

    header .navbar.nav-toggle {
        transform: scaleY(1);
        opacity: 1;
    }

    .home .content {
        text-align: center;
    }

}

@media (max-width:400px) {

    html {
        font-size: 40%;
    }
    .gallery .box-container .box{
        width: 95%;
        background:transparent;
    }
    section {
        padding-top: 11rem;
        min-height: auto;
    }

    .about .row .image img {
        height: auto;
        width: 100%;
    }

    .product .box-container .box {
        width: 100%;
    }

}