@import url('https://fonts.googleapis.com/css2?family=Montserrat:ital,wght@0,100..900;1,100..900&display=swap');

/* <-- Global Variables --> */
* {
    font-family: "Montserrat", sans-serif;
    font-optical-sizing: auto;
    font-style: normal;
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    overflow-x: hidden;
}

h1,h2,h3,p {
    color: white;
}

h1 {
    font-size: 50px;
}

a {
    color: white;
}


.body {
    min-width: 200px;
    min-height: 200px;
    background-color: #101216;
}

/* <-- Header & Navbar --> */

.body__header {
    margin: 0 1rem;
}

.header__container {
    position: sticky;
    display: flex;
    justify-content: space-between;
    background-color: #101216;
    align-items: center;
    height: 100px;
    z-index: 10;
}

.nav__links {
    display: flex;
    list-style-type: none;
}

.nav__link {
    padding: 1rem 1rem;
    font-size: 1.3rem;
}

.blue__nav__button {
    text-decoration: none;
    color: white;
}

.blue__nav__button:hover, .blue__nav__button.active, .index__cta:hover, .contact__info:hover, .footer__page:hover {
    background-image: url(../img/gradient_eLogo.svg);
    background-position: 50%;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    transition: ease .3s;
}

/* <-- Burger Menu --> */

.nav__button__open, .nav__button__close {
    display: none;
}

.nav__button {
    border-radius: 0.5rem;
    border-style: none;
    align-items: center;
    padding: 0.5rem;
    background-color: #101216;
}

.nav__button:hover {
    background-image: url(../img/gradient_eLogo.svg);
    background-position: 50%;
    background-clip: padding-box;
    -webkit-text-fill-color: transparent;
    transition: ease .3s;
}

/* <-- Burger Menu Links --> */

.off__screen__menu {
    background-color: #101216;
    height: 100vh;
    width: 100%;
    max-width: 768px;
    position: absolute;
    display: none;
    z-index: 5;
}

@media only screen and (max-width: 768px) {
    .body.burger-active{
        overflow: hidden;
    }

    .nav__links {
        display: none;
    }

    .nav__button__open {
        display: flex;
    }

    .off__screen__menu.active {
        display: flex;
}

    .nav__button__open.active {
        display: none;
    }

    .nav__button__close.active {
        display: flex;
    }

    .off__screen__links {
        margin: auto;
        display: flex;
        flex-direction: column;
        justify-content: center;
        list-style-type: none;
    }

    .off__screen__link {
        font-size: 48px;
    }
}

/* <-- Main Site Content --> */

.main__container {
    display: grid;
    margin: 3rem 1rem;

}

/* <-- Index Content --> */

.index__hero {
    margin: auto;
    text-align: center;
    max-width: 800px;
}

.index__media {
    display: grid;
    padding: 2rem;
    grid-template-columns: 1fr 1fr 1fr;
    margin: auto;
    gap: 2rem;
    max-width: 250px;
}

.index__media__icon {
    margin: auto;
}

.index__cta {
    margin: 2rem 2rem;
    border-style: none;
    border-radius: 0.5rem;
    background-color: #101216;

}
.index__cta a {
    text-decoration: none;
    color: white;
    font-size: 25px;
}

.index__cta span, .contact__info span {
    display: flex;
    height: 1px;
    width: 100%;
    background-color: white;
}

/* <-- About Me --> */
/* <-- Timeline --> */

.timeline p {
    font-size: 12px
}

.timeline {
    position: relative;
    display: flex;
    flex-wrap: wrap;
    width: 100%;
    max-width: 800px;
    margin: auto;
}


.t__ruler {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 100%;
    height: 2px;
    background-color: #FFFFFF;
}


.t__container {
    position: relative;
    width: 25%;
    text-align: center;
    padding-bottom: 80px;
}

@media (max-width: 600px) {
    .t__container {
        padding-bottom: 100px;
    }
}

.t__dot {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 10px;
    height: 10px;
    background-color: #FFFFFF;
    border-radius: 50%;
    z-index: 1;
}

/* <-- About Me Content --> */

.about__hero {
    margin: auto;
    max-width: 500px;
    padding-bottom: 3rem;
}

.about__index {
    max-width: 800px;
    margin: auto;
    text-align: center;

}

.about__index h3 {
    font-size: 25px;
    font-style: italic;
}

.about__index img {
    margin: 1rem 1rem;
}



/* <-- Portfolio Page --> */

.portfolio__hero {
    margin: auto;
    text-align: center;
    margin-bottom: 3rem;
    max-width: 500px;
}

.portfolio {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
}


.portfolio__item {
    text-align: center;
    overflow: hidden;
    margin: 1rem;
}

.portfolio__item p {
    font-size: 15px;
}

.portfolio iframe {
    height: 350px;
    width: 600px;
}

@media (max-width: 768px) {
    .portfolio {
        grid-template-columns: 1fr;
    }

    .portfolio__item {
        max-width: 100%;
    }

    .portfolio iframe {
        height: 250px;
        width: 400px;
    }
}

/* <-- Contact Page --> */

.contact__hero {
    text-align: center;
    margin: auto;
    max-width: 500px;
    padding-bottom: 3rem;
}


.contact__info {
    display: flex;
    justify-content: center;

}

.contact__info a {
    text-decoration: none;
    font-size: 25px;
}



.contact__social {
    display: grid;
    grid-template-columns: 1fr;
    max-width: 500px;
    margin: 3rem auto;
}

.contact__social h3 {
    justify-self: center;
    margin: 2rem;
    font-size: 25px;
}


.contact__social__links {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 3rem;
    align-items: center;
    justify-self: center;
}





/* <-- Footer --> */

footer {
    margin-top: 15rem;
}

.footer__span {
    display: flex;
    height: 3px;
    width: 90%;
    background-color: #FFFFFF;
    margin: auto;
}

.footer__container {
    display: flex;
    width: 90%;
    margin: 1.5rem auto;
    justify-content: space-between;
}

.footer__pages, .footer__links {
    display: flex;
    gap: 1rem;
    align-items: center;
}

.footer__page__link {
    text-decoration: none;
}


@media (max-width: 768px) {
    .footer__pages {
        flex-direction: column;
        align-items: baseline;
    }

    .footer__links {
        flex-direction: column;
    }
}