.mobile-only {
  display: none;
}

.desktop-only {
  display: block;
}

header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  background-color: #fff;
}

.header-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin: 24px 276px 24px 276px;
}

.img-logo {
  width: 7.4588rem;
  height: 4.1325rem;
}

.header-links {
  display: flex;
  gap: 20px;
  align-items: center;
  justify-content: center;
}

.header-link {
  color: #000;
  font-weight: 500;
  font-size: 1rem;
  font-family: 'Poppins', sans-serif;
  text-decoration: none;
  transition: color 0.2s;
  outline: none;
}

.header-link:hover,
.header-link:focus {
  color: #C7475D;
  text-decoration: none;
}

@media (max-width: 768px) {
  .mobile-only {
    display: block;
  }

  .desktop-only {
    display: none !important;
  }

  header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 65px;
    z-index: 1000;
    background-color: #fff;
  }

  .header-container {
    display: flex;
    justify-content: space-between;
    max-width: 1400px;
    width: auto;
    height: 65px;
    margin: 0 38px;
    overflow: hidden;
  }

  .img-logo {
    position: absolute;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 4.0625rem;
    height: 2.5625rem;
    display: block;
    z-index: 2;
  }

  nav {
    background-color: #fff;
    text-decoration: none;
    width: 100%; 
  }

  .checkbtn {
    display: flex;
    justify-content: center;
    align-items: center;
    left: -50px;
    width: 24px;
    height: 24px;
    margin: 0 auto 0 auto;
  }

  .menu {
    width: 24px;
    height: 24px;
    background-size: contain;
    background-repeat: no-repeat;
    background-position: left;
    border: none;
    cursor: pointer;
  }

  .menu img {
    left: 100px;
  }

  #check {
    display: none;
  }

  #check:checked ~ .nav-mobile {
    display: block;
  }

  .nav-mobile {
    display: none;
    position: absolute;
    top: 32px;
    left: 0;
    background: #fff;
    z-index: 1;
    width: 100%;
    margin-top: 32px;
  }

  .nav-mobile a {
    color: #000000;
    padding: 0 64px 24px 32px;
    display: block;
  }

}