@import url('https://fonts.googleapis.com/css2?family=Lobster&family=Roboto:wght@100&display=swap');
* {
    font-family: Roboto;
}

.grid {
    display: grid;
    grid-template-columns: repeat(8, 1fr);
    grid-template-rows: minmax(40px, auto);
    gap: 4px;
    align-items: center;
    width: auto;
    margin: 20px;
}

.semester {
    color: white;
    text-align: center;
    font-size: 30px;
    background-color: rgba(0, 102, 51, 255);
}

.stage {
    color: white;
    text-align: center;
    font-size: 30px;
    background-color: rgba(0, 102, 51, 255);
}

.basic-stage {
    grid-column-start: 1;
    grid-column-end: 3;
    width: 100%;
}

.disciplinary-stage {
    grid-column-start: 3;
    grid-column-end: 7;
    width: 100%;
}

.terminal-stage {
    grid-column-start: 7;
    grid-column-end: 9;
    width: 100%;
}

.subject-modal-background {
    display: none;
    background-color: rgba(0, 0, 0, 0.3);
    width: 100%;
    height: 100%;
    z-index: 1;
    top:0;
    left:0;
    position: fixed;
    animation-name: modalAnimation;
    animation-duration: 0.3s;
}

.subject-modal-content {
    background-color: white;
    min-width: 500px;
    width: 550px;
    height: auto;
    top: 100px;
    position: relative;
    margin: auto;
    padding: 30px;
    font-size: 30px;
}

.hideModal {
    animation-name: modalAnimationClose;
    animation-duration: 0.3s;
}

@keyframes modalAnimation {

    0% {
        opacity: 0;
    }
    100% {
        opacity: 1;
    }
}

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