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

html, body {
    width: 100%;
    height: 100%;
    font-family: sans-serif;
    /*overflow: hidden;*/
    background-color: #F9F9F9;
    overflow-x: hidden;
}

.layout {
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    width: 100vw;
    min-height: 100vh;
}

/* Header */
.header {
    position: absolute;
    left: 16px;
    top: 16px;
}

.logo {
    height: 40px;
}

.header-btn {
    display: none;
}

/* Left Sidebar */
.sidebar-left {
    position: absolute;
    left: 16px;
    top: 0;
    bottom: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

/* Right Sidebar */
.sidebar-right {
    position: absolute;
    right: 16px;
    top: 0;
    bottom: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 5px;
}

/* Center Content */
.main-content {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column; /* если нужно вертикальное расположение */
    text-align: center;
}

.main-content_picture {
    display: flex;
    justify-content: center;
    align-items: center;
}

.banner-img {
    width: 40%;
}

/* Footer */
.footer {
    position: absolute;
    z-index: 10;
    bottom: 16px;
    right: 16px;
    grid-area: footer;
    display: flex;
    justify-content: flex-end;
    align-items: center;
}

.action-btn {
    position: fixed;
    z-index: 1000;
    bottom: 16px;
    right: 16px;
    padding: 14px 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 4px;
    background-color: #1d9bf0;
    color: #fff;
    border-radius: 16px;
    text-decoration: none;
    font-family: 'Inter', sans-serif;
    font-weight: 600;
    font-size: 14px;
    line-height: 20px;
    font-style: normal;
    font-variation-settings: 'slnt' 0;
    letter-spacing: 0;
    border: none;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.action-btn:hover {
    background-color: #2681CC;
}

.action-btn:active {
    background-color: #1C6199;
}

/* Icon Buttons */
.icon-btn {
    background: none;
    border: none;
    font-size: 20px;
    cursor: pointer;
    transition: transform 0.2s;
}

.icon-btn:hover {
    transform: scale(1.1);
}

@media (max-width: 1440px) {
    .action-btn {
        padding: 8px 12px;
        font-size: 12px;
        border-radius: 10px;
        line-height: 18px;
    }
}

@media (max-width: 1000px) {
    .banner-img {
        width: 65%;
    }
}

@media (max-width: 680px) {
    .banner-img {
        width: 90%;
    }
}

@media (max-width: 490px) {
    .banner-img {
        width: 100%;
    }

    .header {
        left: auto;
        width: 100vw;
        padding: 0 16px;
        display: flex;
        justify-content: space-between;
    }

    .header-btn {
        display: block;
    }

    .sidebar-left {
        display: none;
    }

    .sidebar-right {
        display: none;
    }

    .main-content {
        padding: 60px 0 90px;
    }

    .action-btn {
        position: fixed;
        z-index: 1100;
        margin: 0 auto;
        width: 90vw;
    }
}