@font-face {
    font-family: 'SF UI Text';
    src: url('fonts/BDSans-Bold.woff2') format('woff2');
}

@font-face {
    font-family: 'Garet Book';
    src: url('fonts/Garet-Book.woff2') format('woff2');
}

@keyframes animate-pop {
  0% {
    opacity: 0;
    transform: scale(0.5, 0.5);
  }

  100% {
    opacity: 1;
    transform: scale(1, 1);
  }
}

@keyframes animate-slide {
  0% {
    opacity: 0;
    transform: translate(0, 50vh);
  }
  100% {
    opacity: 1;
    transform: translate(0, 0);
  }
}

html {
    font-family: 'SF UI Text', sans-serif;
    font-size: .65vw;
}

#container {
    display: flex;
    flex-flow: column;
}

@media screen and (max-width: 600px) {
    #header_section {
        flex-flow: column;
        row-gap: 2em;
        justify-content: center;
        display: flex;
        width: 100%;
        height: 100%;
        z-index: 1;
        position: absolute;

    }
    #header_text {
        padding: 1em;
        flex-flow: column;
        align-items: center;
    }

    #header_text h1 {
        font-size: 15em;
        color: black;
    }

    #divider {
        border-top: 1.3em solid black;
        content: '';
        width: 70%;
    }
    #me {
        width: calc(90% - 8em);
        padding: 4em;
    }

    .section-1, .section-2 {
        flex-flow: column;
    }

    .section-1 {
        margin-inline: auto;
        padding-inline: 8em;
    }

    #about_me {
        display: flex;
        flex-flow: column;
        justify-content: center;
    }

    #subtitle {
        font-size: 16em;
        margin-block-end: .5em;
    }

    .who-am-i {
        margin-inline: auto;
        font-size: 6em;
    }

    .mask {
        display: flex;
        justify-content: center;
    }

    .background_cover {
        height: 100%;
        margin: auto;
    }

    .attributes-container {
        flex-flow: column;
        row-gap: 6em;;
    }

    .attribute {
        width: 90%;
        display: flex;
        flex-flow: column;
        align-items: center
    }

    .attribute h2 {
        font-size: 9em;
    }

    .attribute p {
        font-size: 7em;
    }

    .about-me-content h1 {
        font-size: 9em;
    }
    
    .about-me-header h1 {
        font-size: 15em;
    }
}

@media screen and (min-width: 600px) {
    .experience {
        width: 50%;
        margin-right: 0;
        margin-left: auto;
    }

    #header_text {
        flex-flow: row;
        column-gap: 8em;
        margin-block-start: 8em;
        height: 14em;
    }

    #header_text h1 {
        margin-block-start: .4em;
        font-size: 4em;
        color: white;
    }

    #divider {
        border-left: .2em solid white;
        content: '';
    }

    #me {
        width: 40em;
        padding: 1em;
    }

    .section-1, .section-2 {
        flex-flow: row;
    }

    .section-1 {
        margin-block: 3em;
        padding-inline: 3em;
    }

    #subtitle {
        font-size: 6em;
        margin-block-end: .2em;
    }

    .who-am-i {
        margin-block-start: 8em;
        font-size: 2em;
    }

    .background_cover {
        width: 100%;
    }

    .attributes-container {
        flex-flow: row;
        column-gap: 6em;
    }

    .attribute {
        width: 27em;
    }

    .attribute h2 {
        font-size: 3em;
    }

    .attribute p {
        font-size: 2em;
    }

    .about-me-header h1 {
        font-size: 2em;
    }

    .about-me-header h1 {
        font-size: 5em;
    }
}

@media screen and (min-width: 600px) and (max-width: 1200px) {
    #header_section {
        flex-flow: row;
        justify-content: space-around;
    }
    #header_text {
        padding: 2em;
    }

    #content {
        padding-inline: 2em;
    }
}


@media screen and (min-width: 1200px) {
    #header_text {
        padding: 4em;
    }
    #header_section {
        flex-flow: row;
        justify-content: center;
        column-gap: 12em;
    }
    .section-1 {
        margin-inline: 12em;
    }
}

body {
    background-color: #fffbf5;
    margin: 0;
}

#me {
    height: auto;
    background-color: #75c2c9;;
}

header {
    overflow: hidden;
    height: 100vh;
    position: relative;
}

#header_section {
    display: flex;
    width: 100%;
    z-index: 1;
    position: absolute;
}

.mask {
    background-color: #e4e6d1;
    position: absolute;
    z-index: 0;
    width: 100%;
    height: 100%;
}

.background_cover {
    display: block;
    opacity: 0.5;
}

#header_text {
    animation-duration: 0.5s;
    animation-name: animate-slide;
    animation-fill-mode: backwards;
    animation-delay: 0.5s;
    display: flex;
}

#header_text h1 {
    margin-block-start: .4em;
    text-transform: uppercase;
    text-align: center;
    width: 8em;
}


.section-1, .section-2 {
    display: flex;
    justify-content: center;
}

main {
    font-family: 'Garet Book', sans-serif;
    scroll-snap-type: y mandatory;
    background-color: #fffbf5;
}

.section-1 {
    column-gap: 10em;
    margin-block: 3em;
}

.section-2 {
    height: fit-content;
    border-block-start: 2px solid white;
    align-items: center;
    overflow: hidden;
    position: absolute;
    width: 100%;
}

#image_container {
    animation-duration: 0.5s;
    animation-name: animate-slide;
    animation-fill-mode: backwards;
    animation-delay: 0.5s;
}

#subtitle {
    font-weight: 100;
    margin-block-start: 0px;
}



.attributes-container {
    display: flex;
    z-index: 1;
    position: relative;
    margin-block: 12em;
    margin-inline: auto;
}

.attribute {
    background: #faefe0;
    padding-inline: 3em;
    padding-block: 2em;
}

.attribute h2 {
    height: 7em;
    font-weight: 100;
}

.attribute p {
    margin-inline: -1.5em;
    border-top: 1px solid lightgray;
    padding-inline: 1.5em;
    padding-top: 1em;
}

.section-2-content {
    display: flex;
    width: 100%;
    flex-flow: column;
    z-index: 1;
}

.about-me-header {
    display: flex;
    justify-content: center;
    background: #faefe0;
    width: 100%;
    align-items: center;
}

.about-me-header h1 {
    font-weight: 100;
}

.about-me-content {
    justify-content: center;
    display: flex;
}

.about-me-content h1 {
    margin-block: 3em;
    font-weight: 100;
}