/* Open Sans */

@import url("https://fonts.googleapis.com/css2?family=Open+Sans:ital,wght@0,400;0,500;0,600;0,700;1,400&display=swap");
@import url("https://fonts.googleapis.com/css2?family=Montserrat:wght@400;500;700;800&display=swap");
html,
body {
  height: 100%;
  font-family: "Open Sans", sans-serif;
  font-size: 14px;
  font-weight: 400;
  color: #000;
  background-color: #ffffff;
  margin: 0;
  padding: 0;
}

*,
*:after,
*:before {
  box-sizing: border-box;
}

p,
h1,
h2,
h3,
h4,
h5,
h6 {
  font-weight: inherit;
  font-size: inherit;
  margin: 0;
}

.container {
  max-width: 1200px;
  width: 100%;
  margin: 0 auto;
  padding: 0 16px;
}

.container.main__block {
  margin: 10vh auto 0;
}

.wrapper {
  /* max-width: 440px; */
  margin: 0 auto;
}

/* Header */

.header {
  display: flex;
  align-items: center;
  height: 110px;
  width: 100%;
  background: linear-gradient(123deg, #2a4bd4 0%, #4dbdd6 120%);
  background-size: contain;
  padding: 10px 0;
}

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

.header__text {
  text-transform: capitalize;
  font-size: 24px;
  color: #fbce93;
  font-weight: 700;
}

.logo {
  width: 220px;
  max-width: 80%;
  display: inline-block;
}

.hide {
  display: none !important;
}

.show {
  display: block !important;
}

/* Main */

.main {
  display: flex;
  flex-direction: column;
  width: 100%;
  min-height: 100vh;
  position: relative;
  z-index: 1;
  -webkit-animation: animatedBackground 500s linear infinite;
  animation: animatedBackground 500s linear infinite;
}

.background_animated {
  -webkit-animation: animatedBackground 500s linear infinite;
  animation: animatedBackground 500s linear infinite;
  background-size: contain;
}

.background {
  background-image: url(images/img1.png);
  position: absolute;
  z-index: -1;
  width: 100%;
  height: 100%;
}

@-webkit-keyframes animatedBackground {
  0% {
    background-position: -14000px 0;
  }
  100% {
    background-position: 0 0;
  }
}

@keyframes animatedBackground {
  0% {
    background-position: -14000px 0;
  }
  100% {
    background-position: 0 0;
  }
}

/* Slides */

.second__slide {
  display: none;
}

.third__slide {
  display: none;
}

.fourth__slide {
  display: none;
}

.slide {
  max-width: 450px;
  width: 100%;
  margin: 35px auto 0;
  border-radius: 10px;
}

.slide__inner {
  display: flex;
  flex-direction: column;
  background-color: #ffffff;
  padding: 18px 24px 40px;
  border-bottom-left-radius: 10px;
  border-bottom-right-radius: 10px;
}

.slide__image {
  max-width: 250px;
  width: 100%;
  display: block;
  margin: 0 auto 35px;
}

.slide__text {
  font-family: "Montserrat", sans-serif;
  text-align: center;
  font-size: 18px;
  font-weight: 500;
  color: #000;
}

.slide__title {
  font-family: "Open Sans", sans-serif;
  text-align: center;
  text-transform: capitalize;
  font-size: 29px;
  font-weight: 700;
  background: #fff;
  color: #1c2677;
  padding: 35px 30px 10px 30px;
  border-top-left-radius: 10px;
  border-top-right-radius: 10px;
}

.slide__subtitle {
  text-align: center;
  font-size: 17px;
  font-weight: 700;
  color: #918f8f;
  margin-bottom: 10px;
}

.slide__input-checkbox {
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
}

input[type="checkbox" i] {
  margin: 0;
}

.slide__input-checkbox:checked + label {
  background-color: #d1fddd;
}

label:hover {
  background-color: #dedede;
}

label {
  cursor: pointer;
  padding: 13px 20px;
  font-weight: 600;
  font-size: 17px;
  background-color: #fbfbfb;
  margin-bottom: 5px;
}

.slide__button {
  text-align: center;
  text-decoration: none;
  display: block;
  cursor: pointer;
  text-transform: uppercase;
  font-size: 21px;
  font-weight: 700;
  color: #fff;
  padding: 15px;
  background: #4a66ad;
  border: 1px solid #ffffff;
  border-radius: 50px;
  margin-top: 17px;
  width: 240px;
  margin: 0 auto;
}

.slide__button:hover {
  background: #394e85;
}

/* Footer */

.footer {
  width: 100%;
  background: linear-gradient(123deg, #2a4bd4 0%, #4dbdd6 120%);
}

.footer__inner {
  font-family: "Roboto", sans-serif;
  display: flex;
  flex-direction: column;
  padding: 20px 0;
}

.footer__box {
  display: flex;
  justify-content: space-between;
}

.footer__main {
  display: flex;
  justify-content: space-between;
  align-items: end;
}

.footer__links {
  display: flex;
  flex-direction: row;
  justify-content: center;
  gap: 30px;
  margin: 0 auto;
}

.footer__links-item {
  text-decoration: none;
  font-size: 18px;
  color: #fff;
  text-align: end;
  margin-bottom: 5px;
}

.footer__links-item:last-child {
  margin-bottom: 0;
}

.footer__text {
  font-size: 12px;
  color: #b5b5c3;
  margin-top: 20px;
}

@media (max-width: 470px) {
  .background_animated {
    -webkit-animation: animatedBackground 500s linear infinite;
    animation: animatedBackground 500s linear infinite;
    background-size: cover;
  }
  .button {
    width: auto;
    max-width: 100%;
    margin: -10px 20px 0;
  }
}

@media (min-width: 760px) and (min-height: 1500px) {
  .wrapper {
    max-width: 100%;
    max-width: 900px !important;
  }
  .header {
    height: 140px;
  }
  .logo {
    width: 200px;
  }
  .main {
    height: 100vh;
    max-height: 100%;
  }
  .title {
    font-size: 30px;
  }
}

@media (min-width: 280px) and (min-height: 800px) {
  .main {
    background-size: cover;
    max-height: 660px;
  }
}

@media (min-width: 500px) and (min-height: 800px) {
  .main {
    background-size: 100% auto;
    max-height: 740px;
  }
}

@media (max-width: 550px) {
  .main__inner {
    padding: 20px 20px 30px;
  }
  .title {
    max-width: 100%;
    font-size: 20px;
  }
}

@media (max-width: 400px) {
  .header {
    height: auto;
    padding: 15px 0;
  }
  .header__text {
    font-size: 22px;
  }
  .logo {
    width: 200px;
    height: auto;
  }
  .title {
    font-size: 22px;
  }
  .button {
    font-size: 24px;
    line-height: 1.3;
    margin: -10px 20px 0;
  }
}

@media (max-width: 340px) {
  .title {
    font-size: 18px;
  }
}
