* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

@font-face {
    font-family: 'oxanium';
    src: url('fonts/Oxanium-Regular.ttf');
    font-weight: 400;
    font-display: swap;
}

@font-face {
    font-family: 'Inter';
    src: url('fonts/Inter-Variable.ttf');
    font-weight: 700;
    font-display: swap;
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

html,
body {
    width: 100%;
    height: 100vh;
    margin: 0;
    padding: 0;
    background-color: #0E1721;
    background-image: url('icons/background.png');
    background-repeat: no-repeat;
    box-sizing: border-box;
    background-size: cover;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: center;
    position: relative;
    animation: fadeIn 0.7s ease-in-out;
}

main {
    display: flex;
    flex: 1;
    justify-content: center;
    align-items: center;
    flex-direction: column;
}

.logo-swoop {
    padding-bottom: 60px;
}

.menu,
.sol-bot {
    display: flex;
    gap: 10px;
    align-items: center;
    flex-wrap: nowrap;
    flex-direction: row;
    justify-content: space-between;
}

.menu {
    margin-top: 16px;
    align-items: flex-end;
}

button {
    cursor: pointer;

}

.sol-bot {
    width: 429px;
    height: 56px;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 8px;
    background: linear-gradient(98deg, #6041FF 37.56%, #B7A9FF 103.4%);
    outline: none;
    box-shadow: none;
    text-transform: none;
    border-radius: 10px;
    border: none;
    position: relative;
    transition: opacity 0.4s ease-out;
    padding: 1.5px;
}

.sol-bot::before {
    content: '';
    position: absolute;
    inset: 1.5px;
    border-radius: calc(10px - 1.5px);
    background: #131C2A;
    pointer-events: none;
    z-index: 0;
}

.sol-bot .arrow {
    position: relative;
    z-index: 1;
}

.sol-bot:hover,
.secondary-btn:hover {
    opacity: 0.8;
    transition: ease-in 0.1s;
}

.arrow {
    display: flex;
    align-items: center;
}

.arrow span {
    background: linear-gradient(98deg, #6041FF 37.56%, #B7A9FF 103.4%);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    font-family: 'Inter';
    font-size: 20px;
    font-style: normal;
    font-weight: 700;
    line-height: 24px;
    padding-right: 8px;
    padding-bottom: 3px;
}

.secondary-btn {
    height: 53px;
    width: 210px;
    background: rgba(26, 35, 58, 0.37);
    border-radius: 12px;
    border: 1px solid rgba(116, 119, 226, 0.18);
    opacity: 1;
    transition: opacity 0.4s ease-out;
    position: relative;
}

.secondary-btn span {
    color: #ffffff;
    font-family: 'Oxanium', sans-serif;
    font-size: 16.043px;
    font-style: normal;
    font-weight: 600;
    line-height: 120.312%;
}

.secondary-btn-line {
    width: 100%;
    height: 2px;
    bottom: 0;
    background: linear-gradient(90deg, rgba(116, 119, 226, 0.00) 0%, #7477E2 49%, rgba(116, 119, 226, 0.00) 100%);
    position: absolute;
}

.offer {
    padding: 16px 0 30px 0;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
}

#icon-docs,
#icon-anoncements {
    opacity: 0.5;
}

.docs,
.supp,
.chat,
.announcements {
    align-items: center;
    display: flex;
    justify-content: center;
    opacity: 1;
    transition: opacity 0.4s ease-out;
    padding-left: 12px;
    padding-right: 12px;
    box-sizing: border-box;
}

.docs:hover,
.docs-with:hover,
.supp:hover,
.supp-with:hover,
.chat:hover,
.announcements:hover,
.announcements-with:hover {
    opacity: 0.8;
    transition: ease-in 0.1s;
}

.offer img {
    padding-right: 8px;
}

.first-box-offer {
    display: flex;
    align-items: center;
    gap: 10px;
}

.seccond-box-offer {
    display: flex;
    align-items: center;
    gap: 10px;
}

.docs,
.supp,
.chat {
    width: 125px;
    height: 47px;
    align-items: center;
}


.announcements-with,
.announcements {
    width: 199px;
    height: 47px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.docs-with,
.supp-with,
.announcements-with {
    height: 47px;
    align-items: center;
    align-items: center;
    display: flex;
    justify-content: center;
    color: #ffffff;
    font-family: Oxanium;
    font-size: 16.043px;
    font-style: normal;
    font-weight: 600;
    line-height: 120.312%;
    border-radius: 12px;
    border: 1px solid rgba(116, 119, 226, 0.18);
    background: rgba(26, 35, 58, 0.37);
    text-decoration: none;
    text-transform: none;
    padding-left: 12px;
    padding-right: 12px;
    box-sizing: border-box;
}

.label {
    color: rgba(255, 255, 255, 0.50);
    font-family: 'Oxanium', sans-serif;
    font-size: 16.043px;
    font-style: normal;
    font-weight: 500;
    line-height: 120.312%;
}

.docs,
.supp,
.chat,
.announcements {
    border-radius: 12px;
    border: 1px solid rgba(116, 119, 226, 0.18);
    background: rgba(26, 35, 58, 0.37);
    text-decoration: none;
    text-transform: none;
}

a:visited {
    color: inherit;
}

.language {
    display: flex;
    gap: 10px;
    justify-content: center;
}

.language .ru,
.language .en {
    cursor: pointer;
}

.en,
.ru {
    font-family: 'Oxanium';
    font-size: 16px;
    font-weight: 600;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.8);
}

.en.active,
.ru.active {
    font-family: 'Oxanium';
    font-size: 16.043px;
    font-style: normal;
    font-weight: 600;
    line-height: 120.312%;
    text-transform: uppercase;
    background: linear-gradient(98deg, #6041FF 37.56%, #B7A9FF 103.4%);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

button span {
    padding-top: 4px;
    white-space: nowrap;
}

.footer {
    bottom: 0;
    left: 0;
    width: 100%;
    text-align: center;
    padding-bottom: 20px;
}

.language {
    align-items: baseline;
}

@media(max-width: 768px) {
    body {
        background-image: url('icons/background-ipad.png');
        background-repeat: no-repeat;
        background-position: center;
        background-size: cover;
    }

    main {
        background-position: center;
        display: flex;
        justify-content: center;
        align-items: center;
        flex-direction: column;
    }

    .sol-bot {
        width: 334px;
    }

    .offer {
        flex-direction: row;
        justify-content: center;
        padding: 0px 0 49px 0;
    }

    .menu {
        flex-direction: column;
        margin-top: 28px;
        gap: 9px;
    }

    .secondary-btn {
        width: 334px;
    }

    .footer {
        padding-bottom: 45px;
    }

    .language {
        align-items: baseline;
    }

    .logo-swoop {
        width: 200px;
    }

    .offer {
        padding: 0px 0 20px 0;
        gap: 10px;
    }

    .footer {
        padding: 30px 0;
    }

    .first-box-offer {
        max-width: 50%;
        display: flex;
        justify-content: space-around;
    }

    .seccond-box-offer {
        display: flex;
        justify-content: space-around;
    }

    .announcements {
        width: 100%;
    }

    .language {
        align-items: baseline;
    }
}

@media(max-width: 600px) {
    .offer {
        flex-direction: column;
    }

    .first-box-offer {
        max-width: 100%;
    }

    .seccond-box-offer {
        max-width: 100%;
    }

    .supp,
    .announcements {
        width: 198px;

    }

    .docs,
    .chat {
        width: 125px;
    }

    .language {
        align-items: baseline;
    }


    body.lang-ru .offer {
        max-width: 334px;
        margin: 0 auto;
    }

    body.lang-ru .first-box-offer,
    body.lang-ru .seccond-box-offer {
        width: 100%;
        gap: 10px;
    }

    body.lang-ru .docs-with,
    body.lang-ru .supp-with,
    body.lang-ru .chat,
    body.lang-ru .announcements-with {
        width: 100%;
        flex: 1;
    }
}

@media(max-width: 393px) {
    body {
        background-image: url('icons/background-iphone.png');
        background-repeat: no-repeat;
        background-position: center;
        background-size: cover;
        width: 100%;
        height: 100vh;
    }

    .offer {
        display: flex;
        padding-top: 20px;
        flex-direction: column;
    }

    .logo-swoop {
        padding-bottom: 30px;
    }

    .sol-bot {
        width: 320px;
    }

    .secondary-btn,
    .sol-bot {
        width: 334px;
    }

    .first-box-offer {
        display: flex;
        justify-content: space-around;
    }

    .seccond-box-offer {
        display: flex;
        justify-content: space-around;
    }

    .supp,
    .announcements {
        width: 198px;

    }

    .docs,
    .chat {
        width: 125px;
    }

    .language {
        align-items: baseline;
    }
}