:root {
  --primary-color: #f63;
}

@media only screen and (min-width: 545px) {
  #content {
    margin: 64px auto 20px auto;
    padding-top: 95px;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
  }
  .content__section {
    width: 90%;
    margin-left: 32px;
    margin-bottom: 70px;
    display: flex;
    justify-content: center;
    align-items: center;
    font-family: custom_34017;
    font-style: normal;
  }
  .paragraph-1 {
    padding: 13px 0 3px 0px;
    font-family: custom_34017;
    color: rgba(34, 34, 34, 1);
    font-style: normal;
    font-weight: 600;
    font-size: 64px;
    line-height: 64px;
  }
  .paragraph-2 {
    color: rgba(34, 34, 34, 1);
    font-family: custom_34017;
    font-style: normal;
    font-weight: 600;
    font-size: 48px;
    line-height: 48px;
    text-align: left;
  }
  .widget-shape {
    position: relative;
    left: -57px;
    top: 360px;
    width: 144px; 
    height: 144px; 
    z-index: -1; 
    transform: rotate(45deg); 
    background-color: rgb(230, 251, 249); 
    border-color: rgb(255, 255, 255); 
    border-radius: 40px; 
    border-style: solid; 
    border-width: 0px; 
    box-sizing: border-box;
  }
  #insurance {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    margin-top: -140px;
  }
  .insurance-description {
    font-family: custom_34017;
    font-weight: 100;
    font-size: 24px;
    line-height: 32px;
    font-style: normal;
    color: rgba(77, 77, 77, 1);
    text-align: left;
    width: 700px;
    padding-top: 8px;
    padding-bottom: 8px;
  }
  .upload-img{
    position: absolute;
    margin: 149px auto 0 360px;
    z-index: -1;
    width: 764px;
    height: 458px;
  }
  .upload-img > img {
    width: 100%;
  }

  .right__img {
    position: absolute;
    width: 142px;
    margin: -160px auto 0 140px;
  }
  .right__h2 {
    margin-top: 156px;
  }
  .benefits {
    color: rgba(34, 34, 34, 1);
    font-family: custom_34017;
    font-size: 32px;
    font-style: normal;
    font-weight: 600;
    line-height: 36px;
    text-align: left;
    padding-top: 4px;
    padding-bottom: 9px;
    margin-top: 48px;
  }
  .benefits-list {
    margin-top: 20px;
    display: grid; 
    grid-template-columns: 235px 235px;
    grid-template-rows: 100px 100px;
    gap: 0px;
    height: 200px;
    width: 470px;
  }
  .block {
    width: 210px;
    font-family: custom_34017;
    font-weight: 400;
    font-size: 18px;
  }
  #block-1 { 
    grid-row-start: 1;
    grid-column-start: 1;
    grid-row-end: 2;
    grid-column-end: 2;
    
  }
  #block-2 {
    grid-row-start: 1;
    grid-column-start: 2;
    grid-row-end: 2;
    grid-column-end: 3;
    
  }
  #block-3 {
    grid-row-start: 2;
    grid-column-start: 1;
    grid-row-end: 3;
    grid-column-end: 2;
  }
  #block-4 {
    grid-row-start: 2;
    grid-column-start: 2;
    grid-row-end: 3;
    grid-column-end: 3;
  }
  
  #about__insurance {
    flex-direction: column;
    align-items: flex-start;
    margin-top: 100px;
  }
  .info {
    position: absolute;
    cursor: pointer;
    z-index: 8;
  }
  .info > div:first-child, .info > div > img {
    width: 20px;
    height: 20px;
  }
  #info-1 {
    margin: -15px auto 0 604px;
  }
  #info-2 {
    margin: -15px auto 0 275px;
  }
  #info-3 {
    margin: -15px auto 0 263px;
  }
  #info-4 {
    margin: -15px auto 0 260px;
  }
  .left-up {
    margin: 34px auto 0 -17px;
    padding: 25px 17px;
    width: 652px;
    height: 144px;
    background-color: rgb(230, 251, 249);
    border-color: rgb(255, 255, 255);
    border-radius: 24px;
    border-style: solid;
    border-width: 0px;
    box-sizing: border-box;
  }
  .left__up-text {
    position: relative;
    width: 490px;
  }
  .calendar {
    position: absolute;
    margin: -135px auto 0 465px;
    opacity: 1;
    width: 172px;
    height: 172px;
  }
  .about__title {
    font-weight: 400;
    font-size: 18px;
    line-height: 24px;
    font-style: normal;
    color: rgba(77, 77, 77, 1);
    width: 280px;
  }
  .about__text {
    color: rgba(34, 34, 34, 1);
    font-size: 32px;
    font-style: normal;
    font-weight: 600;
    line-height: 36px;
  }
  .left-down-left {
    margin: -160px auto 0 -17px;
    padding: 25px 17px;
    width: 324px;
    height: 160px;
    background-color: rgb(255, 242, 224);
    border-color: rgb(255, 255, 255);
    border-radius: 24px;
    border-style: solid;
    border-width: 0px;
    box-sizing: border-box;
  }
  .left-down-left__down, .left-down-right__down {
    margin-top: 30px;
  }
  .big {
    font-weight: 600;
    font-size: 48px;
  }
  .col {
    display: flex;
    flex-direction: column;
  }
  .popup {
    position: absolute;
    display: block;
    margin: 10px auto 0 -110px;
    pointer-events:none;
    width: 240px;
    z-index: 10;
    text-align: center;
    opacity: 0;
    transition: opacity .2s linear;
    background-color: rgb(255, 255, 255);
    border-radius: 8px;
    box-shadow: 0 1px 3px 0 rgba(0,0,0,.18);
  }
  #info-4 > .popup {
    right: 0;
  }
  #back {
    position: absolute;
    left: 0px;
    top: 1522px;
    width: 100%;
    height: 608px;
    z-index: -1;
    background-color: rgb(242, 244, 247);
    border-color: rgb(255, 255, 255);
  }
  .info__link {
    cursor: pointer;
    text-decoration: none;
    padding-bottom: 1px;
    background: none;
    color: rgba(50, 132, 255, 1);
  }
  .info > div:first-child:hover ~ .popup{
    opacity: 1;
  }
  
  .left-down-right {
    width: 312px;
    height: 160px;
    padding: 25px 17px;
    margin: 17px auto 0 323px;
    background-color: rgb(242, 244, 247);
    border-color: rgb(255, 255, 255);
    border-radius: 24px;
    border-style: solid;
    border-width: 0px;
    box-sizing: border-box;
  }
  
  .about__right {
    position: absolute;
    margin: 80px auto 0 650px;
    padding: 25px 17px;
    width: 310px;
    height: 320px;
    background-color: rgb(255, 242, 224);
    border-color: rgb(255, 255, 255);
    border-radius: 24px;
    border-style: solid;
    border-width: 0px;
    box-sizing: border-box;
  } 

  #comparation {
    display: block;
    height: 608px;
    margin-top: 105px;
  }
  
  .compare__block {
    display: flex;
    position: relative;
    z-index: 2;
    height: 70px;
    margin-top: 35px;
  }
  .compare__block > * {
    display: flex;
    align-items: flex-start;
    width: 250px;
    height: 50px;
  }
  .compare__block:nth-child(1), .compare__block:nth-child(1) > *{
    align-items: flex-end;
  }
  .compare__block > :nth-child(1) {
    margin-right: 120px;
    width: 500px;
  }
  .compare-p {
    font-size: 18px;
  }
  .compare-2 {
    width: 100%;
  }
  .compare-title {
    font-style: normal;
    font-weight: 600;
    color: rgba(34, 34, 34, 1);
    font-size: 24px;
  }
  .compare-2 > :first-child {
    flex: 3;
    margin-right: 70px;
  }
  .compare-2 > :nth-child(2) {
    flex: 5;
  }
  .bigger {
    font-weight: 600;
    width: 410px;
  }
  
  .animation-block {
    display: block;
    position: absolute;
    margin: -410px auto 0 600px;
    transform: matrix(0.98, 0, 0, 0.98, 0, 0);
    opacity: 1;
    width: 353px;
    height: 449px;
    background-color: rgb(255, 255, 255);
    border-color: rgb(255, 255, 255);
    border-radius: 24px;
    border-style: solid;
    border-width: 0px;
    box-sizing: border-box;
    transition: all 0.5s;
  }
  
  #cost {
    flex-direction: column;
    justify-content: space-around;
    height: 400px;
    align-items: flex-start;
    margin-top: -15px;
  }
  .cost__block {
    font-family: custom_34017;
    font-weight: 400;
    font-size: 24px;
    line-height: 32px;
    color: rgba(77, 77, 77, 1);
  }
  .cost__block:nth-child(2) {
    margin: -10px 0 10px 0;
  }
  .range {
    width: 100%;
    margin-top: -20px;
  }
  .irs-grid-pol {
    background-color: #e1e4e9;
    width: 1px;
    height: 8px;
  }
  .small {
    height: 4px;
  }
  .irs-grid-text {
    display: none;
  }
  .cost__block-left {
    margin-right: 30px;
  }
  .insurance-calculator__title {
    font-family: custom_34017;
    font-weight: 400;
    font-size: 18px;
    margin-bottom: 8px;
    color: rgb(77, 77, 77);
  }
  .insurance-calculator__input {
    font-family: custom_34017;
    font-weight: 400;
    font-size: 24px;
    border: none;
    width: 146px;
    height: 32px;
    padding: 0;
  }
  .insurance-calculator__amount {
    font-family: custom_34017;
    font-weight: 600;
    font-size: 24px;
    line-height: 32px;
    color: rgb(77, 77, 77);
  }
  .insurance-calculator__note {
    font-family: custom_34017;
    font-weight: 400;
    font-size: 18px;
    line-height: 24px;
    width: 100%;
    color: rgb(77, 77, 77);
  }
  #info-5 {
    margin: 0 auto 0 200px;
  }
  #note {
    width: 500px;
    margin: -70px auto 0 390px;
  }
  
  #formalization {
    margin-top: 35px;
    flex-direction: column;
    align-items: flex-start;
    width: 100%;
  }
  .form {
    font-family: custom_34017;
    font-weight: 400;
    font-size: 24px;
    line-height: 32px;
    font-style: normal;
    color: rgba(77, 77, 77, 1);
    display: flex;
  }
  .form__shape-1 {
    position: relative;
    left: -35px;
    top: 20px;
    width: 124px;
    height: 125px;
    z-index: -1;
    transform: rotate(45deg);
    background-color: rgb(242, 244, 247);
    border-color: rgb(255, 255, 255);
    border-radius: 40px;
    border-style: solid;
    border-width: 0px;
    box-sizing: border-box;
  }
  .form__shape-2 {
    position: relative;
    left: 222px;
    top: 30px;
    width: 182px;
    height: 144px;
    z-index: -1;
    transform: rotate(51deg);
  }
  .form__shape-3 {
    position: relative;
    left: -58px;
    top: 15px;
    width: 175px;
    height: 144px;
    z-index: -1;
    transform: rotate(45deg);
  }
  .form__shape-4 {
    position: relative;
    left: 300px;
    top: 70px;
    width: 163px;
    height: 122px;
    z-index: -1;
    transform: rotate(-46deg);
  }
  .form__shape-5 {
    position: relative;
    top: 20px;
    left: -16px;
    width: 158px;
    height: 144px;
    z-index: -1;
    transform: rotate(43deg);
  }
  .first {
    margin-left: 38px;
    margin-top: -80px;
  }
  .second {
    margin: -63px auto 0 230px;
  }
  .third {
    margin-left: 20px;
    margin-top: -100px;
    width: 720px;
  }
  .fourth {
    margin: -52px auto 0 350px;
  }
  .fifth {
    margin-left: 33px;
    margin-top: -80px;
    width: 755px;
  }
  .form-text {
    font-weight: 400;
    font-size: 24px;
    line-height: 32px;
    font-style: normal;
    color: rgba(77, 77, 77, 1);
    margin-left: 20px;
    margin-top: 10px;
  }
  .form-text-up {
    margin-bottom: 20px;
  }
  #form-text-1 {
    width: 636px;
  }
  #form-text-2 {
    width: 680px;
  }
  #form-text-3 {
    width: 660px;
  }
  #form-text-4 {
    width: 550px;
  }
  #form-text-5 {
    width: 710px;
  }
  .form-text-down {
    font-size: 16px;
    margin-top: 13px;
    margin-left: 16px;
    max-width: 450px;
    line-height: 22px;
  }
  .shape {
    position: absolute;
    width: 480px;
    height: 40px;
    background-color: rgb(242,244,247);
    z-index: -3;
  }
  .first__shape {
    background-color: rgb(242,244,247);
    margin: -30px 0 0 0px;
    border-radius: 38px 220px 220px 225px;
  }
  .second__shape {
    width: 475px;
    margin: -75px auto 0 0px;
    position: absolute;
    background-color: rgb(230,251,249);
    height: 86px;
    border-radius: 6px 25px 25px 25px;
  }
  
  #actions {
    flex-direction: column;
    margin-top: 24px;
    font-family: custom_34017;
    font-weight: 400;
  }
  .action__up {
    display: flex;
    justify-content: space-between;
    color: rgba(77, 77, 77, 1);
    width: 990px;
    margin: 0 auto 0 0px;
  }
  .action__down {
    display: flex;
    flex-direction: column;
    height: 151px;
    align-items: stretch;
    justify-content: space-between;
    margin-top: 50px;
    max-width: 95%;
    margin-left: -45px;
  }
  .action-link {
    margin-right: 0;
  }
  .action__shape {
    width: 705px;
    margin: 177px auto 0 0px;
    height: 121px;
    position: absolute;
    background: rgb(230,251,249);
    border-radius: 5px 25px 26px 25px;
    z-index: -1;
  }
  .action__up-left {
    display: flex;
    flex-direction: column;
    width: 680px;
  }
  .action__text-1 {
    font-size: 24px;
    max-width: 715px;
    line-height: 32px;
    font-style: normal;
  }
  .action__text-2 {
    line-height: 24px;
    padding-left: 0;
    font-size: 18px;
    margin-top: 29px;
    margin-left: 15px;
    max-width: 808px;
  }
  .action__up-right {
    display: flex;
    flex-direction: column;
    width: 280px;
    justify-content: space-around;
    height: 180px;
    margin-top: -87px;
  }
  .action__up-right-up {
    display: flex;
    justify-content: center;
    align-items: center;
  }
  .action__text-3 {
    line-height: 57px;
    font-size: 40px;
    flex: 1;
  }
  .action__text-4, .action__text-6 {
    font-size: 16px;
    margin-top: 10px;
    flex: 4;
  }
  .action__up-right-down {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
  }
  .action__text-5 {
    line-height: 55px;
    font-size: 40px;
    flex: 1;
  }
  .action__down-down {
    display: flex;
    width: 945px;
  }
  .action__down-title {
    padding-top: 4px;
    font-weight: 600;
    font-size: 32px;
  }
  .action__down-text {
    font-size: 18px;
    width: 460px;
    line-height: 24px;
    font-style: normal;
    color: rgba(77, 77, 77, 1);
  }
  .action__down-text:nth-child(2) {
    margin-left: 25px;
  }
  
  #faq {
    flex-direction: column;
    align-items: flex-start;
    margin-top: 85px;
    font-family: custom_34017;
    font-weight: 400;
  }
  .faq__shape {
    position: absolute;
    margin: -694px auto 0 -55px;
    width: 188px;
    height: 183px;
    z-index: -1;
    transform: rotate(45deg);
  }
  .question {
    margin-left: 50px;
    margin-top: 30px;
    max-width: 83%;
  }
  .first-question {
    margin-top: 17px;
  }
  .question > * > span {
    margin-right: 10px;
  }
  
  .question__title {
    display: flex;
    color: rgba(34, 34, 34, 1);
    font-size: 24px;
    font-style: normal;
    font-weight: 600;
    line-height: 28px;
    text-align: left;
    padding-top: 10px;
    padding-bottom: 9px;
  }
  .question__text {
    display: flex;
    font-weight: 400;
    font-size: 18px;
    line-height: 24px;
    font-style: normal;
    color: rgba(77, 77, 77, 1);
    text-align: left;
  }

  footer {
    padding: 30px 30px 0;
    width: 100%;
    height: 370px;
    margin: 0 auto;
    box-sizing: border-box;
  }
  .footer__logo {
    margin-right: 20px;
    width: 150px;
    height: 30px;
  }
  .footer__logo-img {
    width: 100%;
    height: 100%;
    object-fit: contain;
  }
  .footer__links {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin: auto;
  }
  .footer__links-buttons {
    display: flex;
    width: 50%;
    align-items: center;
  }
  .footer-links-buttons__link {
    width: 32px;
    height: 32px;
    transition: transform .3s;
  }
  .footer-links-buttons__link:hover {
    transform: scale(1.1);
  }
  .footer-links-buttons__link-img {
    width: 100%;
    height: 100%;
    object-fit: contain;
  }
  .footer-links-buttons__phone {
    display: flex;
    align-items: center;
    white-space: nowrap;
    width: auto;
    transition: color .3s, transform .3s;
    position: relative;
    padding-left: 40px;
  }
  .footer-links-buttons__phone::before {
    content: '';
    position: absolute;
    background-image: url("data:image/svg+xml,%3Csvg width='32' height='32' viewBox='0 0 32 32' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Crect width='32' height='32' rx='8' fill='%23FF6633'/%3E%3Cpath d='M25.277 21.9427C24.891 23.0327 23.359 23.9368 22.137 24.2008C21.301 24.3787 20.209 24.5208 16.533 22.9968C11.831 21.0488 8.80299 16.2707 8.56699 15.9607C8.34099 15.6507 6.66699 13.4307 6.66699 11.1347C6.66699 8.83875 7.83299 7.72075 8.30299 7.24075C8.68899 6.84675 9.32699 6.66675 9.93899 6.66675C10.137 6.66675 10.315 6.67675 10.475 6.68475C10.945 6.70475 11.181 6.73275 11.491 7.47475C11.877 8.40475 12.817 10.7007 12.929 10.9367C13.043 11.1727 13.157 11.4927 12.997 11.8027C12.847 12.1227 12.715 12.2647 12.479 12.5367C12.243 12.8087 12.019 13.0167 11.783 13.3087C11.567 13.5627 11.323 13.8347 11.595 14.3047C11.867 14.7647 12.807 16.2987 14.191 17.5307C15.977 19.1207 17.425 19.6287 17.943 19.8448C18.329 20.0048 18.789 19.9668 19.071 19.6668C19.429 19.2808 19.871 18.6407 20.321 18.0107C20.641 17.5588 21.045 17.5027 21.469 17.6627C21.901 17.8127 24.187 18.9427 24.657 19.1767C25.127 19.4127 25.437 19.5248 25.551 19.7228C25.663 19.9208 25.663 20.8507 25.277 21.9427Z' fill='%23FAFAFA'/%3E%3C/svg%3E%0A");
    background-repeat: no-repeat;
    background-position: center;
    background-size: 100%;
    width: 32px;
    height: 32px;
    top: 0;
    left: 0;
  }
  .footer-links-buttons__phone:hover {
    transform: scale(1.06);
    color: var(--primary-color);
  }
  .widget-picture {
    margin-right: 24px;
  }
  .footer__links-email {
    display: flex;
    flex-direction: column;
    text-transform: none;
    font-size: 24px;
    color: rgba(38, 51, 77, 1);
    font-family: custom_34017;
    font-style: normal;
    font-weight: 500;
  }
  .link-1 {
    padding-bottom: 1px;
    background: none;
    color: rgba(38, 51, 77, 1);
  }
  .link-1:hover {
    text-decoration: none;
    padding-bottom: 1px;
    background: none;
    color: var(--primary-color);
  }
  .external-link {
    margin-right: 24px;
    cursor: pointer;
  }
  .dynamic_phone {
    font-family: custom_34017;
    font-weight: 500;
    font-size: 14px;
    line-height: 16px;
    color: #222222;
    text-align: left;
  }
  .footer__nav-projects-links {
    display: flex;
    flex-direction: column;
    margin-top: 10px;
  }
  .footer__nav{
    margin: 40px auto 0 auto;
    display: flex;
    justify-content: space-between;
  }
  .footer__nav-projects {
    width: 130px;
  }
  .footer__nav-services {
    width: 205px;
  }
  .footer__nav-docs {
    width: 205px;
  }
  .footer__nav-about {
    width: 205px;
  }
  .footer-link {
    letter-spacing: 0px;
    font-style: normal;
    font-weight: 400;
    text-decoration: none;
    text-transform: none;
    color: rgba(38, 51, 77, 1);
    font-size: 14px;
    font-family: custom_34017;
    margin-bottom: 10px;
  }
  #footer-back {
    position: absolute;
    left: 0px;
    bottom: 0px;
    width: 100%;
    height: 370px;
    margin-top: -30px;
    background-color: rgb(242, 244, 247);
    border-color: rgb(255, 255, 255);
    z-index: -1;
  }
}

@media only screen and (min-width: 1024px) {
  #back,
  #footer-back {
    left: 50%;
    transform: translateX(-50%);
    width: 100vw;
  }
}

@media only screen and (min-width: 1280px) {
  header{
    width: calc(100vw - 80px);
    left: 40px;
  }
  .header-left__link {
    font-size: 15px;
    line-height: 20px;
  }
  .header-right__phone {
    font-size: 15px;
    line-height: 20px;
  }
  .header-right__lk {
    font-size: 15px;
    line-height: 20px;
  }
  .header-right__rent {
    font-size: 15px;
    line-height: 20px;
    top: 16px;
    height: 38px;
    line-height: 38px;
    padding: 0 16px;
  }
  .header__city-picker-wrapper {
    margin-left: auto;
    margin-right: 0;
  }
  .header-right__phone, .header-right__lk {
    font-size: 15px;
    line-height: 20px;
  }

  #info-4 > .popup {
    right: auto;
  }
}