/* --- FONTS --- */
@import url("https://fonts.googleapis.com/css2?family=Roboto:wght@300;500;700&display=swap");

/* --- VARIABLES --- */
:root {
  --blue: #2800ff;
  --orange: #fc4d0f;
}

/* --- GENERAL --- */
body {
  font-family: "Roboto", sans-serif;
  color: #000000;
}

body main {
  background-color: #ffffff;
}

body main .contenedorPrincipal {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  padding: 40px 0;
  max-width: 1500px;
  margin: 0 auto;
  align-items: center;
  width: 95%;
}

body main .contenedorPrincipal .cerditoAniversario {
  width: 600px;
  flex-grow: 1;
  margin-right: 20px;
  max-width: 600px;
}

body main .contenedorPrincipal .cerditoAniversario img {
  width: 100%;
}

body main .contenedorPrincipal .contenedorDerecha {
  width: 55%;
}

body main .contenedorPrincipal .contenedorDerecha p {
  font-weight: 300;
  line-height: 30px;
}

body main .contenedorPrincipal .contenedorDerecha p .bold {
  font-weight: 500;
}

/* --- HEADER GENERAL --- */
header {
  background-image: linear-gradient(to right, #fac80d 0%, #e9d96f 51%, #fac80d 100%);
}

header .contenedorHeader {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  color: #ffffff;
  width: 95%;
  margin: auto;
  max-width: 1500px;
  padding: 25px 0;
}

header .contenedorHeader .logo {
  width: 140px;
}

header .contenedorHeader .logo img {
  width: 100%;
}

/* --- FOOTER --- */
footer {
  background-color: var(--blue);
}

footer .contenedorFooter {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  padding: 20px 8px;
  color: #ffffff;
  width: 95%;
  margin: auto;
  max-width: 1500px;
}

footer .telefono a {
  font-weight: 900;
  color: #ffffff;
  text-decoration: none;
}

footer .telefono a:hover {
  text-decoration: underline;
}

/* --- FORMULARIO Y CONTENEDOR DERECHA --- */
.contenedorDerecha {
  width: 50%;
  color: var(--blue);
}

.contenedorDerecha h2 {
  font-size: 2.5em;
  margin-bottom: 0.5em;
}

.contenedorDerecha p {
  font-size: 1em;
  margin: 0px 0 16px 0;
}

.contenedorDerecha .camposRegistro .formRegistro input {
  padding: 1em;
  border-radius: 5px;
  background-image: linear-gradient(to right, #fac80d 0%, #e9d96f 51%, #fac80d 100%);
  margin-bottom: 20px;
}

.contenedorDerecha .camposRegistro .formRegistro .completo {
  width: 100%;
}

.contenedorDerecha .camposRegistro .formRegistro .mitad {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  column-gap: 15px;
}

.contenedorDerecha .camposRegistro .formRegistro .mitad input {
  flex-grow: 1;
}

.contenedorDerecha .camposRegistro .formRegistro .terminosYbotonRegistro {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
}



.contenedorDerecha .camposRegistro .formRegistro .terminosYbotonRegistro .terminosYcomunicaciones {
  display: flex;
  justify-content: flex-start;
  flex-direction: column;
  width: 50%;
  font-size: 0.8em;
}

.contenedorDerecha .camposRegistro .formRegistro .terminosYbotonRegistro .terminosYcomunicaciones .flexTerminos {
  display: flex;
  flex-direction: row;
}

.contenedorDerecha .camposRegistro .formRegistro .terminosYbotonRegistro .terminosYcomunicaciones .flexTerminos input {
  margin-right: 6px;
}

.contenedorDerecha .camposRegistro .formRegistro .terminosYbotonRegistro .terminosYcomunicaciones .flexTerminos label a {
  color: var(--blue);
}

.contenedorDerecha .camposRegistro .formRegistro .terminosYbotonRegistro button {
  border-radius: 5px;
  background-color: var(--blue);
  color: #ffffff;
  text-align: center;
  padding: 0 40px;
  font-size: 1.2em;
  border: 1px solid transparent;
  cursor: pointer;
}

.contenedorDerecha .camposRegistro .formRegistro .terminosYbotonRegistro button:hover {
  text-decoration: underline;
}

.bannerFase2{
  margin-top: 50px;
  text-align: center;
}

.bannerFase2 img{
  width: 100%;
}

/* --- MEDIA QUERIES (RESPONSIVE DESIGN) --- */

@media screen and (max-width: 1100px) {
  body header .contenedorHeader {
    flex-direction: column;
    align-items: center;
  }


  body header .contenedorHeader .logo {
    margin-bottom: 15px;
  }


  body main .contenedorPrincipal {
    flex-direction: column-reverse;
  }

  body main .contenedorPrincipal .contenedorDerecha {
    width: 100%;
    margin-left: inherit;
  }

  body main .contenedorPrincipal .contenedorDerecha .camposRegistro .formRegistro .terminosYbotonRegistro {
    display: flex;
    flex-direction: column;
  }

  body main .contenedorPrincipal .contenedorDerecha .camposRegistro .formRegistro .terminosYbotonRegistro .terminosYcomunicaciones {
    width: 100%;
  }

  body main .contenedorPrincipal .contenedorDerecha .camposRegistro .formRegistro .terminosYbotonRegistro button {
    padding: 15px;
  }

  body main .contenedorPrincipal .contenedorDerecha .camposRegistro .formRegistro .terminosYbotonRegistro button:hover {
    text-decoration: underline;
  }

  body main .contenedorPrincipal .cerditoAniversario {
    width: inherit;
    margin: 30px auto 0 auto;
    display: none;
 
  }
}

@media screen and (max-width: 500px) {

  
  body main .contenedorDerecha button {
    margin-top: 10px;
  }

  body main .contenedorDerecha p {
    font-size: 1em;
    line-height: 20px !important;
  }

  body footer .contenedorFooter {
    flex-direction: column;
  }

  body footer .contenedorFooter .telefono {
    margin-top: 10px;
  }
}