@keyframes load-fade { 
	from {opacity: 0;}
	to {opacity: 1;}
}

html * {
    box-sizing: border-box;
    animation: load-fade 1s normal both;
}

body {
    font-family: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
    font-size: 100%;
    line-height: 1.44em;
    background-color: #151618;
    color: #f8f8e5;
    font-size: 1.3em;
    margin: 0 1em;
}

/* .unifrakturmaguntia-regular {
  font-family: "UnifrakturMaguntia", cursive;
  font-weight: 400;
  font-style: normal;
} */

header {
    margin-top: 2em;
    height: 50vh;
    background-color: #242f43;
    border-radius: 8px;
    padding-top: 3em;
    display: flex;
    justify-content: space-between;
    flex-direction: column;
}

h1 {
    font-weight: 400;
    font-size: 3.5em;
    text-align: center;
    margin: auto;
    font-family: "UnifrakturMaguntia", cursive;
    line-height: 1em;
    color: #6c80ff;
}

.amp {
    font-family: serif;
}

ul {
    padding: 0;
    list-style: none;
    display: flex;
    flex-direction: row;
    justify-content: center;
    gap: 12vw;
}

.top-nav a {
	text-decoration: none;
    transition: all ease-in-out .25s;
    /* transition: transform 0.25s ease-in-out, color 0.25s ease-in-out; */ 
    /* optimal performance when writing it out */
    display: inline-block;
    letter-spacing: 0.015em;
}

.top-nav a:link {
    color: #6c80ff;
}

.top-nav a:visited {
    color: #6c80ff;
}

.top-nav a:hover {
    color: #f8f8e5;
    transform: scale(1.05);
}

main {
    margin: 1em;
    font-weight: 300;
    letter-spacing: 0.015em;
}

section {
  display: flex;
  gap: 1em;
  flex-direction: row;
  justify-content: space-between;
}

/* .transformer {
    color: #6c80ff;
    display: inline-block;
}

.transformer:hover {
    color: #6c80ff;
} */

@media (max-width: 771px){
    .amp {
        display: none;
    }

    section {
        flex-direction: column;
        gap: 0;
    }
}  

@media (max-width: 550px) {
    h1 {
        font-size: 12vw;
    }

    ul {
        /* flex-direction: column;
        align-items: center; */
        gap: 1em;
    }

    main {
        margin: 0;
    }
}    