* {
	box-sizing: border-box;
	font-family: 'DM Sans', sans-serif;
}

html{
    height: 100%;
    width: 100%;
    background-image: url('../img/bg-estuerc-ani.gif'); 
    background-repeat: no-repeat; 
    background-size: cover;
    background-attachment: fixed;
}

body {
	display: flex;
	justify-content: center;
	align-items: center;
	flex-direction: column;
	height: 100vh;
	margin: 0px;
}

h1 {
	font-weight: bold;
	margin: 0;
}

p {
	font-size: 14px;
	font-weight: 100;
	line-height: 20px;
	letter-spacing: 0.5px;
	margin: 20px 0 30px;
}

a{
  margin-top: -15%;
  font-size: 12px;
}

#containerLogin {
  width: 760px;
  max-width: 100%;
  min-height: 480px;
  display: flex; /* Utilizamos flexbox para alinear los divs internos */
  position: absolute;
  z-index: 2;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

#loginDiv {
  width: 50%; /* Ancho del primer div */
  background-color: #ffffff; /* Color de fondo del primer div */
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-evenly;
  border-top-left-radius: 30px;
  border-bottom-left-radius: 30px;
}

#textDiv {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 50%; /* Ancho del segundo div */
  background: rgb(224,98,0);
  background: linear-gradient(90deg, rgb(255, 130, 35) 0%, rgba(255,140,0,0.7931547619047619) 100%);
  color: #FFFFFF;
  border-top-right-radius: 30px;
  border-bottom-right-radius: 30px;
}

#loginDiv input{
  background-color: #eee;
  border: none;
  padding: 12px 15px;
  margin: -30px 0;
  width: 70%;
}

button {
  border-radius: 20px;
  border: 0px solid;
  background: rgb(224,98,0);
    background: linear-gradient(90deg, rgba(224,98,0,1) 0%, rgba(255,140,0,0.7931547619047619) 100%);
  color: #FFFFFF;
  font-size: 12px;
  font-weight: bold;
  padding: 12px 45px;
  letter-spacing: 1px;
  text-transform: uppercase;
  transition: transform 80ms ease-in;
}

button:active {
	transform: scale(0.95);
}

button:focus {
	outline: none;
}

button.ghost {
	background-color: transparent;
	border-color: #FFFFFF;
}

#logoSunfer{
	width: 25%;
    margin-bottom: 10%;
}

@media only screen and (max-width: 800px) {
  #loginDiv {
    width: 100%;
    background-color: #ffffff;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-evenly;
    height: 18em;
    border-bottom-right-radius: 30px;
    border-bottom-left-radius: 30px;
    border-top-left-radius: 0px;
  }

  #loginDiv input {
    background-color: #eee;
    border: none;
    padding: 12px 15px;
    margin: -30px 0;
    width: 70%;
    margin-bottom: 0%;
  }
  #textDiv {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 100%;
    background: rgb(224,98,0);
    background: linear-gradient(90deg, rgb(255, 130, 35) 0%, rgba(255,140,0,0.7931547619047619) 100%);
    color: #FFFFFF;
    height: 17em;
    border-top-left-radius: 30px;
    border-top-right-radius: 30px;
    border-bottom-right-radius: 0px;
  }

  #containerLogin {
    width: 372px;
    max-width: 100%;
    min-height: 480px;
    display: flex; /* Utilizamos flexbox para alinear los divs internos */
    position: absolute;
    z-index: 2;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    flex-direction: column-reverse;
  }
  
  #logoSunfer{
    width: 25%;
    margin-bottom: 2%;
  }

  p {
    margin-bottom: 2%;
  }

  h1{
    margin-top: 3%;
  }

  #loginDiv h1{
    font-size: 20px;
    margin-top: -7%;
  }

  a{
    margin-top: -8%;
    font-size: 12px;
    margin-bottom: -5%;
  }

  button, #inputUser{
    margin-top: -5%;
  }
}