@import url("https://fonts.googleapis.com/css2?family=Roboto:ital,wght@0,100;0,300;0,400;0,500;0,700;0,900;1,100;1,300;1,400;1,500;1,700;1,900&display=swap");

:root {
  --cabecera: #195fa9;
}

/**/
body {
  margin: 0;
  width: 100vw;
  height: 100vh;
  font-family: "Roboto", sans-serif;
}

* {
  box-sizing: border-box;
}

/*-------------------------------------------------------------------HEADER------------------------------------------------------------------*/
header {
  position: fixed;
  z-index: 99;
  width: 100%;
  height: 10%;
  top: 0;
  left: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-direction: row;
  overflow-y: hidden;
  color: white;
  background-color: var(--cabecera);
  overflow: hidden;
  padding-left: 5%;
  padding-right: 5%;
}

.h1-header {
  padding-left: 0;
  margin-top: 0%;
  margin: 0;
}

.logo {
  width: 25%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 5%;
}

.logo>h1 {
  font-size: 2rem;
  cursor: pointer;
}

.logo>img {
  width: 50px;
  height: 50px;
  transition: 0.3s;
}

.logo>img:hover {
  cursor: pointer;
  transform: scale(1.2);
}

.menus {
  width: 65%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: right;
  gap: 5%;
  padding-right: 5%;
}

.menus>p {
  font-size: 1.2em;
  font-weight: bold;
  transition: 0.3s;
}

.menus>img {
  width: 30px;
  height: 30px;
  transition: 0.3s;
}

.menus>img:hover {
  cursor: pointer;
  transform: scale(1.2);
}

.menus>p:hover {
  cursor: pointer;
  transform: scale(1.05);
}

/*#menu-btn{
  display: none;
}*/

.header-btn {
  align-items: center;
  background-color: #ffffff;
  border: 1px solid rgba(0, 0, 0, 0.1);
  border-radius: 0.25rem;
  box-shadow: rgba(0, 0, 0, 0.02) 0 1px 3px 0;
  box-sizing: border-box;
  color: rgba(0, 0, 0, 0.85);
  cursor: pointer;
  display: inline-flex;
  font-size: 1em;
  font-weight: bold;
  justify-content: center;
  line-height: 1.25;
  margin: 0;
  width: 200px;
  height: 40px;
  padding: calc(0.875rem - 1px) calc(1.5rem - 1px);
  position: relative;
  text-decoration: none;
  transition: all 250ms;
  user-select: none;
  -webkit-user-select: none;
  touch-action: manipulation;
  vertical-align: baseline;
}

.botones{
  width: 40%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: row;
  gap: 3%;
}

.botones2{
  width: 40%;
  display: none;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  margin-left: 20%;
  margin-top: 10%;
}

.botones2>button{
  margin-bottom: 5%;
}

#logoutBtn{
  margin-left: 20%;
  margin-top: 10%;
}

.header-btn:hover,
.header-btn:focus {
  border-color: rgba(0, 0, 0, 0.15);
  box-shadow: rgba(0, 0, 0, 0.1) 0 4px 12px;
  color: rgba(0, 0, 0, 0.75);
}

.header-btn:hover {
  transform: translateY(-1px);
}

.header-btn:active {
  background-color: #f0f0f1;
  border-color: rgba(0, 0, 0, 0.15);
  box-shadow: rgba(0, 0, 0, 0.06) 0 2px 4px;
  color: rgba(0, 0, 0, 0.75);
  transform: translateY(0);
}

.sidebar {
  position: fixed;
  z-index: 99;
  left: -400px;
  /* Fuera de la pantalla por defecto */
  width: 400px;
  top: 10%;
  height: 90%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-direction: column;
  background-color: var(--cabecera);
  color: white;
  border-top: 2px solid white;
  transition: left 0.3s ease;
}

.sidebar.active {
  left: 0;
  /* Aparece cuando se activa */
}

.sidebar-personal {
  width: 90%;
  height: 7%;
  margin-bottom: 5%;
  display: flex;
  align-items: center;
  justify-content: space-evenly;
  border-top: 2px solid white;
}

.sidebar-personal > h1{
  margin: 0;
  padding: 0;
}

.iconofoto {
  vertical-align: middle;
  width: 40px;
  height: 40px;
  border-radius: 50%;
}

.sidebar-menus {
  width: 90%;
  height: 50%;
  margin-top: 15%;
  display: flex;
  align-items: top;
  justify-content: left;
  flex-direction: column;
}

.sidebar-menus>img{
  width: 10%;
  margin-left: 80%;
  transition: 0.3s;
}

.sidebar-menus>img:hover{
  cursor: pointer;
  transform: scale(1.2);
}

.sidebar-menus>p {
  display: flex;
  align-items: center;
  justify-content: left;
  font-size: 1.3em;
  font-weight: bold;
  margin: 0;
  margin-left: 10%;
  margin-top: 5%;
  transition: 0.3s;
}

.sidebar-menus>p:hover {
  cursor: pointer;
  transform: translateX(10px);
}
#AreaPersonal{
  display: none;
}

@media screen and (max-width: 1000px) {
  .logo{
    margin-right: 1%;
    margin-left: 5%;
  }

  #menu-btn{
    display: block;
  }

  #Inicio1, #Inmuebles1, #Ayuda1{
    display: none;
  }

  .botones{
    margin-right: 10%;
    width: 70%;
  }
  #InmuebleRedireccionTop{
    display: none;
  }
}

@media screen and (max-width: 700px) {
  .logo{
    margin-right: 10%;
    margin-left: 10%;
  }

  #menu-btn{
    display: block;
  }

  #Registro, #InicioSesion{
    display: none;
  }
  .botones2{
    display: flex;
  }

}
@media screen and (max-width: 600px) {
#logoutBtn2{
  display: none;
}

#Area1Top{
  display: none;
}
}

@media screen and (max-width: 400px) {
  .sidebar{
    width: 100%;
  }
}
@media screen and (max-width: 500px) {
header {
  padding-left: 15%;
}
}

input{
  text-align: center;
}

#FechaEntrada{
  text-align: center;  
}

#FechaSalida{
  text-align: center;  
}