@keyframes fadeIn {
    0% {
        opacity: 0;
    }

    100% {
        opacity: 1;
    }
}

body {
    opacity: 0;
    animation: fadeIn 0.5s ease-in forwards;
}

.department {
    display: flex;
    align-items: center;
    justify-content: center;
    user-select: none;
    cursor: pointer;
    background-size: cover;
    flex: 1;
    filter: none;
    transition: flex 0.5s, filter 0.5s;
}

.departmentGrayedOut {
    flex: 0.75;
    filter: grayscale(70%) brightness(40%) blur(1px);
}

.majorLink {
    font-weight: bold;
    padding: 20px;
    border-radius: 15px;
    font-family: cursive, system-ui, sans-serif, math;
    font-size: 72px;
    background-color: rgba(255, 255, 255, 0.5);
    transition: font-size 0.5s, background-color 0.5s;
}

.linkEmphasized {
    font-size: 100px;
    background-color: rgba(255, 255, 255, 1);
}

a:link,
a:visited {
    color: black;
    text-decoration: none;
}

.home-body {
    width: 100vw;
    height: 100vh;
    margin: 0;
    padding: 0;
}

.home-logo {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    top: 20px;
    height: 150px;
    background-color: aliceblue;
    border-radius: 15px;
    z-index: 1;
}

.home-container {
    width: 100%;
    height: 100%;
    display: flex;
}

/* Mobile Responsiveness */
@media (max-width: 768px) {
    .home-container {
        flex-direction: column;
    }

    .home-logo {
        height: 100px;
        top: 10px;
    }

    .department {
        border: none !important;
        border-bottom: 2px solid black;
    }

    .department:last-child {
        border-bottom: none;
    }

    .majorLink {
        font-size: 40px;
    }

    .linkEmphasized {
        font-size: 50px;
    }
}