@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@100;200;300;400;500;600;700;800;900&display=swap');

:root {
    --bg-primary: #252A34;
    --font-white: #EAEAEA;
    --font-primary: #FF2E63;
    --font-secondary: #08D9D6;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    scroll-behavior: smooth;
}

html {
    box-sizing: border-box;
    font: 62.5%;
    font-family: 'Poppins', sans-serif;
}

/*---------------------------------- NAV START --------------------------------------*/
.nav_tog_bg {
    display: none;
}

.navbar {
    position: fixed;
    height: 4rem;
    width: 100%;
    background-color: transparent;
    z-index: 10;
    transition: all .3s ease-in-out;
}

.navbar .nav-item ul {
    height: 4rem;
    font-size: 1rem;
    list-style: none;
    display: flex;
    flex-direction: row;
    justify-content: flex-end;
    align-items: center;
    margin-right: 3rem;
}

.nav-item ul li a {
    text-decoration: none;
    color: var(--font-white);
    text-transform: uppercase;
    font-weight: 500;
    margin-right: 2rem;
    padding: .5rem .4rem;
    border-radius: .5rem;
    position: relative;
    align-items: center;
    transition: all .2s ease-in-out;
    line-height: 1.7;
    letter-spacing: 1px;
    transition: all .3s ease-in-out;
}

ul li a.active,
ul li a.active:hover {
    color: var(--font-primary);
    transition: transform .4s;
}

.nav-item ul li a::before {
    display: block;
    content: "";
    height: 1px;
    width: 0;
    background-color: var(--font-primary);
    position: absolute;
    bottom: 0;
    left: 0;
    transition: all .2s ease-in-out;
    overflow: hidden;

}

/*-------------------------------- Menu underline ---------------------------------*/
.nav-item ul li a.active::before,
.nav-item ul li a:hover::before {
    width: 100%;
}

/*---------------------------------- NAV END --------------------------------------*/

/*---------------------------------- HOME START --------------------------------------*/
.home_container {
    height: 100vh;
    background-image: url('/images/bg.jpg');
    background-position: top center;
    background-size: cover;
}

.home {
    padding: 0rem 5rem;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.home h4 {
    margin-top: 8rem;
    font-size: 2rem;
    font-weight: 600;
    letter-spacing: 2px;
    background: url(/images/8.jpg) center top;
    -webkit-background-clip: text;
    color: transparent;
    line-height: 1.5;
}

.home h4 span {
    font-size: 5rem;
    background: url(/images/8.jpg) center top;
    -webkit-background-clip: text;
    color: transparent;
    font-weight: 800;
    letter-spacing: 1px;

}

.home div.img-container {
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    margin-right: 18rem;
}

.home div.img-bg {
    position: absolute;
    bottom: -12rem;
    left: -13.3rem;
    rotate: 38deg;
    height: 25rem;
    width: 25rem;
    background: linear-gradient(130deg, #EAEAEA 40%, #FF2E63);
    border-radius: 40%;
}

.home img {
    position: absolute;
    rotate: -4deg;
    height: 30rem;
}

/*---------------------------------- HOME END --------------------------------------*/


/*---------------------------------- GALLERY START --------------------------------------*/
.gallery__container {
    background-color: rgb(210, 241, 241);
    padding: 3rem .1rem 0;
}

.gallery__heading {
    display: flex;
    justify-content: center;
    padding-bottom: 1rem;
}

.gallery__heading h3 {
    font-size: 15rem;
    font-weight: bolder;
    border-bottom: 3px solid #222;
    margin-bottom: 2rem;
    transition: all .3s ease-in-out;
    position: relative;

    background: linear-gradient(-120deg, blue, pink);
    -webkit-background-clip: text;
    color: transparent;
}

.gallery__heading h3::after {
    content: "memories";
    position: absolute;
    bottom: -1.6rem;
    left: 50%;
    padding: 3px;
    background: rgb(210, 241, 241);
    color: crimson;
    font-size: 2rem;
    transform: translateX(-50%);
}

.gallery__heading h3 span {
    font-weight: 100;
}

.gallery {
    columns: 6;
    column-gap: .2rem;
}

.gallery_item {
    display: inline-block;
    position: relative;
    transition: all .3s linear;
}

.gallery__item:hover {
    transform: scale(1.08) translateY(-0.5rem);
    z-index: 20;
    box-shadow: 0 2.5rem 4rem rgba(0, 0, 0, 0.5);
    transition: all .3s ease-out;
}

.gallery__img {
    width: 100%;
    /* border-radius: .5rem; */
    padding: .2rem;
}

/*---------------------------------- GALLERY END --------------------------------------*/


/*---------------------------------- Responsiveness START --------------------------------------*/
@media(min-width:700px) {
    .navbar.sticky {
        background-color: rgb(210, 241, 241);
    }

    .navbar.sticky ul li a {
        color: var(--bg-primary);
        font-weight: 600;
        line-height: 1.7;
        letter-spacing: 1px;
    }
}

@media(max-width:1560px) {
    .gallery__heading h3 {
        font-size: 5rem;
    }
}

@media(max-width:1200px) {
    .gallery {
        columns: 4;
        column-gap: .4rem;
    }

    .gallery__heading h3 {
        font-size: 5rem;
    }

    .home {
        display: flex;
        flex-direction: column-reverse;
        padding: 2rem 2rem;
    }

    .home h4 {
        align-self: center;
        margin-top: 0;
        margin-bottom: 10rem;
        font-size: 1rem;
        font-weight: 500;
        color: #EAEAEA;
        line-height: 1.5;
    }

    .home h4 span {
        font-size: 2.8rem;
        font-weight: 800;
        letter-spacing: 1px;
    }

    .home div.img-container {
        flex-direction: column;
        margin-right: 0;
        right: -1.4rem;
        bottom: -20rem;
    }

    .home div.img-bg {
        bottom: -8.5rem;
        left: -11.4rem;
        height: 20rem;
        width: 20rem;

    }

    .home img {
        height: 22rem;
    }
}

@media(max-width:700px) {
    .nav_tog_bg {
        height: 2rem;
        width: 2rem;
        right: 1.2rem;
        top: 1.2rem;
        position: fixed;
        z-index: 30;
        background-color: rgb(210, 241, 241);
        box-shadow: 2px 4px 10px rgb(42, 39, 39);
        border-radius: 50%;
        display: flex;
        align-items: center;
        justify-content: center;
    }

    .nav_tog_bg i {
        font-size: 1rem;
        z-index: 40;
    }

    div i.active:before {
        content: "\f00d";
    }

    .navbar .nav-item ul {
        position: fixed;
        height: 100vh;
        width: 100vw;
        background-color: #222;
        flex-direction: column;
        justify-content: center;
        text-align: start;
        z-index: 11;
        left: -100%;
    }

    .navbar .nav-item ul.active {
        color: #EAEAEA;
        left: 0;
    }

    .navbar .nav-item ul li {
        display: block;
        font-size: 1.7rem;
        padding: .5rem;
        text-align: start;
    }

    .navbar .nav-item ul li a {
        margin-right: 0;
        text-align: start;
    }

    .navbar .nav-item ul.hide {
        left: -100%;
    }

    .home h4 {
        margin-bottom: 6rem;
    }

    .home div.img-container {
        bottom: -14rem;
        right: -.4rem;
    }
    .home div.img-bg {
        bottom: -7rem;
        left: -8.4rem;
        height: 16rem;
        width: 16rem;
    }
    .home img {
        height: 19rem;
    }

    .gallery__container {
        padding: 1rem .1rem 0;
    }

    .gallery {
        columns: 2;
        column-gap: .4rem;
    }

    .gallery__heading h3 {
        font-size: 2rem;
        margin-bottom: 1rem;
        padding: 0;
    }

    .gallery__heading h3::after {

        bottom: -0.8rem;
        padding: 2px;
        font-size: .8rem;

    }

    .gallery__heading {
        padding-bottom: .7rem;
    }
}

@media(max-width:562px) {
    .gallery {
        columns: 2;
        column-gap: .3rem;
    }

    .gallery__heading h3 {
        font-size: 2rem;
        margin-bottom: 1px;
        padding: 0;

    }

    .gallery__heading {
        padding-bottom: .7rem;
    }
}

@media(max-width:359px) {
    .home h4 {
        margin-bottom: 2rem;
        font-size: 1rem;
    }

    .home h4 span {
        font-size: 2.3rem;
    }

    .home div.img-container {
        bottom: -8rem;
        right: -.4rem;
    }

    .home div.img-bg {
        bottom: -5rem;
        left: -5.5rem;
        height: 10rem;
        width: 10rem;
    }

    .home img {
        height: 12rem;
    }
}

/* @media(width:800px) {
    .home h4 {
        margin-bottom: 13rem;
        font-size: 2rem;
    }
    .home h4 span{
        font-size: 5rem;
    }

    .home div.img-container {
        bottom: -25rem;
        right: -.4rem;
    }

    .home div.img-bg {
        bottom: -5rem;
        left: -5.5rem;
        height: 10rem;
        width: 10rem;
    }
} */

/*---------------------------------- Responsiveness END --------------------------------------*/