/* стили формы на главной */

.section-form {
    box-sizing: border-box;
    padding: 0 16px;
    max-width: 100%;
    width: 520px;
    display: flex;
    flex-direction: column;
    align-items: center;
    margin: 0 auto;
}

.section-form h2 {
    font-size: 24px;
    margin-bottom: 0;
}

.section-form__description {
    text-align: center;
    font-size: 18px;
    line-height: 114.9%;
}

.section-form form {
    max-width: 100%;
    width: 392px;
}

.section-form form input[type="text"],
.section-form form input[type="email"] {
    width: 100%;
    height: 52px;
    font-size: 18px !important;
    padding-left: 20px;
    background-color: #F2F2F2;
    border: none;
    box-sizing: border-box;
}

.section-form form input[type="text"]::placeholder,
.section-form form input[type="email"]::placeholder {
    font-size: 18px;
    color: #656973;
}

.inputs-block {
    margin: 0 5.5px;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.section-form button {
    width: 192px;
    height: 60px;
    background-color: #422223;
    color: #fff;
    border: none;
    font-size: 18px;
}

.section-form button:hover {
    background-color: #2D1011;
}

.section-form button:active {
    background-color: #422223;
}

.submit-components {
    display: flex;
    flex-direction: column;
    margin-top: 24px;
    gap: 16px;
}

.submit-components :first-child {
    margin: 0 auto;
}

.submit-components button {
    cursor: pointer;
}

.line-form-component {
    display: flex;
    gap: 8px;
    align-items: center;
}

.line-form-component label {
    font-size: 16px;
    white-space: pre-line;
    line-height: 114.9%;
}

.line-form-component label a {
    color: #AD83FF;
}

.line-form-component input[type="checkbox"] {
    margin: 0;
    height: 24px;
    width: 24px;
    appearance: none;
    position: relative;
    background-color: #F2F2F2;
    cursor: pointer;
}

.line-form-component input[type="checkbox"]:checked::after {
    content: "\2714";
    position: absolute;
    font-size: 24px;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -53%);
    overflow: hidden;
}

/* SEO + accessibility */

.visually-hidden {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

@media (max-width: 1200px) {
        
    .section-form h2 {
        font-size: 16px;
    }

    .section-form p {
        font-size: 14px;
    }

    .section-form form input[type="text"]::placeholder,
    .section-form form input[type="email"]::placeholder {
        font-size: 16px;
    }

    .section-form button {
        font-size: 16px;
    }

    .line-form-component label {
        font-size: 14px;
    }
    
}