@import url('https://fonts.googleapis.com/css2?family=Golos+Text:wght@400;500;600;700;800;900&display=swap');
/*Обнуление*/
* {
    padding: 0;
    margin: 0;
    border: 0;
}

    *, *:before, *:after {
        -moz-box-sizing: border-box;
        -webkit-box-sizing: border-box;
        box-sizing: border-box;
    }

:focus, :active {
    outline: none;
}

a:focus, a:active {
    outline: none;
}

nav, footer, header, aside {
    display: block;
}

html, body {
    height: 100%;
    width: 100%;
    font-size: 100%;
    line-height: 1;
    font-size: 14px;
    -ms-text-size-adjust: 100%;
    -moz-text-size-adjust: 100%;
    -webkit-text-size-adjust: 100%;
}

input, button, textarea {
    font-family: inherit;
}

    input::-ms-clear {
        display: none;
    }

button {
    cursor: pointer;
}

    button::-moz-focus-inner {
        padding: 0;
        border: 0;
    }

a, a:visited {
    text-decoration: none;
}

    a:hover {
        text-decoration: none;
    }

ul li {
    list-style: none;
}

img {
    vertical-align: top;
}

h1, h2, h3, h4, h5, h6 {
    font-size: inherit;
    font-weight: 400;
}
/*--------------------*/

/* Main style */

html {
    height: 100%;
}

body {
    display: flex;
    flex-direction: column;
    height: 100%;
}

header {
    /* 0 flex-grow, 0 flex-shrink, auto flex-basis */
    flex: 0 0 auto;
}

.main-content {
    /* 1 flex-grow, 0 flex-shrink, auto flex-basis */
    flex: 1 0 auto;
}

footer {
    /* 0 flex-grow, 0 flex-shrink, auto flex-basis */
    flex: 0 0 auto;
}


html, body {
    font-family: "Golos Text";
    background: #F0F5FB;
}

.container {
    max-width: 1300px;
    margin: 0 auto;
  
}

h2 {
    color: #373C59;
    font-size: 36px;
    font-style: normal;
    font-weight: 800;
    line-height: normal;
    text-transform: uppercase;
}


/* лоадер отправки формы */

.loadercirclediv {
    width: 50px;
    height: 50px;
}

.loadercircle {
    animation: 2s linear infinite svg-animation;
}

@keyframes svg-animation {
    0% {
        transform: rotateZ(0deg);
    }

    100% {
        transform: rotateZ(360deg)
    }
}

.circlemail {
    animation: 1.4s ease-in-out infinite both circle-animation;
    display: none;
    fill: transparent;
    stroke: #006;
    stroke-linecap: round;
    stroke-dasharray: 283;
    stroke-dashoffset: 280;
    stroke-width: 10px;
    transform-origin: 50% 50%;
}

@keyframes circle-animation {
    0%, 25% {
        stroke-dashoffset: 280;
        transform: rotate(0);
    }

    50%, 75% {
        stroke-dashoffset: 75;
        transform: rotate(45deg);
    }

    100% {
        stroke-dashoffset: 280;
        transform: rotate(360deg);
    }
}

input[type=file]::file-selector-button {
    border: none;
    box-shadow: none;
    margin: 0;
    padding: 0;
}

input[type=file]::file-selector-button {
    color: #373C59;
    text-transform: uppercase;
    font-size: 18px;
    text-align: center;
    font-family: "Golos Text";
    font-weight: 700;
    line-height: 130%; /* 23.4px */
    background: #F0F5FB;
    box-shadow: 6px 6px 15px 0px rgba(144, 147, 151, 0.90), -6px -6px 12px 0px rgba(255, 255, 255, 0.90), 6px -6px 12px 0px rgba(144, 147, 151, 0.20), -6px 6px 12px 0px rgba(144, 147, 151, 0.20), -1px -1px 2px 0px rgba(144, 147, 151, 0.50) inset, 1px 1px 2px 0px rgba(255, 255, 255, 0.30) inset;
    padding: 14px 26px;
    border-radius: 10px;
    margin: 20px;
    cursor: pointer;
}

h3 {
    color: #373C59;
    font-family: "Golos Text";
    font-size: 36px;
    font-style: normal;
    font-weight: 800;
    line-height: normal;
}

/*--------------------*/

/* Navigation */

.navigation {
    display: flex;
    margin-top: 160px;
}

.navigation-row {
    display: flex;
}

.navigation-menu {
    display: inline-flex;
}

.navigation-ul {
    display: inline-flex;
    gap: 5px;
    color: #5B5B5B;
}

    .navigation-ul a:visited {
        color: #5B5B5B;
    }

    .navigation-ul a:hover {
        color: #5B5B5B;
    }

    .navigation-ul li:first-child a{
        font-weight: 600;
        color: #5B5B5B;
    }

/*--------------------*/


/*Main*/

.main-content {
    margin-bottom: 90px;
}

    .main-content h2 {
        text-align: center;
        margin-bottom: 90px;
    }

.main-contact {
    display: flex;
    background-image: url(/img/Contacts.svg);
    background-size: cover;
    height: 537px;
    border-radius: 12px;
    padding: 0px 60px;
    margin-bottom: 30px;
    text-align: center;
    flex-direction: column;
}

.main-contact-bottom {
    display: flex;
    background-image: url(/img/Contacts-two.svg);
    background-repeat: no-repeat;
    height: 470px;
    border-radius: 12px;
    padding: 0px 60px;
    text-align: center;
    flex-direction: column;
}

.main-contact-row{
    display: flex;
    justify-content: space-around;

}

    .main-contact h4 {
        color: #FFF;
        font-size: 36px;
        font-weight: 800;
        line-height: normal;
        text-transform: uppercase;
        padding-top: 30px;
        margin-bottom: 30px;
    }

    .main-contact-bottom h4 {
        color: #FFF;
        font-size: 36px;
        font-weight: 800;
        line-height: normal;
        text-transform: uppercase;
        padding-top: 50px;
        margin-bottom: 30px;
    }

.main-contact-img {
    display: flex;
    align-items:center;
    padding-right: 100px;
}

.contact-main-row p {
    color: #ffffff;
    font-family: 'Golos Text';
    font-size: 16.5px;
    font-style: normal;
    font-weight: 400;
    line-height: normal;
    padding-bottom: 50px;
}

.contact-main-block {
    display: flex;
    flex-direction: column;
    gap: 30px;
    padding: 0px 0px 0px 20px;
}

    .contact-main-block span {
        color: #ffffff;
        font-family: "Golos Text";
        font-size: 17px;
        font-style: normal;
        font-weight: 700;
        line-height: normal;
    }

.contact-main-telephone {
    display: flex;
}

.contact-main-telephone-img {
    display: flex;
    align-items: center;
}

.contact-main-telephone-text {
    display: flex;
    flex-direction: column;
    gap: 25px
}

.contact-main-block img {
    margin-right: 20px;
    width: 40px;
}

.contact-text{
    display: flex;
    flex-direction: column;
    text-align: start;
    gap: 5px;
}



.contact-main-adress {
    display: flex;
    align-items: center;
}

.contact-main-mail {
    display: flex;
    align-items: center;
}



.form {
    display: flex;
    justify-content: space-between;
    margin-top: 90px;
}

.form-row {
    display: flex;
    flex-direction: column;
    gap: 25px;
}

    .form-row input {
        width: 553px;
        height: 50px;
        color: #5B5B5B;
        font-size: 17px;
        font-style: normal;
        font-weight: 400;
        line-height: 130%;
        padding: 5px 16px;
        background: #F0F5FB;
        font-weight: 400;
        box-shadow: 13px 13px 33px 0px rgba(175, 179, 183, 0.90), -13px -13px 26px 0px rgba(255, 255, 255, 0.90), 13px -13px 26px 0px rgba(175, 179, 183, 0.20), -13px 13px 26px 0px rgba(175, 179, 183, 0.20), -1px -1px 2px 0px rgba(175, 179, 183, 0.50) inset, 1px 1px 2px 0px rgba(255, 255, 255, 0.30) inset;
    }

        .form-row input::placeholder {
            color: #5B5B5B;
            font-size: 16px;
            font-style: normal;
            font-weight: 400;
            line-height: 130%;
        }

    .form-row textarea {
        color: #5B5B5B;
        font-size: 18px;
        font-weight: 400;
        padding: 5px 16px;
        line-height: 130%; /* 23.4px */
        resize: none;
        height: 269px;
        background: #F0F5FB;
        box-shadow: 13px 13px 33px 0px rgba(175, 179, 183, 0.90), -13px -13px 26px 0px rgba(255, 255, 255, 0.90), 13px -13px 26px 0px rgba(175, 179, 183, 0.20), -13px 13px 26px 0px rgba(175, 179, 183, 0.20), -1px -1px 2px 0px rgba(175, 179, 183, 0.50) inset, 1px 1px 2px 0px rgba(255, 255, 255, 0.30) inset;
    }

        .form-row textarea::placeholder {
            color: #5B5B5B;
            font-family: "Golos Text";
            font-size: 16px;
            font-style: normal;
            font-weight: 400;
            line-height: 130%;
        }

.form-button-input {
    display: flex;
    flex-direction: column;
    gap: 25px;
    margin-top: 50px;
}

    .form-button-input button {
        position: relative;
        color: #373C59;
        font-size: 18px;
        font-style: normal;
        font-weight: 700;
        line-height: 130%; /* 23.4px */
        background: #F0F5FB;
        box-shadow: 6px 6px 15px 0px rgba(144, 147, 151, 0.90), -6px -6px 12px 0px rgba(255, 255, 255, 0.90), 6px -6px 12px 0px rgba(144, 147, 151, 0.20), -6px 6px 12px 0px rgba(144, 147, 151, 0.20), -1px -1px 2px 0px rgba(144, 147, 151, 0.50) inset, 1px 1px 2px 0px rgba(255, 255, 255, 0.30) inset;
        padding: 14px 36px;
        border-radius: 10px;
        transition: transform 0.3s, box-shadow 0.3s;
    }

    .form-button-input button:hover {
        transform: scale(1.05);
        box-shadow: 20px 20px 50px 0px rgba(168, 171, 173, 0.90), -20px -20px 40px 0px rgba(255, 255, 255, 0.90), 20px -20px 40px 0px rgba(168, 171, 173, 0.20), -20px 20px 40px 0px rgba(168, 171, 173, 0.20), -1px -1px 2px 0px rgba(168, 171, 173, 0.50) inset, 1px 1px 2px 0px rgba(255, 255, 255, 0.30) inset;
    
}
    

    .form-button-input span {
        color: #5B5B5B;
        text-align: center;
        font-size: 18px;
        font-style: normal;
        font-weight: 400;
        line-height: 130%; /* 23.4px */
    }

    .form-button-input a {
        color: #5B5B5B;
        text-decoration: underline;
        text-align: center;
        font-size: 18px;
        font-style: normal;
        font-weight: 400;
        line-height: 130%; /* 23.4px */
    }

    .form-button-input:visited {
        color: #5B5B5B;
        text-decoration: underline;
        text-align: center;
        font-size: 18px;
        font-style: normal;
        font-weight: 400;
        line-height: 130%; /* 23.4px */
    }









/*--------------------*/

@media screen and (max-width: 1024px) {
    .container{
        max-width: 1024px;
        margin: 0px 15px 0px 15px;
        

    }

    .form-button-input{
        align-items: center;
    }


    .main-form-row{
        flex-direction: column;
        gap: 30px;
    }

    .main-form-input input {
        width: 100%;
    }
    
    .main-form span{
        text-align: center;
    }

    .info-icon-style span {
        font-size: 12.5px;
    }

    .contact-main-row{
        flex-direction:  column;
        gap: 30px;
    }

    .contact-main-block h2{
        align-items: center;
    }

    .form{
        flex-direction: column;
    }

    .form-row input{
        width: 100%;
    }

    .main-contact{
        flex-direction: column;
        padding: 0px 20px;

    }

    .main-contact-bottom{
        flex-direction: column;
        padding: 0px 20px;

    }

    .main-contact-img {
        display: none;
    }




    iframe{
        margin-top: 30px;
        width: 100%;
        height: 300px;
    }


}

@media screen and (max-width: 425px) {
    iframe{
        margin-top: 30px;
        width: 100%;
    }

    #map {
        width: 230px;
        height: 220px;
        border: 1px solid black;
    }

    .form-button-input span {
        display: flex;
        flex-direction: column;
    }

    .info-content p {
        font-size: 18.5px;
        text-align: center;
    }

    .main-contact h4 {
        font-size: 15px;
        text-align: center;
    }

    .main-contact-bottom h4 {
        font-size: 15px;
        text-align: center;
    }

    

    .contact-main-block span {
        font-size: 11px;
    }    

    .main-contact-img {
        display: none;
    }

    .form{
        flex-direction: column;
        
    }
    .form-row input {
        width: 100%;
        box-shadow: 0px 21px 20px 6px rgba(0, 0, 0, 0.27);
    }

    .form-row textarea{
        box-shadow: 0px 21px 20px 6px rgba(0, 0, 0, 0.27);
    }
}