* {
  padding: 0;
  margin: 0;
  text-decoration: none;
  list-style: none;
  box-sizing: border-box;
}

nav {
  /* background: #333; */
  background-color: rgb(0, 0, 0);
  height: 80px;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 20px;
  position: relative;
  z-index: 10;
}



nav ul {
  display: flex;
  align-items: center;
  gap: 15px;
}

nav ul li {
  display: inline-block;
}

nav ul li a {
  color: white;
  font-size: 17px;
  padding: 7px 13px;
  border-radius: 3px;
  font-family: Arial, Helvetica, sans-serif;
  transition: 0.3s ease;
}

a:hover {
  opacity: 0.6;
}

.checkbtn {
  display: none;
  cursor: pointer;
}

.menu-icon {
  width: 30px;
  height: auto;
}

#check {
  display: none;
}

.left-nav {
  display: flex;
  align-items: center;
}

#wrestling-logo {
  max-height: 60px;
  height: auto;
  width: auto;
}

.left-nav a:hover {
  opacity: 1 !important;
}

#header-2{
  display:none;
  height: auto;
  max-height: 40px; /* or whatever fits nicely */
  margin-right: 10px; /* spacing between logos */
  width: auto;
}

/* Mobile Styles */
@media (max-width: 650px){
  nav {
    flex-wrap: nowrap; /* prevent wrapping */
    height: 50px;
    padding: 5px 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
  }

  /* .checkbtn {
    display: block;
    line-height: 60px;
  } */

  .left-nav {
    display: flex;
    align-items: center;
    /* gap: 5px; space between logos if both visible */
  }

  .checkbtn {
    display: flex; /* inline flex for proper alignment */
    cursor: pointer;
    /* remove margin-left: auto */
    align-items: center;
    height: 40px;
  }

  nav ul {
    flex-direction: column;
    align-items: flex-start;
    width: 100%;
    /* background: #333; */
    background-color: rgb(0, 0, 0);
    position: absolute;
    /* top: 80px; */
    top: 50px;
    left: 0;
    display: none;
    padding: 10px 20px;
  }

  nav ul li {
    width: 100%;
    margin: 10px 0;
    text-align: center;
  }

  nav ul li a {
    width: 100%;
    display: block;
    font-size: 14px;
  }

  #check:checked ~ .left-nav + .checkbtn + ul {
    display: flex;
  }

  /* #wrestling-logo {
    height:175px;
  } */
   #wrestling-logo {
    height: auto;
    max-height: 40px; /* or whatever fits nicely */
    width: auto;
    margin-bottom: 0;
  }

  .menu-icon {
    width: 30px;
    height: auto;
  }
}

@media screen and (min-width: 651px) and (max-width: 1024px) {
  nav {
    
    flex-wrap: wrap;
    /* height: auto;
    padding: 10px 20px; */
    height: 50px;           /* reduce from 80px to something smaller */
    padding: 5px 20px;
  }

  /* .checkbtn {
    display: block;
    line-height: 60px;
  } */

  .left-nav {
    display: flex;
    align-items: center;
    gap: 5px; /* space between logos if both visible */
  }

  .checkbtn {
    display: block;
    margin-left: auto; /* push menu icon to right */
    line-height: 50px;
  }

  nav ul {
    flex-direction: column;
    align-items: flex-start;
    width: 100%;
    /* background: #333; */
    background-color: rgb(0, 0, 0);
    position: absolute;
    /* top: 80px; */
    top: 50px;
    left: 0;
    display: none;
    padding: 10px 20px;
  }

  nav ul li {
    width: 100%;
    margin: 10px 0;
    text-align: center;
  }

  nav ul li a {
    width: 100%;
    display: block;
    font-size: 17px;
  }

  #check:checked ~ .left-nav + .checkbtn + ul {
    display: flex;
  }

  /* #wrestling-logo {
    height:175px;
  } */
   #wrestling-logo {
    height: auto;
    max-height: 40px; /* or whatever fits nicely */
    margin-right: 10px; /* spacing between logos */
    width: 75%;
    margin-bottom: 10px;
  }
}