section{
    display: flex;
    justify-content: center;
}

.section{
    margin-top: 60px;
}

.sectionFull{
    height: 100vh;
}


.mainSection{
    margin-top: 30px;
}

.sectionTitle h2, .sectionTitle h1{
    font-size: 32px;
    color: #D22D16;
}

.sectionTitleHr{
    width: 80px;
    height: 2px;
    background: #D22D16;
    margin-top: 10px;
    border-radius: 20px;
}

@media(min-width: 320px) and (max-width: 550px){
    .sectionTitle{
        display: flex;
        justify-content: center;
        text-align: center;
    }

    .sectionTitle h2, .sectionTitle h1{
        font-size: 36px;
        width: 100%;
    }

    .sectionTitleHr{
        width: 60px;
    }
}

@media(min-width: 320px) and (max-width: 1320px){
    .mainSection{
        margin-top: 80px;
    }
}

/* btn */

.btnContainerCenter{
    display: flex;
    justify-content: center;
    margin-top: 45px;
}

.btn{
    font-weight: 600;
    text-align: center;
    display: inline-block;
    padding: 14px 28px;
    font-size: 14px;
    border-radius: 50px;
    transition: .4s;
}

.btnMain{
    background: #D22D16;
    border: 1px solid #D22D16;
    color: #fff;
}

.btnMain:hover{
    background: none;
    color: #D22D16;
}

@media(min-width: 320px) and (max-width: 550px){
    .section{
        margin-top: 45px;
    }

    .sectionTitle{
        flex-wrap: wrap;
    }
        
    .sectionTitle h2{
        font-size: 24px;
        width: 100%;
    }
}


@media(min-width: 550px) and (max-width: 920px){
    section{
        margin-top: 45px;
    }

    .sectionTitle h2{
        font-size: 28px;
    }
}


.breadCrumbs{
    display: flex;
    flex-wrap: wrap;
    margin-top: 15px;
}

.breadCrumbs a, .breadCrumbs p{
    font-size: 14px;
}

.breadCrumbs a{
    color: #D22D16;
}

.breadCrumbs a::after{
    content: '/';
    margin: 0 5px;
}

.breadCrumbs p{
    color: #999;
}

/* page */

.pageText{
    width: calc(100% - 360px);
    color: #333 !important;
}

.pageText p{
    color: #333;
    font-weight: unset;
    margin-top: 10px;
}

.pageText a{
    color: #D22D16;
    font-weight: unset;
    font-size: 16px;
    margin-top: 10px;
}

.pageText h2 {
    margin-top: 10px !important;
    font-size: 26px !important; 
    margin-bottom: 10px !important; 
}

.pageText h3 {
    margin-top: 10px !important; 
    font-size: 20px !important; 
    margin-bottom: 10px !important;
}
.pageText p {
    font-size: 14px !important;
    margin-bottom: 10px !important;
}

.pageText ul, .pageText ol {
    padding-left: 20px !important;
    margin-top: 10px !important;
    margin-bottom: 10px !important;
}

.pageText ul {
    list-style: disc !important; 
}

.pageText ul, .pageText ul li {
    list-style: disc !important; 
    font-size: 14px;
    margin-top: 15px;
}

.pageText ol {
    list-style: decimal !important;
}

.pageText ol li {
    margin-bottom: 5px !important; 
}


.pageText h1{
    font-size: 32px;
} 

.pageImg{
    width: 320px;
}

.pageImg img{
    width: 100%;
    border-radius: 20px;
}

::-webkit-scrollbar { width: 4px; height: 4px;}
::-webkit-scrollbar-track {  background-color: #fff;}
::-webkit-scrollbar-track-piece { background-color: none;}
::-webkit-scrollbar-thumb { background: #D22D16; border-radius: 20px;}

.rectangleAbsolute{
    position: absolute;
    top: -500px;
    left: 0;

    background: #F9F9F9;
    width: 1000px;
    height: 1000px;
    border-radius: 100px;
    transform: rotate(40deg);
    z-index: -1;
}

@media(min-width: 320px) and (max-width: 550px){
    .rectangleAbsolute{
        top: -180px;
    
        width: 80%;
        height: 300px;
        border-radius: 30px; 
        transform: rotate(40deg);
    }
}


@media(min-width: 550px) and (max-width: 920px){
    .rectangleAbsolute{
        top: -300px;
    
        width: 80%;
        height: 500px;
        border-radius: 50px;
        transform: rotate(40deg);
    }
}

@media(min-width: 920px) and (max-width: 1320px){
    .rectangleAbsolute{
        position: absolute;
        top: -400px;
        left: 0;
    
        width: 700px;
        height: 700px;
        border-radius: 100px;
        transform: rotate(40deg);
    }
}




.textComponent {
    color: #666;
    line-height: 1.6;
}

.textComponent h1 {
    font-size: 2.5em;
    color: #D22D16;
    margin-bottom: 20px;
    font-weight: bold;
}

.textComponent h2 {
    font-size: 2em;
    color: #D22D16;
    margin-bottom: 15px;
    font-weight: bold;
}

.textComponent h3 {
    font-size: 1.75em;
    color: #D22D16;
    margin-bottom: 10px;
    font-weight: bold;
}

.textComponent p {
    font-size: 1em;
    margin-bottom: 15px;
}

.textComponent a {
    color: #D22D16;
    text-decoration: none;
}

.textComponent a:hover {
    text-decoration: underline;
}

.textComponent ul, .textComponent ol {
    margin-bottom: 15px;
    padding-left: 20px;
}

.textComponent ul li {
    list-style-type: disc;
    margin-bottom: 5px;
}

.textComponent ol li {
    list-style-type: decimal;
    margin-bottom: 5px;
}

.textComponent strong {
    font-weight: bold;
}

.textComponent em {
    font-style: italic;
}

.textComponent blockquote {
    border-left: 4px solid #007BFF;
    padding-left: 15px; 
    color: #666;
    margin-bottom: 15px;
    font-style: italic;
}


.pageErrorContainer{
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100%;
}

.pageError{
    text-align: center;
}

.pageError h1{
    color: #D22D16;
    font-size: 82px;
}

.pageError p{
    font-size: 20px;
    margin-top: 10px;
    color: #575757;
    font-weight: 500;
}

.pageError .btn{
    margin-top: 20px;
}








/* modals */

.modal {
    display: none;
    position: fixed;
    z-index: 9999999;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.4);
    animation: fadeIn 0.3s ease;
}

.modalContent {
    display: flex;
    justify-content: space-between;
    background-color: #fefefe;
    margin: 15% auto;
    width: 80%;
    max-width: 760px;
    border-radius: 10px;
    overflow: hidden;
    animation: slideIn 0.3s ease;
}

.modalFormContent{
    width: 60%;
    padding: 20px;

}

.modalContentHeader h2{
    font-size: 20px;
}

.modalContentHeader p{
    font-size: 14px;
    color: #666;
    margin-top: 6px;
}

.modalForm label{
    display: inline-block;
    margin-top: 15px;
    width: 100%;
}

.modalForm label p{
    font-size: 12px;
    color: #999;
}

.modalForm input{
    padding: 14px;
    width: calc(100% - 28px);
    border: 1px solid #ddd;
    font-size: 14px;
    margin-top: 6px;
    border-radius: 5px;
}

.modalForm input:focus{
    border: 1px solid #F66717;
    color: #F66717;
}

.modalSubmitContainer{
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 25px;
}

.modalSubmitContainer p{
    color: #666;
    font-size: 14px;
    margin-left: 15px;
}

.modalSubmitContainer p a{
    text-decoration: underline;
}

.modalSubmitContainer p a:hover{
    text-decoration: none;
}

.modalImage{
    width: 40%;
    position: relative;
}

.modalImageMask{
    position: absolute;
    width: 100%;
    height: 100%;
    background: #00000088;
}

.modalImage img{
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.close {
    color: #fff;
    font-size: 28px;
    font-weight: unset;
    transition: .4s;
    position: absolute;
    right: 20px;
    top: 20px;
    z-index: 1;
}

.close:hover{
    transform: rotate(135deg);
}

.close:hover,
.close:focus {
    text-decoration: none;
    cursor: pointer;
}



/* messageContainer */

/* Стиль для модального окна с статусом */
#statusModal {
    display: none;
    position: fixed;
    z-index: 9999999;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5); /* Фон */
    justify-content: center;
    align-items: center;
    animation: fadeIn 0.3s ease;
}

.statusModalContent {
    background-color: white;
    padding: 40px 20px;
    text-align: center;
    border-radius: 8px;
    width: 460px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.statusModalIcon {
    display: flex;
    justify-content: center;
    font-size: 40px;
    margin-bottom: 20px;
}

.statusIcon {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background-color: #28a745; /* Зеленый для успеха */
    color: white;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 26px;
    text-align: center;
}

.statusIcon.error {
    background-color: #dc3545; /* Красный для ошибки */
}

.statusIcon img{
    width: 40%;
}

.statusModalContent p {
    font-size: 20px;
    font-weight: bold;
    color: #333;
    margin-bottom: 20px;
}

/* Анимации */
@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

@media(min-width: 320px) and (max-width: 550px){
    .statusModalContent{
        width: calc(90% - 20px);
        padding: 40px 10px;
    }
}


