@import url('https://fonts.googleapis.com/css2?family=Montserrat:ital,wght@0,100..900;1,100..900&display=swap');
@import url('https://fonts.googleapis.com/css2?family=DM+Sans:ital,opsz,wght@0,9..40,100..1000;1,9..40,100..1000&display=swap');
@import url('https://fonts.googleapis.com/css2?family=IBM+Plex+Mono:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;1,100;1,200;1,300;1,400;1,500;1,600;1,700&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Arvo:ital,wght@0,400;0,700;1,400;1,700&family=IBM+Plex+Mono:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;1,100;1,200;1,300;1,400;1,500;1,600;1,700&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Josefin+Slab:ital,wght@0,100..700;1,100..700&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Crimson+Text:ital,wght@0,400;0,600;0,700;1,400;1,600;1,700&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Cormorant+Infant:ital,wght@0,300;0,400;0,500;0,600;0,700;1,300;1,400;1,500;1,600;1,700&family=Cormorant+SC:wght@300;400;500;600;700&display=swap');

:root {
    /* COLOURS */
    --black: #ffffff;
    --main-clr: #0051ff;
    --accent-clr: #fe4410;
    --gray: #1f1f1f;
    --font-clr: #000000;
    --font-clr-2: #ffffff;


    /* FONTS */
    --base-font: Montserrat;
    --logo-font: "DM Sans", sans-serif;
    --font-2: "Cormorant Infant", serif;

    /* FONT SIZE */
    --xl: 80px;
    --l: 50px;
    --m: 28px;
    --s: 22px;
    --xs: 16px;
    --xxl: 80px;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    transition: ease-in-out 0.2s;
    color: var(--font-clr);
    line-height: 1;
}

html {
    scroll-behavior: smooth;
    /* This enables smooth scrolling globally */
}

body {
    background-color: var(--black);
    font-family: "Montserrat", sans-serif;
    position: relative;
    width: 100%;
    height: 100%;
    background-image: linear-gradient(90deg, rgba(0, 0, 0, 0.1) 1px, transparent 1px),
        linear-gradient(rgba(0, 0, 0, 0.1) 1px, transparent 1px);
    background-size: 50px 50px;
    animation: moveGrid 3s linear infinite;
}

@keyframes moveGrid {
    0% {
        background-position: 0 0;
    }

    100% {
        background-position: 100px 100px;
    }
}

nav {
    width: max-content;
    margin: 0 auto;
    padding: 0px 20px;
    border-radius: 100px;
    margin-top: 16px;
    display: flex;
    align-items: center;
    justify-content: center;

}

/* .nav-right,
.nav-left {
    margin: 30px 0;
    width: max-content;
    display: flex;
    align-items: center;
}

.nav-right ul li,
.nav-left ul li {
    list-style: none;
}

.nav-right ul li a,
.nav-left ul li a {
    text-decoration: none;
    font-family: var(--base-font);
    color: var(--font-clr);
    padding: 16px;
    font-size: 16px;
    transition: width 0.2s;
    position: relative;
}

.nav-right ul li a::after,
.nav-left ul li a::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    display: block;
    background: var(--main-clr);
    transition: width 0.4s ease;
    left: 0;
    bottom: 1px;
}

.nav-right ul li a:hover::after,
.nav-left ul li a:hover::after {
    width: 100%;
} */

.nav-logo {
    width: max-content;
    display: flex;
    align-items: center;
    padding: 0 32px;
}

.nav-logo img {
    width: 80px;
    padding: 5px;
}

.nav-logo h2 {
    font-family: var(--logo-font);
    color: var(--font-clr);
    font-weight: 700;
    font-size: 30px;
    text-transform: uppercase;
}

footer {
    width: auto;
    display: flex;
    align-items: center;
    margin: 32px;
    background: rgb(255, 255, 255);
    border-radius: 16px;
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1);
    backdrop-filter: blur(1.5px);
    -webkit-backdrop-filter: blur(7.5px);
    border: .5px solid rgba(255, 255, 255, 0.445);
    border-radius: 5px;
}

/* Footer */

.logo {
    width: 30%;
    display: flex;
    align-items: center;
    padding: 16px;
}

.logo img {
    width: 45px;
}

.logo h2 {
    font-family: var(--logo-font);
    padding: .5rem;
    text-transform: uppercase;
    font-weight: 700;
}

.social-links {
    width: 30%;
    float: right;
    display: flex;
    justify-content: right;
    padding: 1rem 2rem;
}

.social-links a {
    font-size: 1rem;
    width: max-content;
    margin-left: 1rem;
}

.copyright {
    width: 40%;
    text-align: center;
}

.foot {
    width: 100%;
    display: flex;
    align-items: center;
}

@media only screen and (max-width: 1800px) {
    :root {
        --l: 40px;
        --xl: 45px;
        --xxl: 50px
    }

    .nav-logo img {
        width: 55px;
    }

    .nav-logo h2 {
        font-size: 25px;
    }

    .social-links {
        display: none;
    }

    footer .logo {
        width: 50%;
    }

    footer .copyright {
        width: 50%;
        text-align: right;
        padding: 0 16px;
    }
}

@media only screen and (max-width: 600px) {
    :root {
        --xl: 45px;
        --l: 25px;
        --m: 20px;
        --s: 18px;
        --xs: 16px;
        --xxl: 30px
    }

    body {
        width: 100%;
        overflow-x: hidden;
    }

    nav {
        width: 100%;
        display: block;
        margin: 0;
        padding: 0;
    }

    .nav-logo {
        width: auto;
        padding: 0;
        margin: 10px 35px;
        margin-top: 24px;
        align-items: center;
        justify-content: center;
    }

    .nav-logo img {
        width: 50px;
        margin: 0;
        padding: 0;
    }

    .nav-logo h2 {
        font-size: 20px;
        font-weight: 900;
    }

    .nav-left,
    .nav-right {
        display: none;
    }

    footer {
        display: block;
    }

    .foot {
        display: block;
        padding: 20px 0;
    }

    footer .foot .logo {
        width: 100%;
        padding: 0;
        display: flex;
        justify-content: center;
        align-items: center;
    }

    .logo img {
        width: 40px;
    }

    .logo h2 {
        font-size: 20px;
        padding: 0;
    }

    footer .foot .copyright {
        width: 100%;
        margin-top: 10px;
        text-align: center;
    }

    .social-links {
        display: none;
    }
}