
.sidebar {
  height: 100%;
  width: 0;
  position: fixed;
  z-index: 100;
  top: 0;
  left: 0;
  background-color: var(--primary-color);
  overflow-x: hidden;
  transition: 0.5s;
  padding-top: 60px;
}

.sidebar h4
{
  padding: 20px; 
  color: var(--primary-color); 
  min-width: 250px;
}

.sidebar a {
  padding: 8px 8px 8px 20px;
  text-decoration: none;
  font-size: 18px;
  color: #fff;
  display: block;
  transition: 0.3s;
  min-width: 250px;
}

.sidebar a:hover {
  color: #f1f1f1;
}

.sidebar .closebtn {
  position: absolute;
  top: -2px;
  right: 25px;
  font-size: 36px;
  margin-left: 50px;
  min-width: unset;
}

.openbtn {
  position: absolute;
  font-size: 30px;
  cursor: pointer;
  color: white;
  border: none;
  z-index: 100;
  height: 46px;
  background-color: transparent;
  right: 30px;
  top: 3px;
  padding-bottom: 5px;
}

.openbtn:hover {
  background-color: transparent;
}

#main {
  transition: margin-left .5s;
  padding: 16px;
  z-index: 1;
  min-width: 90%;
}

.backbtn {
  font-size: 22px;
  cursor: pointer;
  color: white;
  border: none;
  z-index: 1;
  width: 48px;
  height: 46px;
  background-color: transparent;
  font-weight: bolder;
  margin-left: 10px;
}

.sidebar .welcomeuser
{
  color: aquamarine;
  padding:20px; 
  min-width: 250px;
  font-size: 20px;
}

.sidebar a.miomuseo
{
  color: aquamarine;
  font-weight: 700;
  font-size: 24px;
}

.sidebar a.section
{
  font-weight: 700;
  font-size: 24px;
  margin-top: 10px;
}

.sidebar .indented
{
  font-size: 22px;
}

.header 
{
  display: flex;
  align-items: center;
  width: 100%;
  height: 45px;
  padding: 30px;
  background: var(--primary-color);
  position: fixed;
  left: 0;
  top: 0;
  box-sizing: border-box;
  z-index: 25;
}

/* Bottoni */
.backbtn, .openbtn {
  background: none;
  border: none;
  font-size: 40px;
  cursor: pointer;
}

/* Titolo */
.title {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  text-transform: uppercase;
}

.title h2 {
  margin: 0;
  margin-top: 4px;
}

.selettore-lingua
{
    height: 40px;
    position: relative;
    width: 100%;
    margin-left: 20px;

  img
  {
      border: 2px solid aquamarine;
    height: 100%;
  }
}

.home
{
  width: 32px;
  filter: invert(1);
}

@media screen and (max-height: 844px) 
{
  .sidebar .welcomeuser
  {
    padding: 20px 20px 5px 20px;
  }
  .sidebar a 
  {
    padding: 8px 8px 0px 20px;
  }
  .sidebar a.miomuseo
  {
    color: aquamarine;
    font-weight: 700;
    font-size: 22px;
  }

  .sidebar a.section
  {
    font-weight: 700;
    font-size: 22px;
    margin-top: 10px;
  }

  .sidebar .indented
  {
    font-size: 20px;
  }
}

@media screen and (max-height: 667px) 
{
  .sidebar .welcomeuser
  {
    padding: 20px 20px 5px 20px;
  }
  .sidebar a 
  {
    padding: 8px 8px 0px 20px;
  }
  .sidebar a.miomuseo
  {
    color: aquamarine;
    font-weight: 700;
    font-size: 20px;
  }

  .sidebar a.section
  {
    font-weight: 700;
    font-size: 20px;
    margin-top: 5px;
  }

  .sidebar .indented
  {
    font-size: 18px;
  }
}


