:root{
    --purple: #9A94BC;
    --black: #050517;
    /* for white just use normal white or #FFFFFF */
}

*,::after,::before{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* Don't forget to remove the width property from .logo */

body{
    font-family: "Josefin Sans", sans-serif;
    font-optical-sizing: auto;
    font-weight: 400;
    font-style: normal;
}

#navbar{
    width: 100%;
    height: 70px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    background-color: var(--purple);
    position: fixed;
    top: 0;
    z-index: 1;
    border-bottom: 2px solid;
}

.navbar__link-list{
    display: flex;
    justify-content: space-around;
    list-style: none;
    gap: 5px;
}

.navbar__logo-wrapper{
    flex: 2;
}

.navbar__link-list{
    flex-basis: 33%;
}

.navbar__logo-wrapper{
    flex: 0.95;
    /* Because I don't think the elements are adjusted perfectly for some reason */
}

.navbar__logo{
    margin-left: 5px
}

.navbar__link-list-item{
    font-size: 18px;
}

.navbar__link{
    text-decoration: none;
    padding: 5px;
    color: var(--black);
    transition: 200ms ease-in-out;
}

.navbar__link:hover{
    color: white;
}

#welcome-section{
    background-color: var(--black);
    color: white;
    padding-top: 100px;
    height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-evenly;
}

.welcome-section__text{
    font-size: 9vw;
    font-weight: 200;
}

.animation-appear-on-load{
    opacity: 0;
    scale: .8;
    translate: 0 200px;
    animation-name: appear-on-load;
    animation-duration: 1000ms;
    animation-timing-function: ease-in-out;
    animation-delay: 800ms;
    animation-fill-mode: forwards;
}

.welcome-section-flow:nth-of-type(1) .welcome-section__text{
    font-weight: 400;
    color: var(--purple);
    opacity: 0;
    animation: appear-on-scroll forwards;
    animation-timeline: view();
    animation-range: 200px 500px;
    translate: 0 200px;
    scale: .8;
}

.welcome-section-flow:nth-of-type(2) .welcome-section__text{
    opacity: 0;
    animation: appear-on-scroll forwards;
    animation-timeline: view();
    animation-range: 200px 500px;
    translate: 0 200px;
    scale: .8;
}

@keyframes appear-on-load {
    to{
        opacity: 1;
        translate: 0 0;
        scale: 1;
    }
}

@keyframes appear-on-scroll {
    to{
        opacity: 1;
        translate: 0 0;
        scale: 1;
    }
}

.welcome-section-flow{
    height: 50vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: var(--black);
    color: white;
}

.welcome-section-flow:nth-of-type(2){
    padding-bottom: 25vh;
    height: 100vh;
}

.projects-intro{
    height: 75vh;
    display: flex;
    justify-content: center;
    align-items: center;
}

.projects-intro h1{
    font-size: 9vw;
    font-weight: 200;
}

#projects{
    height: 100vh;
    display: grid;
    grid-template-areas: 
    'universe life poverty'
    'emotions sickness bitcoin';
    padding: 30px;
}

.universe{
    grid-area: universe;
}

.life{
    grid-area: life;
}

.poverty{
    grid-area: poverty;
}

.emotions{
    grid-area: emotions;
}

.sickness{
    grid-area: sickness;
}

.bitcoin{
    grid-area: bitcoin;
}

.project-tile{
    width: 100%;
}

.project-tile .card{
    height: 100%;
}

.card{
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 20px;
    border-radius: 16px;
    background-color: var(--purple);
    border: 1px solid transparent;
}

.card-title{
    text-align: center;
}

.card-img{
    width: 100%;
    position: relative;
}

.card-text{
    font-size: 20px;
    padding-top: 5px;
}

.card{
    scale: 0.8;
    transition: 600ms;
}

.card-img{
    opacity: 0;
    transition: 500ms;
    transition-delay: 50ms;
    width: 0;
    translate: 0 -100px;
}

.card-text{
    opacity: 0;
    transition: 500ms;
    transition-delay: 100ms;
    scale: 0;
    translate: 0 -100px;
}

.card-title{
    padding-top: 20vh;
    padding-bottom: 10vh;
    transition: 500ms;
    color: white;
}

.project-tile:hover{

    .card-img{
        opacity: 1;
        translate: 0 0;
        width: 100%;
        translate: 0 0;
    }

    .card-text{
        opacity: 1;
        translate: 0 0;
        scale: 1;
        translate: 0 0;
    }

    .card-title{
        padding: 0;
        color: black;
    }

    .card{
        scale: 1;
        background-color: white;
        border: 3px solid var(--purple);
    }
}

#contact-section{
    padding-top: 20vh;
    margin-top: 50vh;
    height: 100vh;
    background-color: var(--black);
    color: white;
    font-size: 8vw;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-around;
}

.contact-section__text:nth-of-type(1){
    font-weight: 200;
    font-size: 5vw;
}

.contact-section__text:nth-of-type(2){
    font-weight: 400;
    color: var(--purple);
}

.contact-section__text:nth-of-type(3){
    font-size: 16px;
    text-align: end;
    width: 80%;
    font-weight: 200;
}

.insta-link{
    color: var(--purple);
    font-weight: 800;
    transition: color 200ms ease-in-out;
    transition-delay: 50ms;
}

.insta-link:hover{
    color: white;
}

.text-for-mobile{
    width: 100%;
    text-align: center;
    display: none;
}

@media (max-width: 700px) {
    main,#navbar{
        display: none;
    }
    .text-for-mobile{
        display: block;
        font-size: 50px;
        color: black;
    }
}

.deleted{
    display: none;
}