* {
    font-family: 'DB_Heavent_Original', sans-serif;
}

body {
    margin: 0;
}

@keyframes hvr-bob-float {
    100% {
        transform: translateY(-8px);
    }
}

@keyframes hvr-bob {
    0% {
        transform: translateY(-8px);
    }

    50% {
        transform: translateY(-4px);
    }

    100% {
        transform: translateY(-8px);
    }
}

/* Regular */
@font-face {
    font-family: "Walone";
    src: url("../fonts/walone/regular.ttf") format("truetype");
    font-weight: normal;
    font-style: normal;
}

/* Bold */
@font-face {
    font-family: "Walone";
    src: url("../fonts/walone/bold.ttf") format("truetype");
    font-weight: bold;
    font-style: normal;
}

/* Thin */
@font-face {
    font-family: "Walone";
    src: url("../fonts/walone/thin.ttf") format("truetype");
    font-weight: 100;
    font-style: normal;
}

/* main banner */
/* .main-banner {
    background-image: url("../img/main-banner/bg.jpg");
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
    padding: 50px 0;
    width: 100%;
}

.main-banner .content {
    width: 60%;
    margin: auto;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.main-banner .content .title {
    font-size: 3rem;
    line-height: 3rem;
    font-weight: normal;
    color: #FFFFFF;
    width: fit-content;
    margin: 0 auto;
}

.main-banner .content .title.mm {
    font-family: 'Walone', sans-serif !important;
    font-weight: bold;
    font-size: 2.2rem;
    line-height: 3rem;
}

.main-banner .content .info {
    font-size: 2.2rem;
    line-height: 2.2rem;
    color: #FFFFFF;
    width: fit-content;
    margin: 0 auto;
    text-align: center;
}

.main-banner .content .info.mm {
    font-family: 'Walone', sans-serif !important;
    font-weight: normal;
    font-size: 1.3rem;
    line-height: 2rem;
} */
.main-banner {
    width: 100%;
    height: auto;
}

.main-banner .img {
    width: 100%;
    height: auto;
    object-fit: cover;
}

/* surveys and statistics */
.items {
    padding: 30px 0;
}

.items .content {
    width: 70%;
    margin: auto;
    display: flex;
    flex-direction: column;
    gap: 25px;
}

.items .content .content-header {
    display: flex;
    flex-direction: column;
    gap: 10px;
    border: none;
}

.items .content .content-header .title {
    color: #323232;
    font-size: 3rem;
    line-height: 3rem;
    margin: 0;
}

.items .content .content-header .info {
    color: #5b5b5b;
    font-size: 2.2rem;
    line-height: 2.2rem;
    margin: 0;
}

.items .content .cards {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: 10px;
}

.items .content .cards .card {
    background-color: #FFFFFF;
    border-radius: 10px;
    padding: 20px 10px;
    box-shadow: 1px 1px 10px #bababa;
    border: 3px solid #FFFFFF;
}

.items .content .cards .card:hover {
    border: 3px solid #D62825;
    animation-name: hvr-bob-float, hvr-bob;
    animation-duration: .3s, 1.5s;
    animation-delay: 0s, .3s;
    animation-timing-function: ease-out, ease-in-out;
    animation-iteration-count: 1, infinite;
    cursor: pointer;
}

.items .content .cards .card .card-body {
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.items .content .cards .card .card-body .img {
    text-align: center;
}

.items .content .cards .card .card-body .img .logo {
    width: 35%;
    height: auto;
    object-fit: cover;
    /* border-radius: 5px; */
    margin: 0 auto;
}

.items .content .cards .card .card-body .info {
    display: flex;
    flex-direction: column;
    /* gap: 5px;   */
}

.items .content .cards .card .card-body .info .title {
    color: #323232;
    font-size: 1.7rem;
    line-height: 1.7rem;
    width: fit-content;
    margin: 0 auto;
    text-align: center;
}

.items .content .cards .card .card-body .info .title.long {
    font-size: 1.2rem;
}

.items .content .cards .card .card-body .info .category {
    color: #5b5b5b;
    font-size: 1.7rem;
    line-height: 1.7rem;
    width: fit-content;
    margin: 0 auto;
}

.modal.application {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.5);
}

.modal.application .modal-content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) scale(0.9);
    background: white;
    padding: 30px;
    width: 60%;
    border-radius: 5px;
    opacity: 0;
    transition: opacity 0.3s ease, transform 0.3s ease;
    display: flex;
    flex-direction: column;
    gap: 15px;
    max-height: 500px;
    overflow-y: scroll;
}

.modal.application.show .modal-content {
    opacity: 1;
    transform: translate(-50%, -50%) scale(1);
}

.modal.application .modal-content .btn-gp .close-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: transparent;
    border: none;
    width: fit-content;
    margin-left: auto;
    padding: 10px 0;
    cursor: pointer;
}

.modal.application .modal-content .btn-gp .close-btn svg {
    width: 20px;
    height: 20px;
    fill: #D62825;
}

.modal.application .modal-content .info {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.modal.application .modal-content .info p {
    font-size: 2.2rem;
    line-height: 2.2rem;
    color: #323232;
    margin: 0;
}

.modal.application .modal-content .info ul {
    padding: 0 20px;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.modal.application .modal-content .info ul li {
    color: #323232;
    font-size: 2.2rem;
    line-height: 2.2rem;
}

.modal.application .modal-content .info ul li p {
    text-decoration: underline;
    margin: 0;
}

.modal.application .modal-content .info ol {
    padding: 0 20px;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.modal.application .modal-content .info ol li {
    color: #323232;
    font-size: 2.2rem;
    line-height: 2.2rem;
}

.cart-btn-gp {
    padding: 30px 0;
}

.cart-btn-gp .on-btn {
    font-size: 2.2rem;
    line-height: 2.2rem;
    color: #FFFFFF;
    background: linear-gradient(280deg, rgb(196, 0, 0) 0%, rgb(244, 0, 0) 100%);
    text-decoration: none;
    padding: 15px 20px;
    border-radius: 50px;
    width: fit-content;
    margin: auto;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    /* keep consistent spacing */
    transition: all 0.3s ease-in-out;
    cursor: pointer;
    outline: none;
}

.cart-btn-gp .on-btn.mm {
    font-size: 1.5rem;
    line-height: 2rem;
    padding: 17px 20px 15px;
}

.cart-btn-gp .on-btn span {
    transform: translateX(14px);
    transition: transform 0.3s ease-in-out;
    display: flex;
    gap: 10px;
    align-items: center;
}

.cart-btn-gp .on-btn.mm span {
    font-family: 'Walone', sans-serif !important;
    font-weight: bold;
    line-height: 1.2rem;
    padding: 5px 0 0 0;
}

.cart-btn-gp .on-btn span .icon {
    width: 25px;
    height: auto;
    object-fit: cover;
}

.cart-btn-gp .on-btn.mm span .icon {
    padding: 0 0 5px 0;
}

.cart-btn-gp .on-btn svg {
    width: 20px;
    height: 20px;
    fill: #FFFFFF;
    opacity: 0;
    transform: translateX(-15px);
    transition: all 0.3s ease-in-out;
}

.cart-btn-gp .on-btn:hover {
    padding: 15px 30px;
}

.cart-btn-gp .on-btn.mm:hover {
    padding: 17px 30px 15px;
}

.cart-btn-gp .on-btn:hover span {
    transform: translateX(0);
}

.cart-btn-gp .on-btn:hover svg {
    opacity: 1;
    transform: translateX(0);
}

@media only screen and (max-width: 768px) {

    /* main banner */
    .main-banner .content {
        width: 90%;
    }

    /* surveys and statistics */
    .items .content {
        width: 90%;
    }

    .items .content .cards {
        grid-template-columns: repeat(4, 1fr);
    }
}

@media only screen and (max-width: 460px) {

    /* main banner */
    .main-banner {
        /* padding: 30px 0; */
    }

    .main-banner .content .title {
        text-align: center;
    }

    /* surveys and statistics */
    .items .content .content-header .title {
        text-align: center;
    }

    .items .content .cards {
        grid-template-columns: repeat(2, 1fr);
    }

    .modal.application .modal-content {
        width: 90%;
    }
}