@font-face {
    font-family: Alexandria;
    src: url(Alexandria/Alexandria-VariableFont_wght.ttf);
}

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

html {
    margin: 0;
    padding: 0;
    overflow: hidden;
}

.realbody {
    font-family: "Alexandria", "Audiowide", "sans-serif";
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0;
    padding: 0;
    flex-grow: 1;
    flex-wrap: wrap;
}

body {
    background-color: #f4f4f4;
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    margin: 0;
    padding: 0;
    height: 100vh;
}

h1 {
    font-size: 3rem;
    text-align: left;
    margin: auto 5px;
    align-self: baseline;
}

h2 {
    font-size: 1rem;
    font-weight: 400;
    text-align: left;
    margin: 0 0;
    align-self: center;
}

.content-title {
    display: flex;
    flex-direction: row;
    justify-content: center;
    padding: 0 20px;
}

.container {
    width: 400px;
    margin: 45px;
    align-self: center;
}

.description-side {
    padding: 20px 33px 20px 33px;
    margin: 0;
    animation: fadeIn 3s forwards;
    animation-delay: 0.15s;
    opacity: 0;
}

.description-side p {
    font-size: 1.2rem;
    line-height: 1.67rem;
}

.description-side {
    padding: 20px 30px 20px 30px;
    border-radius: 12px;
    background-color: rgba(253, 250, 253, 0.8);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    text-align: left;
}

.err-links {
    list-style: none;
    text-decoration: none;
    color: #111;
    text-align: center;
    padding: 20px 0 0 0;
    margin: auto;
    width: 100%;
}

.err-links a {
    width: 100%;
    text-decoration: none;
    color: #111;
    text-align: center;
    align-self: center;
    padding: 5px;
    border-radius: 5px;
}

.err-links a:hover {
    background: #eeeeeeee;
    color: #339;
}

.links {
    list-style: none;
    padding: 0;
    display: flex;
    flex-direction: row;
    justify-content: end;
    margin: 0px;
    align-items: center;
}

.links a {
    text-decoration: none;
    transition: 0.5s ease-in-out;
    font-size: 24px;
    width: 100%;
    height: 62px;
    display: block;
    padding: 5px 5px 5px 5px;
}

.logo {
    width: 100%;
    margin: auto;
    animation: fadeIn 2s forwards;
    opacity: 1;
    aspect-ratio: initial;
    align-self: center;
    filter: drop-shadow(2px 2px 8px #00000026);
}

.social-links {
    filter: contrast(1) grayscale(1);
    align-self: flex-end;
}

.social-links:hover {
    filter: contrast(0.67) grayscale(0.67);
    transform: scale(1.067);
}

@keyframes fadeIn {
    to {
        opacity: 1;
    }
}

@media (max-width: 1080px) {
    .container {
        width: 70vw;
    }
    h1 {
        font-size: 4rem;
    }

    h2 {
        font-size: 2rem;
        text-align: center;
    }

    .description-side {
        position: absolute;
        top: calc(50vh-50vh / 2);
    }

    .content-title {
        flex-wrap: wrap;
        padding: 0;
    }
    .description-side p {
        font-size: 1.3rem;
    }
}

@media (max-width: 720px) {
    html,
    body {
        height: unset;
        overflow: unset;
        overflow-x: hidden;
    }
    .description-side {
        width: 100%;
        margin: 0;
        padding: 0px;
        min-height: 100%;
        border-radius: 0;
    }
    h1 {
        font-size: 2.3rem;
    }

    h2 {
        font-size: 1.67rem;
        text-align: center;
        line-height: 1.67rem;
    }

    .links {
        justify-content: center;
    }

    .logo {
        position: fixed;
        top: 25vh;
        left: 0;
    }
    .description-side {
        display: flex;
        flex-direction: column;
        position: absolute;
        top: 0;
        justify-content: center;
    }

    .content-description {
        padding: 0 15px 0 15px;
    }
    .content-title {
        flex-wrap: wrap;
        padding: 5px;
    }
    .description-side p {
        font-size: 1rem;
    }

    .links a {
        padding: 0;
    }
}
