.main-header {
  width: 100%;
  color: black;
  font-weight: 800;
  font-family: Verdana, Geneva, Tahoma, sans-serif;
  z-index: 10;
  top: 0px;
  left: 0px;
  background-color: transparent;
  transition: background-color 0.3s ease-in-out;
}
/* --------transition for logo size change---------- */
.header-logo img {
  width: 170px;
  transition: width 0.3s ease-in-out, height 0.3s ease-in-out;
}

.header-logo.news-page img {
  width: 110px;
  height: auto;
}

.main-header.scrolled .header-logo img {
  width: 110px;
  height: 110px;
}

.main-header.scrolled .header-logo.news-page img {
  width: 110px;
  height: 110px;
}

.main-header.scrolled .header-logo {
  margin: 1rem 0 0 1rem;
}
/* ------------------ */
.main-header.scrolled {
  background-color: black;
}

.main-header.sticky {
  position: fixed;
  color: white;
}

.header-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  margin: 0 auto;
  max-width: 1200px;
  padding: 1rem 1.5rem 1rem 1.5rem;
  height: 5rem;
}

.header-links {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex: 3;
}

.header-logo {
  width: 50%;
  margin: 6rem 0 0 1rem;
  z-index: 5;
}

.header-logo.news-page {
  width: 50%;
  margin: 1rem 0 0 1rem;
  z-index: 5;
}

.header-nav {
  width: 100%;
  display: flex;
  flex-direction: row;
}

.header-nav ul {
  width: 100%;
  display: flex;
  justify-content: space-evenly;
  flex-direction: row;
}

.header-nav ul li {
  list-style: none;
  user-select: none;
  border-bottom: none;
  text-decoration: none;
  position: relative;
  transition: color 0.3s ease;
}

.header-nav ul li:hover {
  color: rgb(252, 180, 47);
}

.header-nav ul li::after {
  content: '';
  position: absolute;
  width: 0;
  height: 0.1875rem;
  bottom: -2px;
  left: 0;
  background-color: rgb(252, 180, 47);
  transition: width 0.3s ease;
}

.header-nav ul li:hover::after {
  width: 100%;
}

.header-nav ul li a,
.header-logo a {
  border-bottom: none;
  text-decoration: none;
  color: inherit;
  font-size: 1.5rem;
  font-family: 'Lucida Sans', 'Lucida Sans Regular', 'Lucida Grande',
    'Lucida Sans Unicode', Geneva, Verdana, sans-serif;
}

.hamburger-line {
  width: 35px;
  height: 4px;
  background-color: rgb(252, 180, 47);
  margin: 3px 0;
  border-radius: 3px;
}

.menu-wrap {
  z-index: 1;
}

.menu-wrap .toggler {
  position: absolute;
  top: -29px;
  right: 7px;
  z-index: 2;
  cursor: pointer;
  width: 50px;
  height: 50px;
  opacity: 0;
}

.menu-wrap .hamburger {
  position: absolute;
  top: -46px;
  right: 0px;
  z-index: 1;
  width: 40px;
  height: 60px;
  padding: 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Hamburger Line */
.menu-wrap .hamburger > div {
  position: relative;
  flex: none;
  width: 100%;
  height: 2px;
  background: rgb(252, 180, 47);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.4s ease;
}

/* Hamburger Lines - Top & Bottom */
.menu-wrap .hamburger > div::before,
.menu-wrap .hamburger > div::after {
  content: '';
  position: absolute;
  z-index: 1;
  top: -10px;
  width: 100%;
  height: 2px;
  background: inherit;
}

/* Moves Line Down */
.menu-wrap .hamburger > div::after {
  top: 10px;
}

/* Toggler Animation */
.menu-wrap .toggler:checked + .hamburger > div {
  transform: rotate(135deg);
}

/* Turns Lines Into X */
.menu-wrap .toggler:checked + .hamburger > div:before,
.menu-wrap .toggler:checked + .hamburger > div:after {
  top: 0;
  transform: rotate(90deg);
}

/* Rotate On Hover When Checked */
.menu-wrap .toggler:checked:hover + .hamburger > div {
  transform: rotate(225deg);
}

/* Show Menu */
.menu-wrap .toggler:checked ~ .menu {
  visibility: visible;
}

.menu-wrap .toggler:checked ~ .menu > div {
  transform: scale(1.2);
  transition-duration: 0.75s;
}

.menu-wrap .toggler:checked ~ .menu > div > div {
  opacity: 1;
  transition: opacity 0.4s ease 0.4s;
}

.menu-wrap .menu {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  visibility: hidden;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

.menu-wrap .menu > div {
  background: black;
  border-radius: 50%;
  width: 200vw;
  height: 200vw;
  display: flex;
  flex: none;
  align-items: center;
  justify-content: center;
  transform: scale(0);
  transition: all 0.4s ease;
}

.menu-wrap .menu > div > div {
  text-align: center;
  max-width: 90vw;
  max-height: 100vh;
  opacity: 0;
  transition: opacity 0.4s ease;
}

.menu-wrap .menu > div > div > ul > li {
  list-style: none;
  color: #fff;
  font-size: 1.5rem;
  padding: 1rem;
}

.menu-wrap .menu > div > div > ul > li > a {
  color: inherit;
  text-decoration: none;
  transition: color 0.4s ease;
}

/* ------------------------MEDIA------------------------ */
@media (max-width: 500px) {
  .header-container {
    width: 85%;
  }

  .header-logo {
    flex: none;
  }
  .header-links {
    display: none;
    visibility: hidden;
    position: absolute;
  }
  .menu-wrap {
    position: relative;
  }
}

@media (501px <= width <= 1000px) {
  .header-logo {
    flex: none;
  }
  .header-links {
    display: none;
    visibility: hidden;
    position: absolute;
  }

  .menu-wrap {
    position: relative;
    top: 4px;
    right: 31px;
  }
}

@media (1001px <= width <= 2800px) {
  .header-links {
    display: flex;
  }

  .menu-wrap {
    display: none;
  }
}
