.home-body {
  background-color: #f1fcfa;
  margin: 0;
  overflow: hidden; /* Para ocultar el desplazamiento vertical */
  position: relative; /* Añade position:relative para que los elementos se apilen */
}


#container {
  display: flex;
  justify-content: center;
  align-items: center;
}
   

/* Establece el estilo para el contenedor de contenido (centrado) */
#root {
  background-color: rgba(255, 255, 255, 0.8); /* Fondo semi-transparente para el contenido */
  padding: 5rem; /* Agrega espacio alrededor del contenido */
  /* Otros estilos para el contenedor de contenido */
  display: flex;
  flex-direction: column;
  justify-content: center; /* Centra los elementos verticalmente */
  align-items: center; /* Centra los elementos horizontalmente */
  border-radius: 2rem;
  box-shadow: 0 0 20px #01ffeedc;
}

.logo{
  width: 6rem;
  position: relative;
  border-radius: 3rem;
  opacity: 0.8;
  transform: translate(-0.5rem, -4rem);
}
.header {
  padding: 1.3rem; /* Agrega espacio alrededor del encabezado */
  text-align: center; /* Centra el texto horizontalmente */
  /* Otros estilos para el encabezado si es necesario */
  font-family: 'Pixelify Sans', cursive;
  font-size: 1rem;
  color:#303030;
}
h1 {
  letter-spacing: 0.5rem;
}
.title {
  transform: translate(0, -4.5rem);
}
.slogan {
  transform: translate(0, -4rem);
}

#button-container {
  display: flex;
  align-items: center;
  text-align: center;
  justify-content: space-around;
}

.btnAll {
  margin: 0.3rem;
  padding: 0.6rem 1.3rem;
  font-size: 1.1rem;
  border-radius: 1rem;
  border-color:rgba(0, 255, 157, 0.2) ;
  box-shadow: 1rem 1rem 1rem rgba(0, 255, 213, 0.2);
  transform: translate(0, -1.2rem);
}

#googleButton {
  background-color: transparent;
  border: none;
  border-radius: 0.3rem;
  width: 1rem;
  height: 1rem;
  margin-left: 2.2rem;
  margin-top: 2rem;
} 

#imgGoogle {
  margin: 0;
  padding: 0;
  width: 12rem;


}
@media screen and (max-width: 375px) {
  body {
    overflow: auto; 
    display: flex;
  }

  /* Ajusta el estilo del contenedor principal para móvil */
  #container {
    height: auto; 
    justify-content: center;
    align-items: center;
  }

  /* Establece el estilo para el canvas (fondo) en móvil */
  #canvas {
   position: absolute;
    top: 0;
    left: 0;
    width: 100%; 
    height: 100%; 
    z-index: -1;
  }

  /* Resto de los estilos para móvil */
  #root {
  width: 13rem;
  margin: 1rem;
  margin-left: -0.2rem;  
  margin-right: -0.3rem;
  background-color:#faf601dc;
  }

  .logo {
    /* Estilos para el logo en móvil */
    width: 4rem; /* Reduzca el tamaño del logo en móvil */
    border-radius: 2rem;
  }

  .header {
    font-size: 1rem; 
  }

  h1 {
    
    letter-spacing: 0.3rem; 
  }

  #button-container {
    
    flex-direction: column; 
    align-items: center; 
  }

 
  .btnAll {
    font-size: 0.9rem; 
  }

  #googleButton {
  width: 20%; 
  }
}


 .login-body {
    width: 100%;
    height: 100vh;
    background-color: #f1fcfa;
    display: flex;
    justify-content: center;
}
#root {
    width: 20rem;
    height: 40rem;
}
.btnHome {
  margin: 0.3rem;
  padding: 0.6rem 1.3rem;
  font-size: 0.8rem;
  border-radius: 1rem;
  border-color:rgba(0, 255, 157, 0.2) ;
  box-shadow: 1rem 1rem 1rem rgba(0, 255, 213, 0.2);
  transform: translate(1rem, -5rem);
}
.inputLogin {
    width: 100%;
    margin: 0.8rem;
    max-width: 400px;
    background: none;
    position: relative;
    overflow: hidden;
    transform: translate(1rem, -3rem);
}
.inputEm {
    width: 100%;
    height: 50%;
    background: none;
    color: #000000;
    border: none;
    outline: 0;
    border-bottom: 0.01rem solid #000000;
}
.inputPw {
    width: 100%;
    height: 50%;
    background: none;
    color: #000000;
    border: none;
    border-bottom: 0.01rem solid #000000;
}

.btnEnterTS {
    margin: 0.3rem;
    padding: 0.6rem 1.3rem;
    font-size: 0.8rem;
    border-radius: 1rem;
    border-color:rgba(0, 255, 157, 0.2) ;
    box-shadow: 1rem 1rem 1rem rgba(0, 255, 213, 0.2);
    transform: translate(12rem, 0.5rem);
}
.modal {
    display: none;
    position: fixed;
    left: 35rem;
    top: 12rem;
    width: 10%;
    height: 30%;
    overflow: hidden;
    background-color: rgba(250, 248, 248, 0.8);
}
.modalContent {
    margin: 60% auto;
    padding: 10px;
    border: 1px transparent #888;
    width: 80%;
    color: #0c0b0b;
}
.closeModal {
    color: #040404;
    float: right;
    font-size: 28px;
    font-weight: bold;
    cursor: pointer;
}

/* @media screen and (max-width: 768px) {
   
    .bienvenida {
    font-family: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
    font-size: 1.5rem;
    color: #fcfcfc;
    margin: 8rem;
}

} */

.register-body {
    background-color: #f1fcfa;
    margin: 0;
    overflow: hidden; /* Para ocultar el desplazamiento vertical */
    position: relative; /* Añade position:relative para que los elementos se apilen */
  }
  
#divRegister {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}  
  #container {
   
    height: 100vh; /* Hace que el contenedor ocupe todo el alto de la ventana */
  }
  
  /* Establece el estilo para el contenedor de contenido (centrado) */
  #root {
    background-color: rgba(255, 255, 255, 0.8); /* Fondo semi-transparente para el contenido */
    padding: 5rem; /* Agrega espacio alrededor del contenido */
    /* Otros estilos para el contenedor de contenido */
    display: flex;
    flex-direction: column;
    justify-content: center; /* Centra los elementos verticalmente */
    align-items: center; /* Centra los elementos horizontalmente */
    border-radius: 2rem;
  }
 #return{
    margin: 0.3rem;
    padding: 0.6rem 1.3rem;
    font-size: 0.8rem;
    border-radius: 1rem;
    border-color:rgba(0, 255, 157, 0.2) ;
    box-shadow: 1rem 1rem 1rem rgba(0, 255, 213, 0.2);
    transform: translate(-6rem, -4rem);
  }
  .inputs{
    width: 100%;
    margin: 0.1rem;
    max-width: 400px;
    background: none;
    position: relative;
    overflow: hidden;
    transform: translate(1rem, -3rem);
  }
  .email {
    width: 100%;
    height: 50%;
    background: none;
    color: #000000;
    border: none;
    border-bottom: 0.01rem solid #000000;
  }
 .password{
    width: 100%;
    height: 50%;
    background: none;
    color: #000000;
    border: none;
    border-bottom: 0.01rem solid #000000;
}
 #create {
  margin: 0.3rem;
  padding: 0.6rem 1.3rem;
  font-size: 0.8rem;
  border-radius: 1rem;
  border-color:rgba(0, 255, 157, 0.2) ;
  box-shadow: 1rem 1rem 1rem rgba(0, 255, 213, 0.2);
  transform: translate(10rem , -1rem);
 }#post-text{
  background: none;
  color: #000000;
  border: none;
  padding: 0.36rem;
  border-bottom: 0.1rem solid #5c988b;
  transform: translate(30px, 10px);
}
#divpost {
  border-radius: 1rem;
  border-color:rgba(0, 255, 157, 0.2) ;
}
#createPost{
  margin-left: 4.1rem;
  color: rgb(63, 67, 67);
  font-family: 'Pixelify Sans', cursive;
}
#btn-post{
  margin: 2rem;
  padding: 0.6rem 1rem;
  font-size: 0.8rem;
  border-radius: 1rem;
  border-color:rgba(0, 255, 157, 0.2) ;
  transform: translate(63px, 10px);
}
#btn-logout{
  padding: 0.6rem 0.8rem;
  font-size: 0.8rem;
  border-radius: 1rem;
  border-color:rgba(0, 255, 157, 0.2) ;
  box-shadow: 1rem 1rem 1rem rgba(0, 255, 213, 0.2);
  transform: translate(270px, -220px);
}
section {
  margin: 1rem 1rem;
  font-size: 0.8rem;
  border-radius: 1rem;
  background-color: rgba(0, 179, 255, 0.062);
}
#buttondelete {
  margin: 2rem .2rem;
  padding: 0.6rem 1.3rem;
  font-size: 0.8rem;
  border-radius: 6rem;
  border-color:rgba(255, 123, 0, 0.2) ;
  background-color: rgba(255, 0, 0, 0.174);
  
}
#buttonlike {
  margin: .3rem .7rem;
  padding: 0.6rem 1.3rem;
  font-size: 0.8rem;
  border-radius: 6rem;
  background-color:rgba(4, 0, 255, 0.078) ;
}
article {
    padding: 0.6rem 1.3rem;
    background-color: rgba(193, 224, 227, 0.016);
      border: #6ce7be 0.3rem solid;
      margin: 1rem;
}

.posts-section {
  max-height: 400px; /* Establece la altura máxima que desees */
  overflow-y: auto; /* Habilita la barra de desplazamiento vertical cuando sea necesario */
}
@media screen and (min-width: 376px) and (max-width: 419px) { 
  #btn-logout{
    transform: translate(270px, -240px);
  }
}

@media screen and (min-width: 420px) and (max-width: 670px) { 
  #btn-logout{
    transform: translate(120px, -240px);
  }
}

@media screen and (min-width: 474px) and (max-width: 670px) { 
  #btn-logout{
    transform: translate(280px, -310px);
  }
}

@media screen and (min-width: 671px) and (max-width: 998px) { 
  #btn-logout{
    transform: translate(280px, -230px);
  }
}