:root{
  --form-index-width: 40rem;
  --main-blue: #051d3b;
  --form-container-bg: #000;
  --btn-form-bg: #A70F2D;
  --border-form-login: #A70F2D;
  --btn-form-color: #fff;
  --primary-color:#A70F2D;
}

body {
  margin: 0;
  font-size: 16px !important ;
}
.titulo-con-icono{
    display: flex;
    align-items: center;
    gap: 1.8rem;
}
.titulo-con-icono__icono{
    width: 5rem;
}
.titulo-con-icono__icono img{
    width: 100%;
}
.titulo-con-icono__titulo{
    color: var(--font-primary-color);
}
.login-welcome-text{
  font-size: 3rem;
  font-weight: 700;
}

section#wrapper {
  position: absolute;
  width: 100vw;
  height: 100vh;
  display: flex;
  /* height: -webkit-fill-available; */
}

section#img__wrapper {
  display: none;
}

.icons__wrapper {
  margin-block-start: 2em;
  display: flex;
  justify-content: center;
  /* gap: 5rem; */
  padding: 10px;
  flex-wrap: wrap;
  min-height: 5rem;
  background-color: transparent;
}

.icon-login path{
  fill: #fff;
}
.modal .icon-login path{
  fill: #fff;
}

a.option {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: #000;
  flex-flow: column;
  text-align: center;
  font-size: 1.3rem;
  width: 25%;
  /* font-weight: bold; */
}

a.option > img {
  width: 5rem;
}

section#formulario {
  background-color: var(--form-container-bg);
  display: flex;
  justify-content: space-between;  
  align-items: center;
  flex-flow: column;
  padding: 1rem 2rem;
  width: 100%;
  border-right: 0.7rem solid var(--border-form-login);
  min-height: 100vh;
  height: max-content;
  /* gap: 3rem; */
  /* color: #ffffff; */
  /* : "CircularStd-Book"; */
}
#login__text{
  color: #fff;
}
section#formulario  img {
  margin-block-start: 2em;
  margin-block-end: 2em;
  /* tamaño original */
  /* max-width: 100%; */

  /* tamaño solo para el logo de prepa petco */
  max-width: 75%; 
}
.all-form-container{
  /* padding: 0px 2rem; */
}

section#formulario  form  input {
  margin: 5px 0;
  padding: 10px 5px;
  width: 100%;
  color: #000;
  /* border: 1px solid black; */
}

section#formulario  form button {
  background-color: var(--btn-form-bg);
  border: 1px solid transparent;
  color: var(--btn-form-color);
  font-weight: bolder;
  padding: 0.5rem 1rem;
  /* width: 100%; */
  margin: 5px 0;
  border-radius: 0.6rem;
  /* border-bottom: 6px solid #fedd2e; */
}

section#formulario  form  button:hover {
  cursor: pointer;
}

section#formulario  div#logos__wrapper {
  display: flex;
  justify-content: center;
  align-items: center;  
  font-size: 1.3rem;
  /* padding: 2rem; */
  color: #fff;
}

section#footer {
  display: flex;
  text-align: center;
  padding: 2px 5px;
  font-size: 1.3rem;
  align-self: center;
}

.messages {
  width: 100%;
  border-radius: 5px;
  padding: 10px;
  margin-bottom: 17px;
  background-color: #f8d7da;
}

.messages  span#errors {
  color: #842029;
  background-color: #f8d7da;
  border-color: #f5c2c7;
}

/* #telefonos .titulo-con-icono__icono{
  width: 3rem;
} */

#form_logos_wrapper a.option{
  color: #fff;
}
#img__wrapper{
	display: flex;
	flex-direction: column;
}
.img__wrapper_img{
	display: grid;
	place-items: center;
	flex-grow: 1;
}
.img-form-container{
  width: 100%;
  display: flex;
}
#mensajeError{
  display: none;
  font-weight: bold;
  color: #842029;
}
@media screen and (min-width: 768px) {
  section#wrapper {
    position: absolute;
    width: 100vw;
    height: 100vh;
  }
  .icon-login path{
    fill: #9F8A79;
  }

  section#img__wrapper {
    background-image: url("../../../assets/img/cover_login_prepaGRG.png");
    background-color: white;
    background-size: cover;
    display: flex;
    flex-flow: column;
    justify-content: flex-end;    
    color: white;
    width: calc(100% - var(--form-index-width));
    background-position: center;
  }

  .icons__wrapper {
    margin-block-start: 0;
    gap: 4rem;
    background-color: #fff;
  }

  a.option {
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    /* color: white; */
    flex-flow: row;
    width: auto;
    font-size: 1.6rem;
    font-weight: bold;
  }

  a.option > img {
    width: 5rem;
  }

  section#img__wrapper > h1 {
    margin-block-start: 0;
    margin-block-end: 0;
    font-size: 3em;
  }
  
  section#img__wrapper > span {
    margin-block-start: 0;
    margin-block-end: 0;
    font-size: 5em;
  }

  section#img__wrapper > h4 {
    margin-block-start: 0.5em;
    margin-block-end: 1em;
    font-size: 1.5em;
  }

  section#footer {
    grid-area: footer;
    font-size: initial;
    justify-content: center;
  }

  #form_logos_wrapper {
    display: none;
  }

  section#formulario > div#logos__wrapper {
    /* margin-block-start: 2em; */
  }

  section#formulario{
    min-width: var(--form-index-width);
    width: var(--form-index-width);
    /* gap: 12rem; */
  }
}
