:root {
  --color2: #f8f8f8;
}

html {
  font-family: 'Readex Pro', sans-serif;
}

h2 {
  text-align: center;
}

/* CSS for the header */
header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background-color: var(--color2);
}

/* CSS for the floating footer */
footer {
  display: flex;
  justify-content: center;
  background-color: var(--color2);
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
}

footer a {
  margin: 10px;
}

.centered {
  text-align: center;
}

/* CSS for the logos */
.logo {
  flex: 1;
  /* This allows logos to grow and shrink dynamically with the width */
  max-width: 200px;
  /* Set a maximum width for the logos */
  height: auto;
  margin: 15px 50px 0px 50px;
}

.logo img {
  max-width: 100%;
  height: auto;
}

/* Style inputs, select elements and textareas */
input[type=text],
select,
textarea {
  width: 100%;
  padding: 12px;
  border: 1px solid #ccc;
  border-radius: 4px;
  box-sizing: border-box;
  resize: vertical;
}

input[type=email],
select,
textarea {
  width: 100%;
  padding: 12px;
  border: 1px solid #ccc;
  border-radius: 4px;
  box-sizing: border-box;
  resize: vertical;
}

/* Style the label to display next to the inputs */
label {
  padding: 12px 12px 12px 0;
}

/* Style the submit button */
input[type=submit] {
  background-color: #187099;
  color: rgb(255, 255, 255);
  padding: 12px 20px;
  border: none;
  border-radius: 4px;
  cursor: pointer;
  float: right;
}

/* Style the container */
.container {
  width: 600px;
  border-radius: 5px;
  background-color: var(--color2);
  padding: 20px;
  margin: 15px auto 100px auto;
}

.main_form {
  width: 1000px;
  margin: auto;
}

.colored {
  background-color: #ececec;
}

/* Short word fields */
.word-field {
  margin-top: 6px;
}

/* Floating column for labels: 25% width */
.col-25 {
  float: left;
  width: 25%;
  margin-top: 6px;
}

/* Floating column for inputs: 75% width */
.col-75 {
  float: left;
  width: 75%;
  margin-top: 6px;
}

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

.margin-bot {
  margin-bottom: 15px;
}

.response {
  text-align: center;
}

.wrapper {
  width: 100%;
  max-width: 516px;
  height: 1600px;
  margin: auto;
}

.wrapper iframe {
  width: 100%;
  height: 100%;
  padding-bottom: 40px;
}

.hidden {
  display: none !important;
}

/* 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) {
  .logo {
    margin: 15px 10px 0px 10px;
  }

  .container {
    width: auto;
  }

  .col-25,
  .col-75,
  input[type=submit] {
    width: 100%;
    margin-top: 0;
  }
}

@media screen and (max-width: 600px) {
  .logo {
    max-width: 100px;
  }
}