/* Common */

.container {
  width: 90% !important;
  max-width: 1000px !important;
}

h2 {
  text-align: center;
  font-weight: 800 !important;
  margin-top: 150px !important;
  margin-bottom: 40px !important;
}

* {
  font-family: 'Montserrat', Helvetica, Arial, Lucida, sans-serif;
}

p {
  color: #525252 !important;
  font-weight: 500 !important;
  line-height: 1.3em;
  font-size: 22px !important;
  text-align: justify !important;
}

p b {
  color: #383838 !important;
}

@media only screen and (max-width: 993px) {
  p {
    line-height: 1.2em;
    font-size: 18px !important;
  }
}

@media only screen and (max-width: 650px) {
  h2 {
    margin-top: 100px !important;
    font-size: 38px !important;
  }

  .container {
    width: 90% !important;
    max-width: 1000px !important;
  }
}

/* Navbar */

.nav {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  align-items: center;
  background-color: white;
  position: fixed !important;
  z-index: 999;
  top: 0;
  left: 0;
  right: 0;
  padding: 0 3vw;
  height: 64px;
  box-shadow: 0 1px 4px 0 rgba(0, 0, 0, 0.14),
    0 3px 1px -2px rgba(0, 0, 0, 0.12), 0 1px 3px 0 rgba(0, 0, 0, 0.2);
}

.nav-left {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: center;
}

.nav-left img {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  object-fit: cover;
  box-shadow: 0 1px 2px #000000aa;
}

.nav-left span {
  font-size: 1.4rem;
  font-weight: 600;
  color: black;
  margin-left: 48px;
}

.nav-right .go-to-formulario {
  margin: 0;
  height: 44px;
  font-size: 1rem !important;
}

@media only screen and (max-width: 560px) {
  .nav-left span {
    display: none;
  }
}

/* Main */

.container-main {
  width: 100%;
  position: relative;
  max-height: 80vh;
  height: 100%;
}

.container-main img {
  width: 100%;
  max-height: 80vh;
  height: 100%;
  object-fit: cover;
  object-position: center 30%;
}

.inside-main {
  position: absolute;
  bottom: 5vw;
  left: 5vw;
  background-color: #ffffffcc;
  padding: 2rem;
  border-radius: 8px;
  box-shadow: 0 0 10px #000000aa;
  width: 600px;
  max-width: 40vw;
}

.container-main p {
  margin-top: 0;
  font-weight: 500;
  font-size: 1.5rem;
  color: rgb(39, 39, 39) !important;
}

.go-to-formulario {
  margin: 26px 0 0 0;
  background-color: #1976d2;
  height: 62px;
  border-radius: 31px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  color: white;
  font-weight: 500;
  font-size: 1.4em;
  text-decoration: none;
  cursor: pointer;
  padding: 0 44px;
  box-shadow: 1px 1px 5px 1px #1c194036;
}

.go-to-formulario-animated {
  animation: rocking 2s infinite;
}

@keyframes rocking {
  0% {
    transform: rotate(0);
  }
  25% {
    transform: rotate(0);
  }
  50% {
    transform: rotate(2deg);
  }
  75% {
    transform: rotate(-2deg);
  }
  100% {
    transform: rotate(0);
  }
}

/* Sobre mí */

.card {
  display: flex;
  flex-direction: row;
  border: 10px solid #1976d2;
  border-radius: 20px !important;
}

.card-left {
  width: 60%;
  display: flex;
  flex-direction: column;
  padding: 2rem;
}

.card-left h4 {
  margin: 0;
  font-weight: 600;
}

.card-left h4 small {
  color: rgb(53, 53, 53);
  font-size: 0.7em;
}

.card-right {
  width: 40%;
}

.card-right img {
  object-fit: cover;
  width: 100%;
  height: 100%;
  border-top-right-radius: 8px;
  border-bottom-right-radius: 8px;
}

@media only screen and (max-width: 560px) {
  .card {
    flex-direction: column-reverse;
    border: 6px solid #1976d2;
  }

  .card-right,
  .card-left {
    width: 100%;
  }

  .card-right img {
    height: 300px;
    border-top-right-radius: 14px;
    border-top-left-radius: 14px;
    border-bottom-right-radius: 0;
    object-position: 0 10%;
  }
}

/* Necesidades */

.subcontainer-necesidades {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px 30px;
}

.subcontainer-necesidades .item-necesidades {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 1rem;
}

.img-necesidades {
  width: 64px;
}

.title-necesidades {
  text-align: center !important;
  font-weight: 700 !important;
  margin-bottom: 0.5rem !important;
  font-size: 1.6rem !important;
  color: black !important;
}

.subcontainer-necesidades p {
  margin-top: 0.5rem !important;
}

@media only screen and (max-width: 650px) {
  .subcontainer-necesidades {
    grid-template-columns: 1fr;
  }
}

/* Quiero ayuda */

.container-quiero-ayuda {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.container-quiero-ayuda a {
  width: 30vw;
  min-width: 400px;
  max-width: 98vw;
}

/* Método */

.subcontainer-metodo {
  display: flex;
  flex-direction: column;
}

.subcontainer-metodo .item-metodo {
  display: flex;
  flex-direction: column;
  align-items: start;
}

.title-metodo {
  font-size: 1.6rem !important;
  font-weight: bold;
  color: black !important;
  text-align: center;
  font-weight: 700 !important;
  margin-bottom: 0;
  color: #1976d2 !important;
}

.subcontainer-metodo p {
  margin-top: 0.5rem !important;
}

/* Formulario */

#formulario h2 {
  margin-top: 50px !important;
  padding-top: 100px !important;
}

.input-field {
  margin-bottom: 0 !important;
}

.input-field label {
  font-weight: 500 !important;
  transform-origin: 0 0 !important;
  transform: translateY(-12px) !important;
  font-weight: 400 !important;

  opacity: 1 !important;
}

.input-field label,
.title-checkboxes {
  color: #6e6e6e !important;
}

input:focus,
input.invalid,
input.valid {
  border-bottom: 1px solid #9e9e9e !important;
  box-shadow: 0 1px 0 0 #9e9e9e !important;
}

input {
  margin-bottom: 0;
  height: 30px !important;
  color: black !important;
  line-height: 36px !important;
  font-weight: 500 !important;
  padding-top: 0.6em !important;
}

.item-checkboxes {
  margin-top: 6px;
  margin-bottom: 18px;
}

.title-checkboxes {
  font-size: 1.1rem;
}

.item-checkboxes p {
  margin: 0;
}

.subitem-checkboxes {
  margin-top: 4px;
}

.subitem-checkboxes span {
  color: rgb(41, 41, 41);
  font-weight: 400 !important;
}

.subitem-checkboxes p {
  margin-bottom: 4px;
}

[type='checkbox']:checked + span:not(.lever):before {
  border-right: 2px solid #1976d2 !important;
  border-bottom: 2px solid #1976d2 !important;
}

.container-precio {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.title-precio {
  font-weight: 700 !important;
  margin-top: -10px;
}

.text-precio {
  width: 100%;
  max-width: 500px;
}

.subcontainer-precio {
  display: flex;
  flex-direction: row;
  justify-content: space-around;
  width: 100%;
  max-width: 500px;
  border: 1px solid #e9e9e9;
  box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.2);
  padding: 20px 0;
}

.vertical-line {
  width: 1px;
  border: 1px solid #d6d6d6;
}

.item-precio {
  padding: 0 15px;
  border-radius: 4px;
  width: 45%;
  display: flex;
  justify-content: center;
  align-items: center;
}

.item-precio p {
  margin: 10px 0;
}

.container-send-formulario {
  display: flex;
  justify-content: center;
  align-items: center;
}

.send-formulario {
  background-color: #1976d2 !important;
  width: 100%;
  height: 45px !important;
  margin: 16px auto 0 auto !important;
  font-size: 1.2rem !important;
  font-weight: 500 !important;
}

@media only screen and (max-width: 650px) {
  .subcontainer-precio {
    padding: 15px 0;
  }

  .item-precio p {
    font-size: 16px !important;
  }

  .subitem-checkboxes p {
    margin-bottom: 10px;
  }
}

/* Preguntas frecuentes */

.collapsible p {
  margin: 0;
}

.collapsible .collapsible-body p {
  font-size: 16px !important;
}

@media only screen and (max-width: 650px) {
  .collapsible .collapsible-header p {
    font-size: 16px !important;
    text-align: start !important;
  }

  .collapsible .collapsible-body {
    padding: 1rem 1.5rem !important;
  }

  .collapsible .collapsible-body p {
    font-size: 14px !important;
  }
}

/* Rellenar formulario */

.container-rellenar-formulario {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 60px 0 100px 0;
}

.container-rellenar-formulario a {
  width: 30vw;
  min-width: 400px;
  max-width: 98vw;
}
