* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body,
body a,
html {
  overflow-x: hidden;
  text-decoration: none;
}

body {
  background-color: #f2f2f2;
}

img {
  max-width: 100%;
  height: auto;
}

.container {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 12px;
}

.nav_bg {
    background-color: #ffffff;
    border-bottom: 1px solid #e57676;
    position: fixed;
    width: 100%;
    z-index: 99;
}

.nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 14px 20px;
}

.nav .logo {
  color: white;
  font-size: 20px;
}

.nav-links {
  display: flex;
  gap: 1.5rem;
}

.nav-links a {
  color: #e57676;
  text-decoration: none;
  padding: 15px 20px;
  font-weight: 800;
  border: 1px solid #e57676;
  border-radius: 30px;
  transition: background-color 0.3s ease, color 0.3s ease;
}

.nav-links a:hover {
  background-color: #e57676;
  color: rgb(255, 255, 255);
}

.nav .icon {
  display: none;
  font-size: 28px;
  color: #e57676;
  cursor: pointer;
}

/* 漢堡選單的樣式 */
@media screen and (max-width: 992px) {
  .nav-links {
    display: none;
    flex-direction: column;
    width: 100%;
    background-color: #ffffff;
    position: absolute;
    top: 91px;
    right: 0;
  }

  .nav-links a {
    text-align: center;
    padding: 14px 20px;
    border: 0;
    border-radius: 0;
  }

  .nav .icon {
    display: block;
  }

  .nav.responsive .nav-links {
    display: flex;
    z-index: 9;
  }
}

@media screen and (max-width: 786px) {
  .nav-links {
    gap: 0.5rem;
  }
  .nav-links {
    top: 77px;
  }
  .logo {
    max-width: 40%;
  }
}
@media screen and (max-width: 450px) {
  .links {
    top: 57px;
  }
}
