html {
  box-sizing: border-box;
  font-size: 14px;
}

*,
*:before,
*:after {
  box-sizing: border-box;
  padding: 0;
  margin: 0;
}

/* adjust typography defaults */
body {
  font-family: sans-serif;
  line-height: 1.5;
  height: 100vh;
}

ul {
  /*   list-style: none; */
  margin-bottom: 1rem;
}

li {
  margin-left: 1.5rem;
}

div.container {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  width: 100%;
  height: 100%;
}

img.logo {
  display: block;
  margin: 2em auto;
  max-width: 10em;
}

.page_title {
  margin: 2em auto;
  text-align: center;
}

.email_form {
  position: relative;
  width: 24rem;
  margin: 2em auto;
}

#email_label {
  color: #273462;
  font-weight: 600;
  font-size: 1.1em;
}

#email {
  padding: 0.5rem;
  width: 100%;
  border: 1px solid #273462;
  margin: 0.5em 0.2em 0.7em 0.2em;
  height: 2.5rem;
  border-radius: 3px;
  appearance: none;
  font-size: 1.1em;
  -moz-appearance: none;
  -webkit-appearance: none;
}

p#response {
  font-size: 1em;
  margin: 3em 1em;
  padding: 1em;
}

.btn {
  display: block;
  text-decoration: none;
  height: 3rem;
  width: 100%;
  border-radius: 20px;
  cursor: pointer;
  outline: none;
}

button#submit {
  background: #273462;
  color: #ffffff;
  font-size: 1.1em;
  margin: 1em auto;
}

button#submit:hover {
  background-color: #00bab3;
  border: 1px solid #273462;
  transition: all 0.5s;
}

span.email {
  color: #273462;
  font-weight: bold;
}

p.message_member {
  margin: 0.5em 0 0.3em 0;
}

p.errormessage {
  position: absolute;
  color: red;
  font-size: 0.8rem;
  top: 6em;
  left: 0.5em;
}

a.phone,
a.email {
  color: #ffffff;
  text-decoration: none;
  cursor: pointer;
  outline: none;
}

a.link_member {
  color: #273462;
  font-weight: 800;
  font-size: 1.2em;
  cursor: pointer;
  outline: none;
}

a.link_member:hover {
  color: #00bab3;
  transition: all 0.5s;
}

a.phone:hover,
a.email:hover {
  color: #00bab3;
  transition: all 0.5s;
}

footer {
  display: flex;
  background: #273462;
  color: #ffffff;
  padding: 2.5em 2em 3em 2em;
  flex-direction: column;
  justify-content: space-between;
}

footer .footer_title {
  font-size: 1.1em;
  margin-bottom: 1em;
}

footer .footer_company {
  margin-bottom: 0.7em;
}

footer .footer_body p {
  margin-bottom: 0.2em;
}

/* Center the overlay contents */
#loading-overlay {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(255, 255, 255, 0.5);
  backdrop-filter: blur(1.5px);
  z-index: 9999;
  align-items: center;
  justify-content: center;
  flex-direction: column;
}

/* Simple spinner */
.spinner {
  width: 40px;
  height: 40px;
  border: 4px solid #273462;
  border-top-color: #00bab3;
  border-radius: 50%;
  animation: spin 1s linear infinite;
}

/* Spin animation */
@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}

/* …
MOBILE STYLES
*/

@media (max-width: 500px) {
  img.logo {
    max-width: 8em;
  }

  .email_form {
    margin-top: 0.5em auto;
  }

  .page_title {
    margin: 0.5em auto;
  }

  p.errormessage {
    top: 5.9em;
  }

  p#response {
    margin: 0em 2em;
  }

  /*   a.button_member {
    margin: 0.5em auto;
  } */

  div.flex_container {
    margin-top: 1.5em;
  }
}

@media (max-width: 1000px) {
  /* … */
  p#response {
    margin: 3em 2em;
  }
}
