:root {
  --main-color: #fffff0;
  --accent-color: #f2e088;
  --gradient-color: linear-gradient(
    to right,
    #f0da83,
    #c7a151 34%,
    #d0ad5c 65%,
    #f0da83
  );
}
@font-face {
  font-family: "Arsenal";
  src: url(../fonts/subset-Arsenal-Regular.woff2) format("woff2");
  font-weight: normal;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Oswald";
  src: url(../fonts/Oswald-Medium.woff2) format("woff2");
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}
* {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
}
body {
  padding: 0;
  margin: 0;
  font-family: "Arsenal";
  background-color: var(--main-color);
}
.accent-font {
  font-family: "Oswald";
}
.busi-hours dt {
  font-weight: 300;
}
.padding-section {
  padding-top: 6.5rem;
  padding-bottom: 6.5rem;
}
.padding-bottom {
  padding-bottom: 6.5rem;
}
a,
button {
  text-decoration: underline;
  color: black;
}
.btn {
  font-style: italic;
  letter-spacing: 1px;
  text-decoration: none;
  transition: color 0.3s ease-in-out, background-color 0.3s ease-in-out;
}
:is(a, button):hover {
  text-decoration: none;
  color: black;
}
:is(a, button, .btn):focus-visible {
  outline: 3px solid #000000;
  text-decoration: none;
  outline-offset: 3px;
  box-shadow: none;
}
:is(a, button, .btn):focus:not(:focus-visible) {
  outline: none;
  box-shadow: none;
}

.skip-link {
  position: absolute;
  top: -80px;
  left: 0;
  background: #ffffff;
  color: #000000;
  z-index: 111;
  padding: 0.5rem;
}
.skip-link:focus {
  top: 10px;
  left: 10px;
}
.action-btn {
  min-width: 12rem;
  font-weight: bold;
  padding: 0.5rem 0.5rem;
  background-color: #403218;
  color: white;
  border: 2px solid #403218;
}
.action-btn:hover {
  background-color: white;
  color: black;
}
/* -------header-------- */
.container-header {
  background-color: var(--accent-color);
}
.brand-name {
  display: flex;
}
.navbar {
  background-color: var(--accent-color-2);
}
.nav-item .nav-link {
  text-transform: uppercase;
  background-color: transparent;
  box-shadow: none;
  border: none;
  text-align: center;
}
/* ---hero--  */
.container-hero {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
}
.container-hero::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  background-image: var(--gradient-color);
  width: 100%;
  height: 0.3rem;
}
/* -----------announcement----------- */
.container-announcement {
  background: url(../images/bg-gift-2.avif) no-repeat center bottom;
  background-size: cover;
}
.announcement-content {
  background-color: #fff;
  border: 0.5rem solid #cacaca;
}
/* ------contact-------- */
.container-contact {
  background-color: var(--accent-color);
}
/* ---------service---------- */
.service-row {
  position: relative;
  display: flex;
  flex-wrap: nowrap;
  font-size: 1.2rem;
}
.service-line {
  flex: 1 1 auto;
  height: 1rem;
  margin-left: 0.5rem;
  margin-right: 0.5rem;
  border-bottom: 1px dashed #8d8d8d;
}
.service-price {
  text-align: right;
  width: auto;
  white-space: nowrap;
}
.cate-section {
  border-top: 2px solid;
  border-image-slice: 1;
  border-image-source: var(--gradient-color);
}
/* -------intro--------- */
.container-intro {
  background: url(../images/bg-intro.avif) no-repeat center bottom;
  background-size: cover;
}
.intro-img-decor {
  position: relative;
}
.intro-decor-02 {
  position: absolute;
  top: 0;
  right: 10%;
}
.intro-decor {
  border: 0.5rem solid #cacaca;
  background-color: #ffffff;
  display: grid;
  grid-template-columns: repeat(1, 1fr);
}
.intro-decor > img {
  padding: 0.25rem 0.5rem;
}
.intro-decor > img:nth-of-type(1) {
  padding-top: 0.5rem;
}
.intro-decor > img:nth-of-type(4) {
  padding-bottom: 0.5rem;
}
/* ------------gallery---- */
.gallery-item {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
}
/* -------egift----- */
.container-egift {
  background: url(../images/bg-egift.avif) no-repeat center bottom;
  background-size: cover;
}
.intro-divider-top {
  transform: scaleY(-1);
  width: 250px;
  height: auto;
}
.intro-divider-bottom {
  width: 250px;
  height: auto;
}

/* ------footer-- */
.container-footer {
  background-color: var(--accent-color);
}
@media (max-width: 575.98px) {
  .padding-section {
    padding-top: 5rem;
    padding-bottom: 5rem;
  }
  .padding-bottom {
    padding-bottom: 5rem;
  }
  .container-hero {
    background: url(../images/bg-hero-mobile.avif) no-repeat center bottom;
    background-size: cover;
  }
  .container-egift {
    background-position: center top;
  }
  .container-hero {
    min-height: 27rem;
  }
  .service-line {
    border-bottom: none;
  }
  .gallery-item {
    grid-template-columns: repeat(1, 1fr);
  }
}

@media (min-width: 576px) {
  .container-hero {
    background: url(../images/bg-hero.avif) no-repeat center center;
    background-size: cover;
  }
  .container-hero {
    min-height: 45rem;
  }
}
@media (max-width: 767.98px) {
  .brand-name {
    justify-content: center;
  }
}
@media (max-width: 991.98px) {
  .intro-decor {
    grid-template-columns: repeat(2, 1fr);
  }
  .intro-decor > img {
    padding-top: 0.5rem;
  }
}
@media (min-width: 576px) and (max-width: 991.98px) {
  .gallery-item {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 768px) and (max-width: 1199.98px) {
  .brand-name {
    justify-content: start;
  }
}
@media (min-width: 1200px) {
  .brand-name {
    justify-content: center;
  }
}
