/* These variables are already present in the global CSS File. They are only here for easier reference.
:root {
    --background-color: #1f1f1f;

    --white-1: #bfbfbf;

    --blue-1: #4a90e2;
    --blue-2: #203f66;
    --blue-3: #0b1624;

    --primary-500: hsl(259, 13%, 28%);
    --primary-600: hsl(252, 9%, 22%);
    --primary-900: hsl(256, 43%, 7%);

    --border-1: var(--primary-500);
    --border-2: var(--primary-600);
    --surface-1: var(--primary-900);
} */

body {
    background-color: var(--background-color);
    font-family: 'Nunito', sans-serif;
    margin: 0;
    padding: 0;
    overflow-x: hidden;
    overflow-y: auto;
}

.full-viewport {
    flex-grow: 1;
    display: flex;
    align-items: center;
    justify-content: center;
}

.container {
    display: flex;
    flex-direction: column;
    align-items: center;
    max-height: 2800px;
    margin-top: 0px;
    padding: 20px 20px;
    gap: 80px;
    position: relative;
    text-align: center;
    min-height: 100vh;
}

.centering {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.description {
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 30px;
    transform: none;
    margin: 50px;
}

.element {
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 20px;
    gap: 30px;
    max-width: 1340px; /* Original Width 1200px + double margin 20px * 2 = 1340px */
}

.text {
    width: 500px; /* Made width be consistent */
    text-align: center;
    transition: transform ease 0.3s;
    font-weight: bold;
}

.text.clickable:hover {
    transform: scale(1.02);
    cursor: pointer;
}

.text h1,
.text h2 {
    margin-bottom: 10px;
}

.large {
    font-size: 1.4rem;
    line-height: 1.6;
    width: auto;
}

.image {
    max-width: 280px;
    height: auto;
    display: flex;
    justify-content: center;
    transition: transform ease 0.3s;
    user-select: none;
}

.image.small {
    display: flex;
    justify-content: center;
    transition: transform ease 0.3s;
    height: auto;
    width: auto;
}

.image:hover {
    transform: scale(1.02);
    cursor: pointer;
}

.image img {
    max-width: 100%;
    border-radius: 15px;
    box-shadow: 0 2px 10px rgba(255, 255, 255, 0.1);
}

.divider {
    width: 95%;
    margin: 0 auto;
    border: 2px solid var(--blue-1);
}

.reverse {
    flex-direction: row-reverse;
}

.footer {
    justify-self: center;
    align-content: center;
    background-color: var(--blue-2);
    width: 100%;
    padding: 3px 0;
    color: var(--primary-100);
}

.footer-link:hover {
    text-decoration: underline;
}

@media (max-width: 768px) {
    .largetext {
        font-size: 1rem;
    }

    .image.small {
        width: auto;
        height: auto;
        margin: 0 auto;
    }

    .text {
        width: auto;
    }

    .element {
        flex-direction: column;
        align-items: center;
        justify-content: center;
        gap: 30px;
    }

    .image {
        max-width: 280px;
        width: auto;
        height: auto;
    }
}