@media screen and (max-width: 1517px) {
  .container .header {
    width: 100%;
  }
  .container .header .icons {
    margin-left: 196px;
  }
  .footer .container {
    grid-template-columns: repeat(3, 20%) 40%;
  }
  .footer .container .info {
    padding-left: 30px;
    font-size: 20px;
  }
}
@media screen and (max-width: 1340px) {
  .container .header {
    width: 100%;
  }
  .container .header .icons {
    margin-left: 144px;
  }
  .container .header .menu {
    font-size: 25px;
  }
  .container .header .menu div {
    margin-right: 26px;
  }
  .footer .container {
    grid-template-columns: repeat(2, 30%) 40%;
    grid-template-rows: repeat(2, 50%);
  }
  .footer .container .foot-logo {
    grid-row: 1/3;
    text-align: center;
    margin: auto 0;
  }
  .footer .container .info {
    padding: 0;
  }
  .footer .container .info p {
    line-height: 45px;
  }
  .footer .container .info .first-row {
    grid-row: 1/2;
  }
  .footer .container .info .second-row {
    grid-row: 2/3;
  }
  .footer .container .contacts {
    grid-column: 3/4;
    grid-row: 1/3;
    padding-top: 64px;
  }
}
@media screen and (max-width: 1205px) {
  .container .header .icons {
    margin-left: 107px;
  }
}
@media screen and (max-width: 1140px) {
  .container .header .logo a img {
    width: 170px;
  }
  .container .header .icons {
    margin-left: 97px;
  }
  .container .header .menu {
    font-size: 20px;
    margin: 0;
  }
}
@media screen and (max-width: 1050px) {
  .container .header .menu {
    margin: 0 55px;
  }
  .container .header .icons {
    margin-left: 20px;
  }
}
@media screen and (max-width: 992px) {
  .container {
    padding: 45px;
  }
  .container .header {
    grid-template-columns: repeat(2, 50%);
    grid-template-rows: repeat(2, 1fr);
  }
  .container .header .logo {
    grid-column: 1/2;
  }
  .container .header .menu {
    margin: 0 37px;
    grid-column: 1/3;
    grid-row: 2/3;
  }
  .container .header .menu div {
    margin: 0;
  }
  .container .header .icons {
    grid-column: 2/3;
    margin-left: auto;
  }
  .container .header .icons .account a img {
    width: 30px;
  }
  .container .header .icons .saved {
    width: 30px;
    height: 30px;
  }
  .container .header .icons .saved a img {
    width: 28px;
    margin: 0 auto;
  }
  .container {
    padding: 65px;
  }
  .registration {
    background-image: none;
  }
  .registration .registr-form form {
    width: 80%;
  }
  .footer .container {
    display: flex;
    flex-direction: column;
  }
  .footer .container .foot-logo .copyright {
    font-size: 28px;
  }
  .footer .container .info p a {
    font-size: 24px;
    letter-spacing: 0px;
  }
  .footer .container .contacts .phone {
    padding-bottom: 35px;
    font-size: 24px;
    line-height: 20px;
  }
  .footer .container .contacts .social-net h3 {
    display: none;
  }
}
@media screen and (max-width: 768px) {
  .registration .header-account .chapter {
    width: 190px;
  }
  .registration .header-account .chapter img {
    width: 190px;
  }
  .registration .header-account h1 {
    font-size: 42px;
  }
  .registration .header-account .note {
    font-size: 22px;
  }
  .registration .registr-form h2 {
    font-size: 38px;
  }
  .registration .registr-form form input {
    font-size: 25px;
  }
  .registration .registr-form form .required {
    font-size: 25px;
  }
  .registration .registr-form form .submit {
    width: 80%;
    font-size: 30px;
  }
  .registration .registr-form .options h4 a {
    font-size: 24px;
  }
}
@media screen and (max-width: 576px) {
  .container {
    padding: 40px;
  }
  .container .header {
    position: fixed;
    background-color: white;
    width: 100%;
    top: 0;
    left: 0;
    height: 120px;
    z-index: 20;
  }
  .container .header .burger {
    opacity: 1;
    z-index: 4;
    width: 40px;
    height: 40px;
    top: 40px;
    right: 40px;
  }
  .container .header .logo {
    position: absolute;
    top: 33px;
    left: 40px;
  }
  .container .header .logo a img {
    width: 125px;
  }
  .container .header #menu-toggle:checked ~ .burger > span {
    transform: rotate(45deg);
    background-color: white;
  }
  .container .header #menu-toggle:checked ~ .burger > span::before {
    top: 0;
    transform: rotate(0);
    background-color: white;
  }
  .container .header #menu-toggle:checked ~ .burger > span::after {
    top: 0;
    transform: rotate(90deg);
    background-color: white;
  }
  .container .header #menu-toggle:checked ~ .menu {
    visibility: visible;
    opacity: 1;
    padding: 35px 35px 25px;
  }
  .container .header #menu-toggle:checked ~ .menu div {
    margin-top: 50px;
  }
  .container .header #menu-toggle:checked ~ .menu div a {
    color: white;
    font-size: 22px;
  }
  .container .header #menu-toggle:checked ~ .icons {
    visibility: visible;
    opacity: 1;
    top: 380px;
    display: flex;
    justify-content: space-around;
    padding: 20px;
    margin: 0;
  }
  .container .header #menu-toggle:checked ~ .icons .saved,
  .container .header #menu-toggle:checked ~ .icons .account {
    width: 30px;
    height: 30px;
  }
  .container .header .menu {
    display: block;
    position: fixed;
    visibility: hidden;
    opacity: 0;
    top: 0;
    right: 0;
    width: 350px;
    height: 380px;
    margin: 0;
    z-index: 2;
    box-shadow: 2px -11px 12px 4px grey;
    background-color: #2a9d8f;
  }
  .container .header .menu div {
    display: block;
  }
  .container .header .icons {
    display: block;
    position: fixed;
    visibility: hidden;
    opacity: 0;
    right: 0;
    width: 350px;
    height: 75px;
    margin: 0;
    background-color: white;
    box-shadow: 2px 2px 12px 4px grey;
    z-index: 1;
  }
  .container {
    padding: 30px;
  }
  .registration {
    margin-top: 59px;
  }
  .registration .header-account .chapter {
    width: 155px;
  }
  .registration .header-account .chapter img {
    width: 155px;
  }
  .registration .header-account h1 {
    font-size: 38px;
  }
  .registration .header-account .note {
    font-size: 20px;
  }
  .registration .registr-form {
    margin-top: 45px;
  }
  .registration .registr-form h2 {
    font-size: 35px;
  }
  .registration .registr-form form input {
    height: 50px;
    font-size: 20px;
    border-radius: 15px;
    padding: 0 30px;
    margin: 15px 0;
  }
  .registration .registr-form form .required {
    font-size: 19px;
    padding-left: 35px;
  }
  .registration .registr-form form .submit {
    font-size: 25px;
    height: 65px;
  }
  .registration .registr-form .options h4 a {
    font-size: 21px;
  }
  .footer .container {
    padding: 30px;
  }
  .footer .container .foot-logo img {
    width: 166px;
  }
  .footer .container .foot-logo .copyright {
    font-size: 17px;
  }
  .footer .container .info p,
  .footer .container .info a {
    line-height: 25px;
  }
  .footer .container .info p a {
    font-size: 17px;
  }
  .footer .container .second-row {
    margin-top: 0;
  }
  .footer .container .contacts {
    padding-top: 30px;
    padding-left: 0;
  }
  .footer .container .contacts .phone h3,
  .footer .container .contacts .phone p {
    font-size: 18px;
    letter-spacing: 0;
  }
  .footer .container .contacts .social-net div {
    width: 60%;
  }
}
@media screen and (max-width: 485px) {
  .registration .registr-form form .submit {
    font-size: 21px;
    height: 65px;
    width: 100%;
  }
}
@media screen and (max-width: 400px) {
  .container .header .menu {
    width: 270px;
  }
  .container .header #menu-toggle:checked ~ .menu div a {
    font-size: 18px;
  }
  .container .header .icons {
    width: 270px;
  }
  .container .header .burger {
    width: 30px;
    height: 30px;
    top: 44px;
  }
  .container .header .burger span {
    height: 4px;
  }
  .container .header .burger span:before,
  .container .header .burger span:after {
    height: 4px;
  }
  .container .header .burger span:before {
    top: -12px;
  }
  .container .header .burger span:after {
    top: 12px;
  }
  .registration .header-account .chapter {
    width: 130px;
  }
  .registration .header-account .chapter img {
    width: 130px;
  }
  .registration .header-account h1 {
    font-size: 31px;
  }
  .registration .header-account .note {
    font-size: 16px;
  }
  .registration .registr-form h2 {
    font-size: 31px;
  }
  .registration .registr-form form {
    width: 100%;
  }
  .registration .registr-form form input {
    height: 50px;
    font-size: 18px;
    border-radius: 15px;
    padding: 0 27px;
  }
  .registration .registr-form form .required {
    font-size: 18px;
    padding-left: 26px;
  }
  .registration .registr-form .options h4 a {
    font-size: 18px;
  }
  .footer .container .contacts .social-net {
    width: 100%;
  }
}
