body {
  margin: 0;
}

.wrapper {
  height: 100vh;
  overflow-y: auto;
  overflow-x: hidden;
  perspective: 10px;
}

header {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  height: 100%;
  transform-style: preserve-3d;
  z-index: -1;
}

.background {
  transform: translateZ(-10px) scale(2);
}

.foreground {
  transform: translateZ(-5px) scale(1.5);
}

.background,
.foreground {
  position: absolute;
  height: 100%;
  width: 101%;
  object-fit: cover;
  z-index: -2;
}

.title {
  font-size: 7rem;
  color: white;
  text-shadow: 0 0 5px black;
  ;
}

section {
  font-size: 2rem;
  padding: 2rem;
  background-image: url("4b.png");
  color: rgb(255, 255, 255);
  text-align: center;
  font-family: 'Montserrat', sans-serif;
  font-size: 30px;
  color: #fff;
  font-weight: 200;
  margin: 0;
  animation-name: initial;
  text-shadow: 0px 0px 20px rgb(26, 153, 216);
}

h2 {
  font-family: 'Montserrat', sans-serif;
  font-size: 60px;
  color: #ffffff;
  font-weight: 300;
  text-transform: uppercase;
  margin: 0;
  animation-name: initial;
  text-shadow: 0px 0px 10px rgb(26, 153, 216);
  animation-name: initial;
}

h3 {
  font-family: 'Montserrat', sans-serif;
  font-size: 30px;
  color: #ffffff;
  font-weight: 300;
  text-transform: uppercase;
  margin: 0;
  animation-name: initial;
  text-shadow: 0px 0px 10px rgb(26, 153, 216);
}

p1 {
  font-family: 'Montserrat', sans-serif;
  font-size: 33px;
  color: #ffffff;
  font-weight: 300;
  margin: 0;
  animation-name: initial;
  text-shadow: px px 5px rgb(26, 153, 216);
}
p {
  font-family: 'Montserrat', sans-serif;
  font-size: 25px;
  color: #ffffff;
  font-weight: 300;
  margin: 0;
  animation-name: initial;
  text-shadow: 0px 0px 2px rgb(26, 153, 216);
}

.container {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  align-items: center;
}

@media (max-width: 900px) {
  .container {
    flex-direction: column;
  }

  .box-1 {
    width: 80%;
  }

  .box-2 {
    margin-top: 2rem;
  }
}

.box-1 {
  width: 80%;
  height: 100%;
  box-shadow: 0px 0px 5px rgb(26, 153, 216);
  background-image: url("2mod.png");
  border-radius: 75px;
  padding: 2rem;
}

.text1 {
  font-family: 'Montserrat', sans-serif;
  font-size: 60px;
  color: #ffffff;
  font-weight: bold;
  margin: 0;
  animation-name: initial;
  text-shadow: 0px 0px 10px rgb(26, 153, 216);
  animation-name: initial;
  position: relative;
}
.text2 {
  font-family: 'Montserrat', sans-serif;
  font-size: 60px;
  color: #ffffff;
  font-weight: bold;
  margin: 0;
  animation-name: initial;
  text-shadow: 0px 0px 10px rgb(26, 153, 216);
  animation-name: initial;
  position: relative;
}

h7 {
  font-family: 'Montserrat', sans-serif;
  font-size: 45px;
  color: #ffffff;
  font-weight: 300;
  text-transform: uppercase;
  margin: 0;
  animation-name: initial;
  text-shadow: 0px 0px 10px rgb(26, 153, 216);
}
h8 {
  font-family: 'Montserrat', sans-serif;
  font-size: 23px;
  color: #ffffff;
  font-weight: 300;
  text-transform: uppercase;
  margin: 0;
  animation-name: initial;
  text-shadow: 0px 0px 10px rgb(26, 153, 216);
}

.box-2 {
  margin-top: 2rem;
  width: 500px;
  height: 250px;
  background-image: url("2mod.png");
  box-shadow: 0px 0px 5px rgb(26, 153, 216);
  border-radius: 90px;
  margin-left: 10px;
}

.registerButton {
  display: flex;
  background-color: rgb(26, 153, 216);
  color: #ffffff;
  padding: 10px 25px;
  border: transparent;
  border-radius: 0px;
  font-family: 'Montserrat', sans-serif;
  font-size: 20px;
  font-weight: 400;
  cursor: pointer;
  align-items: center;
  justify-content: center;
}

.registerButton {
  font-family: 'Montserrat', sans-serif;
  font-size: 20px;
  color: rgb(255, 255, 255);
  width: 200px;
  height: 50px;
  background: transparent;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  margin: auto;
}

.registerButton {
  box-shadow: 0px 0px 10px rgb(26, 153, 216);
}

.registerButton:before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  width: 0;
  height: 0;
  border-top: 2px solid rgb(26, 153, 216);
  border-right: 2px solid rgb(26, 153, 216);
  animation: border-top-right 0.5s infinite alternate;
}

@keyframes border-top-right {
  0% {
    width: 0px;
    height: 0px;
  }

  25% {
    width: 200px;
    height: 0px;
  }

  50% {
    width: 200px;
    height: 48px;
  }

  100% {
    width: 200px;
    height: 48px;
  }
}

.registerButton:after {
  content: "";
  position: absolute;
  right: 0;
  bottom: 0;
  width: 0;
  height: 0;
  border-bottom: 2px solid rgb(26, 153, 216);
  border-left: 2px solid rgb(26, 153, 216);
  animation: border-bottom-left 0.5s infinite alternate;
}

@keyframes border-bottom-left {
  0% {
    width: 0px;
    height: 0px;
  }

  50% {
    width: 0px;
    height: 0px;
  }

  75% {
    width: 200px;
    height: 0px;
  }

  100% {
    width: 200px;
    height: 48px;
  }
}

@keyframes border-bottom-left {
  0% {
    width: 0px;
    height: 0px;
    opacity: 0;
  }

  50% {
    width: 0px;
    height: 0px;
    opacity: 0;
  }

  50.1% {
    width: 0px;
    height: 0px;
    opacity: 1;
  }

  75% {
    width: 200px;
    height: 0px;
    opacity: 1;
  }

  100% {
    width: 200px;
    height: 48px;
    opacity: 1;
  }
}

@media (max-width: 667px) {
  .box-1, .box-2{
      width: 110%;
  }
}