/* Front page header -------------------------------------------------- */
.container-fluid {
    position: relative;
}

.header-container {
    position: relative;
    overflow: hidden;
    background-image: url(../images/banner.jpg);
    width: 100%;
    height: 350px;
    filter: brightness(80%) saturate(90%);
    background-size: cover;
    background-position: right top;
}

.header-container::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 150px;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.85), transparent);
}

.header-text-container {
    position: absolute;
    bottom: 10px;
    left: 10%;
    z-index: 3;
    color: white;
}

@media screen and (max-width: 800px) {
    .header-text-container {
        left: 3%;
        bottom: 0;
    }

    .header-text-container .header-title {
        font-size: 30px;
    }
}

.header-title {
    font-size: 38px;
}

/* Icons --------------------------------------------------- */
.homepage-icons {
    box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2), 0 6px 20px 0 rgba(0, 0, 0, 0.19);
    border-radius: 50%;
    height: 200px;
    width: 200px;
}

.homepage-icons a i {
    font-size: 85px;
    color: #506863;
    transition: color 0.2s ease-out;
}

.homepage-icons a h4 {
    color: rgb(88, 88, 88);
    font-weight: 600;
    transition: color 0.2s ease-out;
}

.homepage-icons a:hover h4,
.homepage-icons a:hover i {
    color: #2d3a37;
}

@media screen and (max-width: 530px) {
    .homepage-icons {
        box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2), 0 6px 20px 0 rgba(0, 0, 0, 0.19);
        border-radius: 50%;
        height: 120px;
        width: 120px;
    }

    .homepage-icons a i {
        font-size: 50px;
    }

    .homepage-icons a h4 {
        font-size: 15px;
    }
}

/* School terms section--------------------------------------------------- */
.school-terms-container {
    background-image: url(../images/orangeleafs.jpg);
    background-size: cover;
    background-position: center;
}

.school-terms-text{
    text-align: center;
    width: 630px;
    height: 630px;
    color: rgb(255, 255, 255);
    background-color: rgba(72, 98, 74, 0.95);
    border: 3px solid rgb(61, 84, 62, 0.95);
    border-radius: 50%;
}

@media screen and (max-width: 650px) {
    .school-terms-text{
        width: 400px;
        height: 400px;
        border-radius: 20%;

    }

    .school-terms-text p {
        font-size: 12px;
    }

    .school-terms-text h3 {
        font-size: 20px;
    }

    .school-terms-text h4 {
        font-size: 18px;
    }
    .school-terms-container {
        background-image: none;
    }
}
