@font-face {
    font-family: Stozl;
    src: url(../fonts/stolzl_regular.woff);
    font-weight: 400;
}

@font-face {
    font-family: Stozl;
    src: url(../fonts/stolzl_regular.woff2);
    font-weight: 400;
}

@font-face {
    font-family: VelaSans;
    src: url(../fonts/VelaSans-Regular.woff);
    font-weight: 400;
}

@font-face {
    font-family: VelaSans;
    src: url(../fonts/VelaSans-Regular.woff2);
    font-weight: 400;
}

@font-face {
    font-family: VelaSans;
    src: url(../fonts/VelaSans-SemiBold.woff);
    font-weight: 600;
}

@font-face {
    font-family: VelaSans;
    src: url(../fonts/VelaSans-SemiBold.woff2);
    font-weight: 600;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;

    color: white;
    font-family: 'VelaSans', sans-serif;
}

body, html {
    background: #171717;

    height: 100vh;

    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.container-02 {
    margin: 0 auto;
    padding: 0 40px;

    max-width: 1440px;
    width: 100%;
}

@media (min-width: 1727px) {
    .container-02 {
        margin: 0 auto;
        padding: 0 40px;
    
        max-width: 1728px;
        width: 100%;
    }
}

@media (max-width: 1200px) {
    .container-02 {
        margin: 0 auto;
        padding: 0 8px;
    
        max-width: 1440px;
        width: 100%;
    }
}

/* HEADER */

.header {
    padding: 20px 0;
}

.header-content {
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.header-content a {
    display: flex;
    align-items: center;
}

.logo {
    width: 109px;
    height: auto;
}

.menu {
    display: flex;
}

.menu li {
    position: relative;
    list-style-type: none;
}

.menu li::after {
    content: '';

    position: absolute;
    bottom: 0;
    left: 0;

    width: 0;
    height: 1px; 

    background-color: #2A9BFF; 
    transition: width 0.3s ease; 
}

.menu li:hover::after {
    width: 100%; 
}

.menu li:hover {
    color: #2A9BFF;
}

.menu a {
    font-size: 16px;
    text-decoration: none;
}

/* Основной отступ для всех элементов меню, кроме первого */
.menu a:not(:first-child) {
    margin-left: 30px;
}

/* Исключение для первого элемента, чтобы он также имел отступ */
.menu a:first-child {
    margin-left: 5px;
}

/* Уменьшение отступов на маленьких экранах */
@media (max-width: 1100px) {
    .menu a {
        margin-left: 20px;
    }
}
@media (max-width: 680px) {
    .menu a {
        margin-left: 15px;
    }
}
@media (max-width: 400px) {
    .menu a {
        margin-left: 10px;
    }
}


@media (min-width: 1727px) {
    .menu a {
        font-size: 20px;
        text-decoration: none;
    }

    .logo {
        width: 150px;
    }
}

@media (max-width: 1200px) {
    .logo {
        width: 100px;
        height: auto;
    }
}

/*  */

/* MAIN */

.main__content {
    margin: 60px 0;

    display: flex;
    justify-content: space-between;
}

h1 {
    margin-right: 30px;

    font-size: 72px;
    line-height: 105%;
    letter-spacing: -0.04em;
    background: linear-gradient(0deg, #fff 0%, #999 100%);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.texts {
    max-width: 927px;
    width: 100%;

    display: flex;
    justify-content: space-between;
}

.text-1 {
    margin-top: 17px;

    max-width: 419px;
    width: 100%;
}

.text-2 {
    margin-top: 17px;

    max-width: 408px;
    width: 100%;
}

.after-img {
    width: 100%;
    height: 380px;

    border-radius: 20px;
    object-fit: cover;
}

@media (min-width: 1727px) {
    .main__content {
        margin: 20px 0 40px 0;
    }

    .texts {
        max-width: 1200px;
        width: 100%;
    
        display: flex;
        justify-content: space-between;
    }

    .text-1 {
        margin-top: 17px;
    
        max-width: 580px;
        width: 100%;

        font-size: 20px;
    }
    
    .text-2 {
        margin-top: 17px;
    
        max-width: 580px;
        width: 100%;

        font-size: 20px;
    }

    .after-img {
        width: 100%;
        height: 450px;
    
        border-radius: 20px;
        object-fit: cover;
    }
}

@media (min-width: 320px) and (max-width: 1045px) {
    .main__content {
        margin: 30px 0;
    
        display: flex;
        flex-direction: column;
        justify-content: space-between;
    }
    
    h1 {
        font-size: 43px;
        line-height: 105%;
        letter-spacing: -0.04em;
        background: linear-gradient(0deg, #fff 0%, #999 100%);
        background-clip: text;
        -webkit-background-clip: text;
        -webkit-text-fill-color: transparent;
    }

    .texts {
    max-width: 927px;
    width: 100%;

    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    }
    
    .text-1 {
        margin-top: 17px;
    
        max-width: none;
        width: 100%;
    }
    
    .text-2 {
        margin-top: 17px;
    
        max-width: none;
        width: 100%;
    }
}

/*  */

/* FOOTER */

.footer {
    padding: 30px 0 50px 0;
}

.footer-content {
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.footer-content__left {
    display: flex;
    align-items: center;
}

.footer-content__left a:not(:first-child){
    margin-left: 15px;
}

.footer-content__center p {
    font-size: 12px;
    letter-spacing: 0.02em;
    text-align: center;
    color: #fff;
    opacity: 0.3;
}

.footer-content__right {
    width: 410px;

    display: flex;
    align-items: center;
    justify-content: space-between;
}

.social-item {
    display: -webkit-inline-box;
    align-items: center;

    cursor: pointer;
}

.social-item p {
    margin-left: 12px;
}

.footer-content__right a {
    text-decoration: none;
}

.social {
    max-width: 20px;
    width: 100%;

    display: flex;
    align-items: center;
}

.refresh {
    margin-left: 40px;

    display: flex;
    align-items: center;

    background: none;
    border: none;

    color: #2a9bff;
    font-size: 16px;
    font-weight: 600;

    cursor: pointer;
}

.refresh img {
    margin-right: 8px;
}

@media (min-width: 1727px) {
    .footer-content__center p {
        font-size: 20px;
        letter-spacing: 0.02em;
        text-align: center;
        color: #fff;
        opacity: 0.3;
    }

    .refresh {
        margin-left: 20px;
    
        display: flex;
        align-items: center;
    
        background: none;
        border: none;
    
        color: #2a9bff;
        font-size: 20px;
        font-weight: 600;
    
        cursor: pointer;
    }

    .footer-content__left p {
        font-size: 20px;
    }

    .social-item p {
        font-size: 20px;
    }
}

@media (min-width: 423px) and (max-width: 1200px) {

    .footer {
        padding: 30px 0 50px 0;
    }

    .footer-content {
        width: 100%;
        display: flex;
        flex-direction: column;
        justify-content: flex-start;
        align-items: center;
    }

    .footer-content__left {
        order: 0;
        width: auto;

        display: flex;
        justify-content: flex-start;
        align-items: center;
    }

    .footer-content__left p {
        font-size: 14px;
    }

    .footer-content__left a:not(:first-child){
        margin-left: 15px;
    }

    .footer-content__center {
        order: 2;
    }

    .footer-content__center p {
        margin-top: 20px;

        font-size: 12px;
        letter-spacing: 0.02em;
        text-align: center;
        color: #fff;
        opacity: 0.3;
    }

    .footer-content__right {
        order: 1;
        width: 410px;

        display: flex;
        align-items: center;
        justify-content: space-between;
    }

    .social-item {
        display: -webkit-inline-box;

        cursor: pointer;
    }

    .social-item p {
        margin-left: 12px;
    }

    .footer-content__right {
        margin-top: 24px;
    }

    .footer-content__right a {
        text-decoration: none;
    }

    .social {
        max-width: 20px;
        width: 100%;
    }

    .refresh {
        margin-left: 40px;

        display: flex;
        align-items: center;

        background: none;
        border: none;

        color: #2a9bff;
        font-size: 14px;
        font-weight: 600;

        cursor: pointer;
    }

    .refresh img {
        margin-right: 8px;
    }
}

@media (min-width: 320px) and (max-width: 423px) {
    .footer {
        padding: 30px 0 50px 0;
    }

    .footer-content {
        width: 100%;
        display: flex;
        flex-direction: column;
        justify-content: flex-start;
        align-items: center;
    }

    .footer-content__left {
        order: 0;
        width: 100%;

        display: flex;
        justify-content: space-between;
        align-items: center;
    }

    .footer-content__left p {
        font-size: 14px;
    }
    
    .footer-content__left a:not(:first-child){
        margin-left: 15px;
    }

    .footer-content__center {
        order: 2;
    }

    .footer-content__center p {
        margin-top: 20px;

        font-size: 12px;
        letter-spacing: 0.02em;
        text-align: center;
        color: #fff;
        opacity: 0.3;
    }

    .footer-content__right {
        order: 1;
        width: 100%;

        display: flex;
        align-items: center;
        justify-content: space-between;
    }

    .social-item {
        display: -webkit-inline-box;

        cursor: pointer;
    }

    .social-item p {
        margin-left: 12px;

        font-size: 14px;
    }

    .footer-content__right {
        margin-top: 24px;
    }

    .footer-content__right a {
        text-decoration: none;
    }

    .social {
        max-width: 20px;
        width: 100%;
    }

    .refresh {
        margin-left: 20px;

        display: flex;
        align-items: center;

        background: none;
        border: none;

        color: #2a9bff;
        font-size: 14px;
        font-weight: 600;

        cursor: pointer;
    }

    .refresh img {
        margin-right: 8px;
    }
}

@media (min-width: 320px) and (max-width: 361px) {

    .footer-content__left p {
        font-size: 12px;
    }

    .refresh {
        margin-left: 20px;

        display: flex;
        align-items: center;

        background: none;
        border: none;

        color: #2a9bff;
        font-size: 12px;
        font-weight: 600;

        cursor: pointer;
    }

    .social-item p {
        margin-left: 5px;
        font-size: 14px;
    }
}

/*  */