* {
    margin: 0;
    padding: 0;
    scroll-behavior: smooth;
}

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

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

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;
}

#page-title {
    font-size: 3em;
    font-family: Alatsi Regular;
    margin-left: 0.5em;
    margin-top: 0.2em;
}

@-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%
    }
}

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


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

h3 {
    font-family: Alatsi Regular;
    font-size: 2em;
    margin-left: 1em;
}

p, h3 {
    margin-left: 1.9em;
    margin-right: 1.9em;
}

p {
    width: fit-content;
    max-width: 70%;
}

#past {
    display: flex;
    flex-direction: column;
    align-content: flex-end;
    justify-content: center;
}

h3 {
    margin-top: 1.2em;
}

div {
    margin-bottom: 1em;
}

#about {
    margin-top: 2em;
}

#skills .wrapper {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    align-content: center;
    justify-content: flex-start;
    align-items: flex-start;
    width: 80%;
    margin-left: 1em;
}
.skill {
    width: 5em;
    height: 5em;
    background-position: 50% 50%;
    background-size: contain;
    background-repeat: no-repeat;
    margin: 0.55em;
}
.html {
    background-image: url(media/html.png);
}
.css {
    background-image: url(media/css.png);
}
.js {
    background-image: url(media/javascript.png);
}
.php {
    background-image: url(media/php.png);
}
.npm {
    background-image: url(media/npm.png);
}
.node {
    background-image: url(media/node.png);
}
.git {
    background-image: url(media/git.png);
}
.sql {
    background-image: url(media/sql.png);
}

#main {
    display: flex;
    align-content: center;
    flex-wrap: wrap;
    flex-direction: row;
    align-items: center;
}

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