* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

.header {
  background-color: rgb(119, 29, 29);
  color: azure;
  display: flex;
  flex-direction: column;
  padding: 20px;
  font-family: Arial, Helvetica, sans-serif;
  position: fixed;
  top: 0;
  width: 100%;
  z-index: 1000;
}

.header a {
  text-decoration: none;
  color: azure;
}

.left {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
}

.menu-toggle {
  width: 55px;
  height: 35px;
}

.right {
  display: none;
}

.right.active {
  display: block;
}

.nav {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.nav a {
  font-size: 26px;
  width: 100%;
  padding: 10px;
}

.nav a:hover {
  box-shadow: 0 0 0 2px azure inset;
}

.search {
  width: 100%;
  padding: 10px;
  display: flex;
}

.search input {
  flex: 1;
  margin-right: 10px;
  background-color: black;
  color: white;
  border-radius: 12px;
  padding-left: 10px;
  height: 50px;
}

.search button {
  all: unset;
  border: 2px solid azure;
  border-radius: 12px;
  padding: 0 12px;
  cursor: pointer;
}

/* Desktop */
@media (min-width: 961px) {

  .header {
    flex-direction: row;
    align-items: center;
    gap: 50px;
    padding: 20px 40px;
  }

  .menu-toggle {
    display: none;
  }

  .left {
    width: auto;
  }

  .right {
    display: flex !important;
    align-items: center;
    gap: 30px;
    width: 100%;
    font-weight: 700;
  }

  .nav {
    flex-direction: row;
    gap: 20px;
  }

  .nav a {
    font-size: 16px;
    padding: 6px 10px;
  }

  .search {
    width: auto;
    padding: 0;
    gap: 10px;
    margin-left: auto;
  }

  .search input {
    width: 250px;
    height: 40px;
    font-size: 16px;
  }

  .search button {
    height: 40px;
  }
}