main {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;

    margin-top: 120px;
}

#title-div {
    position: relative;
}
h1 {
    color: var(--primary);
    font-size: clamp(70px, 15vw, 180px);

    -webkit-text-stroke-width: clamp(3px, 0.6vw, 5.5px);
    -webkit-text-stroke-color: black;

    position: relative;
    text-align: center;

    padding: 0;
    margin: 0;

    line-height: 0.9em;

    z-index: 1;
}
h1::before {
    content: "GENERATION\ASIMULATION";
    text-align: center;
    white-space: pre;

    position: absolute;
    top: clamp(8px, 1vw, 13px);
    left: 50%;
    transform: translateX(-50%);

    color: var(--secondary);

    z-index: -1;
}
h1::after {
    content: "";
    display: inline;

    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);

    width: min(calc(100% + 200px), 100vw);
    height: calc(100% + 150px);

    background: radial-gradient(
        35.46% 50% at 50% 50%,
        rgba(221, 103, 31, 0.5) 19.27%,
        rgba(221, 103, 31, 0) 100%
    );

    z-index: -2;
}

#band-desc {
    color: var(--secondary);
    font-size: clamp(16px, 2.5vw, 24px);
    margin-top: 20px;
}

#bannah-div {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    top: calc(150% + 30px);

    width: 100%;
}

#bannah {
    width: 100%;
    height: clamp(50px, 7vw, 100px);
    object-fit: cover;

    cursor: pointer;
    transition: 0.2s;
}
#bannah:hover {
    filter: brightness(1.2);
    transform: scale(1.1, 1.1);
}
#routines-callout {
    font-size: clamp(16px, 2vw, 26px);
    width: 100%;
    text-align: center;

    margin-top: 10px;

    color: #fff;

    cursor: pointer;
}
#routines-text {
    font-size: clamp(16px, 2vw, 26px);
    width: 100%;
    text-align: left;

    margin-top: 10px;

    color: #fff;
}
#routines {
    padding-top: 150px;
}

.grid {
    margin: 0 20px;
    margin-top: 200px;

    display: grid;
    grid-template-columns: repeat(3, 1fr);

    gap: 30px;
}

.img-wrapper {
    max-width: 100%;

    position: relative;
    cursor: pointer;

    transition: transform 0.2s;
}

.img-wrapper div {
    max-width: 100%;

    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    transition: transform 0.2s;
    transform-origin: center;
}
.img-wrapper img {
    max-width: 100%;
    height: auto;
    object-fit: cover;
}

.img-wrapper div:hover {
    transform: scale(1.25, 1.25) translate(-40%, -40%);
}

.img-wrapper:nth-child(1) div:nth-child(2) {
    top: 70%;
}
.img-wrapper:nth-child(3) div:nth-child(2) {
    top: 80%;
}

#bot-logo {
    margin-top: 100px;
    margin-bottom: 50px;
}

#pop-up {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 100;

    width: 100dvw;
    height: 100dvh;

    background: rgba(0, 0, 0, 0.5);

    display: none;
    align-items: center;
    justify-content: center;

    transition: opacity 0.2s;
}

h2 {
    color: var(--primary);
    font-size: clamp(45px, 8vw, 80px);

    -webkit-text-stroke-width: clamp(2.5px, 0.6vw, 3.5px);
    -webkit-text-stroke-color: black;

    margin-top: 300px;

    position: relative;
    display: inline;
    text-align: center;

    line-height: 0.9em;

    z-index: 1;
}
h2::before {
    content: attr(data-alttext);
    text-align: center;
    white-space: pre;

    position: absolute;
    top: clamp(5px, 1vw, 8px);
    left: 50%;
    transform: translateX(-50%);

    color: var(--secondary);

    z-index: -1;
}
#routines-div {
    margin-top: 500px;
    margin-bottom: 200px;
}
.flex {
    width: 100%;
    display: grid;
    align-items: center;
    justify-content: space-between;
    grid-template-columns: repeat(2, 1fr);

    margin-top: 30px;
    padding: 0 clamp(5%, 20vw, 20%);

    gap: 50px;
}

#routines-text h3 {
    font-size: clamp(30px, 4vw, 80px);
}
#routines-text p {
    color: var(--secondary);
    font-size: clamp(16px, 2vw, 26px);
}
#routines-text a {
    border: 7px solid var(--secondary);
    border-radius: 10px;
    background: var(--primary);
    color: #fff;

    padding: 10px 50px;
    font-size: 40px;

    display: inline-block;
    margin-top: 30px;

    cursor: pointer;
    transition: 0.2s;
}
#routines-text a:hover {
    transform: scale(1.1, 1.1);
    filter: brightness(1.2);
}

.flex img {
    max-width: 100%;
}

.flex a {
    transition: transform 0.2s;
}
.flex a:hover {
    transform: scale(1.1, 1.1);
}

#new-single {
    margin-top: 5px;
}

@media (max-width: 1200px) {
    .grid {
        grid-template-columns: repeat(2, 1fr);
    }

    h2 {
        margin-top: 150px;
    }

    .flex {
        padding: 0 100px;
    }
    #routines-text a {
        font-size: 24px;
        padding: 7px 10px;
        border-width: 5px;
    }
    #routines-div {
        margin-top: 100px;
        margin-bottom: 50px;
    }
}

@media (max-width: 768px) {
    main {
        margin-top: 70px;
    }

    .grid {
        margin-top: 100px;
        gap: 10px;
    }

    .play-button {
        width: 50px;
    }

    .flex {
        margin: 0 20px;
        padding: 0 20px;
        flex-direction: column;
        gap: 20px;
    }
    .flex div {
        gap: 10px;
    }

    h2 {
        margin-top: 75px;
    }
    #new-single {
        margin-bottom: 10px;
    }
}
