body {
  background-color: #818589;
}

.main-body {
  width: 60%;
  height: 600px;
  margin: 8% auto;
  background-color: white;
  display: flex;
  border-radius: 20px;
  justify-content: space-evenly;
}

.text-sec {
  background-color: white;
  width: 48%;
  height: 560px;
  margin-top: 20px;
}

.img-sec {
  border-radius: 20px;
  width: 48%;
  height: 560px;
  margin-top: 20px;
}

.img-sec > img {
  width: 100%;
  height: 550px;
  object-fit: cover;
  border-radius: 20px;
}

.h1 {
  margin-top: 40px;
  margin-left: 30px;
}

.first-p {
  margin-top: 20px;
  margin-left: 30px;
  font-size: 1.1em;
}

.list-items {
  margin-top: 30px;
  margin-left: 30px;
  line-height: 30px;
  font-size: 1.1em;
}

li::marker {
  color: orange;
  font-size: 1.8em;
}

form {
  display: inline;
}

.email-addy {
  margin-left: 20px;
  margin-top: 40px;
  font-size: 1.1em;
}

input {
  margin-left: 20px;
  width: 78%;
  height: 40px;
  text-align: center;
  border-radius: 4px;
}

.btn-1 {
  margin-top: 20px;
  margin-left: 20px;
  width: 80%;
  height: 50px;
  text-align: center;
  cursor: pointer;
  background-color: black;
  color: white;
  border-radius: 4px;
}

.success-message {
  display: none;
}
.msg-box {
  width: 25%;
  height: 450px;
  background-color: white;
  position: absolute;
  top: 30%;
  left: 30%;
  border-radius: 15px;
}

.msg-img {
  margin-top: 10px;
  margin-left: 40px;
  width: 40px;
}

.msg-p {
  font-size: 50px;
  font-weight: bold;
  margin-left: 40px;
}

.msg-p1 {
  margin-left: 40px;
}

.btn-2 {
  margin-top: 20px;
  width: 80%;
  height: 50px;
  text-align: center;
  cursor: pointer;
  color: white;
  border-radius: 4px;
  background-color: black;
  border: none;
}

@media only screen and (max-width: 600px) {
  body {
    background-color: lightblue;
  }

  .main-body {
    width: 80%;
    height: 1350px;
    margin: 8% auto;
    background-color: white;
    border-radius: 20px;
    position: relative;
  }

  .text-sec {
    width: 80%;
    position: absolute;
    top: 40%;
  }

  .img-sec {
    width: 80%;
    position: absolute;
    top: 0; /* Position the image at the top */
    left: 50%;
    transform: translateX(-50%);
  }
  .msg-box {
    width: 60%;
    height: 500px;
    background-color: white;
    position: absolute;
    top: 90%;
    left: 25%;
    border-radius: 15px;
  }

  .btn-2 {
    margin-left: 40px;
    background-color: #e56717;
    border: none;
  }
}

@media only screen and (min-width: 600px) {
  body {
    background-color: lightblue;
  }
  .main-body {
    width: 100%;
    height: 600px;
    margin: 8% auto;
    background-color: white;
    display: flex;
    border-radius: 20px;
    justify-content: space-evenly;
  }
  .msg-box {
    width: 60%;
    height: 450px;
    background-color: white;
    position: absolute;
    top: 30%;
    left: 30%;
    border-radius: 15px;
  }
  .btn-2 {
    margin-left: 40px;
    background-color: #e56717;
    border: none;
  }
}

@media only screen and (min-width: 768px) {
  body {
    background-color: #818589;
  }

  .main-body {
    width: 90%;
    height: 600px;
    margin: 8% auto;
    background-color: white;
    display: flex;
    border-radius: 20px;
    justify-content: space-evenly;
  }

  .msg-box {
    width: 50%;
    height: 450px;
    background-color: white;
    position: absolute;
    top: 30%;
    left: 30%;
    border-radius: 15px;
  }

  .msg-p1 {
    margin-left: 10%;
  }

  .btn-2 {
    margin-left: 40px;
    background-color: #e56717;
    border: none;
  }
}

@media only screen and (min-width: 992px) {
  body {
    background-color: #818589;
  }
  .main-body {
    width: 50%;
    height: 600px;
    margin: 8% auto;
    background-color: white;
    display: flex;
    border-radius: 20px;
    justify-content: space-evenly;
  }
  .msg-box {
    width: 25%;
    height: 450px;
    background-color: white;
    position: absolute;
    top: 30%;
    left: 30%;
    border-radius: 15px;
  }

  .btn-2 {
    margin-left: 40px;
    background-color: black;
    border: none;
  }
}
