html, body {
  height: 100%;
}

body {
  margin: 0;
  font-family: Helvetica, serif;
  display: flex;
  flex-direction: column;
}

header {
  height: 320px;
  position: relative;
  background-image: url('./GettyImages-1223848962_baja.jpg');
  background-size: cover;
  background-position: 50% 50%;
  color: #fff;
}

.max-w-content {
    width: 90%;
    max-width: 1280px;
    margin: 0 auto;
}

.header-cover {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: #0b1526;
    opacity: 0.75;
}

.header-content {
    position: absolute;
    left: 0;
    right: 0;
    margin-left: auto;
    margin-right: auto;
    padding-top: 100px;
    text-align: center;
}

.general-text {
    font-size: 18px;
}

.link {
    text-decoration: none;
    color: #fff;
}

.header-link {
    position: absolute;
    left: 30px;
    z-index: 2;
    top: 10px;
    left: 45%;
    transform: translate(-50%);
    font-weight: 300;
    line-height: 30px;
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    justify-content: flex-start;
    align-items: center;
}

.header-link p {
  margin-left: 10px;
  opacity: 0.5;
}

.header-title {
  color: #FCA311;
  margin-top: 30px;
  margin-bottom: 0;
  font-size: 50px;
}

.content-description {
  width: 100%;
  max-width: 917px;
  margin: 60px auto 100px auto;
  text-align: center;
  line-height: 30px;
  color: #0b1526;
  font-size: 18px;
}


.form-contextual {
  max-width: 700px;
  width: 75%;
  margin: 100px auto 50px auto;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.input-field {
  width: 100%;
  margin-bottom: 30px;
}

.input-field input {
  width: 100%;
  font-size: 18px;
  border: 1px solid #d3d3d3;
  padding: 10px 1px 10px 25px;
}

.form-label {
  align-self: flex-start;
  margin-bottom: 15px;
}

.content-result {
  display: flex;
  flex-direction: column;
  flex-wrap: wrap;
  margin-bottom: 100px;
  align-content: center;
}


.result-content {
  margin: 10px 14px;
  width: 28%;
  min-width: 250px !important;
  height: 140px;
  padding: 20px 20px;
  font-size: 18px;
  color: #fff;
  text-align: left;
  line-height: 26px;
  background: #FCA311;
  border-radius: 0.5rem;
  box-shadow: 0 10px 15px -3px rgb(0 0 0 / 10%), 0 4px 6px -2px rgb(0 0 0 / 5%);
	display: none;
}

.result-title {
  margin: 5px 0 0 0;
  height: 22px;
  text-transform: uppercase;
  display: block;
  padding-bottom: 10px;
  text-align: left;
  box-shadow: inset 0 0px 0 white, inset 0 -1px 0 white;
}

.result-cards {
  width: 50%;
  display: grid;
  grid-template-columns: repeat(1, minmax(0, 1fr));
  justify-items: center;
}

.card-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.table-container {
  width: 49%;
  margin-top: 10px;
  border-radius: 0.25rem;
  box-shadow: 0 4px 6px -1px rgb(0 0 0 / 10%), 0 2px 4px -1px rgb(0 0 0 / 6%);
}
.result-table {
  width: 100%;
  height: 100%;
  border-style: solid;
  border-color: #e2e8f0;
  border-collapse: collapse;
}

.result-table thead {
  background-color: #e2e8f0;
  color: #4a5568;
  
}
.result-table thead tr th {
  padding-top: 10px;
  padding-bottom: 10px;
}
.result-table tbody {
  text-align: center;
}
.result-table tbody tr{
  border:1px solid #e2e8f0;
}
.btn {
  display: flex;
  justify-content: center;
  align-items: center;
  background-color: #FCA311;
  color: #0b1526;
  width: 215px;
  height: 60px;
  font-size: 11px;
  line-height: 20px;
  border: none;
  cursor: pointer;
}
.btn:hover {
  background-color: #ED8936
}
.btn-disabled {
  opacity: .5;
  cursor: not-allowed;
}
.btn-disabled:hover {
  background-color: #FCA311
}

.validation-msg {
  align-self: flex-start;
  color: #e53e3e;
  font-size: .75rem;
  font-style: italic;
}

.general-error {
  text-align: center;
  font-size: 30px;
  color: #e53e3e;
}

.footer {
  margin-top: auto;
  background-color: #0b1526;
}

.footer > .max-w-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding-top: 40px;
  padding-bottom: 80px;
}

.footer-links {
    margin: 0;
    list-style-type: none;
    color: #fff;
    opacity: 0.5;
}

li {
    float: left;
}

li a {
    margin-right: 35px;
}

.footer-logo {
  margin-top: 40px;
}

.hidden {
  display: none;
}

.loader {
  border: 3px solid #ED8936;
  border-radius: 50%;
  border-top: 3px solid white;
  width: 15px;
  height: 15px;
  animation: spin 1s linear infinite;
}

.top-m-50 {
  margin-top: 50px;
}

.left-p-10 {
  padding-left: 10px;
}

.left-m-10 {
  margin-left: 10px;
}

.text-left {
  text-align: left;
}

.line{
    float: left;
    width: 90%;
    height: 16px;
    border-radius: 7px;
    background-image: linear-gradient(90deg, #F4F4F4 0px, rgba(229, 229, 229, 0.8) 40px, #F4F4F4 80px);
    background-size: 600px;
    animation: shine-lines 2s infinite ease-out;
}

.w-25-per {
  width: 25%;
}

.w-75-per {
  width: 75%;
}
 
@keyframes shine-lines{
    0% { background-position: -100px;}
    40%, 100% {background-position: 140px;}
}

@keyframes spin {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

@media screen and (min-width: 768px) {
    header {
      height: 300px;
    }

    .header-link {
      top: 20px;
      left: 30px;
      transform: none;
    }

    .header-title {
      margin: 0;
      font-size: 100px;
    }
    .footer > .max-w-content {
        flex-direction: row;
        justify-content: space-between;
    }

    .footer-logo {
      margin: 0;
    }
    .content-result {
      flex-direction: row;
      justify-content: space-between;
    }
    .result-cards {
      grid-template-columns: repeat(2, minmax(0, 1fr));
    }
  }
  
@media screen and (min-width: 768px) and (max-width: 1450px) {
  .header-title {
    font-size: 100px;
  }
  .result-cards {
      grid-template-columns: repeat(1, minmax(0, 1fr));
    }
}
