html,body{
  height: 100%;
}

body{
 display: flex;
 margin: 0;
}

main{
  min-height: 100%;
  width: 100%;
  background-color: white;
  box-sizing: content-box;
  overflow-x: auto;
  font-family: 'Mali', cursive;
  margin: 0;

  transition: .5s;
  z-index: 1;
  padding: 0 15%;

  position: relative;
  box-sizing: border-box;
  min-width: 100%;
}
h1{
  text-align: center;
  margin-bottom: 1.4em;
}

#main > main{
  flex-wrap: wrap;
}

#main > main div{
  width: 100%;
  background-color: white;
  margin-bottom: 5em;
}

#main > main div img{
  width: 100%;
}

/*----------*/
.sidebar{
  width: 15em;
  height: 100%;
  position: fixed;
  top: 0;
  left: 0;

  transition: .5s;
  background-color: #000000;
  z-index: 1;
  margin-left: -15em;
}

.showbar .sidebar{
  margin-left: 0;
}

.showbar #main{
  margin-left: 15em;
  filter: brightness(0.85);
}

.sidebar h1{
  font-size: 2.5em;
  font-family: 'Roboto', sans-serif;
  text-align: center;
  color: white;
}

.sidebar .list{
  height: 5em;
  transition: .25s background-color;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Roboto', sans-serif;
  color: white;
  text-decoration: none;
}

.sidebar .list img{
  height: 4em;
  margin-right: 1.5em;
}

.sidebar .list:hover{
  background-color: #ff8f00;
}

#btn{
  /*width: 2.25em;
  height: 2.25em;*/
  font-size: 2em;
  user-select: none;
  border: 1px solid black;
  border-radius: 5px;
  box-sizing: border-box;
  background-color: rgba(255, 255, 255, 0.75);


  display: inline-flex;
  flex-direction: column;
  justify-content: space-around;
  padding: 2.5px;

  position: absolute;
  top: .5em;
  left: .5em;
  z-index: 99;
}

#btn:hover{cursor: pointer}

#btn i{
  font-size: 1em;
}

.subtitulo{
  text-align: center;
  font-weight: normal;
  margin-top:0;
  font-size: 1em;
}

#main{
  padding: 0;
}

#main > main{
  display: flex;
  flex-direction: column;
}

#main header{
  position: relative;
  background-image: url("../img/wallpaper.jpg");
  background-position: center;
  background-size: cover;
  height: 35vh;

  color: white;
  margin-bottom: 0;
}

#main header::after{
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  right: 0;
  background: rgba(0, 0, 0, 0.1);
  z-index: 1;
  pointer-events: none;
}

#main .titulo{
  margin-top: 0;
  z-index: 2;
  position: absolute;

  top: 50%; left: 0;
  transform: translateY(-50%);
  width:100%;
  font-size: 2vh;
  padding: 0 1em;
  box-sizing: border-box;
}

#main .titulo *{margin: 0}
