/* Общие стили */
body {
    padding: 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    height: 100vh;
    font-family: Arial, sans-serif;
    margin: auto;
    font-family: -apple-system, BlinkMacSystemFont, sans-serif;
    overflow: auto;
    background: linear-gradient(315deg, rgba(101,0,94,1) 3%, rgba(60,132,206,1) 38%, rgba(48,238,226,1) 68%, rgba(255,25,25,1) 98%);
    animation: gradient 15s ease infinite;
    background-size: 400% 400%;
    background-attachment: fixed;
}

header {
    display: block;
    width: 100%;
    background: #fff;
}

/* Контейнер для выравнивания */
main {
    height: 100dvh;
    overflow: hidden;
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
}

/* Логотип */
.logo {
    width: 120px;
    margin: 20px;
}

/* Основной контент */
.card {
    background: white;
    padding: 20px 30px;
    border-radius: 25px;
    box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.2);
    display: inline-block;
    max-width: 90%;

}

/* Заголовок */
.title {
    text-align: center;
    font-size: 28px;
    color: #4A148C;
    margin-bottom: 20px;
}

/* Кнопки */
.button {
    display: block;
    margin: 10px auto;
    text-align: center;
    font-size: 18px;
    width: 250px;
    border-radius: 10px;
    text-decoration: none;
}



.button img {
    width: 100%;
}

.button.web {
    background: black;
    color: white;
    padding: 15px;
    width: 220px;
    height: 45px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 30px;
}

@media screen and (max-width: 320px) {
    .button {
        width: 200px;
    }

    .button.web {
        padding: 8px 15px;
        width: 170px;
        height: 45px;
        display: flex;
        align-items: center;
        justify-content: center;
        font-size: 25px;
    }

}

@keyframes gradient {
    0% {
        background-position: 0% 0%;
    }
    50% {
        background-position: 100% 100%;
    }
    100% {
        background-position: 0% 0%;
    }
}

.wave {
    background: rgb(255 255 255 / 25%);
    border-radius: 1000% 1000% 0 0;
    position: fixed;
    width: 200%;
    height: 12em;
    animation: wave 10s -3s linear infinite;
    transform: translate3d(0, 0, 0);
    opacity: 0.8;
    bottom: 0;
    left: 0;
    z-index: -1;
}

.wave:nth-of-type(2) {
    bottom: -1.25em;
    animation: wave 18s linear reverse infinite;
    opacity: 0.8;
}

.wave:nth-of-type(3) {
    bottom: -2.5em;
    animation: wave 20s -1s reverse infinite;
    opacity: 0.9;
}

@keyframes wave {
    2% {
        transform: translateX(1);
    }

    25% {
        transform: translateX(-25%);
    }

    50% {
        transform: translateX(-50%);
    }

    75% {
        transform: translateX(-25%);
    }

    100% {
        transform: translateX(1);
    }
}
