* {
  box-sizing: border-box;
}
html {
  font-size: 62.5%;
}
body {
  font-size: 1.6rem;
  font-family: "Zen Maru Gothic", serif;
}
img {
  max-width: 100%;
  height: auto;
  display: block;
}

/* --=========================================header=========================================-- */
header {
  background-color: white;
  position: sticky;
  top: 0;
  box-shadow: 0px 4px 10px #f0b829;
}
.container {
  width: 1200px;
  max-width: calc(100% - 40px);
  margin: 0 auto;
}
.header_media {
  height: 110px;
  justify-content: space-between;
  align-items: center;
  display: flex;
}
.header_logo {
  width: 170px;
  height: 100px;
}

.header_contact {
  border: none;
  background: none;
  cursor: pointer;
}

.header_contact a {
  text-decoration: none;
  padding-bottom: 7px;
  letter-spacing: 4px;
  font-size: 2rem;
  font-weight: 500;
  padding-right: 15px;
  text-transform: uppercase;
  color: #f0b829;
}

.header_contact svg {
  transform: translateX(-8px);
  transition: all 0.3s ease;
}

.header_contact:hover svg {
  transform: translateX(0);
}

.header_contact:active svg {
  transform: scale(0.9);
}

.hover-underline-animation {
  position: relative;
  color: black;
  padding-bottom: 20px;
}

.hover-underline-animation:after {
  content: "";
  position: absolute;
  width: 100%;
  transform: scaleX(0);
  height: 2px;
  bottom: 0;
  left: 0;
  background-color: #000000;
  transform-origin: bottom right;
  transition: transform 0.25s ease-out;
}

.header_contact:hover .hover-underline-animation:after {
  transform: scaleX(1);
  transform-origin: bottom left;
}

/* ==============================================main=========================================*/

/* ----------------------wallpaper------------- */
.wallpaper {
  display: flex;
  position: fixed;
  top: 110px; /* bằng chiều cao header */
  left: 0;
  width: 100%;
  height: calc(100vh - 110px); /* chiều cao full trừ header */
  background: url("../img/page.jpg") center / cover no-repeat;
  align-items: center;
  justify-content: center;
  z-index: -1; /* nằm dưới nội dung */
}
.wallpaper .container {
  height: 100%;
  display: flex;
  flex-direction: column;
  gap: 30px;
  align-items: center;
  justify-content: center;
  color: white;
}
.wallpaper_logo {
  width: 350px;
}
.wallpaper a {
  text-decoration: none;
}
.wallpaper p {
  margin: 20px 0;
  font-size: 4rem;
  text-align: center;
  color: white;
  transition: all 0.3s ease;
}
.wallpaper p:hover {
  transform: scale(1.1);
  color: #f0b829;
  text-shadow: 0px 2px 10px #fab60a;
}

@media (min-width: 1201px) {
  .wallpaper .container {
    height: 100vh;
  }
  .wallpaper_logo {
    width: 500px;
  }
  .wallpaper p {
    font-size: 5.5rem;
  }
}
@media (min-width: 481px) and (max-width: 1200px) {
  .header .container {
    display: block;
    padding: 0px;
  }
  .header_media {
    padding: 5px 40px;
  }
}

@media (max-width: 480px) {
  .container {
    max-width: calc(100% -10px);
  }
  .header_contact a {
    font-size: 15px;
  }
  .header .container {
    display: block;
    padding: 0px;
  }

  .wallpaper_logo {
    width: 200px;
  }
  .wallpaper p {
    font-size: 2rem;
  }
}
