* {
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
}

body {
    font-family: "Montserrat", sans-serif;
}

textarea {
    resize: none;
}

.logo {
    max-width: 120px;
}

.nav-link:hover, .footer-nav-link:hover, .nav-link.active, .footer-nav-link.active  {
    border-bottom-width: 3px;
    border-bottom-style: solid;
    border-bottom-color: var(--bs-white);
    max-width: max-content;
}

.footer-nav-link:hover, .footer-nav-link.active {
    border-bottom-width: 2px;
}

.btn-sign-up:hover {
    color: rgba(255,255,255, 1) !important;
}

.welcome-container {
    color: rgba(var(--bs-white-rgb),1);
}

.welcome {
    height: 100vh;
}

.welcome-img-wrapper {
    position: absolute;
    width: 100%;
    height: 100%;
    z-index: -1;
    background-image: url("../img/270624_2.webp");
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
    -webkit-filter: brightness(30%);
    filter: brightness(30%);
}

.about-icon {
    max-width: 100px;
}

.blog-card {
    box-shadow: rgba(17, 17, 26, 0.1) 0px 4px 16px, rgba(17, 17, 26, 0.1) 0px 8px 24px, rgba(17, 17, 26, 0.1) 0px 16px 56px;
}

.post-image {
    width: 100%;
}

a.blog-post, a.blog-recent-post {
    text-decoration: none;
}

a.blog-post:hover h5, a.blog-recent-post:hover h6 {
    text-decoration: underline;
}

.course-card .card-img-overlay {
    display: flex;
    justify-content: center;
    align-items: center;
}

.course-card:hover .card-img-overlay {
    justify-content: end;
    align-items: inherit;
}

.course-card .card-img-overlay.info {
    display: none;
    opacity: 0;
}

.course-card:hover .card-img-overlay.info {
    display: flex;
    flex-direction: column;
    opacity: 1;
    background-color: rgba(0, 0, 0, 0.5);
}

.course-card:hover .card-img-overlay .icon {
    display: none;
    opacity: 0;
}

.recent-course-title:hover, .recent-course-title:hover i {
    color: var(--bs-warning)!important;
}

@media (max-width: 767px) {
    .welcome {
        height: 100%;
    }

    .welcome-container {
        color: var(--bs-body-text-emphasis)!important;
    }

    .course-card .card-img-overlay {
        justify-content: end;
        align-items: inherit;
    }

    .course-card .card-img-overlay.info {
        display: flex;
        flex-direction: column;
        opacity: 1;
        background-color: rgba(0, 0, 0, 0.5);
    }

    .course-card .card-img-overlay .icon {
        display: none;
    }
}
