/* VARIABLES */
:root {
    /* Colors */
    --main-bg-color: #1b1b1b;
    --main-btn-color: #828387;
    --dark-grey: #232323;
    --grey: rgba(255, 255, 255, 0.1);
    --light-grey: #cccccc;
    --white: #fff;
    --black: #000;
    --blue: #00a6fb;
    --green: #23ce6b;
    --red: #fd5749;
    --main-btn-color-transparent:rgb(130, 131, 135, .2);
    --swiper-theme-color: #23ce6b !important;
    --yellow: #fcd441;
    --light-black: #111111;
    --light-black-transparent: rgb(17, 17, 17, .8);
    --blue-hover: #0095E2;
    --green-hover: #20B960;

    --title-gradient: -webkit-linear-gradient(315deg,#23ce6b 25%,#00a6fb);

    /* Resume colors */
    --resume-blue: #4285f4;
    --resume-grey: #434343;
    --g-blue: #4285F4;
    --g-green: #0F9D58;
    --g-yellow: #F4B400;
    --g-red: #DB4437;
     /* Font families */
    --main-font: 'Arial', sans-serif;
    --code-font: 'Source Code Pro', monospace;
    --title-font: 'Arial', sans-serif;
    --g-font: 'Open Sans', sans-serif;
     /* Font sizes */
     --extra-small-font: 12px;
     --small-font: 14px;
     --medium-font: 17px;
     --large-font: 20px;
     --extra-large-font: 24px;
     --extra-extra-large-font: 40px;
     /* Box shadows */
     --deep-box-shadow: rgba(0, 0, 0, 0.25) 0px 54px 55px, rgba(0, 0, 0, 0.12) 0px -12px 30px, rgba(0, 0, 0, 0.12) 0px 4px 6px, rgba(0, 0, 0, 0.17) 0px 12px 13px, rgba(0, 0, 0, 0.09) 0px -3px 5px;
     --inset-box-shadow: rgba(0, 0, 0, 0.4) 0px 2px 4px, rgba(0, 0, 0, 0.3) 0px 7px 13px -3px, rgba(0, 0, 0, 0.2) 0px -3px 0px inset;
}


/* ELEMENTS */
html {
    scroll-behavior: smooth;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    background: var(--main-bg-color);
    background-size: cover;
    background-repeat: no-repeat;
    min-height: 100vh;
    padding-top: 80px;
}

p {
    color: var(--light-grey);
    font-family: var(--main-font);
    /* letter-spacing: 1.2px; */
    line-height: 1.4;
    font-size: var(--medium-font);
}

img {
    height: 100%;
    width: 100%;
}

h1 {
    font-size: 75px;
    color: var(--white);
    text-align: center;
    line-height: 1.75;
}

h2 {
    font-size: var(--extra-extra-large-font);
    font-family: var(--title-font);
    background-image: var(--title-gradient);
    -webkit-text-fill-color: transparent;
    -webkit-background-clip: text;
    color: var(--white);
    letter-spacing: 2px;
    text-align: center;
    line-height: 1.25;
}

h3 {
    font-size: var(--large-font);
    font-family: var(--main-font);
    color: var(--white);
    letter-spacing: 1.5px;
    text-align: center;
    line-height: 1.75;
}

a {
    font-family: var(--main-font);
    text-decoration: none;
    color: var(--white);
}


/* FOOTER */
footer {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 5rem;
    background-color: var(--dark-grey);
    padding: 3rem;
    margin-top: 2rem;

}

/* Brand */
footer .footer-brand {
    display: flex;
    gap: .75rem;
    justify-content: center;
    align-items: center;
    width: 100%;
}

footer .footer-brand p {
    color: var(--blue);
    font-family: var(--code-font);
    font-weight: bold;
    font-size: var(--medium-font);
    text-shadow: var(--light-black) 1px 2px;
}

/* Menu */
footer .footer-menus {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    gap: 3rem;
    width: 60%;
}

footer .footer-menus .footer-menu {
    display: flex;
    justify-content: center;
    align-items: flex-start;
    gap: 4rem;
    width: 100%;
}

footer .footer-menus .footer-menu .footer-menu-category {
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: center;
    gap: 1rem;
    text-align: left;
    width: 100%;
}

footer .footer-menus .footer-menu .footer-menu-category p {
    font-size: 16px;
    color: var(--white);
    font-weight: bold;
    width: 100%;
}

footer .footer-menus .footer-menu .footer-menu-category a {
    font-family: var(--main-font);
    text-align: left;
    width: 100%;
    color: var(--light-grey);
}

footer .footer-menus .footer-menu .footer-menu-category a:hover {
    text-decoration: underline;
    text-underline-offset: 4px;
    color: var(--white);
}

/* Links */
footer .footer-links {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 4rem;
}

footer .footer-links p {
    font-size: var(--small-font);
    font-style: italic;
}

/* Section */
section {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    height: auto;
    margin: 5rem 0;
    margin: 4rem auto;
}

.section-title {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 1rem;
    width: 50%;
}

.section-title p {
    text-align: center;
    font-size: var(--large-font);
}



/* MEDIA QUERIES */
@media (max-width: 768px) {
    /* DISPLAY */
    .mobile {
        display: flex;
    }

    .desktop {
        display: none;
    }

    .no-mobile {
        display: none;
    }

    h1 {
        font-size: 40px;
    }


    /* ELEMENTS */
    h2 {
        font-size: var(--medium-font);
        font-size: calc(8px + 2vh);
    }

    /* SECTIONS */
    section {
        display: flex;
        flex-direction: column;
        justify-content: flex-start;
        align-items: center;
        gap: .5rem;
        width: 100%;
        height: auto;
        margin: 2rem 0;
    }

    .section-title {
        width: 90%;
        padding: 0 5%;
    }

    .section-title p {
        font-size: var(--medium-font);
    }

    /* Footer */
    footer .footer-menus {
        width: 95%;
    }

    footer .footer-menus .footer-menu {
        flex-direction: column;
        gap: 3rem;
    }

    footer .footer-menus .footer-menu .footer-menu-category {
        width: 100%;
        height: auto;
    }

}


/* Older devices (small height) */
@media (max-height: 570px) { 
    section {
        height: calc( 100vh - 150px)
    }
}
