/* header */
.header {
  background-color: var(--black);
  box-shadow: 1px 1px 4px 0 rgba(0, 0, 0, 0.1);
  position: fixed;
  width: 100%;
  z-index: 9;
  top: 0;
  left: 0;
  right: 0;
  margin: 0;
}

.header .inner-header {
  width: 100%;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: flex-start;
}

.header .menu {
  display: flex;
  list-style: none;
  gap: 1rem;
  padding: 0;
  margin: 0;
}

.header .menu a {
  color: var(--text-inner);
  font-weight: bold;
  text-transform: uppercase;
  list-style: none;
  display: block;
  width: fit-content;
  transition: background-color 0.5s, color 0.5s;
  padding: 1rem 2rem;
  border-radius: 4px;
  margin: 0;
}

.header .menu a:hover,
.header .menu a:active {
  background-color: var(--primary);
  color: var(--text-inner);
}

.header .menu .tickets-menu {
  background: var(--secondary);
  color: var(--black);
}

/* logo */
.header__logo {
  color: rgb(224, 224, 224);
  font-size: 0.6rem;
  line-height: 1;
  text-align: center;
  text-transform: uppercase;
  padding: 0.5rem 0;
  max-width: 250px;
}

.header__logo a {
  display: block;
  margin-block-start: 0.3rem;
}

.header__logo img {
  width: 80%;
}

/* menu */
.menu.desktop {
  display: none;
}

.header .menu-btn {
  background-color: var(--primary);
  border-radius: 4px;
  border: none;
  cursor: pointer;
  display: block;
  user-select: none;
  width: 3rem;
  height: 3rem;
  padding: 0.5rem;
  margin-inline-start: auto;
  margin-inline-end: 1rem;
}

.main-menu.mobile {
  background-color: var(--black);
  position: fixed;
  flex-direction: column;
  width: 100%;
  z-index: 10;
  top: 0;
  left: 100%;
  transition: left 300ms ease-in-out;
  bottom: 0;
  z-index: 10;
  height: 100vh;
  box-shadow: 0px 8px 16px 0px rgba(0, 0, 0, 0.2);
}

.main-menu.mobile.show {
  left: 0;
}

.main-menu.mobile .inner-main-menu {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  width: 100%;
  margin: 4rem 0 0 0;
  padding: 0;
  list-style: none;
  flex: 1;
}

.main-menu.mobile .inner-main-menu li a {
  padding: 1rem 2rem;
  width: 100%;
  text-align: right;
  box-sizing: border-box;
}

.close-btn {
  display: block;
  user-select: none;
  background-color: transparent;
  border: none;
  cursor: pointer;
  width: 3rem;
  height: 3rem;
  padding: 0.5rem;
  margin: 1rem;
  margin-inline-start: auto;
}

/* lang menu */
.lang-menu {
  display: none;
}

/* Change color of dropdown links on hover */
.lang-menu-mobile {
  width: 100%;
  display: flex;
  justify-content: flex-end;
  margin-block-start: auto;
  margin-block-end: 10vh;
}

.main-menu.mobile .inner-main-menu .lang-menu-mobile a {
  width: fit-content;
}

.lang-menu-mobile a:hover {
  background-color: var(--primary);
  color: var(--text-inner);
}

.lang-menu-mobile .dropdown-content-selected {
  background-color: var(--primary);
  color: var(--text-inner);
  font-weight: bold;
}

/* Desktop styles */
@media (min-width: 1080px) {
  /* desktop reset */
  .header {
    display: flex;
    align-items: center;
    justify-content: center;
  }

  .header .inner-header {
    justify-content: center;
  }

  .header .menu-btn {
    display: none;
  }

  .menu.desktop {
    display: block;
  }

  .menu.mobile {
    display: none;
  }
  /* menu */
  .header .menu {
    display: flex;
    gap: 1rem;
    width: fit-content;
  }

  /*lang menu */

  .lang-menu {
    display: block;
    width: fit-content;
    position: absolute;
    right: 1rem;
  }

  .lang-menu .dropbtn {
    padding: 1rem;
    background-color: transparent;
    border: 0 none;
    color: var(--text-inner);
    font-size: 1rem;
    border-radius: 4px;
  }

  /* Dropdown Content (Hidden by Default) */
  .dropdown-content {
    display: none;
    position: absolute;
    width: 100%;
    background-color: var(--black);
    box-shadow: 0px 8px 16px 0px rgba(0, 0, 0, 0.2);
    z-index: 1;
  }

  .dropdown-content.show {
    display: block;
  }

  /* Links inside the dropdown */
  .dropdown-content a {
    width: 100%;
    display: block;
    padding: 16px !important;
    color: var(--text-inner);
    text-decoration: none;
  }

  /* Change color of dropdown links on hover */
  .dropdown-content a:hover {
    background-color: var(--primary);
    color: var(--text-inner);
  }

  .dropdown-content .dropdown-content-selected {
    background-color: var(--primary);
    color: var(--text-inner);
    font-weight: bold;
  }

  /* logo */
  .header__logo {
    max-width: 350px;
    text-align: center;
  }

  .header__logo a {
    margin-inline-start: 0.38rem;
  }

  .header__logo img {
    width: 90%;
  }
}
