/* ---GLOBAL STYLES--- */

:root {
  --orange: #ff4242;
  --yellow: #ffc448;
  --light-gray: #555555;
}

/* ---HEADER STYLES--- */

header {
  position: absolute;
  top: 0;
  width: 100%;
  padding: 0px 0px 0 0px;
  z-index: 2;
}

.desktop_box {
  display: flex;
  gap: 2vw;
  flex-direction: column;
  justify-content: center;
}

.header_first_line {
  display: flex;
  justify-content: space-around;
  padding: 5px;
  background-color: var(--orange);
}

.header_first_line .phones_ctn {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 1vw;
}

.header_first_line a {
  color: white;
  gap: 5px;
  position: relative;
  display: flex;
  align-items: center;
  width: fit-content;
  font-size: 16px;
  font-weight: 400;
}

.header_first_line p {
  color: white;
  font-size: 16px;
  font-weight: 400;
}

.header_first_line a:hover {
  color: var(--yellow);
}

.header_first_line .social_ctn {
  display: flex;
  gap: 1vw;
  justify-content: center;
  align-items: center;
}

.desktop_box .header_ctn {
  position: relative;
  display: grid;
  padding: 0 50px 0 20px;
  grid-template-columns: 20% 80%;
}

.desktop_box .media_box {
  display: flex;
  justify-content: center;
  align-items: center;
}

.desktop_box .bar_box {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  gap: 30px;
}

header .bar_box a {
  color: var(--light-gray);
  position: relative;
  width: fit-content;
  font-size: 16px;
  font-weight: 600;
}

header .bar_box a::before {
  content: "";
  position: absolute;
  bottom: -3px;
  width: 0;
  height: 3px;
  border-radius: 3px;
  background: var(--orange);
  opacity: 0;
  transition: 0.25s;
}

header .navbar_active,
header .bar_box a:hover {
  color: var(--orange) !important;
}

header .navbar_active::before,
header .bar_box a:hover::before {
  width: 100% !important;
  opacity: 1 !important;
}

header .contact_box {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 10px;
}

header .contact_box a {
  font-size: 14px;
}

header i {
  transition: none;
  margin-right: 5px;
}

header .mobile_box {
  display: none;
}

header .mobile_box .media_box {
  display: flex;
  justify-content: center;
  align-items: center;
}

header .mobile_box .media_box a {
  width: 55%;
}

header .toggle_box {
  position: fixed;
  top: 30px;
  right: 20px;
  width: 35px;
  z-index: 99;
}

header .active_menu path {
  transform-origin: left;
  transition: 0.25s;
}

header .active_menu path:first-child {
  transform: rotate(45deg) translateX(-15px);
}

header .active_menu path:nth-child(2) {
  opacity: 0;
}

header .active_menu path:last-child {
  transform: rotate(-45deg) translateX(-15px);
}

header .overlay_box {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: #00000030;
  -webkit-backdrop-filter: blur(2px);
  backdrop-filter: blur(2px);
  opacity: 0;
  pointer-events: none;
  transition: 0.25s;
  z-index: 3;
}

header .active_menu .overlay_box {
  pointer-events: initial;
  opacity: 1;
}

header .mobile_box .nav_box {
  position: fixed;
  top: 0;
  right: 0;
  width: 75%;
  height: 100vh;
  display: flex;
  flex-direction: column;
  gap: 30px;
  padding: 30px;
  transform: translateX(100%);
  background: var(--yellow);
  z-index: 98;
  transition: 0.25s;
}

header .active_menu .nav_box {
  transform: translateX(0);
}

header .nav_box > a {
  width: 75%;
}

header .mobile_box .bar_box {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

header .mobile_box .slide_btn::after {
  background: white;
}

header .mobile_box .slide_btn:hover span {
  color: var(--orange);
}

header .networks_box {
  display: flex;
  justify-content: space-between;
}

header .networks_box i {
  color: var(--orange);
  font-size: 22px;
  transition: 0.25s;
}

header .networks_box a:hover i {
  color: white;
}

@media (max-width: 996px) {
  header {
    padding: 5%;
  }
  header .desktop_box {
    display: none;
  }
  header .mobile_box {
    display: block;
  }
}

/* ---FOOTER STYLES--- */

footer {
  display: flex;
  flex-direction: column;
  gap: 30px;
  position: relative;
  padding: 0;
  background: var(--yellow);
}

.footer_box {
  padding: 0 8%;
}

footer h2 {
  color: var(--orange);
  font-size: 35px;
}

footer a {
  width: fit-content;
  color: var(--light-gray);
  font-size: 18px;
  font-weight: 500;
}

footer a:hover {
  color: var(--orange);
}

footer i {
  color: var(--orange);
  font-size: 18px;
  transition: all .3s;
}

footer i:hover {
  color: var(--light-gray);
}

footer .footer_box {
  display: grid;
  justify-items: center;
  gap: 10px;
  grid-template-columns: 33% 33% 33%;
}

footer .link_box {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin: 20px 0;
}

footer .networks_box {
  display: flex;
  gap: 15px;
  margin: 10px 0;
}

footer .politics_box {
  display: flex;
  gap: 20px;
  justify-content: center;
}

footer .politics_box a {
  font-size: 14px;
}

footer .opening_box h2 {
  font-size: 32px;
}

footer .hours_box {
  display: flex;
  margin: 20px 0;
  flex-direction: column;
  gap: 10px;
}

footer .hours_box .row_box {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-items: flex-start;
}

footer .hours_box h2 {
  font-size: 20px;
}

footer .hours_box p {
  color: var(--light-gray);
  font-size: 16px;
  font-weight: 500;
  margin: 0px 0;
}

footer .hours_box p:last-child {
  text-align: right;
}

footer .links_box {
  margin: 20px 0;
  display: flex;
  flex-direction: column;
}

footer .credits_box {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 20px;
  background-color: white;
  padding: 10px;
}

footer .credits_box a {
  font-size: 14px;
}

footer .credits_box span {
  color: var(--light-gray);
  font-weight: 600;
}

footer #wave_02 {
  position: absolute;
  top: 0;
  left: 0;
  transform: translateY(-98%);
  z-index: -1;
}

@media (max-width: 996px) {
  footer {
    padding: 0;
  }
  footer h2 {
    text-align: center;
    font-size: 35px;
  }
  footer a {
    font-size: 16px;
  }
  footer i{
    font-size: 25px;
  }
  footer .footer_box {
    grid-template-columns: 100%;
  }
  footer .link_box {
    align-items: center;
    gap: 20px;
  }
  footer .link_box a {
    text-align: center;
  }
  footer .networks_box {
    justify-content: center;
    gap: 10px 25px;
  }
  footer .politics_box {
    justify-content: center;
  }
  footer .opening_box {
    margin-top: 25px;
  }
  footer .opening_box h2 {
    font-size: 25px;
  }
  footer .hours_box {
    margin: 30px 0;
  }
  footer .hours_box .row_box {
    display: flex;
    justify-content: center;
    width: 100%;
    align-items: center;
  }
  footer .hours_box h2 {
    font-size: 16px;
    text-align: center;
  }
  footer .hours_box p {
    font-size: 14px;
  }
  footer .hours_box p:last-child {
    width: 50%;
    text-align: center;
  }

  footer .links_box{
    text-align: center;
    align-items: center;
  }

  footer .credits_box {
    gap: 10px;
  }
  footer .credits_box a {
    font-size: 10px;
  }
}
