@import url('https://fonts.googleapis.com/css2?family=Poppins:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&display=swap');

* {box-sizing: border-box;}

body{
  margin: 0;
  background-color: #fff;
  color: #111;
  font-family: Poppins;
}

.img-banner{
  width: 100%;
  padding-bottom: 0;
}

.responsive {
  width: 100%;
  max-width: 400px;
  height: auto;
}

.flex-container {
  display: flex;
  flex-direction: row;
  font-size: 13px;
  text-align: justify;
}

.flex-item-left {
  background-color: none;
  padding: 10px;
  justify-content: center;
  flex: 50%;
}

.flex-item-right {
  background-color: none;
  padding: 10px;
  justify-content: center;
  flex: 50%;
}

/*------ Form Content -----*/
input, select, textarea {
  width: 100%;
  padding: 12px;
  border: 1px solid #ccc;
  border-radius: 4px;
  resize: vertical;
}

label {
  padding: 12px 12px 12px 0;
  display: inline-block;
}

input[type=submit] {
  background-color: #2d56df;
  color: white;
  width: 20%;
  margin-top: 12px;
  font-weight: 800;
  padding: 12px 20px;
  border: none;
  border-radius: 4px;
  cursor: pointer;
  float: right;
}

.return a {
  background-color: #e8f0fa;
  text-decoration: none;
  color: #010184;
  width: 100%;
  font-weight: 700;
  font-size: 20px;
  border: none;
  cursor: pointer;
  float: center;
}

.return a:hover {
  color: red;
}

.return {
  background-color: #e8f0fa;
  width: 100%;
  border: none;
  float: center;
}

input[type=submit]:hover {
  background-color: #2e3e70;
}

button {
    background-color: #e8f0fa;
    color: #010184;
    width: 100%;
    margin-bottom: 20px;
    font-weight: 800;
    font-size: 20px;
    padding: 12px;
    border: none;
    cursor: pointer;
}

button:hover {
  color: red;
}

.container {
  border-radius: 5px;
  background-color: #e8f0fa;
  padding: 20px;
  margin: 10px;
}

label {
  float: left;
  width: 25%;
  margin-top: 6px;
}

input, select, textarea {
  float: left;
  width: 75%;
  margin-top: 6px;
  margin-bottom: 6px;
}

/* Clear floats after the columns */
.row:after {
  content: "";
  display: table;
  clear: both;
}

.alert {
  width: 100%;
  background-color: #129e66;
  padding: 10px 20px;
  border-radius: 5px;
  text-align: center;
  font-size: 15px;
  font-weight: 800;
  color: #fff;
  display: none;
}

/*  MODAL */
/* The Modal (background) */
.modal {
  display: none; /* Hidden by default */
  position: fixed; /* Stay in place */
  z-index: 1; /* Sit on top */
  padding-top: 100px; /* Location of the box */
  left: 0;
  top: 0;
  width: 100%; /* Full width */
  height: 100%; /* Full height */
  overflow: auto; /* Enable scroll if needed */
  background-color: rgb(0,0,0); /* Fallback color */
  background-color: rgba(0,0,0,0.4); /* Black w/ opacity */
}

/* Modal Content */
.modal-content {
  background-color: #fefefe;
  margin: auto;
  padding: 20px;
  border: 1px solid #888;
  width: 80%;
}

.modal-content .container {
  padding: 10px;
  text-align: center;
}

.modal-content .container h2 {
  padding: 5px;
  border-bottom: 5px solid red;
}

.modal-content .container .terms {
  text-align:left;
}

/* The Close Button */
.close {
  color: #aaaaaa;
  float: right;
  font-size: 38px;
  font-weight: bold;
}

.close:hover,
.close:focus {
  color: red;
  font-size: 38px;
  text-decoration: none;
  cursor: pointer;
}

/*  Modal end */

@media screen and (max-width: 1080px) {
  .flex-container {
    font-size: 15px;
  }
}

@media screen and (max-width: 768px) {
  .flex-container {
    font-size: 13px;
  }
}

/* Responsive layout - when the screen is less than 600px wide, make the two columns stack on top of each other instead of next to each other */
@media screen and (max-width: 600px) {
  label, input, input[type=submit] {
    width: 100%;
    margin-top: 0;
  }
}

@media screen and (max-width: 500px) {
  .img-banner{
    display: block;
    width: 100%;
    padding-bottom: 30px;
  }

  .flex-container {
    font-size: 10px;
    text-align: justify;
  }

  .wrapper{
    width: 600px;
    margin: 0 auto;
  }

  textarea {
    width: 380px;
  }
}
