@font-face {
    font-family: 'Ping LCG Heavy';
    src: url('fonts/Ping LCG Heavy.otf') format('opentype');
    font-weight: normal;
    font-style: normal;
}

@font-face {
    font-family: 'Ping LCG Bold';
    src: url('fonts/Ping LCG Bold.otf') format('opentype');
    font-weight: normal;
    font-style: normal;
}

@font-face {
    font-family: 'Ping LCG Regular';
    src: url('fonts/Ping LCG Regular.otf') format('opentype');
    font-weight: normal;
    font-style: normal;
}
  
@font-face {
    font-family: 'Ping LCG Light';
    src: url('fonts/Ping LCG Light.otf') format('opentype');
    font-weight: normal;
    font-style: normal;
}
   
@font-face {
    font-family: 'Futural';
    src: url('fonts/afuturarounddemi.ttf') format('opentype');
    font-weight: normal;
    font-style: normal;
}

body {
    background: linear-gradient(to bottom, rgba(254, 245, 240, 1), rgba(250, 239, 233, 1), rgba(252, 249, 230, 1));
    min-height:100vh;
    padding: 40px 0;
    margin:0;
}

h1 {
    font-family: 'Futural', sans-serif;
    font-size: 40px;
    font-weight: normal;
    color: rgba(250, 161, 0, 1);
    margin-bottom: 10px;
    margin-top: 0;
}

h2 {
    font-family: 'Futural', sans-serif;
    font-size: 30px;
    font-weight: normal;
    color: #3C4043;
    margin-top: 40px;
    text-align: center;
    width: 850px;
}

.text-accent {
    color: #FAA100;
}

section {
    padding: 40px 14%;
    background: white;
}

.breadcrumps{
    display: flex;
    color: #70787D;
    font-family: 'Ping LCG Light', sans-serif;
    font-size: 14px;
    text-decoration:none;
    margin-right: 5px;
}

.main-container {
    display: flex;
    flex-direction: column;
    align-items: center;
}

form {
    width: 60%;
    display: flex;
    flex-direction: column;
}

.question {
    position: relative;
    margin: 40px 0;
    
}

.bg-accent{
    background: #FAA100;
    padding: 4px 8px;
    border-radius: 4px;
    transform: skewX(-12deg);
    width: 100%
}

.question > label, .p-label {
    font-family: 'Futural', sans-serif;
    font-size: 22px;
    text-align: center;
    width: 100%;
    margin: 0;
}

.p-label {
    color: #FAA100;
}

.question > label {
    position: absolute;
    top: 5px;
    color: #3C4043;
    white-space: nowrap;  
}

.text-small {
    font-size: 14px;
    color: #70787D;
    font-family: 'Ping LCG Light', sans-serif;
    text-align: center;
    font-weight: bold;
    margin-top: 5px;
}

.text-red {
    color: red;
    text-align: end;
    margin-right: -10px;
    display: none;
}

.rating {
    display: flex;
    justify-content: space-between;
    margin-top: 30px;
    padding-bottom: 40px;
}

.number {
    display: flex;
    flex-direction: column;
    gap: 10px;
    align-items: center;
    position: relative;
}

.number > label {
    font-family: 'Ping LCG Light', sans-serif;
    font-size: 16px;
    font-weight: bold;
    color: #70787D;
    cursor: pointer;
    position: static;
}

.rating input[type="radio"] {
    display: none; 
}

.rating label {
    font-size: 18px;
    margin-bottom: 10px; 
    cursor: pointer;
}

/* Обводка круга */
.rating label::before {
    content: '';
    display: block;
    width: 25px;
    height: 25px;
    border-radius: 50%;
    border: 1px solid #70787D; 
    position: absolute;
    top: 100%; 
    left: 50%;
    transform: translateX(-50%);
}

/* Заливка круга */
.rating label::after {
    content: '';
    display: block;
    width: 17px; 
    height: 17px; 
    border-radius: 50%;
    background-color: transparent; 
    position: absolute;
    top: 115%; 
    left: 50%;
    transform: translateX(-50%);
    transition: background-color 0.3s ease;
}

/* Активный радиобаттон */
.rating input[type="radio"]:checked + label::after {
    background-color: #FAA100; /* Цвет активного внутреннего круга */
}

/* Обводка при выборе радиокнопки */
.rating input[type="radio"]:checked + label::before {
    border: 1px solid #FAA100; /* Цвет обводки при выборе */
}

textarea, .question input[type="text"] {
    width: 98%;
    margin-top: 10px;
    border-radius: 7px;
    border: 1px solid #C5C8CA;

    padding: 12px 14px;
    font-family: 'Ping LCG Regular', sans-serif;
    font-size: 14px;
    color: #70787D;
    outline: none;
}

textarea {
    height: 90px;
    resize: none;
}

.question input[type="text"] {
    width: 98%;
    margin-top: 10px;
    border-radius: 7px;
    border: 1px solid #C5C8CA;

    padding: 12px 14px;
    font-family: 'Ping LCG Light', sans-serif;
    font-size: 14px;
    color: #70787D;
    outline: none;
}

.pdn {
    font-family: 'Ping LCG Regular', sans-serif;
    color: #70787D;
    font-size: 14px;
    margin-right: 10px;
    border-radius: 3px;
}

#pdn {
    margin: 0;
    margin-right: 10px;
}

.pdn > a{
    color: #70787D;
}

.icon-row {
    display: flex;
    width: 100%;
    align-items: center;
}

.send {
    width: auto;
    align-self: center;
}

button {
    font-family: 'Ping LCG Bold', sans-serif;
    /* font-weight: bold; */
    color: white;
    font-size: 14px;
    background: #FAA100;
    border-radius: 35px;
    border-color: #FAA100;
    padding: 12px 2.5vw;
    margin-top: 10px;
    margin-bottom: 20px;
    border: none;  
    outline: none; 
    cursor: pointer;
    width: 100%;
}

.section_back {
    min-height: 80vh;
}

.back{
    display: flex;
    align-items: center;
    color: #3C4043;
    font-family: 'Ping LCG Regular', sans-serif;
    font-size: 16px;
    text-underline-offset: 4px;
    text-decoration-thickness: 1.1px;
}

.back img {
    margin-right: 10px;
    text-decoration: none; 
    transition: margin-left 0.3s ease; 
}


.back:hover img {
    margin-left: -10px; 
}

@media (max-width: 375px) {
    .text-small {
        font-size: 12px;
        letter-spacing: -0.7px;
    }
}


@media (max-width: 1024px) {
    body {
        padding: 20px 0;
    }

    section {
        padding: 20px 10px;
    }
    
    h1 {
        font-size: 24px;
        margin-bottom: 5px;
    }
    
    h2 {
        font-size: 18px;
        margin-bottom: 10px;
        width: 320px;
    }
    
    .breadcrumps{
        font-size: 12px;
        margin-right: 5px;
    }

    .text-small {
        font-size: 12px;
    }

    form {
        width: 100%;
    }
    
    .question {
        margin: 20px 0;
    }

    .rating label::before {
        width: 20px;
        height: 20px;
    }

    .rating label::after {
        width: 14px; 
        height: 14px; 
        top: 112%; 
    }
    
    .question > label, .p-label {
        font-size: 16px;
    }
    
    .rating {
        margin-top: 10px;
        width: 80%;
        margin: 0 auto;
    }

    .bg-accent{
        padding: 4px 0px;
    }
    
    .number > label {
        font-size: 14px;
    }

    textarea, .question input[type="text"] {
        width: 95%;
        border-radius: 5px;
        padding: 10px 10px;
        font-size: 12px;
    }

    textarea {
        height: 60px;
    }

    .pdn {
        font-size: 12px;
        margin-right: 5px;
    }

    button {
        font-size: 10px;
        padding: 10px 22px;
        margin-top: 15px;
        margin-bottom: 0px;
    }

    .text-red {
        margin-top: 0px;
        margin-right: 0px;
    }

    .back {
        font-size: 10px;
    }

    .icon-row {
        margin-top: 10px;
    }
}

@media (min-width: 520px) and (max-width: 1025px) {
    h2 {
        width: 100%;
        max-width: 500px;
    }
}

@media (min-width: 530px) and (max-width: 1025px) {
    textarea, .question input[type="text"] {
        width: 97%;
    }
}

@media (min-width: 728px) and (max-width: 1025px) {
    form {
        width: 80%;
    }
}


@media (min-width: 1025px) and (max-width: 1300px) {
    section {
        padding: 2.5vw 50px;
    }

    h1 {
        font-size: 24px;
        margin-bottom: 5px;
    }
    
    h2 {
        font-size: 25px;
        margin-bottom: 15px;
        width: 710px;
    }
    
    h3 {
        font-size: 20px;
        margin-top: 15px;
        margin-bottom: 15px;
    }
    
    .text-small {
        font-size: 12px;
    }

    .pdn {
        font-size: 12px;
        margin-right: 5px;
    }
}