:root {
    --site-width: 1200px;
    --light-gray: rgb(238, 238, 238);
    --yellow: rgb(255, 240, 190);
}

html {
    background-color: rgb(250, 250, 250);
    background-repeat: no-repeat;
    scroll-behavior: smooth;
    min-height: 100%;
    overflow-x: hidden;
}

body {
    display: flex;
    flex-direction: column;
    color: rgb(18, 18, 18);
    font-size: 24px;
    font-family: "Main";
    font-weight: 400;
    min-height: 100vh;
    margin: 0;
}

header {
    position: sticky;
    top: 0;
    width: 100%;
    height: 70px;
    background-image: linear-gradient(rgb(40, 40, 40), rgb(20, 20, 20));
    display: flex;
    justify-content: center;
    border-bottom: 2px solid rgb(50, 50, 50);
    z-index: 10;
}

nav {
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: flex-start;
    align-items: center;
    z-index: 10;
}

footer {
    width: 100%;
    height: 110px;
    background-image: linear-gradient(rgb(25, 25, 25), rgb(15, 15, 15));
    display: flex;
    justify-content: center;
    align-items: center;
    border-top: 3px solid rgb(50, 50, 50);
    box-shadow: 0 -3px 3px rgb(50, 50, 50, 0.4);
    flex-shrink: 0;
    box-sizing: border-box;
}

main {
    min-height: 100%;
}

/* Classes */

.header-container {
    width: var(--site-width);
    height: 100%;
    display: flex;
    justify-content: flex-start;
    align-items: center;
    gap: 10px;
}

.header-logo {
    min-width: 96px;
    min-height: 50px;
    width: 96px;
    height: 50px;
}

.header-logo img {
    width: 100%;
    height: 100%;
    transition: filter 0.2s;
}

.header-logo img:hover {
    filter: drop-shadow(0 0 3px rgba(255, 255, 185, 0.5))
}

.header-title {
    font-family: "Header";
    font-size: 32px;
    color: rgb(236, 208, 82);
    letter-spacing: 5px;
    text-wrap: nowrap;
    text-shadow: 0 0 5px rgba(255, 255, 0, 0.4);
    letter-spacing: 1px;
    margin-right: 35px;
}

.nav-content {
    display: flex;
    width: 100%;
    justify-content: flex-start;
    align-items: center;
    gap: 20px;
}

.nav-item {
    position: relative;
    color: white;
    width: fit-content;
    height: 20px;
    line-height: 20px;
    font-size: 20px;
    text-decoration: none;
    text-wrap: nowrap;
    border-radius: 6px;
    font-weight: 600;
    transition: background-color 0.2s;
}

.nav-item::after {
    content: "";
    position: absolute;
    width: 100%;
    height: 2px;
    bottom: -2px;
    left: 0;
    background-color: white;
    transform: scaleX(0);
    transform-origin: bottom center;
    transition: transform 0.2s ease-out;
}

.nav-item:hover::after {
    transform: scaleX(1);
}

.footer-container {
    width: var(--site-width);
    height: 80%;
    display: flex;
    justify-content: center;
    align-items: center;
    box-sizing: border-box;
}

.footer-left, .footer-right {
    height: 100%;
}

.footer-left {
    padding-right: 100px;
    border-right: 2px solid rgb(50, 50, 50);
}

.footer-right {
    display: flex;
    gap: 18px;
    padding-left: 100px;
}

.footer-header {
    font-size: 26px;
    text-decoration: underline;
    margin-bottom: 8px;
    font-weight: 600;
    color: white;
}

.footer-text {
    font-size: 20px;
    line-height: 1.2;
    color: white;
}

.footer-links {
    display: flex;
    flex-direction: column;
    justify-content: space-around;
}

.footer-link {
    width: 34px;
    height: 34px;
}

.footer-link img {
    width: 100%;
    height: 100%;
    border-radius: 5px;
    transition: background-color 0.12s;
}

.content-image {
    border-radius: 15px;
    box-shadow: 0 10px 8px rgba(0, 0, 0, 0.4);
}

.content-paragraph {
    font-size: 22px;
    line-height: 1.2;
}

.word-link {
    display: inline-block;
    font-weight: 700;
    color: rgb(50, 50, 50);
    transition: color 0.2s;
}

.word-link:hover {
    color: rgb(100, 100, 100);
}

.full-width {
    display: block;
    position: relative;
    left: 50%;
    transform: translateX(-50%);
    width: 100vw;
    max-width: 100vw;
    box-sizing: border-box;
}

.subheader {
    font-size: 42px;
    font-weight: 700;
}

.section-content {
    display: block;
    margin: auto;
    padding: 100px 0 100px 0;
    width: var(--site-width);
    flex: 1;
    box-sizing: border-box;
}

.light-gray-bg {
    background-color: var(--light-gray);
}

.white-bg {
    background-color: white;
}

.yellow-bg {
    background-color: var(--yellow);
}

/* IDs */

#background-effect {
    position: fixed;
    margin: 0%;
    padding: 0%;
    inset: 0;
    width: 100vw;
    height: 100vh;
    top: 0;
    left: 0;
    z-index: -1;
    pointer-events: none;
}

#facebook, #facebook-contact {
    background-color: rgb(80, 80, 255);
}

#facebook:hover, #facebook-contact:hover {
    background-color: rgb(65, 65, 240);
}

#email {
    background-color: rgb(50, 50, 50);
}

#email:hover {
    background-color: rgb(40, 40, 40);
}

/* Animations */

@keyframes hero-image
{
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(-50%);
    }
}

/* Fonts */

@font-face {
    font-family: "Header";
    src: url("../fonts/header.ttf");
    font-weight: 400;
    font-style: normal;
}

@font-face {
    font-family: "Main";
    src: url("../fonts/main/main.ttf");
    font-style: normal;
}

@font-face {
    font-family: "Main";
    src: url("../fonts/main/main-italic.ttf");
    font-style: italic;
}