* {
    margin: 0;
    padding: 0;
}

@font-face {
    font-family: Alatsi Regular;
    src: url(Alatsi-Regular.ttf);
}

@font-face {
    font-family: Antic Regular;
    src: url(Antic-Regular.ttf);
}

html,
body {
    background: linear-gradient(270deg, #7294d4, #a239d6);
    background-size: 400% 400%;

    -webkit-animation: backgroundAnim 10s ease infinite;
    -moz-animation: backgroundAnim 10s ease infinite;
    animation: backgroundAnim 10s ease infinite;
}

@-webkit-keyframes backgroundAnim {
    0% {
        background-position: 0% 50%
    }

    50% {
        background-position: 100% 50%
    }

    100% {
        background-position: 0% 50%
    }
}

@-moz-keyframes backgroundAnim {
    0% {
        background-position: 0% 50%
    }

    50% {
        background-position: 100% 50%
    }

    100% {
        background-position: 0% 50%
    }
}

@keyframes backgroundAnim {
    0% {
        background-position: 0% 50%
    }

    50% {
        background-position: 100% 50%
    }

    100% {
        background-position: 0% 50%
    }
}


body {
    color: rgb(238, 247, 248);
    font-family: Antic Regular;
}

h3 {
    font-family: Alatsi Regular;
    font-size: 3em;
    margin-left: 0.5em;
    margin-top: 0.5em;
}

#projecten {
    display: flex;
    align-content: center;
    flex-wrap: wrap;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.project {
    width: 35vw;
    height: 15vw;
    border: 1px white solid;
}

p:nth-child(1) {
    margin-top: 5em;
}

.project:nth-last-child(1) {
    margin-bottom: 3em;
}
p {
    margin-top: 2em;
    margin-bottom: 10px;
}

.links {
    list-style-type: none;
    display: flex;
    gap: 1em;
    margin-left: 1.8em;
    margin-top: 0.2em;
}

a {
    color: cyan;
    text-decoration: none;
    font-weight: 600;
}

.one {
    background-image: url("media/project1.png");
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
    filter: blur(1px);
}

.two {
    background-image: url("media/project2.png");
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
    filter: blur(1px);
}

.three {
    background-image: url("media/project3.png");
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
    filter: blur(1px);
}

.four {
    background-image: url("media/project4.png");
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
    filter: blur(1px);
}

.five {
    background-image: url("media/project5.png");
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
    filter: blur(1px);
}

@media (max-width: 825px) {
    .project {
        width: 80vw;
        height: 30vh;
    }
    p {
        font-size: 1.5em;
    }
}

@media (max-width: 450px) {
    .project {
        width: 80vw;
        height: 20vh;
    }
    p {
        font-size: 1.2em;
    }
}