/* Global Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Inter', sans-serif;
}

body {
    background-color: #f4f4f9;
    color: #333;
    line-height: 1.6;
}

header {
    background-color: #333;
    color: #fff;
    padding: 20px 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo img {
    width: 150px;
}

nav ul {
    list-style: none;
    display: flex;
    gap: 15px;
}

nav ul li a {
    color: #fff;
    text-decoration: none;
}

.hero {
    background: url('background.jpg') no-repeat center center/cover;
    color: #fff;
    padding: 50px 20px;
    text-align: center;
}

.content {
    display: flex;
    justify-content: space-between;
    padding: 20px;
    max-width: 1200px;
    margin: auto;
}

.left-column {
    flex: 3;
}

.left-column h2 {
    color: #333;
    margin-bottom: 10px;
}

.left-column p {
    margin-bottom: 20px;
    color: #555;
}

.right-column {
    flex: 1;
    margin-left: 20px;
}

.widget {
    background-color: #fff;
    padding: 20px;
    border-radius: 5px;
    margin-bottom: 20px;
    box-shadow: 0 0 10px rgba(0,0,0,0.1);
}

.middle {
    text-align: center;
}


footer {
    background-color: #E0E0E0ff;
    color: #000000;
    text-align: center;
    padding: 10px;
    margin-top: 20px;
}

/* Responsive Styles */
@media (max-width: 768px) {
    .content {
        flex-direction: column;
    }

    .right-column {
        margin-left: 0;
    }
}

#agreeWrapper {
    display: flex;
    align-items: center;
    gap: 0.4rem; /* расстояние между галочкой и текстом */
}

#agreeWrapper.error label {
    color: red;
}

#agreeWrapper.error input[type="checkbox"] {
    outline: 2px solid red;
    outline-offset: 2px;
}
