/* #region base-style */
body {
  background-color: dimgray;
  font-family: "Raleway", sans-serif;
  font-weight: 400;
  font-size: 16px;
  line-height: 1.6;
  color: #080c09;
  padding: 0;
  margin: 0;
}
ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

a {
  color: currentColor;
  text-decoration: none;
}

button {
  cursor: pointer;
}

img {
  display: block;
  max-width: 100%;
  height: auto;
}
/* #endregion base-style */

/* #region header */
.page-header {
  width: 100%;
  height: auto;
  background-color: #fff;
}
.header-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0 20px;
}
.header-logo-link {
  padding: 17px 0;
  width: 158px;
  height: 35px;
  display: block;
}
.logo-svg {
  width: 100%;
  height: 100%;
}
.header-nav {
  display: none;
}
.burger {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  padding: 0;
  border: none;
  background-color: transparent;
}
.icon-burger {
  display: block;
  width: 22px;
  height: 22px;
}

@media screen and (min-width: 768px) {
  .header-container {
    padding: 0 32px;
  }
}

@media screen and (min-width: 1440px) {
  .header-container {
    padding: 0 64px;
  }

  .header-nav {
    display: flex;
  }
  .header-nav-list {
    display: flex;
    align-items: center;
    gap: 32px;
  }
  .header-nav-link {
    position: relative;
    padding: 25px 0;
    transition: opacity 250ms cubic-bezier(0.4, 0, 0.2, 1);
  }

  .header-nav-item:not(:last-child) .header-nav-link:hover,
  .header-nav-item:not(:last-child) .header-nav-link:focus {
    opacity: 0.5;
  }
  .header-nav-item:last-child .header-nav-link {
    border-radius: 100px;
    padding-block: 10px;
    padding-inline: 24px;
    height: 46px;
    box-shadow:
      0 1px 2px 0 rgba(8, 12, 9, 0.05),
      inset 0 -2px 1px 0 rgba(0, 0, 0, 0.2),
      inset 0 0 0 1px rgba(8, 12, 9, 0.15),
      inset 0 2px 1px 0 rgba(255, 255, 255, 0.25),
      inset 0 32px 24px 0 rgba(255, 255, 255, 0.05);
    background-color: #6b0609;
    color: #fff;
  }
  .header-nav-item:last-child .header-nav-link:hover,
  .header-nav-item:last-child .header-nav-link:focus {
    opacity: 0.5;
  }
  .burger {
    display: none;
  }
}
/* #endregion header */

/* #region mobile menu  */
.mobile-menu {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: #fff;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition:
    opacity 250ms cubic-bezier(0.4, 0, 0.2, 1),
    visibility 250ms cubic-bezier(0.4, 0, 0.2, 1);
}

.mobile-menu.is-open {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}
.mobile-menu-container {
  position: relative;
  padding-top: 18px;
  padding-inline: 20px;
  display: flex;
  flex-direction: column;
  height: 100%;
}
.mobile-menu-close {
  position: absolute;
  top: 20px;
  right: 20px;
  border: none;
  width: 32px;
  height: 32px;
  display: flex;
  justify-content: center;
  align-items: center;
  background-color: transparent;
  padding: 0;
}
.menu-logo {
  width: 158px;
  height: 35px;
  margin-bottom: 49px;
}
.menu-logo img {
  width: 100%;
  height: 100%;
  object-fit: fill;
}
.menu-nav-list {
  display: flex;
  flex-direction: column;
  gap: 32px;
  align-items: center;
}
.menu-nav-link {
  font-family: "Raleway", sans-serif;
  font-weight: 600;
  font-size: 18px;
  line-height: 1.6;
  color: #080c09;
}
.menu-nav-list .menu-nav-item:last-child {
  border-radius: 100px;
  padding-block: 8px;
  padding-inline: 20px;
  width: 335px;
  height: 42px;
  box-shadow:
    0 1px 2px 0 rgba(8, 12, 9, 0.05),
    inset 0 -2px 1px 0 rgba(0, 0, 0, 0.2),
    inset 0 0 0 1px rgba(8, 12, 9, 0.15),
    inset 0 2px 1px 0 rgba(255, 255, 255, 0.25),
    inset 0 32px 24px 0 rgba(255, 255, 255, 0.05);
  background-color: #6b0609;
}

.menu-nav-list .menu-nav-item:last-child .menu-nav-link {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 100%;
  text-align: center;
  color: #fff;
  font-weight: 500;
  font-size: 16px;
}

@media screen and (min-width: 768px) {
  .mobile-menu {
    left: 518px;
    width: 100%;
    height: auto;
  }
  .mobile-menu-container {
    max-width: 249px;
    padding-top: 96px;
    padding-inline: 32px;
    padding-bottom: 24px;
  }
  .menu-logo {
    display: none;
  }
  .menu-nav-list {
    align-items: end;
  }
  .menu-nav-list .menu-nav-item:last-child {
    align-self: center;
    width: 175px;
  }
}

@media screen and (min-width: 1440px) {
  .mobile-menu {
    display: none;
  }
}
/* #endregion mobile menu  */
