:root {
    --moon-bg: #ffffff;
    --moon-color: #16163A;
    --moon-hover: #6C4AE6;
    --moon-elemHover: #ffffff;
    --sun-bg: #16163A;
    --sun-hover: #595959;
    --bg-color: #ffffff;
    --menu-bg: #fffffff8;
    --text-color: #16163A;
    --button-bg: #16163A;
    --button-text: #ffffff;
    --button-hover: #2c2c77;
    --link-hover: scale(1.15);
    --bg-image: url('../img/back-horizontal-gradient.png');
}

.dark-theme {
    --moon-bg: #6C4AE6;
    --moon-color: #ffffff;
    --moon-hover: #ffffff;
    --moon-elemHover: #16163A;
    --sun-bg: #595959;
    --sun-hover: #16163A;
    --bg-color: #121212;
    --menu-bg: #000000da;
    --text-color: #ffffff;
    --button-bg: #6C4AE6;
    --button-text: #ffffff;
    --button-hover: #3a3a77;
    --bg-image: url('../img/back-dark-horizontal-gradient.jpg');
    /* замените на свою тёмную картинку */
}


/* Обнуляющий стиль */

*,
*::before,
*::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html,
body {
    height: 100%;
}

body {
    font-family: "Inter", sans-serif;
    font-optical-sizing: auto;
    font-weight: 400;
    font-style: normal;
    background-color: #fff;
    /* Можно поменять на нужный тебе цвет */
}

a {
    text-decoration: none;
    color: inherit;
    transition: all 0.3s ease;
}

a:hover {
    transform: scale(1.15);
}

ul,
ol {
    list-style: none;
}

table {
    border-collapse: collapse;
    border-spacing: 0;
}

img {
    max-width: 100%;
    height: auto;
    transition: 0.3s ease;
}

img:hover {
    transform: scale(1.05);
}

button,
input,
textarea {
    font-family: inherit;
    font-size: inherit;
    border: none;
    outline: none;
    background: none;
}

input[type="checkbox"],
input[type="radio"] {
    cursor: pointer;
}


/* Можно добавить свои собственные стили ниже */

body {
    font-family: "Inter", sans-serif;
    background-image: var(--bg-image);
    background-size: cover;
    max-height: 100%;
    overflow: auto;
    min-width: 350px;
    color: var(--text-color);
}

header {
    display: flex;
    align-items: end;
    justify-content: end;
    padding: 30px;
}

.logoText {
    font-size: 26px;
    font-weight: 700;
    gap: 5px;
    color: var(--text-color);
    margin-right: 120px;
}

.headerLogo {
    align-items: end;
}

.headerLogo img {
    width: 200px;
}

.article {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.container {
    padding: 0 10px;
    display: flex;
    border-top: 1px solid black;
    flex-direction: column;
    align-items: center;
    max-width: 1800px;
    width: 90%;
}

.downloadContainer {
    background-color: rgb(227, 239, 255);
    padding: 50px 150px;
    margin-top: 50px;
    border-radius: 30px;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.firstDownSection {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.downloadButton {
    background-color: #4fad76;
    border-radius: 20px;
    cursor: pointer;
    color: white;
    font-size: 40px;
    padding: 50px 150px;
}

.intoDownButton {
    max-width: 45%;
    text-align: center;
    margin: 20px 0;
    color: #949494;
    font-weight: 500;
}

.twoDownSection {
    display: flex;
    justify-content: space-between;
    gap: 50px;
    margin-top: 30px;
}

.firstBlock p,
.twoBlock p {
    font-size: 20px;
}

.firstBlock,
.twoBlock {
    gap: 20px;
    display: flex;
    flex-direction: column;
}

.steps-container {
    display: flex;
    align-items: start;
    gap: 30px;
    margin-top: 100px;
}

.step {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.circle {
    width: 60px;
    height: 60px;
    background-color: #ffffff;
    color: rgb(57, 119, 255);
    border: 3px solid rgb(57, 119, 255);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    font-weight: bold;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
    transition: box-shadow 0.3s ease;
}

.circle:nth-child(1) {
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}

.circle:nth-child(2) {
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.3);
}

.circle:nth-child(3) {
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}

.label {
    margin-top: 8px;
    font-size: 18px;
    color: #333;
}

.label p {
    max-width: 250px;
    text-align: center;
}

.arrow {
    font-size: 24px;
    color: #aaa;
}

.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.4);
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 1000;
}

.modal {
    background: white;
    border-radius: 8px;
    overflow: hidden;
    max-width: 500px;
    width: 90%;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
    position: relative;
    z-index: 1001;
}

.modal-header {
    background: #4a90e2;
    color: white;
    padding: 15px;
    font-size: 18px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.close-button {
    background: none;
    border: none;
    color: white;
    font-size: 20px;
    cursor: pointer;
}

.modal-body {
    padding: 20px;
    display: flex;
    gap: 15px;
    justify-content: center;
    align-items: center;
}

.modal-body img {
    max-height: 150px;
    max-width: 300px;
    object-fit: contain;
}

@media (max-width: 1200px) {}

@media (max-width: 1080px) {
    .downloadContainer {
        width: 90%;
    }
    .downloadButton {
        font-size: 30px;
        padding: 30px 100px;
        max-width: 100%;
    }
    .intoDownButton {
        max-width: 80%;
    }
}

@media (max-width: 768px) {
    body {
        max-height: auto;
    }
    .logoText {
        margin-right: 0;
    }
    .twoDownSection {
        flex-direction: column;
        width: 100%;
        gap: 20px;
    }
    .intoDownButton {
        max-width: 100%;
    }
    .downloadContainer {
        width: 90%;
        padding: 20px;
    }
    .downloadButton {
        font-size: 24px;
        padding: 20px 50px;
        max-width: 100%;
    }
    .steps-container {
        gap: 10px;
        margin-bottom: 50px;
    }
    header {
        padding: 20px 30px;
    }
    .headerLogo img {
        width: 100px !important;
    }
    .modal-body {
        flex-direction: column;
        align-items: center;
    }
}