:root {
    --primary-color: #230542;
    --secondary-color: #66d7fb;
    --darker-primary-color: #13002c;
    --transition: all 0.3s ease;
}

/* fonts */
/* Regular */
@font-face {
    font-family: "IBMPlexSansArabic";
    src: url("../fonts/IBMPlexSansArabic-Regular.woff2") format("woff2"),
        url("../fonts/IBMPlexSansArabic-Regular.woff") format("woff");
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}

/* Medium */
@font-face {
    font-family: "IBMPlexSansArabic";
    src: url("../fonts/IBMPlexSansArabic-Medium.woff2") format("woff2"),
        url("../fonts/IBMPlexSansArabic-Medium.woff") format("woff");
    font-weight: 500;
    font-style: normal;
    font-display: swap;
}

/* Bold */
@font-face {
    font-family: "IBMPlexSansArabic";
    src: url("../fonts/IBMPlexSansArabic-Bold.woff2") format("woff2"),
        url("../fonts/IBMPlexSansArabic-Bold.woff") format("woff");
    font-weight: 700;
    font-style: normal;
    font-display: swap;
}

/* main styles */
body {
    font-family: "IBMPlexSansArabic", sans-serif;
    background-color: var(--darker-primary-color);
}

main {
    position: relative;
    isolation: isolate;
    overflow: hidden;
}

main::after {
    background-image: url("../media/overlay.svg");
    z-index: -1;
    width: 100px;
    height: 100%;
    position: absolute;
    left: 0;
    top: 0;
    pointer-events: none;
    content: "";
}

/* Nav Bar */
nav {
    background-color: var(--primary-color);
    position: sticky;
    z-index: 1000;
    width: 100%;
    top: 0;
    left: 0;
    box-shadow: 0px 0px 10px rgba(0, 0, 0, 0.5);
}

nav .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-block: 1rem;
}

nav .logo {
    width: 120px;

    img {
        width: 100%;
        height: 100%;
        object-fit: contain;
    }
}

.mainNav {
    display: flex;
    gap: 2rem;
    align-items: center;

    li a {
        color: white;
        font-size: 1.25rem;
        transition: var(--transition);
        cursor: pointer;

        &:hover {
            color: var(--secondary-color);
        }
    }
}

li.active a {
    color: var(--secondary-color);
}

#menu {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    cursor: pointer;
    width: 30px;
    height: 20px;

    span {
        width: 100%;
        background-color: whitesmoke;
        border-radius: 2rem;
        height: 3px;
        transition: 0.4s all ease;
        will-change: opacity, transform;
    }

    &:hover {
        span {
            background-color: var(--secondary-color);
        }
    }
}

aside {
    display: flex;
    justify-content: center;
    align-items: center;
    interpolate-size: allow-keywords;
    transition: 0.4s all ease;
    height: 0px;
    pointer-events: none;
    opacity: 0.75;
    user-select: none;
    visibility: hidden;
    position: absolute;
    box-shadow: 0px 10px 10px -8px rgba(0, 0, 0, 0.35);
    background-color: var(--primary-color);
    width: 100%;
    overflow: hidden;

    ul {
        display: flex;
        padding: 2rem 1rem;
        flex-direction: column;
        font-size: 1.25rem;
        gap: 1rem;
        text-align: center;

        li {
            transition: var(--transition);
        }

        a {
            color: white;
        }
    }
}

aside li:hover {
    scale: 1.2;

    a {
        color: var(--secondary-color);
    }
}

nav.close {
    #menu span {
        background-color: red;
    }

    #menu span:nth-child(1) {
        transform: rotate(-45deg) translate(-6px, 6px);
    }

    #menu span:nth-child(2) {
        opacity: 0;
    }

    #menu span:nth-child(3) {
        transform: rotate(45deg) translate(-6px, -6px);
    }

    aside {
        height: auto;
        opacity: 1;
        pointer-events: all;
        user-select: all;
        visibility: visible;
    }
}

.navBtns {
    display: flex;
    gap: 0.5rem;
    align-items: center;
    max-width: fit-content;
}

.btn {
    background-color: var(--secondary-color);
    color: var(--primary-color);
    transition: var(--transition);
    border-radius: 0.75rem;
    padding: 0.6rem 2rem;
    display: flex;
    max-width: fit-content;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    font-weight: bold;
    border: 2px solid var(--secondary-color);

    &:hover {
        background-color: transparent;
        color: var(--secondary-color);

        svg path {
            fill: var(--secondary-color);
        }
    }
}

/* Hero Section */
header {
    position: relative;
    isolation: isolate;
    display: flex;
    min-height: calc(60vh - 91px);
    min-height: calc(60dvh - 91px);
}

main.innerPage header {
    min-height: calc(60vh - 91px);
    min-height: calc(60dvh - 91px);

    .heroIntro p {
        font-size: 1.75rem;
    }
}

header::after {
    content: "";
    height: 9px;
    width: 100%;
    background-color: var(--secondary-color);
    position: absolute;
    bottom: 0;
    left: 0;
}

.overlay {
    z-index: -1;
    width: 100%;
    height: 100%;
    position: absolute;
    inset: 0;

    img {
        width: 100%;
        height: 100%;
        object-position: left;
        object-fit: cover;
    }
}

main.innerPage header .overlay img {
    object-position: center;
}

.overlay::after {
    content: "";
    z-index: 0;
    background: linear-gradient(to right, transparent, var(--primary-color) 50%);
    opacity: 0.75;
    width: 100%;
    height: 100%;
    inset: 0;
    position: absolute;
}

header .container,
section#view .container,
section.people .container {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    gap: 9rem;

    article {
        img {
            width: 100%;
            height: 100%;
            max-width: 400px;
            max-height: 400px;
            object-fit: contain;
        }
    }
}

.heroImg {
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    isolation: isolate;
}

.heroImg:nth-child(2):after {
    content: "";
    position: absolute;
    width: 100%;
    height: 100%;
    inset: 0;
    z-index: -1;
    background-color: var(--primary-color);
    filter: blur(80px);
}

.heroIntro {
    flex: 2;
    display: flex;
    flex-direction: column;
    gap: 1rem;
    color: white;

    h1 {
        font-size: 2.5rem;
        color: var(--secondary-color);
    }

    p {
        font-weight: 400;
        font-size: 1.15rem;
    }

    span {
        color: white;
    }
}

section#view {
    padding-top: 100px;
}

/* Main Intro */
.intro {
    font-size: 2.5rem;
    color: var(--secondary-color);
    max-width: fit-content;
    margin: auto;
    text-wrap: pretty;
    text-align: center;
    padding-bottom: 3rem;
}

/* Partners Section */

section#partners {
    max-width: 1536px;
    margin: auto;
    width: 100%;
}

.marquee {
    margin: auto;
    --marquee_timer: 60s;
    min-height: 300px;
    -webkit-mask-image: linear-gradient(to right,
            transparent 0%,
            black 10%,
            black 90%,
            transparent 100%);
    -webkit-mask-repeat: no-repeat;
    -webkit-mask-size: 100% 100%;
    mask-image: linear-gradient(to right,
            transparent 0%,
            black 10%,
            black 90%,
            transparent 100%);
    mask-repeat: no-repeat;
    mask-size: 100% 100%;
}

.partnerArticle {
    width: 200px;
    height: 200px;
    background-color: white;
    border-radius: 1rem;
    border: 2px solid var(--secondary-color);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 10;
    padding: 0rem 2rem;
    will-change: transform, opacity;
    position: absolute;
    left: 0;
    transition: all 0.5s ease 0.25s;
    transform: translateX(max(calc(-200px * 10), -100%));
    opacity: 0.5;
    filter: grayscale(1);

    img {
        width: 100%;
        height: 100%;
        scale: 1.35;
        object-fit: contain;
    }
}

.partnerArticle.play {
    animation: marquee var(--marquee_timer) linear infinite;
    opacity: 1;
    filter: grayscale(0);
}

.partnerArticle:nth-child(1) {
    animation-delay: calc(var(--marquee_timer) / 10 * -1);
}

.partnerArticle:nth-child(2) {
    animation-delay: calc(var(--marquee_timer) / 10 * -2);
}

.partnerArticle:nth-child(3) {
    animation-delay: calc(var(--marquee_timer) / 10 * -3);
}

.partnerArticle:nth-child(4) {
    animation-delay: calc(var(--marquee_timer) / 10 * -4);
}

.partnerArticle:nth-child(5) {
    animation-delay: calc(var(--marquee_timer) / 10 * -5);
}

.partnerArticle:nth-child(6) {
    animation-delay: calc(var(--marquee_timer) / 10 * -6);
}

.partnerArticle:nth-child(7) {
    animation-delay: calc(var(--marquee_timer) / 10 * -7);
}

.partnerArticle:nth-child(8) {
    animation-delay: calc(var(--marquee_timer) / 10 * -8);
}

.partnerArticle:nth-child(9) {
    animation-delay: calc(var(--marquee_timer) / 10 * -9);
}

.partnerArticle:nth-child(10) {
    animation-delay: calc(var(--marquee_timer) / 10 * -10);
}

.marquee.grabbing .partnerArticle {
    animation-play-state: paused;
    /* pause the animation while dragging */
    cursor: grabbing;
}

/* posts section */
section#posts {
    padding-bottom: 100px;
    padding-top: 0px;
}

.swiper-slide {
    border-radius: 0.75rem;
    height: 350px;
    display: flex;
    justify-content: center;

    img {
        box-shadow: 0px 0px 10px rgba(0, 0, 0, 0.2);
    }
}

.swiper-slide .btn {
    position: absolute;
    bottom: -25px;
    left: 0;
    right: 0;
    min-width: 75%;
    font-size: 1.25rem;
    margin: auto;
}

.swiper-wrapper,
.swiper {
    padding-bottom: 60px;
}

.swiper-pagination-bullet {
    opacity: 1 !important;
    background-color: white !important;
    scale: 1.2;
}

.swiper-pagination-bullet-active {
    background-color: #522b84 !important;
}

/* targeted audience section*/
.glow {
    position: absolute;
    z-index: -100;
    right: 0;
    top: 50%;
    transform: translateX(25%);
    width: 500px;
    height: 500px;
    filter: blur(70px);
    display: block;
    background-color: var(--primary-color);
}

.glow:nth-last-child(odd) {
    right: initial;
    top: -50%;
    transform: translate(-25%);
    left: 0;
}

section#targetAudience .container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 3rem;
}

#targetAudience .container article {
    display: flex;
    flex-direction: column;
    gap: 2rem;
    justify-content: center;
    align-items: center;
    text-align: center;
    color: white;
    font-size: 1.25rem;
    font-weight: bold;

    figure {
        display: flex;
        justify-content: center;
        align-items: center;
        padding: 1rem;
        border-radius: 1.5rem;
        background-color: var(--darker-primary-color);
        border-right: 3px solid var(--secondary-color);
        border-bottom: 3px solid var(--secondary-color);

        img {
            width: 70px;
            height: 70px;
            object-fit: contain;
        }
    }
}

/* people section */
section.people:nth-child(odd) .container {
    flex-direction: row-reverse;
}

section.people {
    .heroImg img {
        border-radius: 1.5rem;
        object-fit: cover !important;
    }

    .heroIntro {
        h1 {
            font-size: 2rem;
        }

        p {
            color: var(--secondary-color);
            font-size: 1.5rem;
        }
    }
}

/* footer  */

footer {
    background-color: var(--primary-color);
    overflow: hidden;
}

.copyright {
    text-align: center;
    padding-top: 4rem;
    font-size: 1.125rem;
    font-weight: bold;
    color: white;

    span,
    a {
        color: var(--secondary-color);
    }

    a:hover {
        text-decoration: underline;
    }

    img {
        width: 60px;
        margin-inline: 4px;
    }
}

footer .container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 5rem;
}

footer .container article {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    color: white;

    h4 {
        border-bottom: 3px solid var(--secondary-color);
        max-width: fit-content;
        font-size: 1.25rem;
    }

    ul {
        display: flex;
        flex-direction: column;
        gap: 0.5rem;

        li {
            transition: var(--transition);
            cursor: pointer;
            display: flex;
            max-width: fit-content;
            font-size: 1.125rem;
            gap: 0.5rem;
        }

        img {
            width: 8px;
            margin-inline: 4px;
        }

        a {
            color: white;
            display: flex;
            gap: 0.5rem;
        }
    }
}

footer li:not(.socials):hover a {
    color: var(--secondary-color);
    transform: translateX(-4px);

    .footerIcon {
        background-color: var(--secondary-color);
        color: white;
    }
}

.footerLogo {
    max-width: 300px;
}

.footerIcon {
    width: 30px;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 30px;
    background-color: white;
    transition: inherit;
    border-radius: 50%;
    color: var(--primary-color);
}

.socials {
    gap: 1rem !important;
}

.socials .footerIcon {
    scale: 1.125;
    margin-top: 8px;
    font-size: 1.125rem;
}

.socials .footerIcon:hover {
    background-color: var(--secondary-color);
    color: white;
}

/* WHO WE PAGE */
section#goals .container {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
}

#goals .container article {
    display: flex;
    gap: 1rem;
    align-items: center;
    font-size: 1.35rem;
    width: 100%;
    color: white;

    .number {
        font-size: 1.75rem;
        padding: 0.75rem;
        color: var(--primary-color);
        font-weight: bold;
        background-color: var(--secondary-color);
    }
}

/* IT section */

section#IT .container {
    display: flex;
    flex-wrap: wrap-reverse;
    gap: 3rem;
    direction: ltr;
    justify-content: center;
    align-items: center;
}

#IT .container article {
    display: flex;
    justify-content: space-evenly;
    align-items: center;
    flex-direction: column;
    gap: 0.5rem;
    color: white;

    figure {
        border-radius: 2rem;
        overflow: hidden;
        border-bottom: 3px solid var(--secondary-color);
        border-right: 3px solid var(--secondary-color);
    }

    h3 {
        font-size: 1.5rem;
    }

    .role {
        font-size: 1rem;
        color: var(--secondary-color);
        font-weight: bold;
    }
}

/* grid gallery section */
section#gallery .container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(265px, 1fr));
    gap: 1rem;
}

#gallery .container article {
    border-radius: 1.5rem;
    overflow: hidden;
    height: 300px;

    img {
        width: 100%;
        height: 100%;
        object-fit: cover;
    }
}

/* CALENDER INNER PAGE */
section.dates,
.dates .wrapper {
    overflow-x: auto;
}

.dates .wrapper {
    margin-top: 1rem;
}

.dates::-webkit-scrollbar {
    height: 8px;
}

section.dates .container {
    display: flex;
    min-width: 640px;
    flex-direction: column;
    gap: 1rem;
}

section.dates article {
    display: grid;
    grid-template-columns: repeat(10, 1fr);
    gap: 1rem;
    text-align: center;
    border-radius: 0.5rem;
    font-weight: bold;
    font-size: 1.125rem;
    color: var(--secondary-color);

    span {
        border: 1px solid var(--secondary-color);
        padding: 0.75rem 1rem;
        border-radius: inherit;
        display: flex;
        justify-content: center;
        align-items: center;
    }
}

.halfGrid {
    grid-column: span 5;
}

.thirdGrid {
    grid-column: span 3;
}

.almostFullGrid {
    grid-column: span 6;
}

article.holder {
    background-color: var(--secondary-color);
    color: var(--primary-color) !important;

    span {
        white-space: nowrap;
    }
}

.dates .btn {
    margin-top: 3rem;
    margin-inline: auto;
}

/* INNER PAGE BOOK TICKET */
.QR {
    width: 150px;
    height: 150px;
    object-fit: contain;
    margin: auto;
    display: block;
    margin-bottom: 2rem;
}

.QRHeroSvg {
    border: 5px solid var(--secondary-color);
    border-radius: 2rem;
    background-color: white;
    padding: 1rem;
    scale: 0.7;
    overflow: hidden;
}

#bookTicket form,
#becomePartner .container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(265px, 1fr));
    gap: 2rem;
}

::placeholder {
    color: var(--secondary-color);
    transition: var(--transition);
    transform-origin: right;
    interpolate-size: allow-keywords;
}

select,
input:not([type="checkbox"]) {
    appearance: none;
    user-select: none;
}

input:focus::placeholder {
    transform: translateY(-10px) scale(0.8);
    color: var(--secondary-color);
    /* optional, you can change color too */
}

#becomePartner .glow {
    bottom: 0;
    top: 25%;
    left: initial;
    transform: translateX(25%);
    right: 0;
}

form .btn {
    margin-top: 2rem;
    margin-inline: auto;
    font-size: 1.125rem;
}

.inputHolder {
    display: flex;
    position: relative;
    isolation: isolate;
    gap: 0.5rem;
    flex-direction: column;

    label {
        font-size: 1.25rem;
        color: white;
        user-select: none;
        font-weight: bold;
    }

    input,
    select {
        background-color: var(--primary-color);
        border: 1px solid var(--secondary-color);
        border-radius: 0.5rem;
        padding: 0.75rem 1rem;
        width: 100%;
        font-size: 1.25rem;
        color: var(--secondary-color);
    }
}

.inputIcon {
    position: absolute;
    left: 1rem;
    z-index: 10;
    scale: 0.9;
    bottom: 14px;
}

.buttonHolder {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(265px, 1fr));
    column-gap: 2rem;
}

article:has(#studentChecker) {
    grid-column: span 2;
}

.student {
    display: none;
    visibility: hidden;
    pointer-events: none;
    transition: 0.4s all ease-in-out;
}

.student:nth-child(odd) {
    transition-delay: 0.2s;
}

.student:nth-child(even) {
    transition-delay: 0.3s;
}

.student.isStudent {
    display: flex;
    visibility: visible;
    pointer-events: all;
}

/* COUPON */
.coupon {
    background-image: url(../media/coupon.png);
    min-height: 400px;
    background-position: center;
    background-size: contain;
    background-repeat: no-repeat;
    display: flex;
    flex-direction: row-reverse;
    justify-content: center;
    gap: 5rem;
    align-items: center;

    figure {
        display: flex;
        flex-direction: column;
        gap: 0.5rem;
        align-items: end;
        justify-content: end;
        text-align: start;
        font-size: 2rem;
        font-weight: bold;
        color: var(--primary-color);

        img {
            height: 100%;
            max-height: 200px;
            width: 100%;
            object-fit: cover;
        }
    }
}

.QRdetails {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    font-size: 2rem;
    color: var(--primary-color);

    p {
        font-size: 1.5rem;
    }

    .seatType {
        background-color: var(--secondary-color);
        width: fit-content;
        border-radius: 3rem;
        font-size: 1.5rem;
        padding: 0.5rem 1rem;
        font-weight: bold;
    }
}

#componentHolder .btn {
    margin-block: 1.5rem;
    margin-inline: auto;
    display: block;
}

.note {
    font-size: 1.5rem;
    color: var(--secondary-color);
    text-align: center;
}

section #QA {
    min-width: 600px !important;
}

section.dates .container:has(.popularQuestions) {
    min-width: 0 !important;
}

article.holder.popularQuestions {
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)) !important;
    background-color: transparent;

    span {
        background-color: var(--secondary-color);
        border: none !important;
        white-space: initial;
        height: 100%;
    }
}


/* keyframes */
@keyframes marquee {
    to {
        transform: translateX(max(calc(200px * 10), 100%));
    }
}

@keyframes scaling {

    0%,
    100% {
        scale: 1;
    }

    50% {
        scale: 1.125;
    }
}

.scaling {
    animation: scaling 1.75s linear infinite;
}

@keyframes wiggleUp {
    0% {
        transform: translateY(0) scale(0.8) rotate(0deg);
    }

    10% {
        transform: translateY(-10px) scale(1.05) rotate(-3deg);
    }

    20% {
        transform: translateY(5px) scale(0.95) rotate(3deg);
    }

    30% {
        transform: translateY(-3px) scale(1.02) rotate(-2deg);
    }

    40% {
        transform: translateY(0) scale(1) rotate(0deg);
    }

    100% {
        transform: translateY(0) scale(1) rotate(0deg);
    }

    /* stay still */
}

.popUpEffect {
    animation: wiggleUp 3s ease-in-out infinite;
}

/* popUp */
#popUpVideo {
    position: fixed;
    width: 100%;
    height: 100vh;
    height: 100dvh;

    z-index: 10000;
    background-color: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(8px);
    display: flex;
    transition: 0.5s all ease;
    overflow: hidden;
    transform-origin: bottom;
    align-items: center;
    justify-content: center;
    inset: 0;

    #popUp {
        position: relative;
        width: fit-content;
        height: 85%;
        overflow: hidden;

        video {
            width: 100%;
            height: 100%;
            border-radius: 1rem;
            object-fit: contain;
            object-position: center;
        }
    }

    #closePopup {
        position: absolute;
        background-color: white;
        width: 40px;
        color: var(--primary-color);
        height: 40px;
        border-bottom-left-radius: 1rem;
        border-top-right-radius: 1rem;
        display: flex;
        justify-content: center;
        align-items: center;
        font-size: 1.25rem;
        z-index: 1000;
        top: 0;
        right: 0;
        cursor: pointer;
        transition: var(--transition);

        &:hover {
            background-color: red;
            color: white;
        }
    }
}

#openPopup {
    width: 60px;
    height: 60px;
    position: fixed;
    z-index: 100;
    bottom: 1rem;
    right: 1rem;
    font-size: 1.75rem;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    color: var(--secondary-color);
    background-color: var(--darker-primary-color);
    box-shadow: 0px 0px 10px var(--primary-color),
        0px 0px 7px var(--secondary-color);
    transition: var(--transition);

    &:hover {
        scale: 1.125;
        filter: brightness(1.5);
    }
}

/* MEDIA QUIRES */
@media (max-width: 1280px) {

    header .container,
    section#view .container,
    section.people .container {
        gap: 4rem;
    }

    .heroIntro,
    .heroImg {
        flex: 1 1 400px !important;
    }
}

@media (min-width: 1024px) {
    #gallery .container article:nth-child(1) {
        grid-row: span 2;
        grid-column: span 2;
        height: auto;
    }

    #gallery .container {
        grid-template-columns: repeat(3, minmax(200px, 1fr)) !important;
        grid-template-rows: repeat(2, minmax(200px, 1fr)) !important;
    }

    #menu,
    aside {
        display: none;
    }

    #bookTicket form,
    #becomePartner .container {
        grid-template-columns: repeat(12, 1fr);
    }

    #bookTicket .buttonHolder {
        grid-column: span 12;
    }

    .inputHolder {
        grid-column: span 4;
    }

    .inputHolder:has(.name) {
        grid-column: span 6;
    }
}

@media (max-width: 1024px) {
    .mainNav {
        display: none;
    }

    #gallery .container article:nth-child(3) {
        grid-column: span 2;
    }

    section.dates .container article {
        font-size: 1rem;
    }

    #checkStudent {
        left: 80%;
    }

    .buttonHolder {
        column-gap: 0rem;
        row-gap: 2rem;
    }
}

@media (max-width: 768px) {
    .coupon {
        gap: 1rem;
    }

    .QRdetails {
        scale: 0.7;
        padding-right: 4rem;
        justify-content: center;
        align-items: center;
        text-align: center;
    }

    .coupon figure {
        scale: 0.75;
    }

    *[data-aos-delay] {
        transition-delay: 0s !important;
    }
}

@media (max-width: 580px) {
    #gallery .container article:nth-child(3) {
        grid-column: span 1 !important;
    }

    nav .btn {
        padding: 1rem;
        font-size: 0.9rem;
    }

    .buttonHolder {
        grid-column: initial;
    }

    .coupon {
        background-size: cover;
        border-radius: 1rem;
        flex-direction: column;
        align-items: center;
        justify-content: center;
    }

    .QRdetails {
        padding: 0;
    }

    #checkStudent {
        left: initial;
        right: 40px;
        bottom: 64px;
    }
}

@media (max-width: 480px) {
    nav .btn {
        display: none;
    }

    main::after {
        width: 60px;
    }

    header .heroIntro {
        justify-content: center;
        align-items: center;
        text-align: center;
        text-wrap: pretty;
    }

    .innerPage header .heroIntro {
        h1 {
            font-size: 2rem;
        }

        p {
            font-size: 1.5rem;
        }
    }

    #popUp,
    #popUp video {
        height: 100vh !important;
        height: 100dvh !important;
        border-radius: 0 !important;

        video {
            object-fit: cover !important;
        }
    }

    #closePopup {
        border-top-right-radius: 0 !important;
    }
}
