* {
  padding: 0;
  margin: 0;
  font-family: "Raleway", sans-serif;
}

.main-body {
  max-width: 1280px;
  margin: 0 auto;
  padding: 3rem;
}

.header-text {
  font-weight: 500;
  font-size: 48px;
  text-align: center;
  margin: 5rem 0 2rem 0;
}

.display-center {
  display: flex;
  justify-content: center;
}

.default-button {
  border: none;
  background-color: black;
  color: white;
  font-weight: 500;
  font-size: 1rem;
  padding: 1rem 0.75rem;
  border-radius: 0.75rem;
  cursor: pointer;
}

.benefits-div {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-template-rows: 1fr;
  grid-column-gap: 1.5rem;
  grid-row-gap: 0px;
  margin-top: 7rem;
}

.benefits-block-1 {
  grid-area: 1 / 1 / 2 / 2;
  background-color: #ededed;
  width: 100%;
  height: 250px;
  border-radius: 1rem;
  position: relative;
}

.benefits-block-1 p,
.benefits-block-2 p,
.benefits-block-3 p {
  position: absolute;
  bottom: 0;
  left: 0;
  margin: 1rem;
  font-weight: 500;
  font-size: 1.25rem;
}

.benefits-block-2 {
  grid-area: 1 / 2 / 2 / 3;
  background-color: #ededed;
  width: 100%;
  height: 250px;
  border-radius: 1rem;
  position: relative;
}

.benefits-block-3 {
  grid-area: 1 / 3 / 2 / 4;
  background-color: #ededed;
  width: 100%;
  height: 250px;
  border-radius: 1rem;
  position: relative;
}

.info-div {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-template-rows: 1fr;
  grid-column-gap: 1.5rem;
  grid-row-gap: 0px;
  margin-bottom: 2rem;
}

.info-block-1 {
  grid-area: 1 / 1 / 2 / 4;
  /* background-image: url("../images/info-background.png");
  background-size: cover;
  background-repeat: no-repeat; */
  width: 100%;
  height: 250px;
  border-radius: 1rem;
  position: relative;
}

.info-block-1-text-div {
  position: absolute;
  bottom: 0;
  margin: 1.5rem;
  color: white;
  font-weight: 500;
}

.info-block-1-text-header {
  font-size: 1.5rem;
  margin-bottom: 1rem;
}

.info-block-2 {
  grid-area: 1 / 4 / 2 / 5;
  background-color: #ededed;
  width: 100%;
  height: 250px;
  border-radius: 1rem;
  position: relative;
  display: flex;
  justify-content: center;
  background-image: url("../images/rating.png");
  background-size: cover;
  background-repeat: no-repeat;
}

.info-block-2 button {
  position: absolute;
  bottom: 0;
  margin-bottom: 2rem;
}

.more-div {
  display: grid;
  grid-template-columns: 1fr;
  grid-template-rows: 1fr;
  grid-column-gap: 0px;
  grid-row-gap: 0px;
}

.more-block {
  grid-area: 1 / 1 / 2 / 2;
  background-color: #ededed;
  width: 100%;
  height: 250px;
  border-radius: 1rem;
  position: relative;
  background-image: url("../images/fire\ and\ settings.png");
  background-position: right;
  background-size: 19rem;
  background-repeat: no-repeat;
}

.more-block p {
  /* bottom: 0; */
  margin: 1.5rem;
  font-size: 1.5rem;
  font-weight: 500;
}

.more-block button {
  position: absolute;
  bottom: 0;
  margin: 1.5rem;
}

.about-header,
.how-header {
  font-weight: 500;
  font-size: 4rem;
  margin: 5rem 0 3rem 0;
}

.about-div,
.how-div {
  position: relative;
}

.about-text {
  font-weight: 500;
  font-size: 2.25rem;
  margin-bottom: 2rem;
}

.about-img-clip {
  position: absolute;
  margin: -5rem 0 0 3rem;
  opacity: 0.3;
  width: 16rem;
  height: 16rem;
}

/* .how-to-setting-img {
  position: absolute;
  right: 0;
  margin: -10rem 0 0 0;
  opacity: 0.3;
  width: 16rem;
  height: 16rem;
} */

.about-img-comment {
  position: absolute;
  bottom: 0;
  right: 0;
  margin: -5rem 0 0 3rem;
  width: 14rem;
  height: 14rem;
}

.how-to-steps-div {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  grid-template-rows: repeat(2, 1fr);
  grid-column-gap: 2rem;
  grid-row-gap: 2rem;
}

.how-to-step-1 {
  grid-area: 1 / 1 / 2 / 2;
  display: flex;
}
.how-to-step-2 {
  grid-area: 1 / 2 / 2 / 3;
  display: flex;
}
.how-to-step-3 {
  grid-area: 2 / 1 / 3 / 2;
  display: flex;
}
.how-to-step-4 {
  grid-area: 2 / 2 / 3 / 3;
  display: flex;
}

.how-to-step-1,
.how-to-step-2,
.how-to-step-3,
.how-to-step-4 {
  position: relative;
}

.step-img {
  display: none;
  position: absolute;
  left: 30%;
  margin-top: -0.25rem;
  opacity: 0.3;
}

.step-number {
  color: white;
  background-color: black;
  width: 3.5rem;
  height: 3.5rem;
  font-size: 2.5rem;
  text-align: center;
  border-radius: 10rem;
  margin-right: 1rem;
}

.step-text {
  font-weight: 500;
  font-size: 1.5rem;
}

.how-to-important {
  display: flex;
  justify-content: center;
  position: relative;
}

.how-to-important-text {
  font-weight: 500;
  font-size: 1.5rem;
  margin-top: 3rem;
}

.how-to-important-img {
  position: absolute;
  margin: -0.5rem 0 0 -5rem;
}

.achievements-div {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-template-rows: 1fr;
  grid-column-gap: 2rem;
  grid-row-gap: 0px;
  margin-top: 5rem;
}

.achievements-div img {
  width: 100%;
}

.achievements-block-1 {
  grid-area: 1 / 1 / 2 / 2;
}
.achievements-block-2 {
  grid-area: 1 / 2 / 2 / 3;
}
.achievements-block-3 {
  grid-area: 1 / 3 / 2 / 4;
}
.achievements-block-4 {
  grid-area: 1 / 4 / 2 / 5;
}

.footer {
  background-color: black;
  width: 100%;
}

.footer-box {
  max-width: 1280px;
  margin: 0 auto;
  padding-left: 3rem;
}

.footer-header {
  color: white;
  font-weight: 500;
  font-size: 3rem;
  padding-top: 2rem;
}

.benefits-slider swiper-slide {
  background-color: #ededed;
  width: 100%;
  height: 250px;
  border-radius: 1rem;
  position: relative;
  margin: 7rem 0 2rem 0;
  background-size: cover;
  background-repeat: no-repeat;
}

.benefits-slider swiper-slide p {
  position: absolute;
  bottom: 0;
  left: 0;
  margin: 1.5rem;
  font-weight: 500;
  font-size: 1.25rem;
}

.swiper-slide-img {
  /* background-image: url("../images/info-background.png"); */
  background-size: cover;
  background-repeat: no-repeat;
  background-position: center;
  width: 50px;
  height: 100%;
  border-radius: 1rem;
  position: relative;
}

.mySwiper4 {
  width: auto;
  height: 250px;
  border-radius: 1rem;
}

.footer-box-text {
  display: flex;
  margin-top: 1rem;
}

.footer-box-text a {
  color: #ededed;
  text-decoration: none;
}

.designer-credits {
  color: #a7a4a4;
  text-align: center;
  padding: 3rem 0 1rem 0;
}

.footer-icon {
  width: 1rem;
  height: 1rem;
  margin-right: 0.5rem;
}

.swiper-pagination-bullet-active {
  background-color: #cc2222 !important;
}

.swiper-slide-logo {
  margin-top: 7rem;
}

.swiper-slide-logo img {
  width: 100%;
  height: 100%;
}

.agreement {
  font-size: 0.75rem;
  width: 25vw;
}

.error {
  border: 3px solid #cc2227 !important;
}

.error-message {
  color: #cc2227;
  font-size: 1rem;
  margin: 0.5rem 0;
  display: none;
}

.exit-login-student-email,
.exit-login-student,
.exit-reg-student {
  height: 100vh;
  width: 100vw;
  top: 0;
  right: 0;
  position: fixed;
  background: rgba(69, 69, 69, 0.4);
  display: none;
  z-index: 50;
}

.student-login {
  position: fixed;
  right: -100%;
  top: 0;
  transition: right 0.5s ease-out;
}

.student-login-email {
  position: fixed;
  right: -100%;
  top: 0;
  transition: right 0.5s ease-out;
}

.student-login-visible {
  right: 0 !important;
  transition: right 0.5s ease-out;
}

.student-login-invisible {
  right: -100% !important;
}

.student-login,
.student-reg,
.student-login-email {
  top: 0;
  width: 35vw;
  height: 100vh;
  background-color: white;
  display: flex;
  justify-content: center;
  position: fixed;
  right: -100%;
  transition: right 0.5s ease-out;
  z-index: 100;
}

.email-input-mail,
.student-login-email button,
.student-login input,
.student-reg input,
select {
  width: 25vw;
  background: #d9d9d9;
  border: none;
  font-size: 1.5rem;
  box-sizing: border-box;
  padding: 1rem;
  border-radius: 0.75rem;
}

.input-box {
  margin-bottom: 1rem;
}

.student-login-email h1,
.student-login h1,
.student-reg h1 {
  font-size: 2.5rem;
  margin: 2.5rem 0 2rem 0;
}

.student-login-email button,
.student-login button,
.student-reg button {
  cursor: pointer;
  background-color: #cc2227;
  border: none;
  border-radius: 10px;
  font-size: 1.5rem;
  padding: 1rem;
  width: 25vw;
  margin: 1rem 0;
  text-align: center;
  color: white;
  text-decoration: none;
}

.student-reg {
  overflow-y: auto;
}

.login-reg {
  text-align: center;
  margin-bottom: 2rem;
  text-decoration: underline;
  color: #545454;
}

.login-reg:hover {
  cursor: pointer;
}

.close-button {
  position: absolute;
  top: 0;
  right: 0;
  margin: 1rem 1rem 0 0;
}

.reg-select {
  position: relative;
}

.reg-select select {
  -webkit-appearance: none;
  -moz-appearance: none;
  z-index: 1;
}

.select-arrow {
  position: absolute;
  z-index: 2;
  margin: 1.5rem 0 0 -2.5rem;
}

.close-img {
  position: absolute;
  right: 0;
  margin: 2rem 4rem 0 0;
}

.close-img:hover {
  cursor: pointer;
}

.password-box {
  position: relative;
}

.password-box img {
  position: absolute;
  right: 0;
  top: 0;
  height: 2rem;
  width: 2rem;
  margin: 1rem;
}

.password-box img:hover {
  cursor: pointer;
}

.email-input-block {
  margin-bottom: 1rem;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-template-rows: 1fr;
  grid-column-gap: 10px;
  grid-row-gap: 0px;
}

.email-input-1,
.email-input-2,
.email-input-3,
.email-input-4 {
  width: 4rem;
  text-align: center;
  background-color: #d9d9d9;
  border: none;
  font-size: 2rem;
  box-sizing: border-box;
  padding: 1rem;
  border-radius: 0.75rem;
  aspect-ratio: 1/1.25;
}

.email-code-input-block {
  display: none;
}

.email-input-1 {
  grid-area: 1 / 1 / 2 / 2;
}
.email-input-2 {
  grid-area: 1 / 2 / 2 / 3;
}
.email-input-3 {
  grid-area: 1 / 3 / 2 / 4;
}
.email-input-4 {
  grid-area: 1 / 4 / 2 / 5;
}

.password-input,
.universities-select {
  padding-right: 3.5rem !important;
}

.fond-block {
  margin-top: 6rem;
  display: flex;
}

.fond-block img {
  height: 200px;
  cursor: pointer;
  width: auto;
}

.fond-block p {
  font-size: 1.5rem;
  margin-left: 2rem;
}

.fond-block a {
  color: #cc2227;
  font-weight: 500;
}

@keyframes slideOut {
  0% {
    transform: translateY(0);
    opacity: 1;
  }
  100% {
    transform: translateY(100%);
    opacity: 0;
  }
}

.cookie-block {
  z-index: 10;
  width: 100%;
  padding: 1rem 3rem 2rem 3rem;
  position: fixed;
  background-color: #f8f8f8;
  box-shadow: 0 0 4px rgba(16, 24, 40, 0.15);
  bottom: 0;
  transition: transform 0.5s ease-in-out, opacity 0.5s ease-in-out;
}

.cookie-block.slide-out {
  animation: slideOut 0.5s forwards;
}

.cookie-block-text {
  display: flex;
  justify-content: space-between;
  max-width: 90vw;
}

.cookie-block-text p {
  margin: 0.75rem 1rem 0 0;
}

.cookie-block-button {
  border: none;
  background-color: #cc2227;
  color: white;
  font-weight: 500;
  font-size: 1rem;
  padding: 0.75rem 2rem;
  border-radius: 0.75rem;
  cursor: pointer;
}

.cookie-block-text a {
  color: #cc2227;
}

@media (max-width: 1024px) {
  .cookie-block-button {
    margin-top: 1rem;
  }

  .close-img {
    margin-right: 1.75rem;
  }

  .student-login,
  .student-reg,
  .student-login-email {
    width: 50vw;
  }

  .student-login-email button,
  .email-input-mail,
  .student-login input,
  .student-reg input,
  .student-login button,
  .student-reg button,
  .student-login-email button,
  select,
  .error-message,
  .agreement {
    width: 40vw;
  }

  .info-block {
    font-size: 1rem;
  }

  .login-block p {
    font-size: 1.25rem;
  }

  .login-block h1 {
    font-size: 1.75rem;
    margin: 4rem 0 2rem 0;
    text-align: center;
  }

  .button-guest,
  .login-block button {
    font-size: 1rem;
  }
}

@media (max-width: 768px) {
  .cookie-block-button {
    margin-top: 0.5rem;
  }

  .cookie-block-text p,
  .cookie-block-button {
    font-size: 0.75rem;
  }

  .cookie-block {
    padding: 1rem;
  }

  .fond-block p {
    margin-left: 0rem;
  }

  .fond-block {
    display: block;
  }
  .fond-block-img {
    display: flex;
    justify-content: center;
    margin-bottom: 1rem;
    margin-top: -4.5rem;
  }

  .student-login,
  .student-reg,
  .student-login-email {
    width: 100vw;
  }

  .student-login input,
  .email-input-mail,
  .student-login-email button,
  .student-reg input,
  .student-login button,
  .student-reg button,
  .error-message,
  select,
  .agreement {
    width: 80vw !important;
  }

  .info-block-2 {
    display: none;
  }
  .info-block-1 {
    grid-area: 1 / 1 / 2 / 5;
  }

  .about-header,
  .how-header {
    font-size: 3rem;
  }

  .about-text {
    font-size: 1.5rem;
  }

  .step-text {
    font-size: 1rem;
  }

  .step-number {
    font-size: 1.5rem;
    width: 2.25rem;
    height: 2.25rem;
  }

  .how-to-important-img {
    width: 8rem;
    height: 8rem;
    margin-top: 0.5rem;
  }

  .footer-header {
    font-size: 2.5rem;
  }
}

@media (max-width: 425px) {
  .cookie-block-button {
    margin-top: 1.25rem;
  }

  .fond-block img {
    width: 100%;
  }

  .fond-block p {
    font-size: 1rem;
    margin-bottom: -4rem;
  }
  .email-input-1,
  .email-input-2,
  .email-input-3,
  .email-input-4 {
    width: 3rem;
    font-size: 1.5rem;
  }

  .error-message {
    font-size: 0.75rem;
  }

  .password-box img {
    margin-top: 0.5rem;
  }

  .student-login-email h1,
  .student-login h1,
  .student-reg h1 {
    font-size: 1.75rem;
  }

  .select-arrow {
    margin: 1.1rem 0 0 -2.5rem;
  }

  .close-img {
    margin-right: 0.75rem;
  }

  .login-block p {
    font-size: 1rem;
  }

  .login-block h1 {
    font-size: 1.25rem;
    margin: 4rem 0 2рем 0;
    text-align: center;
  }

  .button-guest,
  .login-block button {
    font-size: 0.75rem;
    width: 33vw;
  }

  .student-login button,
  .student-reg button,
  .student-login input,
  .email-input-mail,
  .student-login-email button,
  .student-reg input,
  select {
    font-size: 1rem;
  }

  .password-box img {
    height: 2rem;
    width: 2rem;
  }

  .benefits-slider swiper-slide {
    margin-top: 2rem;
  }

  .step-img {
    display: block;
    height: 3rem;
  }

  .main-body {
    padding: 1.5rem;
  }

  .footer-box {
    padding-left: 1.5rem;
  }

  .benefits-slider swiper-slide p,
  .more-block p,
  .info-block-1-text-header {
    font-size: 1rem;
  }

  .header-text {
    font-size: 2.25rem;
  }

  .info-block-1-text-description {
    font-size: 0.75rem;
  }

  .about-header,
  .how-header {
    font-size: 2rem;
    margin: 2rem 0 2рем 0;
  }

  .about-text {
    font-size: 1rem;
    line-height: 1.5rem;
  }

  .step-text {
    font-size: 0.75rem;
  }

  .step-number {
    font-size: 1rem;
    width: 1.25rem;
    height: 1.25rem;
    margin-right: 0.5rem;
  }

  .how-to-important-text {
    font-size: 1rem;
  }

  .step-number {
    display: none;
  }
}

@media (max-width: 375px) {
  .cookie-block {
    padding-top: 0.5rem;
  }
  .cookie-block-text {
    display: block;
  }

  .cookie-block-button-el {
    margin-top: 0.25rem;
    display: flex;
    justify-content: center;
  }
}

@media (max-width: 320px) {
  .login-reg {
    font-size: 0.75rem;
  }

  .close-img {
    margin: 1.5rem 0.5rem 0 0;
  }

  .login-block p {
    font-size: 0.75rem;
  }

  .login-block h1 {
    font-size: 1rem;
    margin: 4rem 0 2рем 0;
    text-align: center;
  }

  /* .button-guest,
  .student-login-email button,
  .login-block button {
    font-size: 0.6rem;
    width: 33vw;
  } */

  .header-text {
    font-size: 1.75rem;
  }

  .step-img {
    left: 25%;
    margin-top: 0rem;
  }

  .how-to-important-img {
    margin: 1.5rem 0 0 -1.75rem;
    width: 5rem;
    height: 5rem;
  }
}
