@import url(fontawesome-all.min.css);
@import url('https://fonts.googleapis.com/css2?family=Nunito:wght@200&display=swap');

body {
    margin: 0;
    background-color: #000;
    font-family: Matter, -apple-system, linkMacSystemFont, Helvetica Neue, Segoe UI, Roboto, Arial, sans-serif;
}

a {
    text-decoration: none;
    color: red;
}

.scroll-container,
.scroll-area {
    height: 100vh;
    min-height: -webkit-fill-available
}

.scroll-container {
    overflow: auto;
    scroll-behavior: smooth;
    scroll-snap-type: y mandatory;
}

.scroll-area {
    display: flex;
    /*align-items: center;*/
    margin-left: 50px;
    margin-right: 50px;
    color: white;
    scroll-snap-align: start;
}

#hero {
    align-items: center;
}


/* HEADER */
#header-logo {
    width: 100%;
    height: auto;
    max-width: 500px;
}

#header h1 {
    font-size: 500%;
    font-weight: 200;
    line-height: 1.25em;
    margin: 0 0 0.55em 0;
    padding-top: 0.5em;
}

@media screen and (max-width: 768px) {

    #header h1 {
        font-size: 300%;
    }
}

#header p {
    font-size: 1.35em;
    line-height: 1.65em;
}

.btn-content {
    font-family: Matter, -apple-system, linkMacSystemFont, Helvetica Neue, Segoe UI, Roboto, Arial, sans-serif;
    padding: 10px 25px 10px 25px;
    background-color: #cc000b;
    /*background-color: #858585;*/
    display: inline-block;
    border-radius: 5px;
    color: white;
    font-size: 20px;
}


/* ABOUT */

#about {
    align-items: center;
}

#about h1 {
    font-size: 350%;
}

#about h2 {
    font-size: 200%;
}

#about h3 {
    font-size: 150%;
    font-weight: 400;
}

#about p {
    font-family: 'Nunito', sans-serif;
    font-size: 300%;
    line-height: 1.4;
    overflow-wrap: break-word;
    font-weight: 200;
}


#about-content {
    display: flex;
    align-items: flex-start;
}

#picture-container {
    padding-top: 150px;
}

.profile-picture {
    width: 100%;
    margin: auto;
    display: block;
    border-radius: 8px;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.19), 0 6px 6px rgba(0, 0, 0, 0.23);
}

.profile-picture-caption {
    margin: auto;
}

.contact {
    background-color: #3d68a5;
    border-radius: 8px;
    padding-left: 0.4em;
    padding-right: .4em;
}




/* Icons */
ul.icons {
    cursor: default;
    list-style: none;
    padding-left: 0;
    font-size: 25px;
}

ul.icons li {
    display: inline-block;
    padding: 0 1em 0 0;
}

ul.icons li:last-child {
    padding-right: 0;
}

ul.icons li .icon:before {
    font-size: 1.25em;
}

ul.icons li a {
    color: inherit;
}

.icon {
    text-decoration: none;
    border-bottom: none;
    position: relative;
}

.icon:before {
    -moz-osx-font-smoothing: grayscale;
    -webkit-font-smoothing: antialiased;
    display: inline-block;
    font-style: normal;
    font-variant: normal;
    text-rendering: auto;
    line-height: 1;
    text-transform: none !important;
    font-family: 'Font Awesome 5 Free';
    font-weight: 400;
}

.icon>.label {
    display: none;
}

.icon:before {
    line-height: inherit;
}

.icon.solid:before {
    font-weight: 900;
}

.icon.brands:before {
    font-family: 'Font Awesome 5 Brands';
}


/* MOBILE */
@media screen and (max-width: 768px) {
    .scroll-area {
        margin-left: 25px;
        margin-right: 25px;
    }

    #about {
        align-items: normal;
    }

    #about h1 {
        font-size: 250%;
    }

    #about h2 {
        font-size: 150%;
    }

    #about h3 {
        font-size: 100%;
    }

    #about p {
        font-size: 100%;
        margin-top: -20px;
    }

    #picture-container {
        padding-top: 0;
    }

    #about-content {
        flex-direction: column;
    }

    ul.icons {
        font-size: 18px;
    }

}






body>* {
    position: relative;
    z-index: 2;
}


/* BG */
#bg {
    -moz-transition: opacity 2s ease-in-out;
    -webkit-transition: opacity 2s ease-in-out;
    -ms-transition: opacity 2s ease-in-out;
    transition: opacity 2s ease-in-out;
    height: 100%;
    left: 0;
    opacity: 0.375;
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1;
}

#bg div {
    -moz-transition: opacity 3s ease;
    -webkit-transition: opacity 3s ease;
    -ms-transition: opacity 3s ease;
    transition: opacity 3s ease;
    background-size: cover;
    height: 100%;
    left: 0;
    opacity: 0;
    position: absolute;
    top: 0;
    visibility: hidden;
    width: 150%;
}

#bg div.visible {
    -moz-animation: bg 45s linear infinite;
    -webkit-animation: bg 45s linear infinite;
    -ms-animation: bg 45s linear infinite;
    animation: bg 45s linear infinite;
    opacity: 1;
    visibility: visible;
    z-index: 1;
}

#bg div.visible.top {
    z-index: 2;
}

@media screen and (max-width: 1280px) {
    #bg div.visible {
        -moz-animation: bg 29.25s linear infinite;
        -webkit-animation: bg 29.25s linear infinite;
        -ms-animation: bg 29.25s linear infinite;
        animation: bg 29.25s linear infinite;
    }
}

@media screen and (max-width: 736px) {
    #bg div.visible {
        -moz-animation: bg 18s linear infinite;
        -webkit-animation: bg 18s linear infinite;
        -ms-animation: bg 18s linear infinite;
        animation: bg 18s linear infinite;
    }
}

#bg div:only-child {
    -moz-animation-direction: alternate !important;
    -webkit-animation-direction: alternate !important;
    -ms-animation-direction: alternate !important;
    animation-direction: alternate !important;
}

body.is-preload #bg {
    opacity: 0;
}

@-moz-keyframes bg {
    0% {
        -moz-transform: translateX(0);
        -webkit-transform: translateX(0);
        -ms-transform: translateX(0);
        transform: translateX(0);
    }

    100% {
        -moz-transform: translateX(-25%);
        -webkit-transform: translateX(-25%);
        -ms-transform: translateX(-25%);
        transform: translateX(-25%);
    }
}

@-webkit-keyframes bg {
    0% {
        -moz-transform: translateX(0);
        -webkit-transform: translateX(0);
        -ms-transform: translateX(0);
        transform: translateX(0);
    }

    100% {
        -moz-transform: translateX(-25%);
        -webkit-transform: translateX(-25%);
        -ms-transform: translateX(-25%);
        transform: translateX(-25%);
    }
}

@-ms-keyframes bg {
    0% {
        -moz-transform: translateX(0);
        -webkit-transform: translateX(0);
        -ms-transform: translateX(0);
        transform: translateX(0);
    }

    100% {
        -moz-transform: translateX(-25%);
        -webkit-transform: translateX(-25%);
        -ms-transform: translateX(-25%);
        transform: translateX(-25%);
    }
}

@keyframes bg {
    0% {
        -moz-transform: translateX(0);
        -webkit-transform: translateX(0);
        -ms-transform: translateX(0);
        transform: translateX(0);
    }

    100% {
        -moz-transform: translateX(-25%);
        -webkit-transform: translateX(-25%);
        -ms-transform: translateX(-25%);
        transform: translateX(-25%);
    }
}