@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;
 }

.navigation {
    margin-top: 180px;
}

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;
    }



/*Main*/

.main-content{
    margin-top: 160px;
  margin-bottom: 90px;
}

.main-content h2{
    display: flex;
    justify-content: center;
    text-align: center;
    margin-bottom: 50px;
}


.main-content-text p{
    text-align: justify;
    color: #373C59;
    font-size: 17px;
    font-weight: 500;
    line-height: 28px; /* 169.697% */
    margin: 10px 0; /*расстояние между пунктами по высоте*/
}

  
  .main-content-text{
    display: flex;
    flex-direction: column;
    gap: 30px;
    margin-bottom: 30px;
  }

  .main-content-text ul{
    color: #373C59;
    font-size: 20px;
    font-weight: 600;
    line-height: 28px; /* 169.697% */
  }

  .main-content-text ul li{
    text-align: justify;
    color: #373C59;
    font-size: 17px;
    font-weight: 500;
    line-height: 28px; /* 169.697% */
    margin: 10px 0; /*расстояние между пунктами по высоте*/
  }

  .main-content-text li::before {
    content: "";
    background: #2a3896;
    border-radius: 1ch;
    padding-inline: 1ch;
    margin-inline-end: 10px;
    font-size: 9px;
  }

  .main-content-table{
      display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-template-rows: repeat(5, auto);
    gap: 30px; /* Расстояние между ячейками */

  }

  .main-card-style{
    margin-top: 30px;
    display: flex;
    flex-direction: column;
    padding: 35px 45px;
    border-radius: 7.5px;
    box-shadow: 15px 15px 38px 0px rgba(154, 157, 161, 0.90), -15px -15px 30px 0px rgba(255, 255, 255, 0.90), 15px -15px 30px 0px rgba(154, 157, 161, 0.20), -15px 15px 30px 0px rgba(154, 157, 161, 0.20), -1px -1px 2px 0px rgba(154, 157, 161, 0.50) inset, 1px 1px 2px 0px rgba(255, 255, 255, 0.30) inset;
}

.main-card-style ul{
    text-align: center;
    color: #373C59;
    font-size: 20px;
    font-weight: 600;
    line-height: 28px; /* 169.697% */
  }


.main-card-style ul li{
    text-align: start;
    color: #373C59;
    font-size: 17px;
    font-weight: 500;
    line-height: 28px; /* 169.697% */
    margin: 20px 0; /*расстояние между пунктами по высоте*/
}

.main-card-style li::before {
    content: "";
    background: #2a3896;
    border-radius: 1ch;
    padding-inline: 1ch;
    margin-inline-end: 10px;
    font-size: 9px;
  }


.main-content-row{
  display: flex;
  justify-content: space-between;
}

.main-row-img img{
  width: 418px;
}

.main-pasport{
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
}

.main-pasport img{
  height: auto;
  width: 50%;
}




  table {
    border-collapse: collapse;
    width: 100%;
    margin-bottom: 30px;
  }

th, td {
    padding: 5px;
    border: 1px solid black;
    font-family: "Golos Text";
    text-align: center;
    
  }

td #text{
  padding: 5px;
}

.table-tittle{
    background-color: #232E75;
    color: #F0F4F7;
    padding: 20px;
}

.table-left{
  padding: 20px;
}

tr {
    color: black;
}

/* Фон каждой второй строки (начиная со второй строки) */
tr:nth-child(even) {
    background: #dde8fc;
    color: black;
  }


  .calculation-list span {
    color: #373C59;
    font-size: 21px;
    font-weight: 400;
    line-height: 163%; /* 34.23px */
    margin-bottom: 40px;
}

.calculation-list {
    display: flex;
    flex-direction: column;
}

.calculation-list-row {
    display: flex;
    justify-content: space-between;
    margin-bottom: 60px;
}

    .calculation-list-row span {
        font-weight: 600;
        font-size: 17px;
        line-height: 163%; /* 34.23px */
        color: #5B5B5B;
    }

    .calculation-list-row p {
        font-weight: 400;
        font-size: 15px;
        line-height: 163%; /* 34.23px */
        color: #5B5B5B;
    }


.list-doc {
    display: flex;
    gap: 12px;
}

.doc-text span{
  font-weight: 600;
  font-size: 17px;
  line-height: 163%; /* 34.23px */
  color: #5B5B5B;
}

.doc-text p{
  font-weight: 400;
  font-size: 15px;
  line-height: 163%; /* 34.23px */
  color: #5B5B5B;
}

.list-xls {
    display: flex;
    gap: 12px;
}

.doc-img img {
    width: 65px;
}


.xls-img img {
    width: 65px;
}




.main-content-block p{
  text-align: justify;
  color: #373C59;
  font-size: 17px;
  font-weight: 500;
  line-height: 28px; /* 169.697% */
  margin: 10px 0; /*расстояние между пунктами по высоте*/
}






  .main-calculator{
    display: flex;
    gap: 128px;
    padding: 40px 70px 50px 70px;
    background-image: url(/img/Contacts.svg);
    background-repeat: no-repeat;
    background-size: cover;
    border-radius: 10px;
    margin-top: 40px;
  
  }
  
  .main-calculator-text{
    display: flex;
    gap: 20px;
    flex-direction: column;
    text-align: justify;
  }
  
  .main-calculator-text h5{
    font-size: 36px;
    font-style: normal;
    font-weight: 800;
    text-transform: uppercase;
    color: #F0F5FB;
  }
  
  .main-calculator-text p{
    color: #FFF;
    font-size: 19px;
    font-weight: 600;
    text-align: justify;
    line-height: normal;
  }
  
  .main-calculator-button {
    display: flex;
    align-items: end;
  }
  
  .main-calculator-button button{
    font-size: 18px;
      font-style: normal;
      font-weight: 700;
      line-height: 130%;
      color: #FFF;
      padding: 17px 41px;
      border-radius: 10px;
      background: #1453AC;
      transition: all 0.3s;
      filter: drop-shadow(1px 4px 10px rgba(0, 0, 0, 0.55));
  }
  
  .main-calculator-button button:hover{
    transition: all 0.3s;
    box-shadow: 8px 8px 20px 0px rgba(20, 82, 170, 0.90), -8px -8px 16px 0px rgba(20, 84, 174, 0.90), 8px -8px 16px 0px rgba(20, 82, 170, 0.20), -8px 8px 16px 0px rgba(20, 82, 170, 0.20), -1px -1px 2px 0px rgba(20, 82, 170, 0.50) inset, 1px 1px 2px 0px rgba(20, 84, 174, 0.30) inset;
  }




/*Анимация*/


/* Анимация для появления слева */
@keyframes slideFromLeft {
  0% {
    transform: translateX(-100%);
    opacity: 0;
  }
  100% {
    transform: translateX(0);
    opacity: 1;
  }
}

/* Анимация для появления справа */
@keyframes slideFromRight {
  0% {
    transform: translateX(100%);
    opacity: 0;
  }
  100% {
    transform: translateX(0);
    opacity: 1;
  }
}

/* Анимация для появления с изменением прозрачности */
@keyframes fadeIn {
  0% {
    opacity: 0;
  }
  100% {
    opacity: 1;
  }
}

.slide-left {
  animation: slideFromLeft 1s ease;
}

.slide-right {
  animation: slideFromRight 1s ease;
}

.fade-in {
  animation: fadeIn 1s ease;
}

.element-animation {
  /* Скроем элемент в начальном состоянии */
  opacity: 0;
  transform: translateY(10px);
}

.element-animation.element-show {
  opacity: 1;
  transition: all 0.5s;
  transform: translateY(0%);
}

.message-row-error.open {
  left: 0;
  right: initial; /* Сбрасываем значение right при открытии */
}

.message-row-error.close {
  left: initial; /* Сбрасываем значение left при закрытии */
  right: 0;
}

.message-row-ok.open {
  left: 0;
  right: initial; /* Сбрасываем значение right при открытии */
}

.message-row-ok.close {
  left: initial; /* Сбрасываем значение left при закрытии */
  right: 0;
}




/*--------------------*/

@media screen and (max-width: 1024px) {

  .container{
    max-width: 1024px;
    margin: 0px 15px 0px 15px;

  }

  .main-content {
    margin-top: 50px;
  }

  .navigation{
    margin-top: 180px;
  }


}

@media screen and (max-width: 768px) {


  .main-content-table {
    grid-template-columns: repeat(2, 1fr);
  }

  .main-calculator{
    gap: 50px;
    padding: 40px 38px 46px 31px;
  
  }
    .main-grid-row {
        overflow-x: scroll;
    }

    table {
        width: 80vw;
        overflow-x: scroll;
        overflow-y: auto;
        -webkit-overflow-scrolling: touch;
    } 

    .main-content-row{
      flex-direction: column;
      align-items: center;
    }
}



@media screen and (max-width: 425px) {
  h2{
    font-size: 20px;
    text-align: center;
  }

    .main-calculator-button{
      justify-content: center;
    }

    .main-calculator{
      flex-direction: column;
      gap: 37px;
    }

    .main-content-row{
      flex-direction: column;
      align-items: center;
    }

    .main-row-img img {
      width: auto;
  }

  .calculation-list-row{
    flex-direction: column;
  }
  

    .main-content-table {
      grid-template-columns: repeat(1, 1fr);
  }

  h3{
    font-size: 20px;
  }

  .main-calculator-text h5 {
    font-size: 22px;
  }

  .main-grid-row{
    overflow-x: scroll;
  }

  table {
    width: 80vw;
    overflow-x: scroll;
    overflow-y: auto; 
    -webkit-overflow-scrolling: touch;

} 


  }






