body {
    font-family: "Tajawal", sans-serif;
    color: #fff;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    /* min-height: 100vh; */
    background: linear-gradient(-45deg, #5f2a55, #32347a);
    background-size: 1000% 1000%;
    animation: gradientAnimation 150s ease infinite;
}

@keyframes gradientAnimation {
    0% {
        background-position: 0% 50%;
    }
    50% {
        background-position: 100% 50%;
    }
    100% {
        background-position: 0% 50%;
    }
}

.working-hours-container-hide {
    display: none;
}

#working-hours-container {
    text-align: center;
    margin: 20px 0;
    padding: 15px;
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    backdrop-filter: blur(10px);
}

#working-hours-content p {
    margin: 8px 0;
    line-height: 1.4;
}

#working-hours-content p strong {
    color: #ffd700;
}



#schoolName {
    color: #fff;
    font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
}

#qrcode {
    border-radius: 8px;
    box-shadow:
        0 13px 27px -5px #32325d40,
        0 8px 16px -8px #0000004d,
        0 -6px 16px -6px #00000008;
}

.button {
    background-color: #0fba81;
    padding: 10px;
    border-radius: 8px;
}

a {
    text-decoration: none;
}

.custom-select {
    min-width: 350px;
    position: relative;
}

.custom-select select {
    appearance: none;
    width: 100%;
    font-size: 1.15rem;
    padding: 0.675em 6em 0.675em 1em;
    background-color: #394770;
    border: 0.5px solid #4d5d96;
    border-radius: 0.25rem;
    color: #fff;
    cursor: pointer;
}

.custom-select::before,
.custom-select::after {
    --size: 0.3rem;
    content: "";
    position: absolute;
    right: 1rem;
    pointer-events: none;
}

.custom-select::before {
    border-left: var(--size) solid transparent;
    border-right: var(--size) solid transparent;
    border-bottom: var(--size) solid black;
    top: 40%;
}

.custom-select::after {
    border-left: var(--size) solid transparent;
    border-right: var(--size) solid transparent;
    border-top: var(--size) solid black;
    top: 55%;
}

/*=============
Aesthetics
=========================*/

* {
    box-sizing: border-box;
}

.container {
    background: #fff;
    padding: 2rem;
    border-radius: 10px;
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.15);
}

@font-face {
    font-family: "Tajawal";
    font-style: normal;
    font-weight: 200;
    font-display: swap;
    src: url(Tajawal-Regular.ttf) format("truetype");
    unicode-range:
        U+0600-06FF, U+0750-077F, U+0870-088E, U+0890-0891, U+0897-08E1,
        U+08E3-08FF, U+200C-200E, U+2010-2011, U+204F, U+2E41, U+FB50-FDFF,
        U+FE70-FE74, U+FE76-FEFC, U+102E0-102FB, U+10E60-10E7E, U+10EC2-10EC4,
        U+10EFC-10EFF, U+1EE00-1EE03, U+1EE05-1EE1F, U+1EE21-1EE22, U+1EE24,
        U+1EE27, U+1EE29-1EE32, U+1EE34-1EE37, U+1EE39, U+1EE3B, U+1EE42,
        U+1EE47, U+1EE49, U+1EE4B, U+1EE4D-1EE4F, U+1EE51-1EE52, U+1EE54,
        U+1EE57, U+1EE59, U+1EE5B, U+1EE5D, U+1EE5F, U+1EE61-1EE62, U+1EE64,
        U+1EE67-1EE6A, U+1EE6C-1EE72, U+1EE74-1EE77, U+1EE79-1EE7C, U+1EE7E,
        U+1EE80-1EE89, U+1EE8B-1EE9B, U+1EEA1-1EEA3, U+1EEA5-1EEA9,
        U+1EEAB-1EEBB, U+1EEF0-1EEF1;
}

@keyframes fadeInOut {
    0% {
        opacity: 0;
    }
    100% {
        opacity: 1;
    }
}

.fade-animate {
    animation: fadeInOut 1s ease-in-out;
}

/* Header Image Styles */
#header-link {
    display: block;
    margin-bottom: 20px;
    text-align: center;
    transition: transform 0.3s ease, opacity 0.3s ease;
}

#header-link:hover {
    transform: scale(1.02);
    opacity: 0.9;
}

#header-image {
    max-width: 400px;
    width: 100%;
    height: auto;
    object-fit: contain;
    border-radius: 12px;
    box-shadow:
        0 13px 27px -5px rgba(50, 50, 93, 0.25),
        0 8px 16px -8px rgba(0, 0, 0, 0.3),
        0 -6px 16px -6px rgba(0, 0, 0, 0.03);
    transition: box-shadow 0.3s ease;
}

#header-link:hover #header-image {
    box-shadow:
        0 20px 40px -5px rgba(50, 50, 93, 0.35),
        0 12px 24px -8px rgba(0, 0, 0, 0.4),
        0 -8px 20px -6px rgba(0, 0, 0, 0.05);
}

/* Responsive design for header image */
@media (max-width: 768px) {
    #header-image {
        max-width: 300px;
        border-radius: 8px;
    }

    #header-link {
        margin-bottom: 15px;
    }
}

@media (max-width: 480px) {
    #header-image {
        max-width: 250px;
        border-radius: 6px;
    }

    #header-link {
        margin-bottom: 10px;
    }
}
}
