html  {
    height: 100%;
}

body {
    opacity: 0;
    animation: 0.7s fadeIn 0.2s ease-in-out forwards;
    font-family: 'Titillium Web';
    margin: 0;
    background-image: url('/static/img/gradient_web 1.png');
    background-size: cover;
    background-attachment: fixed;
    background-position: center;
    background-repeat: no-repeat;
    background-color: rgba(0, 0, 0, 0.4);
    background-blend-mode:darken;
    -webkit-user-select: none; 
    -ms-user-select: none; 
    user-select: none; 
}

.slim-header {
    width: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    -webkit-user-select: none;
    -ms-user-select: none;
    user-select: none;
    transition: 0.3s ease;
}

.slim-header:hover {
    transition: 0.3s ease;
    background-color: rgba(0, 0, 0, 1);
}

.link-container {
    margin-left: 10px;
    display: flex;
    justify-content: left;
    align-items: center;
    width: fit-content;
    box-sizing: border-box;
    height: 2.3rem;
}

.slim-header a {
    padding: 0 1em;
    font-size: 0.8rem;
    cursor: pointer;
    color: white;
    text-decoration: none;
    transition: 0.1s;
}

.slim-header a:hover {
    color: #00957d;
    transition: 0.1s;
}

.bi-arrow-left-circle {
    font-size: 0.88rem;
    display: inline-block;
    transition: transform 0.3s ease;
}

.back:hover .bi-arrow-left-circle {
    transform: translateX(-5px);
    transition: transform 0.3s ease;
}

.container {
    display: flex;
    flex-direction: column;
    margin: auto;
    min-height: calc(100vh - 6.3rem);
    padding: 0 2vw;
}

.select-container {
    display: flex;
    flex-direction: column;
    margin: 5vh auto;
    width: 75%;
    gap: 2em;
}

.intro-container {
    text-align: center;
    margin: 5vh auto 0 auto;
    color: white;
}

.logo {
    width: 400px;
    height: auto;
    display: block;
}

.intro-container h1 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.intro-container p {
    font-size: 1.2rem;
    line-height: 1.5;
    max-width: 600px;
    margin: 0 auto;
}

.programs {
    padding-top: 1em;
    display: flex;
    gap: 1.5em;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
}

.program-btn {
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: 10rem;
    transition: 0.3s ease;
    font-size: 0.9rem;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    border-radius: 0.5rem;
    min-width: 10rem;
    max-width: 15rem;
    text-decoration: none;
}

.program_id {
    flex: 2;
    background-color: #00957d;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ffffff;
    text-decoration: none;
    font-size: 3rem;
    font-weight: 600;
    width: 100%;
    border-radius: 0.5rem 0.5rem 0 0;
    transition: 0.3s;
}

.program_name {
    transition: 0.1s ease;
    color: black;
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: white;
    width: calc(100% - 30px);
    padding: 15px;
    border-radius: 0 0 0.5rem 0.5rem;
}

h1 {
    color: white;
    text-align: center;
    font-size: clamp(2vh, 8vw, 6vh);
    padding: 0;
    margin: 0;
}

.programs a {
    width: 15rem;
}

.programs a:hover {
    transition: 0.3s;
    box-shadow: 5px 10px 10px rgba(0, 0, 0, 0.1);
    transform: scale(1.05) translateY(-10px);
}

.programs a:hover .program_id {
    background-color: #ffffff;
    color: #00957d;
    opacity: 1;
    transition: 0.3s;
    flex: 1.5;
}

.programs a:hover .program_name {
    background-color: #00957d;
    color: white;
    transition: 0.3s;
}

footer {
    position: relative;
    margin-top: auto;
    background-color: rgba(0, 0, 0, 0.8);
    padding: 0.5rem 0;
    text-align: center;
    width: 100%;
    box-shadow: 0 -4px 8px rgba(0, 0, 0, 0.1);
    transition: 0.2s ease;
}

@keyframes fadeIn {
    from {
        transform: translateY(-20px);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

@keyframes colorFlicker {
    0% {
        color: white;
    }
    50% {
        color: #00957d;
    }
    100% {
        color: white;
    }
}