:root {
    --primary-color: #004aba;
    --light-color: #0554F2;
    --yellow-color: #FFE900;
    --red-color: #e91478;
    --white-color: #FFF;
    --blue-light-color: #ECF7FF;
    --purple-color: #4139FF;
    --green-color: #459C0F;
    --green-deep-color: #889429;
    --brown-color: #8A3504;
    --brown-light-color: #FDF1D7;
    --brown-thin-color: #D2710A;
    --gray-color: #E3E3E3;

    --green-linear-left: #FAFFEE;
    --green-linear-right: #F1FFEB;

    --blue-linear-left: #287BFF;
    --blue-linear-right: #1660FC;

    --border-primary-color: #cacbcc;

    --text-deep-color: #1e1e1e;
    --text-primary-color: #161b26;
    --text-light-color: #525252;
    --text-secondary-color: #f5f5f5;
}

html.no-scroll,
body {    
    overflow: hidden;
}

section {
    padding: 60px 0;
}

section h2 {
    font-size: 46px;
}

section h2+p {
    font-size: 18px;
}

.base-maxwidth {
    max-width: 1240px;
    margin: 0 auto;
    padding: 0 16px;
}

.base-maxwidth-sm {
    max-width: 1040px;
}

.base-maxwidth-lg {
    max-width: 1440px;
}

.base-maxwidth-xl {
    max-width: 1660px;
}

.flex {
    display: flex;
}

.flex-center {
    justify-content: center;
    align-items: center;
}

.align-center {
    align-items: center;
}

.align-end {
    align-items: flex-end;
}

.align-start {
    align-items: flex-start;
}

.justify-center {
    justify-content: center;
}

.justify-between {
    justify-content: space-between;
}

.justify-around {
    justify-content: space-around;
}

.justify-start {
    justify-content: flex-start;
}

.justify-end {
    justify-content: flex-end;
}

.flex-wrap {
    flex-wrap: wrap;
}

.flex-column {
    flex-direction: column;
}

.flex-1 {
    flex: 1;
}

.flex-shrink-0 {
    flex-shrink: 0;
}

.m-auto {
    margin: auto;
}

.m-y-auto {
    margin-top: auto;
    margin-bottom: auto;
}

.m-x-auto {
    margin-left: auto;
    margin-right: auto;
}

.m-x-0 {
    margin-left: 0;
    margin-right: 0;
}

.mt-10 {
    margin-top: 10px;
}

.mt-20 {
    margin-top: 20px;
}

.mt-30 {
    margin-top: 30px;
}

.mt-40 {
    margin-top: 40px;
}

.mb-10 {
    margin-bottom: 10px;
}

.mb-20 {
    margin-bottom: 20px;
}

.border-top {
    border-top: 1px solid var(--text-secondary-color);
}

.border-bottom {
    border-bottom: 1px solid var(--text-secondary-color);
}

.border-left {
    border-left: 1px solid var(--text-secondary-color);
}

.border-right {
    border-right: 1px solid var(--text-secondary-color);
}

.rotate-180 {
    transform: rotate(180deg);
}

.h-100 {
    height: 100%;
}

.text-center {
    text-align: center;
}

.base-btns {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    margin-top: 50px;
}

.base-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 145px;
    max-width: 290px;
    width: fit-content;
    height: 54px;
    padding: 5px 24px;
    background: var(--primary-color);
    border-radius: 31px;
    text-align: center;
    color: var(--white-color);
    font-size: 16px;
    font-weight: 700;
}

.base-btns>.base-btn {
    width: 238px;
}

.btn-yellow,
.btn-yellow:hover {
    background: var(--yellow-color);
    color: var(--light-color);
}

.btn-light,
.btn-light:hover {
    background: var(--light-color);
}

.btn-red,
.btn-red:hover {
    background: var(--red-color);
}

.btn-white,
.btn-white:hover {
    background: var(--white-color);
    color: var(--light-color);
}

.btn-white.text-green,
.btn-white.text-green:hover {
    color: var(--green-color);
}

.btn-yellow:hover,
.btn-light:hover,
.btn-red:hover,
.btn-white:hover {
    opacity: 0.8;
}

.btn-border-light {
    border: 2px solid var(--light-color);
    background: transparent;
    color: var(--light-color);
}

.btn-border-light:hover {
    border-color: var(--light-color);
    background: var(--light-color);
    color: var(--white-color);
}

.btn-border-gray {
    border: 2px solid var(--text-light-color);
    background: transparent;
    color: var(--text-light-color);
}

.btn-border-gray:hover {
    border-color: var(--light-color);
    background: var(--light-color);
    color: var(--white-color);
}

.base-btn.white-text {
    color: var(--white-color);
}

.font-bold {
    font-weight: bold;
}

.text-gray {
    color: var(--text-light-color);
}

.text-gray-light {
    color: var(--text-light-color);
}


@media (max-width: 1480px) { 
    section h2 {
        font-size: 42px;
    }     

    section h2+p {
        font-size: 17px;
    }
}

@media (max-width: 1024px) {
    section h2 {
        font-size: 38px;
    }

    section h2+p {
        font-size: 16px;
    }
}

@media (max-width: 768px) {
    section {
        padding: 30px 0;
    }

    section h2 {
        font-size: 32px;
        line-height: 1.3;
    }

    section h2+p {
        font-size: 15px;
    }
}

@media (max-width: 580px) {
    section h2 {
        font-size: 19px;
    }

    section h2+p {
        font-size: 14px;
    }

    .base-btn {
        margin-top: 20px;
    }

    .base-btns {
        flex-direction: column;
        gap: 20px;
        margin-top: 30px;
    }

    .base-btns > .base-btn {
        margin-top: 0;
    }
}

/* backtop */
.backtop {
    display: none;
    background: var(--light-color);
    position: fixed;
    width: 35px;
    height: 35px;
    bottom: 186px;
    right: 1%;
    border-radius: 50%;
    cursor: pointer;
    transition: all .3s;
    z-index: 999;
    mix-blend-mode: difference;
}

.backtop img {
    width: 20px;
}

.backtop.show {
    display: flex;
}

.backtop:hover {
    background: var(--primary-color);
}
/* backtop */

@media (max-width: 1024px) {
    main {
        margin-top: var(--header-height);
    }
}