@font-face {
    font-family: 'GT-America';
    src: url('../assets/fonts/GT-Standard-VF.ttf') format('truetype');
    font-weight: 100 900;
    font-style: normal;
    font-display: swap;
}

body {
    margin: 0;
    padding: 0;
    color: black;
    font-family: 'GT-America', Helvetica, sans-serif;
}

/* Header styles */
header {
    position: fixed;
    top: 0;
    left: 0;
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    width: 90%;
    padding: 20px 5%;
    height: 50px;
    z-index: 1000;
    color: white;
    transition: color 0.3s ease-out, background-color 0.3s ease-out;
}
header h1 {
    font-size: 24px;
    margin: 0;
    font-weight: 700;
}
header nav {
    display: flex;
    gap: 20px;
}
header nav ul {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    gap: 20px;
    color: white;
    transition: color 0.3s ease-out, background-color 0.3s ease-out;
}
header nav a {
    color: black;
    text-decoration: none;
    font-size: 18px;
    color: inherit;
    font-family: 'Pangaia', Helvetica, sans-serif;
    font-weight: 700;
    transition: color 0.3s ease-out, background-color 0.3s ease-out;
}
header nav a:hover {
    text-decoration: underline;
}

/* FOOTER */
footer {
    background-color: black;
    color: white;
    text-align: center;
    padding: 20px 0;
}

/* ANIMATED BUTTON */
.animated-button {
    background-color: white;
    color: black;
    text-decoration: none;
    border-radius: 20px;
    margin-top: 10px;
    display: block;
    padding: 10px;
    line-height: 20px;
    width: 20px;
    height: 20px;
    overflow: hidden;
    white-space: nowrap;
    transition: width 0.3s;
}
.animated-button i {
    margin-right: 8px;
    margin-left: 0px;
}
.animated-button:hover p {
    height: auto;
    opacity: 1;
}

@media screen and (max-width: 768px) {
    #about-header, #projects-header, #contact-header {
        display: none;
    }
}