* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    scroll-behavior: smooth;
}

@font-face {
    font-family: 'RegularFont';
    src: url('../assets/fonts/PetrovSans-Regular.woff2') format('woff2'),
    url('../assets/fonts/PetrovSans-Regular.woff') format('woff');
    font-weight: normal;
    font-style: normal;
}

@font-face {
    font-family: 'BoldFont';
    src: url('../assets/fonts/PetrovSans-SemiBold.woff2') format('woff2'),
    url('../assets/fonts/PetrovSans-SemiBold.woff') format('woff');
    font-weight: bold;
    font-style: normal;
}

html, body {
    margin: 0;
    padding: 0;
    font-family: 'RegularFont', sans-serif;
    background-color: #f5f7ff;
    /* stick footer to bottom */
    height: 100%;
    display: flex;
    flex-direction: column;
    overscroll-behavior: none; /* prevents the rubber band / bounce effect on iOS */
}

main {
    flex: 1;
    display: flex;
    justify-content: center;
    flex-direction: column;
}

img {
    user-select: none;
    -webkit-user-drag: none; /* disables drag on Safari */
    -webkit-user-select: none; /* Safari */
    -moz-user-select: none; /* Firefox */
    -ms-user-select: none; /* IE/Edge */
    pointer-events: none; /* optional: disables all interaction */
}

section {
    margin-bottom: 100px !important;
}

.top-space {
    margin-top: 120px !important;
}

.centered {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

h1 {
    font-weight: 600;
    font-size: 42px;
    line-height: 140%;
    font-family: 'BoldFont', sans-serif;
    color: rgba(11, 16, 40, 0.90);
}

h2 {
    font-weight: 600;
    line-height: 1.5;
    color: rgba(11, 16, 40, 0.90);
}

h3 {
    font-weight: 600;
    line-height: 1.5;
    color: rgba(11, 16, 40, 0.90);
}

h4 {
    font-weight: 600;
    line-height: 1.5;
    color: rgba(11, 16, 40, 0.90);
}

h5 {
    font-weight: 600;
    line-height: 1.5;
    color: rgba(11, 16, 40, 0.90);
}

p {
    line-height: 1.5;
    color: rgba(11, 16, 40, 0.70);
}

a {
    text-decoration: none;
    color: rgba(11, 16, 40, 0.70);
}

span {
    color: rgba(11, 16, 40, 0.70);
}

small {
    color: #072AC8;
}

button {
    font-size: 1rem;
}

::selection {
    background: #C2D3FF80;
    color: #072AC8;
}

/* Tabs */
.btns-flex {
    display: flex;
    background-color: #fff;
    justify-content: center;
    align-items: center;
    width: fit-content;
    margin: 0 auto;
    padding: 3px;
    border-radius: 50px;
    border: 1px solid #E0E9FF;
}

.btns-flex .toggle-btn {
    min-width: 140px;
    text-align: center;
    padding: 10px 20px;
    cursor: pointer;
    border-radius: 50px;
    transition: background-color 0.3s, color 0.3s;
    color: #072AC8;
}

.btns-flex .toggle-btn.active {
    background-color: #072AC8;
    color: #fff;
}

/* Buttons */
.normal-btn button {
    width: 280px;
    height: 60px;
    position: relative;
    padding: 18px 26px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    border-radius: 100px;
    cursor: pointer;
    background-color: #072AC8;
    border: 1px solid #072AC8;
    overflow: hidden;
    font-family: 'RegularFont', sans-serif;
}

.normal-btn .default-layer,
.normal-btn .hover-layer {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    font-weight: 500;
    transition: transform 0.4s ease;
}

.normal-btn .default-layer {
    color: #fff;
    z-index: 2;
}

.normal-btn .hover-layer {
    background-color: #D2DDFF;
    color: #072AC8;
    transform: translateY(100%);
    z-index: 3;
}

.normal-btn button:hover .hover-layer {
    transform: translateY(0);
}

.normal-btn button:hover .default-layer {
    transform: translateY(-100%);
}

.title {
    text-align: center;
}

.line {
    width: 100%;
    text-align: left;
}

.subtitle {
    margin: 16px auto 30px;
    text-align: center;
    max-width: 480px;
    word-break: break-word;
}

.design-link {
    text-decoration: underline;
    color: inherit;
}

.bars, .mob {
    display: none;
}

@media screen and (max-width: 1530px) {

    .left-wing img {
        display: none;
    }

    .right-wing img {
        display: none;
    }
}

@media screen and (max-width: 768px) {
    body {
        overflow-x: hidden;
    }

    section {
        margin-bottom: 60px !important;
    }

    .mob {
        display: block;
    }

    .bars {
        display: block;
    }

    h1 {
        font-size: 28px;
    }

    .subtitle {
        margin: 12px auto 20px auto;
    }

    .btns-flex {
        display: flex;
        background-color: #fff;
        justify-content: center;
        align-items: center;
        width: fit-content;
        margin: 0 auto;
        padding: 2px;
        border-radius: 50px;
        border: 1px solid #C2D3FF;
    }
}
