@import url("https://fonts.googleapis.com/css2?family=Oswald:wght@200;300;400;500;600;700&display=swap");
@import url("https://fonts.googleapis.com/css2?family=Quicksand:wght@600&display=swap");
*,
*::before,
*::after {
  margin: 0;
  padding: 0;

  box-sizing: border-box;
}

html {
  font-size: 16px;
  width: 100%;
  overflow-x: hidden !important;
  background-color: #fdbd2f;
}

body {
  font-family: sans-serif;
  width: 100%;
}
header {
  height: 15vh;
  display: flex;
  align-items: center;
  justify-content: center;
  vertical-align: middle;
  background-color: #fdbd2f;
}
header > img {
  height: 8vh;
}
h1,
h2 {
  /* font-family: "Oswald", sans-serif; */
  font-size: 24px;
  font-weight: 700;
  margin-bottom: 5px;
  color: #3c4043;
}
h3,
h4 {
  /* font-family: "Oswald", sans-serif; */
  font-weight: 700;
  margin-bottom: 5px;
  color: #3c4043;
  /* text-shadow: 2px 2px 4px black; */
}

#container {
  height: 100%;
  width: 100%;
  background-color: aliceblue;
}

.error-txt {
  display: none;
  color: #721c24;
  background: #f8d7da;
  padding: 8px 10px;
  text-align: center;
  border-radius: 5px;
  border: 1px solid #f5c6cb;
  margin-bottom: 20px;
}

#cuerpo {
  min-height: 100vh;
  height: 100%;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  vertical-align: middle;
  background-color: #fdbd2f;
  background-size: cover;
  flex-wrap: wrap;
}

form {
  background-color: white;
  padding: 15px;
  border-radius: 15px;
}

/* form,
form input,
form textarea,
form select,
input,
select {
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
} */

form input[type="date"],
.preferencias-container input,
.mailing-container input {
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
}

.mailing-container div,
.preferencias-container div {
  display: flex;
  flex-direction: column;
  vertical-align: middle;
  justify-content: space-between;
  align-items: center;
}

.preferencias-container div {
  max-width: 60px;
}

.preferencias-container,
.mailing-container {
  margin-bottom: 40px;
}

.mailing-container div label i,
.preferencias-container div label i {
  font-size: 55px;
  text-align: center;
}

.buttons {
  margin: 40px 0 20px 0;
  width: 100% !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  vertical-align: middle !important;
}

.button-17 {
  align-items: center;
  appearance: none;
  background-color: #fff;
  /* border-radius: 24px; */
  border-style: none;
  box-shadow: rgba(0, 0, 0, 0.2) 0 3px 5px -1px,
    rgba(0, 0, 0, 0.14) 0 6px 10px 0, rgba(0, 0, 0, 0.12) 0 1px 18px 0;
  box-sizing: border-box;
  color: #3c4043;
  cursor: pointer;
  display: inline-flex;
  fill: currentcolor;
  font-family: "Google Sans", Roboto, Arial, sans-serif;
  font-size: 18px;
  font-weight: 500;
  height: 48px;
  justify-content: center;
  letter-spacing: 0.25px;
  line-height: normal;
  max-width: 100%;
  overflow: visible;
  padding: 2px 24px;
  position: relative;
  text-align: center;
  text-transform: none;
  transition: box-shadow 280ms cubic-bezier(0.4, 0, 0.2, 1),
    opacity 15ms linear 30ms, transform 270ms cubic-bezier(0, 0, 0.2, 1) 0ms;
  user-select: none;
  -webkit-user-select: none;
  touch-action: manipulation;
  width: auto;
  will-change: transform, opacity;
  z-index: 0;
}

.button-17:hover {
  background: #f6f9fe;
  color: #fdbd2f;
}

.button-17:active {
  box-shadow: 0 4px 4px 0 rgb(60 64 67 / 30%),
    0 8px 12px 6px rgb(60 64 67 / 15%);
  outline: none;
}

.button-17:focus {
  outline: none;
  border: 2px solid #fdbd2f;
}

.button-17:not(:disabled) {
  box-shadow: rgba(60, 64, 67, 0.3) 0 1px 3px 0,
    rgba(60, 64, 67, 0.15) 0 4px 8px 3px;
}

.button-17:not(:disabled):hover {
  box-shadow: rgba(60, 64, 67, 0.3) 0 2px 3px 0,
    rgba(60, 64, 67, 0.15) 0 6px 10px 4px;
}

.button-17:not(:disabled):focus {
  box-shadow: rgba(60, 64, 67, 0.3) 0 1px 3px 0,
    rgba(60, 64, 67, 0.15) 0 4px 8px 3px;
}

.button-17:not(:disabled):active {
  box-shadow: rgba(60, 64, 67, 0.3) 0 4px 4px 0,
    rgba(60, 64, 67, 0.15) 0 8px 12px 6px;
}

.button-17:disabled {
  box-shadow: rgba(60, 64, 67, 0.3) 0 1px 3px 0,
    rgba(60, 64, 67, 0.15) 0 4px 8px 3px;
}

.modal {
  display: none;
  /* Hidden by default */
  position: fixed;
  /* Stay in place */
  z-index: 1;
  /* Sit on top */
  left: 0;
  top: 0;
  z-index: 9410;
  width: 100%;
  /* Full width */
  height: 100%;
  /* Full height */
  overflow-y: 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/Box */

.modal-content {
  background-color: #fefefe;
  margin: 15% auto;
  /* 15% from the top and centered */
  padding: 20px;
  border: 1px solid #888;
  width: 90%;
  /* Could be more or less, depending on screen size */
}

.close {
  color: #aaa;
  float: right;
  background-color: #fff;
  font-size: 28px;
  font-weight: bold;
}

.close:hover,
.close:focus {
  color: black;
  text-decoration: none;
  cursor: pointer;
}

@media screen and (min-width: 1166px) {
  body {
    min-height: 100vh;
    height: 100%;
  }

  form {
    width: 35%;
    border-radius: 15px;
    box-shadow: 0px 0px 150px 120px rgba(0, 0, 0, 0.072);
    margin-bottom: 20px;
  }
  header {
    display: flex;
    align-items: center;
    justify-content: center;
    vertical-align: middle;
    background-color: #fdbd2f;
  }
  header > img {
    height: 100px;
  }
  #cuerpo {
    /* min-height: 100vh; */
    height: 100%;
    width: 100%;
    display: flex;
    align-items: flex-start;
    justify-content: center;
    vertical-align: top;
    background-color: #fdbd2f;
    background-size: cover;
  }
  .preferencias-container,
  .mailing-container {
    margin-bottom: 40px;
  }

  h4 {
    margin-bottom: 20px;
  }
  .mailing-container div label i,
  .preferencias-container div label i {
    font-size: 85px;
    text-align: center;
  }

  .modal-content {
    width: 50%;
  }
}
