.navbar {
    background: #070f27;
    backdrop-filter: blur(15.899999618530273px);
}

.section-header {
    margin-top: 50px;
}

h2.section-title {
    font-weight: 700;
    font-size: 180px;
    line-height: 100%;
    letter-spacing: 0%;
    color: #c30838;
    text-align: center;
    margin-bottom: 100px;
    height: 180px;
    display: block;
}

.section-content {
    margin-bottom: 50px;
}

.custom-select {
    border: none;
    background-color: inherit;
    border-bottom: 1px solid #d9d9d9;
    border-radius: 0;
    font-size: 30px;
    font-weight: 500;
}

.custom-select:focus {
    box-shadow: none;
    outline: none;
    border-color: #d9d9d9;
}

.card-custom {
    color: #fff;
    overflow: hidden;
    padding: 30px 15px 0 15px;
}

.card-custom img {
    width: 100%;
    object-fit: cover;
    transition: transform 0.3s ease-in-out;
}

.card-img-top {
    overflow: hidden;
}

.card-title {
    font-weight: 700;
    font-size: 60px;
    line-height: 100%;
    letter-spacing: 0%;
    text-transform: uppercase;
    transition: all 0.3s ease;
}

.card-number {
    font-weight: 700;
    font-size: 30px;
    line-height: 100%;
    letter-spacing: 0%;
    text-transform: uppercase;
    transition: all 0.3s ease;
}

.course-style-wrapper {
    display: flex;
    flex-wrap: wrap;
}

.course-item-style {
    flex: 0 0 33.333%;
    max-width: 70%;
    height: 620px;
    transition: all 0.3s ease;
    background-color: #fff;
    padding: 35px 16px 16px 16px;
}

.course-style-wrapper .course-item-style:first-child {
    background-color: rgba(7, 15, 39, 1);
}

.course-style-wrapper .course-item-style:first-child {
    background-color: rgba(7, 15, 39, 1);
}

.course-style-wrapper .course-item-style:last-child {
    background-color: rgba(114, 0, 27, 1);
}

.course-item-style .image-cover {
    padding-top: 70%;
}

.course-item-style .image-cover img {
    border-radius: 8px;
}

.course-item-style .box-course {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    height: 100%;
    text-decoration: none;
}

.course-style-wrapper .course-item-style .box-course {
    color: #fff;
}

.course-style-wrapper .course-item-style.card-white .box-course {
    color: #000;
}

.course-item-style .footer-card {
    display: flex;
    justify-content: space-between;
}

.course-item-style .course-title {
    font-size: 40px;
    font-style: normal;
    font-weight: 700;
    line-height: 100%; /* 60px */
    text-transform: uppercase;
}

.course-item-style .card-number {
    font-size: 30px;
    font-style: normal;
    font-weight: 700;
    line-height: 100%; /* 30px */
    text-transform: uppercase;
}

/* .course-style-wrapper .course-item-style {
    flex: 1;
}

.course-style-wrapper .course-item-style:last-child {
    flex: 4;
} */

.course-item-style .wrapper-content {
    display: flex;
    width: 100%;
    opacity: 1;
    position: relative;
    /* transition: all .1s ease; */
}

.course-item-style .wrapper-content .box-image {
    flex: auto;
}

.course-item-style .course-info {
    width: 305px;
    position: absolute;
    top: 0;
    right: 0;
    opacity: 0;
    transition: opacity 0.2s ease;
    pointer-events: none;
}

.course-info .lead-text {
    font-size: 20px;
    font-style: normal;
    font-weight: 700;
    line-height: 28px;
    letter-spacing: 2px;
}

.course-info .text {
    font-size: 16px;
    font-style: normal;
    font-weight: 400;
    line-height: 24px;
    letter-spacing: 2px;
}

.course-item-style .wrapper-content .is-hover {
    width: 0;
    transition: width 0.3s ease;
}

.course-item-style .price-wrapper {
    margin-top: 16px;
}
.course-price .price {
    font-size: 30px;
    font-style: normal;
    font-weight: 700;
    line-height: 45px;
    letter-spacing: 2px;
}

.course-price .price-discount {
    color: #bebebe;
    font-size: 26px;
    font-style: normal;
    font-weight: 700;
    line-height: 45px;
    letter-spacing: 2px;
    text-decoration: line-through;
}

/* hover */

.course-style-wrapper:hover .course-item-style {
    flex: 0.5;
}

.course-style-wrapper .course-item-style:hover {
    flex: 3;
}

.course-style-wrapper:hover .course-item-style:not(:hover) .course-title {
    font-size: 20px;
}

.course-style-wrapper:hover .course-item-style:not(:hover) .card-number {
    opacity: 1;
    display: none;
}

/* .course-style-wrapper .course-item-style:hover .course-title {
    width: auto;
} */

.course-style-wrapper .course-item-style:hover .card-number {
    font-size: 100px;
}

.course-style-wrapper .course-item-style:hover .footer-card {
    align-items: end;
}

.course-style-wrapper:hover .course-item-style:not(:hover) .wrapper-content {
    opacity: 0;
    width: 0;
}

.course-item-style:hover .wrapper-content .is-hover {
    width: 325px;
}

.course-style-wrapper .course-item-style:hover .course-info {
    opacity: 1;
}

@media (max-width: 767.98px) {
    h2.section-title {
        font-size: 90px;
        margin-bottom: 0px !important;
        margin-top: 7rem;
        height: 100px !important;
    }

    h3.title {
        font-size: 30px;
    }

    .custom-select {
        font-size: 3.5vw;
    }

    .course-style-wrapper {
        display: block;
    }

    .course-item-style {
        height: auto;
        margin-bottom: 20px;
        padding: 16px;
        width: 100%;
        max-width: 100%;
    }

    .course-item-style .course-title {
        font-size: 24px;
        width: auto;
    }

    .course-item-style .wrapper-content {
        flex-direction: column;
        gap: 12px;
    }

    .course-item-style .wrapper-content .box-image {
        width: 100%;
    }

    .course-item-style .course-info {
        position: unset;
        opacity: 1;
    }

    .course-price .price {
        font-size: 24px;
        line-height: 30px;
    }

    .course-price .price-discount {
        font-size: 18px;
        line-height: 24px;
    }

    .course-item-style .course-price {
        margin-top: 10px;
    }

    .course-item-style .footer-card {
        margin-top: 15px;
    }
}
