@font-face {
  font-family: "Roboto", sans-serif;
  src: url(/assets/fonts/Roboto-Regular.ttf);
}
@font-face {
  font-family: "Roboto", sans-serif;
  src: url(/assets/fonts/Roboto-Bold.ttf);
}
*,
*::before,
*::after {
  padding: 0;
  margin: 0;
  box-sizing: border-box;
}

a {
  text-decoration: none;
}

img {
  max-width: 100%;
  display: block;
}

body {
  position: relative;
  width: 100%;
  min-height: 100vh;
  font: 16px "Roboto", sans-serif;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: #36384e;
}

.container {
  background-color: #ffffff;
  border-radius: 20px;
}
.container.form-container {
  height: 40rem;
  width: 58rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  scale: 1;
  transition: all 0.3s ease;
}
.container.form-container.submited {
  scale: 0;
}
@media screen and (max-width: 950px) {
  .container.form-container {
    width: 100%;
    height: auto;
    flex-direction: column-reverse;
    margin-bottom: 3rem;
    border-top-left-radius: 0;
    border-top-right-radius: 0;
  }
}
.container.form-container .form-img {
  width: -moz-fit-content;
  width: fit-content;
  height: 100%;
  display: flex;
  align-items: center;
  margin-inline: 20px;
}
.container.form-container .form-img picture {
  width: 100%;
}
.container.form-container .form-img picture img {
  width: 100%;
  -o-object-fit: cover;
     object-fit: cover;
}
@media screen and (max-width: 950px) {
  .container.form-container .form-img {
    width: 100%;
    height: -moz-fit-content;
    height: fit-content;
    margin: 0;
  }
}
.container.form-container .text {
  flex: 1;
  margin: 50px;
}
@media screen and (max-width: 687px) {
  .container.form-container .text {
    margin: 1.5rem;
  }
}
.container.form-container .text h1 {
  font-size: 3.5rem;
  line-height: 1.6;
  color: #242742;
  font-weight: 700;
}
@media screen and (max-width: 687px) {
  .container.form-container .text h1 {
    font-size: 2.5rem;
  }
}
.container.form-container .text p.discription {
  color: #36384e;
  line-height: 1.6;
  margin-block: 10px;
  font-weight: 400;
}
.container.form-container .text ul {
  list-style-type: none;
}
.container.form-container .text ul li.list-item {
  display: flex;
  padding-block: 5px;
  gap: 10px;
}
.container.form-container .text ul li.list-item p {
  color: #36384e;
}
.container.form-container .text .form {
  position: relative;
  display: flex;
  flex-direction: column;
  margin-top: 40px;
  gap: 20px;
}
.container.form-container .text .form label, .container.form-container .text .form .error-msg {
  position: absolute;
  font-size: 14px;
  color: #242742;
}
.container.form-container .text .form label {
  top: -25px;
  font-weight: 700;
  left: 0;
}
.container.form-container .text .form .error-msg {
  right: 0;
  top: -10px;
  opacity: 0;
  font-weight: 400;
  transition: all 0.3s ease;
}
.container.form-container .text .form input#email {
  border: 1px solid #9294a0;
  padding-left: 20px;
  background: #ffffff;
  color: #242742;
  font-weight: 700;
}
.container.form-container .text .form.error .error-msg {
  opacity: 1;
  transform: translateY(-15px);
  color: #ff6257;
}
.container.form-container .text .form.error input#email {
  border: 1px solid #ff6257;
  color: #ff6257;
  background-color: #fcddda;
}

input#email, .btn {
  width: 100%;
  height: 50px;
  outline: none;
  border-radius: 6px;
  cursor: pointer;
  transition: all 0.3s ease;
}

.btn {
  position: relative;
  border: none;
  background-color: #242742;
  color: #ffffff;
  font: 16px "Roboto", sans-serif;
  font-weight: 400;
  overflow: hidden;
  z-index: 1;
}
.btn:hover {
  background-color: transparent;
}
.btn:hover::before {
  opacity: 1;
}
.btn::before {
  position: absolute;
  left: 0;
  top: 0;
  content: "";
  width: 100%;
  height: 100%;
  background: linear-gradient(to right, #ff5967, #ff6741);
  transition: all 0.3s ease;
  z-index: -1;
  opacity: 0;
}

.success-msg-container {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%) scale(0);
  opacity: 0;
  width: 490px;
  height: 510px;
  padding: 55px;
}
.success-msg-container.active {
  animation: animate 0.5s ease forwards;
}
@media screen and (max-width: 550px) {
  .success-msg-container {
    width: 100%;
    min-height: 100vh;
    border-radius: 0;
    padding-top: 10rem;
  }
}
.success-msg-container h2 {
  font-size: 3.5rem;
  color: #242742;
  margin-block: 30px;
}
.success-msg-container p {
  color: #36384e;
  line-height: 1.6;
  margin-block: 25px;
}
.success-msg-container p > span {
  font-weight: 700;
}
@media screen and (max-width: 550px) {
  .success-msg-container p {
    margin-bottom: 10rem;
  }
}

@keyframes animate {
  0% {
    transform: translate(-50%, -50%) scale(0);
    opacity: 0;
  }
  100% {
    transform: translate(-50%, -50%) scale(1) rotate(360deg);
    opacity: 1;
  }
}
.attribution {
  position: absolute;
  left: 50%;
  bottom: 0;
  border-radius: 6px;
  padding: 5px 15px;
  background-color: #ffffff;
  transform: translateX(-50%);
  font-size: 11px;
  text-align: center;
  color: #242742;
}
.attribution a {
  color: rgb(82, 106, 216);
}/*# sourceMappingURL=style.css.map */