.cover {
    width: 100%;
    margin: auto;
    display: inline-block;
}

.three {
    width: 80%;
    margin: 10px auto;
    margin-top: 5px;
    height: auto;
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
}

.three-box {
    height: 200px;
    width: 100%;
    background-image: url(skool.jpg);
    background-size: cover;
    background-position: top;
    background: black;
}

.three-box button {
    color: rgb(255, 255, 255);
    background: rgba(0, 0, 0, 0.308);
    text-transform: uppercase;
    font-size: 20px;
    font-weight: 800;
    display: flex;
    padding: 10px;
    margin: auto;
    margin-top: 7%;
    border: none;
    border-radius: 3px;
}

.sub-menu {
    width: 80%;
    margin: 0px auto;
    margin-top: -10px;
    height: auto;
}

.sub-menu ul {
    display: flex;
    justify-content: flex-start;
    padding: 0;
}

.sub-menu ul li {
    list-style: none;
    margin-right: 15px;
}

.sub-menu ul li a {
    color: rgb(0, 89, 255);
    font-size: 12px;
    text-transform: uppercase;
    font-weight: 500;
}

.sub-menu ul li a:hover {
    text-decoration: none;
}

.main-content {
    width: 80%;
    height: auto;
    margin: auto;
    margin-top: 30px;
    margin-bottom: 30px;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
}

.main-content-box {
    height: auto;
    width: 100%;
    margin: 0;
}

.main-content-box h1 {
    font-size: 17px;
    color: rgb(74, 86, 105);
    margin: auto;
    margin-bottom: 10px;
}

.G-flex {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
}

.animateMe {
    width: 24.8%;
    position: relative;
    height: 150px;
    margin-bottom: 2px;
    display: block;
    background-color: grey;
}

.animateMe {
    opacity: 0;
}

.animateMe .animated {
    opacity: 1;
}

.G-box img {
    height: 100%;
    width: 100%;
}

@media (max-width:1100px) {
    .animateMe {
        width: 33.16%;
    }
}

@media(max-width:850px) {
    .animateMe {
        width: 49.85%;
    }
}

@media(max-width:450px) {
    .animateMe {
        width: 100%;
    }
}