:root {
    --font: #282828;
    --white: #FAF9F6;
  }

#request{
    margin-bottom: 2%;
}
#request h1{
    text-align: center;
}

.container-req {
    display: flex;
    justify-content: center;
    width: 90%;
    margin: 0 auto;
}

.req-q{
    text-align: center;
    color: #000000;
    width: 60%;
    margin: 0 auto;
}


@media(max-width:1130px){
    .req-img {
        margin-left: -60% !important;
        margin-bottom: -70px !important;
        width: 140px !important;
    }
    
}


.req-img {
    margin-left: -400px;
    margin-bottom: -70px;
    max-width: 180px;
    width: 10%;
}




.req-c p{
    margin-bottom: 3%;
}

.req-c{
    width: 40%;
    padding-top: 30px;
    padding-bottom: 30px;
    align-content: center;
    height: 360px;
    max-width: 700px;
    margin: 0 auto;
    border-radius: 16px;
    box-shadow: 0 0 40px 0.1px #cccccc;
    background-color: var(--white);
}


@media(max-width:1130px){
    .req-q{
        width: 86% !important;
    }
    
    .req-c{
        width: 89% !important;
    }
    .container-req{
        width: 100%;
        margin: 0 auto;
        justify-content: center;
        display: block;
    }

    .request{
        width: 80% !important;
    }
}



.request {
    margin: 0 auto;
    width: 60%;
    text-align: center;
}


.req-q h2{
    margin-bottom: -50px;
}

.request p {
    text-align: left;
    margin-top: 0;
    margin-bottom: 2%;
}

.error{
    margin-top: 1vh;
    color: #000000;
    font-family:'Roboto Condensed', sans-serif;
    font-weight: 200;
}


input[type="text"] {
    border: none;
    background-color: #00000000;
    border-bottom: 2px solid #630202;
    margin-bottom: 20px;
    padding: 5px 0;
    outline: none;
    width: 100%; /* Растягиваем инпуты на всю ширину */
    box-sizing: border-box; /* Учитываем внутренние отступы в ширине */
}



button[type="submit"] {
    font-size: 15px;
    padding: 10px 20px;
    border: none;
    border-radius: 4px;
    background-color: #bc3c3c; 
    color: #fff; 
    cursor: pointer;
    font-family:'Roboto Condensed', sans-serif;
    font-weight: 400;
    margin-top: 10px;
}

button[type="submit"]:hover {
    background-color: #c25050; 
}


/* Стилизация капчи (галочки) */
#captchaCheckbox {
    display: none; /* Скрываем сам чекбокс */
}

/* Создаем кастомную стилизацию для капчи */
#captchaCheckbox + label {
    position: relative;
    padding-left: 35px; /* Расстояние между текстом и капчей */
    cursor: pointer;
    font-family: 'Roboto Condensed', sans-serif; /* Используем указанный шрифт */
    font-weight: 400; /* Нормальное начертание шрифта */
    
}

/* Стили для галочки */
#captchaCheckbox + label:before {
    content: '';
    position: absolute;
    left: 0;
    top: -1px;
    width: 20px;
    height: 20px;
    border: 1.5px solid #960000;
    background-color: #fff; /* Белый фон */
    border-radius: 1px;
}

/* Стили для галочки при нажатии на нее */
#captchaCheckbox:checked + label:before {
    background-color: #a63b3b;
    /* Черный цвет галочки при активации */
}

/* Стили для галочки в форме галочки */
#captchaCheckbox:checked + label:after {
    content: '';
    position: absolute;
    left: 6.5px;
    width: 8px;
    height: 15px;
    border-style: solid;
    border-width: 0 2px 2px 0;
    transform: rotate(45deg); /* Поворачиваем галочку */
    border-color: #fff; /* Цвет галочки */
}
