@font-face {
    font-family: "DM Sans";
    src: url('../fonts/DMSans-VariableFont_opsz%2Cwght.ttf') format('truetype');
    font-style: normal;
    font-weight: 200 900;
}

html, body {
    font-family: "DM Sans", sans-serif;
    font-size: 14px;
    font-weight: 400;
}

*,
*::before,
*::after {
    font-family: inherit;
    color: inherit;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    text-rendering: optimizeLegibility;
}

body {
    margin: 0 auto;
    min-height: 100vh;
    padding: 10px;
    background: rgb(34, 42, 57);
    color: #FFFFFF;
}

.popup {
    width: 100%;
    min-height: 100vh;
}

::-webkit-scrollbar {
    display: none;
}

* {
    scrollbar-width: none;
}

.display-none {
    display: none !important;
}

a {
    transition: 0.5s ease;
}

a:not(.disabled):hover {
    transition: 0.5s ease;
}

.link-underline {
    text-decoration: underline;
}

.container {
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    max-width: 500px;
    margin: 0 auto;
    width: 100%;
    background: #0F0F1E;
    padding: 34px 15px 45px 15px;

    display: flex;
    flex-direction: column;
    align-items: center;
}

.disabled {
    cursor: not-allowed !important;
    opacity: 0.2;
    pointer-events: none;
}

.btn {
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    border: none;
    cursor: pointer;
    transition: 0.5s ease;


}

.btn:hover {
    transition: 0.5s ease;
}

.btn:disabled {
    cursor: not-allowed!important;
}

.btn--one {
    border-radius: 10px;
    background: #2C3544;
    padding: 12px;
    font-weight: 600;
    font-size: 14px;
    text-align: center;
    color: #FFFFFF;
}

.btn--one:not(:disabled):hover {
    background: #384355;
}

.btn--one:disabled,
.btn--one.disabled {
    color: #181818;
    background: #747474;
    cursor: not-allowed!important;
}

.btn--two {
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 10px;
    background: #181818;
    padding: 12px;
    font-weight: 600;
    font-size: 14px;
    text-align: center;
    color: #fff;
}

.btn--two:not(:disabled):hover {
    border: 1px solid rgba(255, 255, 255, 0.2);
    background: #242424;
}

.btn:disabled {
    cursor: not-allowed;
}

.fade-in {
    display: inline;
    animation: fadeIn 0.3s forwards;
}

.fade-out {
    animation: fadeOut 0.3s forwards;
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

@keyframes fadeOut {
    from {
        opacity: 1;
    }
    to {
        opacity: 0;
    }
}

.input:focus {
    outline: none;
}

.home {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.home__title {
    margin-bottom: 14px;
    font-weight: 700;
    font-size: 24px;
    color: #fff;
}

.home__desc {
    font-weight: 500;
    font-size: 14px;
    text-align: center;
    color: rgba(205, 213, 229, 0.75);
    margin-bottom: 43px;
    max-width: 255px;
}

.home__btns {
    display: flex;
    flex-direction: column;
    gap: 12px;
    width: 100%;
    margin-bottom: 19px;
}

.home__btns .btn {
    width: 100%;
}

@media only screen and (max-width: 768px) {
    .header {
        padding: 16px;
    }
}


@media (max-width: 450px) {
    .container {
        padding: 12px;
    }

}

.animation {
    width: 100vw;
    height: 100vh;
    background: #181818;
    display: flex;
    align-items: center;
    justify-content: center;
}

.slider-container {
    position: relative;
    width: 100%;
    overflow: hidden;
    margin-bottom: 28px;
}

.slider {
    display: flex;
    transition: transform 0.5s ease;

    height: auto;
}

.slide {
    min-width: 100%;
    height: 260px;
    display: flex;
    justify-content: start;
    align-items: center;
    flex-direction: column;
}

.slider .home__title {
    font-weight: 900;
    font-size: 18px;
    text-align: center;
    color: #fff;
}

.slide1 .home__title {
    font-weight: 700;
    font-size: 14px;
    text-align: center;
    color: rgba(255, 255, 255, 0.8);
    margin-top: 19px;
}

.slide1 img {
    margin-top: 216px;
}

.slide2 .home__title,
.slide3 .home__title {
    margin-top: 34px;
}
.slide3 .home__title {
    max-width: 258px;
}

.popup-container {

    width: 100%;
}

.pagination {
    margin: 34px auto 0 auto;
    display: flex;
    justify-content: center;
    gap: 6px;
}

.dot {
    width: 6px;
    height: 6px;
    border-radius: 100%;
    background-color: rgba(255, 255, 255, 0.4);
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.dot.active {
    border-radius: 20px;
    width: 19px;
    height: 6px;
}

.slider-item {
    background: #0F0F1E;
}

header {
    padding: 24px 37px 21px 37px;
}

footer {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 24px 16px 20px 16px;

    font-weight: 500;
    font-size: 12px;
    text-align: center;
    color: rgba(255, 255, 255, 0.6);
}

.arrow {
    position: absolute;
    top: 213px;
    z-index: 100;
    max-width: max-content;
    padding: 0;
}

.arrow-next {
    right: 23px;
}
.arrow-prev {
    left: 23px;
}

.arrow:disabled {
    opacity: 0.6;
    cursor: default;
}

.back-btn {
    background: #0F0F1E;
    border-radius: 34px;
    z-index: 10;
    position: relative;
    padding: 24px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.5);
}

.back-btn:hover {
    background: #303030;

}

.animation video {
    width: 250px;
}