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

@font-face {
    font-family: avenir;
    src: url('fonts/avenir.otf');
}

@font-face {
    font-family: avenir-black;
    src: url('fonts/AvenirLTStd-Black.otf');
}

@font-face {
    font-family: roboto;
    src: url('fonts/RobotoMono-SemiBold.ttf');
}

body {
    background-color: #02081C;
}

p {
    font-family: avenir, sans-serif;
    font-size: 14px;
    color: #fefefe;
}

h2, h3, h4 {
    font-family: avenir-black;
    color: #fefefe;
}

h1 {
    font-family: roboto, sans-serif;
    color: #fefefe;
}

h2 {
    font-size: 24px;
}

nav {
    width: 100%;
    position: absolute;
    color: #FDFDF8;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 30px;
    padding-bottom: 30px;
}

.title {
    border-left: 1px solid #4361EE;
    padding-left: 10px;
    margin-left: 60px;
    white-space: nowrap;
}

.title p, .title a {
    font-size: 16px;
}

.title a {
    text-decoration: none;
    color: #fefefe;
    font-family: avenir;
}

nav a {
    text-decoration: none;
}

nav ul {
    width: 50vw;
    display: flex;
    justify-content: space-around;
    align-items: center;
    list-style: none;
}

nav ul li a {
    color: #FDFDF8;
    font-family: avenir, sans-serif;
    display: block;
}

nav ul li a:hover {
    color: #52B788;
    text-shadow: 1px #52B788;
    transition: .5s;
}


.toggle-button {
    position: absolute;
    top: 33px;
    right: 50px;
    display: none;
}

.toggle-button svg {
    height: 20px;
    width: auto;
}

#browse{
    padding: 20px 40px 20px 40px;
    border: 1.5px solid #4361EE;
    border-radius: 5px;
    position: absolute;
    top: 450px;
    left: 70px;
    font-family: avenir-black, sans-serif;
    text-decoration: none;
    color: #fefefe;
}

header a:hover {
    transform: scale(0.95);
    border-radius: 15px;
    transition: .5s;
}

#header-button {
    margin-top: 50px;
    width: 250px;
    height: 50px;
    border: none;
    border-radius: 7px;
    background-color: #4361EE;
    display: flex;
    justify-content: center;
    align-items: center;
}

#header-button:hover {
    border: 1px solid #4361EE;
    background-color: transparent;
    transition: 1s;
}


@media  (max-width: 900px) {
    .toggle-button {
        display: block;
    }
    .links {
        display: none;
        width: 100%;
        margin-top: 35px;
    }
    nav {
        flex-direction: column;
        align-items: flex-start;
        background-color: #02081C;
    }
    .links ul {
        width: 100vw;
        flex-direction: column;
    }
    .links ul li a {
        margin-top: 5px;
        padding-left: 0;
    }
    .links ul li {
        text-align: center;
    }
    .links.active {
        display: flex;
    }
}

header {
    height: 100vh;
    background-color: #02081C;
    display: flex;
}

.text {
    width: 30vw;
    height: 100%;
    background-color: #02081C;
}

.background-image {
    width: 70vw;
    height: 100%;
    background-image: url('../images/JezusLeeft.png');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    ;
}

.text-container {
    font-family: roboto, sans-serif;
    width: 80%;
    top: 30%;
    font-size: 23px;
    color: #FDFDF8;
    padding-left: 70px;
    position: absolute;
}

@media (max-width: 500px) {
    .text-container {
        width: 90%;
        padding-left: 0px;
        margin-left: 5%;
        margin-right: 5%;
    }
    .text-container h1 {
        font-size: 30px;
    }
}


@media (max-width: 900px) {
    .background-image {
        width: 100vw;
    }
    .text {
        width: 0%;
    }
}

@media (max-width: 800px) {
    h1 {
        font-size: 35px;
    }
}

main {
    width: 85%;
    margin-left: auto;
    margin-right: auto;
}

#aboutme {
    margin-top: 100px;
    margin-bottom: 80px;
    padding-top: 50px;
    padding-bottom: 50px;
    display: flex;
    justify-content: center;
    gap: 100px;;
    align-items: center;
    flex-wrap: wrap;
}

#aboutme h2 {
    width: fit-content;
}

.line {
    height: 2px;
    background-color: #4361EE;
    margin-bottom: 20px;
    max-width: 60px;
}

.line2 {
    height: 2px;
    background-color: #4361EE;
    margin-bottom: 20px;
    max-width: 70px;
}

.line3 {
    height: 2px;
    background-color: #4361EE;
    margin-bottom: 20px;
    max-width: 60px;
}

.line4 {
    height: 2px;
    background-color: #4361EE;
    margin-bottom: 20px;
    max-width: 60px;
}

.animation {
    animation: line-visual 1.5s;
}

.animation2 {
    animation: line-visual2 1.5s;
}

.animation3 {
    animation: line-visual3 1.5s;
}

.animation4 {
    animation: line-visual4 1.5s;
}

@keyframes line-visual {
    from {
        width: 0px;
    }
    to {
        width: 60px;
    }
}

@keyframes line-visual2 {
    from {
        width: 0px;
    }
    to {
        width: 70px
    }
}

@keyframes line-visual3 {
    from {
        width: 0px;
    }
    to {
        width: 60px
    }
}

@keyframes line-visual4 {
    from {
        width: 0px;
    }
    to {
        width: 60px
    }
}


#aboutme-text {
    width: 600px;
}

table {
    margin-top: 30px;
    color: #fefefe;
    text-align: left;
    font-size: 14px;
    font-family: avenir, sans-serif;
}

tr th:first-of-type {
    color: #52B788;
    width: 200px;
}

#myskills {
    margin-top: 100px;
    margin-bottom: 100px;
}
#myskills-text {
    max-width: 550px;
}

#myskills-showcase {
    margin-top: 30px;
    display: flex;
    justify-content: center;
    gap: 1em;
    flex-wrap: nowrap;
}

.skill-element h4 {
    font-family: avenir;
    font-style: normal;
    color: #52B788;
}

.skill-element {
    position: relative;
    width: 200px;
    height: 50px;
    background-color: #293241;
    display: flex;
    gap: 10px;
    justify-content: center;
    align-items: center;
    flex-shrink: 1;
    cursor: pointer;
    margin-bottom: 30px;
    border-radius: 2px;
}

@media (max-width: 900px) {
    .skill-element h4 {
        display: none;
    }
    .skill-element {
        height: 50px;
        width: 80px;
    }
}

.invisible {
    display: none;
    transition: 3s;
}

.pointer {
    display: block;
    position: absolute;
    left: 20px;
    bottom: -15px;
}

@media (max-width: 550px) {
    .pointer {
        left: 10px;
        width: 30px;
    }
}

@media (max-width: 400px) {
    .pointer {
       display: none;
    }
}


.skill-text-section {
    width: 100%;
    min-height: 300px;
    max-height: fit-content;
    border-radius: 5px;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
}

.skill-text  {
    width: 100%;
    padding: 50px;
    flex-shrink: 1;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
}

.skill-text p {
    max-width: 600px;
}

.skill-text h2 {
    font-size: 40px;
    padding-right: 50px;
    padding-left: 15px;
    border-left: 2px solid #4361EE;
    margin-bottom: 30px;
}


.none {
    display: none;
}

#mywork {
    margin-top: 150px;
    margin-bottom: 150px;
}

#mywork-text p {
    max-width: 600px;
    margin-bottom: 20px;
}

#mywork-text a {
    text-decoration: none;
    color: #52B788;
    font-family: avenir, sans-serif;
    font-size: 14px;
}

#slideshow {
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 15px;
    margin-top: 30px;
}

#slideshow button {
    height: 40px;
    width: 40px;
    background-color: #4361EE;
    font-family: avenir-black;
    color: #fefefe;
    border: none;
    display: flex;
    justify-content: center;
    align-items: center;
}

#slideshow button:hover {
    transform: scale(0.8);
    opacity: .7;
    transition: .2s;
}

#slideshow button svg {
    width: 15px;
    height: auto;
}

#image {
    max-width: 600px;
    height: auto;
}

@media (max-width: 800px) {
    #image {
        width: 320px;
        height: auto;
    }
}

@media (max-width: 450px) {
    #image {
        width: 250px;
        height: auto;
    }
    #slideshow {
        gap: 7px;
    }
    #slideshow button svg {
        width: 15px;
        height: auto;
    }
}

#slide-description {
    margin-top: 30px;
    margin-bottom: 150px;
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
}

#slide-text {
    max-width: 700px;
    min-height: 200px;
    background-color: #293241;
    padding: 40px 30px 40px 30px;
    border-radius: 5px;
}

#slide-text h2 {
    margin-bottom: 15px;
}

#slide-description a {
    margin-top: 30px;
    width: 200px;
    padding-top: 20px;
    padding-bottom: 20px;
    color: #fff;
    background-color: transparent;
    font-family: avenir-black, sans-serif;
    text-align: center;
    text-decoration: none;
    border: 1.5px solid #4361EE;
    border-radius: 7px;
}

#contact-text p {
    max-width: 700px;
}

#contact-symbols {
    margin-top: 30px;
}

#contact-symbols ul {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

#contact-symbols ul li svg {
    height: 16px;
    width: auto;
}



#contact-symbols ul li {
    display: flex;
    align-items: center;
    gap: 10px;
    height: 20px;
    max-width: fit-content;
    background-color: #293241;
    padding: 20px 10px 20px 10px
}

#contact-symbols ul li a {
    text-decoration: none;
    color: #fefefe;
    font-family: avenir, sans-serif;
    margin-right: 20px;
}

#contact ul li p {
    text-decoration: none;
    margin-right: 30px;
}



/* MY WORK PAGE */
.project-header {
    height: 100px;
}

.project-intro-text {
    height: 75vh;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
}

.project-intro-text h1 {
    font-family: roboto, sans-serif;
    font-size: 46px;
    padding-left: 15px;
    border-left: 3px solid #4361EE;
    display: flex;
    flex-direction: column;
    position: relative;
}

@media (max-width: 500px) {
    .project-intro-text h1 {
        font-size: 30px;
    }
    .project-intro-text {
        height: 60vh;
        justify-content: flex-start;
        gap: 100px;
    }
}

.project-text {
    max-width: 600px;
    height: auto;
}

.project-text p {
    margin-bottom: 50px;
}

.project-text a {
    border: 1px solid #4361EE;
    border-radius: 5px;
    text-decoration: none;
    color: #fefefe;
    font-family: avenir-black, sans-serif;
    padding: 15px 40px 15px 40px;
}

.project-text a:hover {
    transform: scale(0.8);
    opacity: .7;
    transition: .2s;
}

.project-icon {
    width: 85%;
    margin-left: auto;
    margin-right: auto;
    display: flex;
    justify-content: center;
    align-items: center;
    position: absolute;
    bottom: 40px;
}

@media (max-width: 500px) {
    .project-icon {
        bottom: 15px;
    }
}

.project-icon svg {
    width: 30px;
    height: auto;
    animation: moveme ease-in-out 4s infinite;
}

@keyframes moveme {
    0% {
        transform: translateY(0);
    }
    50%{
        transform: translateY(-50px);
    }
    100% {
        transform: translateY(0);
    }
}

.project-description {
    margin-top: 30vh;
    height: 100vh;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
}

.description-text {
    max-width: 450px;
}

.description-text h2 {
    margin-bottom: 20px;
    padding-left: 10px;
    border-left: 2px solid #4361EE;
}

.description-text p {
    margin-bottom: 50px;
}

.description-text a, .project-learn-header a{
     text-decoration: none;
     color: #52B788;
     font-family: avenir, sans-serif;
}


.project-description img {
    max-width: 550px;
    height: auto;
}

@media (max-width: 600px) {
    .project-description img {
        max-width: 300px;
        height: auto;
    }
    .project-description {
        justify-content: center;
    }
}

.project-functions, .project-learn {
    height: 100vh;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
}

.project-functions h2 {
    font-family: roboto, sans-serif;
    font-size: 46px;
    padding-left: 15px;
    border-left: 3px solid #4361EE;
}

.project-functions ul, .project-learn ul {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

@media (max-width: 500px) {
    .project-functions h2 {
        font-size: 24px;
    }
    .project-functions {
    height: 70vh;
    }
}

.project-functions ul li, .project-learn ul li {
    color: #fefefe;
    font-family: avenir, sans-serif;
    color: #52B788
}

.project-functions ul li span, .project-learn ul li span {
    color: #fefefe;
}

.project-learn-header {
    display: flex;
    flex-direction: column;
    gap: 50px;
}

.project-learn h2 {
    font-family: roboto, sans-serif;
    font-size: 46px;
    padding-left: 15px;
    border-left: 3px solid #4361EE;
    display: flex;
    flex-direction: column;
}

@media (max-width: 500px) {
    .project-learn-header h2 {
        font-size: 24px;
    }
}