*,
*::before,
*::after {
    box-sizing: border-box;
}

main {
    display: flex;
    flex-direction: column;
}

.card-header h2 {
    font-size: 1.25rem;
}

.thumbnail img {
    border-radius: 15px;
}

.across {
    display: block;
    width: 100%;
    height: 0.1rem;
}

.card-body>.btn {
    background-color: black;
    border: black;
    transition: all 400ms ease-out;
}

.card-body>.btn:hover,
.card-body>.btn:focus {
    background-color: #606c38;
    border: #606c38;
}

.classroom img {
    object-fit: cover;
}


@media only screen and (min-width: 1200px) {
    .description {
        padding-right: 6rem;
    }
}

@media only screen and (min-width: 992px) {
    .offerings {
        padding-left: 3rem;
    }

}

.banner {
    height: 700px;
    overflow: hidden;
    background: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)), url("/images/scrabble.jpg");
    background-size: cover;
    background-position: right 70%;
    background-repeat: no-repeat;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: start;
    padding: 10%;
}

.dropbtn {
    background-color: #283618;
    color: white;
    padding: 16px;
    font-size: 16px;
    border: none;
    border-radius: 10px;
}

.dropdown {
    position: relative;
    display: inline;
    max-width: fit-content;
}

.dropdown-content {
    display: none;
    position: relative;
    background-color: #f1f1f1;
    min-width: 160px;
    box-shadow: 0px 8px 16px 0px rgba(0, 0, 0, 0.2);
    z-index: 1;
}

.dropdown-content a {
    color: black;
    padding: 12px 16px;
    text-decoration: none;
    display: block;
}

.dropdown-content a:hover {
    background-color: #ddd;
}

.dropdown:hover .dropdown-content {
    display: inline-flex;
}

.dropdown:hover .dropbtn {
    background-color: #606C38;
}