#top {
    display: flex;
    flex-direction: column;
    align-items: center;
    height: 80vh;
    justify-content: center;
    align-items: center;
    width: 100%;
    background-image: url('images/1.jpg');
    background-size: cover;
}

#top::after {
    content: '';
    width: 100%;
    height: 100%;
    position: absolute;
    background-color: blue;
    opacity: 0.3;
}

#top h1 {
    text-align: center;
    color: #fff;
    z-index: 1;
    font-size: 210%;
}

.bottom h2{
    text-align: center;
    color: #fff;
}

.bottom #principal-note {
    display: flex;   
    justify-content: space-around;
    width: 97%;
}

.bottom #principal-note #principal {
    top: 50%;
    display: flex;
    align-itemsi: center;
    width: 40%;
    padding: 13px;
}

.bottom #principal-note #paragraph {
    font-size: 135%;
    color: rgb(176, 192, 176);
    text-align: justify;
}


#programs #row-1 {
    margin-left: 4%;
    display: flex;
    justify-content: space-around;
    text-align: center;
}

#programs #row-2 {
    margin-left: 4%;
    display: flex;
    justify-content: space-around;
    text-align: center;
}

#programs a{
    color: #fff;
    font-size: 155%;
    text-align: center;
    text-decoration: none;
}

#programs a:hover {
    text-decoration: wavy;
    color: purple;
}

#course1, #course2, #course3,
#course4, #course5, #course6 {
    display: flex;
    background-image: url('images/2.jpg');
    width: 180px;
    height: 180px;
    align-items: center;
    text-align: center;
}

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

    #top {
        font-size: 75%;
    }
    
    #top::after {
        height: 80vh;
    }

    .bottom #principal-note {
        display: block;
    }

    .bottom #principal-note #principal {
        width: 70%;
        margin-left: 15%;

    }

    .bottom #principal-note p {
        width: 95%;
        margin-left: 3%;
        text-align: center;
    }

    .bottom #programs #row-1 {
        display: block;
        margin-left: 25%;
    }

    .bottom #programs #row-2 {
        display: block;
        margin-left: 25%;
    }
}

@media screen and (min-width: 450px) and (max-width: 570px){
    .bottom #programs #row-1 {
        display: block;
        margin-left: 32%;
    }

    .bottom #programs #row-2 {
        display: block;
        margin-left: 32%;
    }
}

@media screen and (min-width: 570px){
    #top::after {
        margin-top: 40px;
        height: 77vh;
    }
}

@media screen and (min-width: 1100px) {


    #top h1 {
        font-size: 260%;
    }

    .bottom h2 {
        font-size: 230%;
    }

    .bottom #principal-note #paragraph {
        font-size: 250%;
    }

    #programs a {
        font-size: 220%;
    }
    #course1, #course2, #course3,
    #course4, #course5, #course6 {
        width: 230px;
        height: 250px;

    }
}

@media screen and (min-width: 2000px) {
    

    #top h1 {
        font-size: 320%;
    }

    .bottom h2 {
        font-size: 320%;
    }

    .bottom #principal-note #paragraph {
        font-size: 290%;
    }

    #programs a {
        font-size: 280%;
    }
    #course1, #course2, #course3,
    #course4, #course5, #course6 {
        width: 300px;
        height: 320px;

    }
}

@media screen and (max-width: 350px) {
    #top h1{
        font-size: 160%;
    }

    #top, #top::after {
	width: 125%;
    }

    #main-header {
        font-size: smaller;
	width: 125%;
    }
    footer {
        font-size: smaller;
	width: 125%;
    }

    .bottom #programs #row-1 {
        margin-left: 20%;
    }

    .bottom #programs #row-2 {
        display: block;
        margin-left: 20%;
    }
}
