/* 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;
    min-height: 100vh;
    text-align: center;
}

.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;
}

.elementscontainer {
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    margin: 80px 0 auto auto;
    gap: 5rem;
}

.element {
    width: 12rem;
    padding: 10px;
    font-size: 1.5rem;;
    transition: all ease 0.3s;
    color: var(--white-1);

    border-radius: 0.8rem;
    position: relative;

    --border-width: 2px;
    background: hsl(from var(--surface-1) h s l / 0.2);
    backdrop-filter: blur(12px);
}

.element::before {
    position: absolute;
    content: '';
    z-index: -1;
    inset: 0;
    border-radius: inherit;
    border: var(--border-width) solid transparent;
    background: linear-gradient(var(--border-1), var(--border-2)) border-box;
    mask:
        linear-gradient(black 0 0) border-box,
        linear-gradient(black 0 0) padding-box;
    mask-composite: subtract;
    transition: all ease 0.3s;
}

.element:hover {
    background: linear-gradient(var(--primary-700), var(--primary-800)) border-box;
    cursor: pointer;
}

.element:hover::before {
    border-color: var(--blue-1);
    cursor: pointer;
}

.text {
    text-align: center;
    transition: transform ease 0.3s;
}

.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 {
    min-width: 280px;
    display: flex;
    justify-content: center;
    transition: transform ease 0.3s;
    user-select: none;
    flex: 1;
    max-width: 200px;
}

.image.small {
    max-width: 140px;
    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;
}

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

    .image.small {
        max-width: 100px;
        width: auto;
        height: auto;
        margin: 0 auto;
    }

    .text {
        min-width: 0;
        width: auto;
    }

    .element {
        flex-direction: column;
        align-items: center;
        justify-content: center;
        min-width: 100px;
        gap: 0;
    }

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