* {
  box-sizing: border-box;
}

body {
  font-family: Roboto, sans-serif;
  margin: 0;
  padding: 0;
  background-color: #36384e;
}

.container {
  max-width: 1240px;
  margin: 0 auto;
}

.box {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  max-width: 70%;
  margin-top: 30px;
  margin-inline: auto;
  background-color: white;
  border-radius: 15px;
}

.left-box {
  margin: 20px;
  width: 50%;
}

.left-box h1 {
  font-size: 50px;
}

.left-box p {
  font-size: 20px;
}

.email-text {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.success {
  display: inline;
}

.success-icon {
  width: 27px;
}

.not-valid {
  color: red;
  display: none;
}

input {
  font-size: 20px;
  width: 100%;
  height: 50px;
  border-radius: 15px;
  border: 2px solid black;
}

.button {
  font-size: 20px;
  width: 100%;
  border-radius: 15px;
  background-color: #242742;
  color: white;
}

.button:hover {
  background-color: #ff644b;
  cursor: pointer;
}

.right-box {
  width: 50%;
  margin: 0 20px;
}

.right-box img {
  width: 100%;
}

.message {
  padding: 20px;
  text-align: start;
  gap: 20px;
  width: 23%;
  margin-top: 130px;
  margin-inline: auto;
  background-color: white;
  border-radius: 15px;
}

.message img {
  width: 28px;
}

.message h2 {
  font-size: 18px;
  background-color: #242742;
  color: white;
  padding: 7px;
  border-radius: 7px;
  text-align: center;
}

.message h2:hover {
  background-color: #ff644b;
  cursor: pointer;
}

.footer {
  color: white;
  margin: 30px;
  text-align: center;
}

@media (max-width: 1200px) {
  .box {
    flex-direction: column-reverse;
  }
}
