* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* Page Transition Overlay */
#transition-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(47, 36, 58, 0.88);
    display: flex;
    justify-content: center;
    align-items: center;
    color: #FCFCFC;
    font-size: 2rem;
    opacity: 0;
    z-index: 1000;
    pointer-events: none;
    transition: opacity 0.5s ease-in-out;
}

#transition-overlay.show {
    opacity: 1;
    pointer-events: all;
}

header {
    height: 30vh;
    background-image:
        linear-gradient(rgba(47, 36, 58, 0.45), rgba(47, 36, 58, 0.45)),
        url('/obrazky/header.jpg');
    background-size: cover;
    background-position: center;
    display: flex;
    justify-content: center;
    align-items: center;
    color: #FCFCFC;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.7);
    border-bottom: 2px solid #444054;
}

.header-content h1 {
    font-size: 5vw;
    text-align: center;
    font-weight: 700;
    color: #FCFCFC;
}

main {
    padding: 2rem;
    text-align: center;
}

.button-container {
    display: flex;
    justify-content: space-between;
    gap: 1rem;
    margin: 2rem auto;
    width: 80%;
}

button {
    width: 25vw;
    padding: 1rem;
    font-size: 1.2rem;
    cursor: pointer;
    background-color: #444054;
    color: #FCFCFC;
    border: none;
    border-radius: 8px;
    font-weight: 500;
    transition: background-color 0.3s ease, transform 0.2s ease, box-shadow 0.2s ease;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.12);
}

button:hover {
    background-color: #2F243A;
    transform: translateY(-2px);
    box-shadow: 0 5px 14px rgba(0, 0, 0, 0.18);
}

.logo-container {
    margin-top: 2rem;
}

.school-logo {
    max-width: 800px;
    width: 60%;
    margin: 0 auto;
    display: block;
    background-color: #FCFCFC;
    border: 1px solid #C8CCD4;
    border-radius: 12px;
    padding: 16px;
    box-shadow: 0 3px 12px rgba(0, 0, 0, 0.06);
}

@media (max-width: 768px) {
    .button-container {
        flex-direction: column;
        align-items: center;
    }

    button {
        width: 80%;
        margin-bottom: 1rem;
    }

    .header-content h1 {
        font-size: 40px;
        margin-left: 15px;
        margin-right: 15px;
    }

    .school-logo {
        width: 85%;
    }
}