
.home-page {
    background: rgb(36,38,63);
    background: linear-gradient(180deg, rgba(36,38,63,1) 0%, rgba(72,86,125,1) 25%, rgba(111,105,151,1) 50%, rgba(195,169,204,1) 75%, rgba(219,214,211,1) 100%);
    width: 100vw;
    height: 100vh;
    display: grid;
    grid-template-columns: 1fr;
    grid-template-rows: .3fr 1.5fr .3fr;
}

.about {
    padding: 2%;
}

.about-text > h4 {
    color: white;
}

.about-text > h5 {
    color: white;
}

.compartment-group {
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: end;
    gap: 3%;
}

.compartment {
    width: 20%;
    padding: 25px;
    display: grid;
    grid-template-columns: 100%;
    grid-auto-rows: auto;
    background-color: #eef0f6;
}

.print {
    align-self: start;
}


.type-image {
    width: 100%;
    margin-bottom: 5%;
}

.type-text {
    display: flex;
    justify-content: end;
    align-items: end;
}

.main-page-image {
    width: 55%;
}


.teaching {
    display: grid;
    grid-template-columns: 1.5fr 1fr .5fr;
}

.part-option {
    display: flex;
    align-items: center;
    justify-content: end;
}

.compartment-button {
    display: flex;
    justify-content: end;
    margin-top: 10px;
}

.teaching-text {
    margin-right: 20px;
}



/*   MOBILE!!!!!   */

@media only screen and (max-width:900px){

    .home-page {
        height: 100%;
        display: grid;
        grid-template-columns: 1fr;
        grid-auto-rows: auto;
    }

    .about {
        height: 200px;
        padding: 10%;
        display: flex;
        align-items: center;
    }

    .compartment-group {
        width: 100%;
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: end;
        gap: 3%;
    }

    .compartment {
        width: 80%;
        padding: 25px;
        display: grid;
        grid-template-columns: 100%;
        grid-auto-rows: auto;
        background-color: #eef0f6;
    }


}