* {
  box-sizing: border-box;
}
html {
  font-size: 16px;
}
:root {
}
body {
  background-color: var(--wp--preset--color--rdbrown);
  background-color: #000000;
}
h1 {
  font-size: 2.5em;
}
h3 {
  //color: var(--wp--preset--color--secondary);
}
footer {
  margin-bottom: 0px;
}

.footer-main {
  background-color: #999999;
}

.header-group-main {
  display: flex;
  justify-content: space-between;
  background-color: #aaaaaa;
  padding: 1rem 4rem;
}

.rd-header {
  position: relative;
  box-sizing: border-box;
}
.rd-header-logo img {
  max-height: 90px;
  width: auto;
}

.rd-header-grid {
  display: grid;
  grid-template-columns: 1fr 3fr 1fr;
  height: 100px;
  max-width: unset;
  box-sizing: border-box;
  width: 100%;
  position: relative;
}
.rd-header-grid div {
  //border: 1px solid gray;
  display: flex;
  align-items: center;
  justify-content: center;
}

.rd-header-info {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

nav.rd-main-nav {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-end;
  padding: 0;
  align-self: flex-end;
  justify-self: center;
  padding-bottom: 0.8rem !important;
}
ul.rd-main-nav {
  display: flex;
  box-sizing: border-box;
  gap: 24px;
  list-style-type: none;
  width: 100%;
  justify-content: center;
  padding: 20px 0px 0px 0px;
  margin: 0;
}
ul.rd-main-nav li {
  position: relative;
}
ul.rd-main-nav li a {
  text-decoration: none;
  z-index: 2;
}

.current-menu-item {
  --header-bg-color: #244855;
  --header-nav-color: #fbe9d0;
}

.current-menu-item::after {
  content: "";
  position: absolute;
  width: 100%;
  height: 10px;
  bottom: -4px;
  left: 0;
  opacity: 0.8;
  z-index: 1;
  border-radius: 4px;

  background: linear-gradient(
    to bottom,
    var(--header-bg-color) 0%,
    var(--header-bg-color) 63%,
    var(--header-nav-color) 94%,
    var(--header-nav-color) 100%
  );
}

.rd-header_info.rd-header_info {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  gap: 0.5rem;
  margin: 0;
}
.rd-header_info_phone {
  text-decoration: none;
  color: #fbe9d0;
  font-family: "EB Garamond", serif;
  font-size: 1.4rem !important;
  padding: 0 !important;
  margin: 0;
  line-height: 1;
}

.rd-social-media-links {
  display: flex;
  gap: 0.8rem;
  padding: 0;
  margin: 0;
}

.rd-social-media-links li a {
  font-size: 1.1rem;
}

.rd-mobile-trigger {
  display: none;
}
.rd-phone-icon-image {
  fill: var(--wp--preset--color--secondary);
  width: 30px;
}

/* Front Page Content */

.rd-front-content {
  background-color: #000000;
  padding: 1rem 3rem;
  margin: 0;
}
.rd-block-container {
  gap: 3rem !important;
  width: 100% !important;
  max-width: none !important;
}
.rd-block-container h3 {
  text-align: center;
}
.rd-block-container div {
  background-color: var(--wp--preset--color--rdbrown);
}

.rd-page-container {
  margin: 0;
}
.rd-page-content {
  max-width: unset;
}

//Menu Page
.wp-block-group {
  box-sizing: border-box;
}

.menu-template-section {
  margin: 32px auto !important;
  max-width: 1400px;
}
.menu-template-section > div {
  width: 100%;
  max-width: unset !important;
  //border: 1px solid blue;
  padding: 0;
  margin: 0 auto;
}

/**
* Block Columns
*/

.rd-block-columns {
  padding: 0px 3.5rem;
  gap: 32px;
}
.rd-block-group {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 18px;
  padding-top: 18px;
}
.rd-block-heading {
  text-align: center;
  line-height: 1;
  text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.7);
}
.rd-block-image {
  width: 100%;
  aspect-ratio: 5/3;
  overflow: hidden;
}
.rd-block-image img {
  width: 100%;
}
@media screen and (max-width: 1200px) {
  .rd-block-heading {
    font-size: 1.3rem;
  }
}
@media screen and (max-width: 992px) {
  .rd-block-columns {
    padding: 1rem 2rem;
    gap: 18px;
  }
  .rd-block-heading {
    font-size: 1.2rem;
  }
}
@media screen and (max-width: 768px) {
  .rd-block-columns {
    padding: 1rem 5rem;
    gap: 32px;
  }
}
@media screen and (max-width: 576px) {
  .rd-block-columns {
    padding: 0 2rem;
    gap: 20px;
  }
  .rd-block-heading {
    font-size: 1rem;
  }
}
@media screen and (max-width: 400px) {
  .rd-block-group {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    padding-top: 10px;
  }
}

/**
* /Block Columns
*/

/**
* Full Width Text
*/

.rd-full-width-text {
  border-width: 6px;
  border-color: #244855;
  border-style: ridge;
  border-radius: 32px;
  margin: 20px 3rem;
}
.rd-full-width-text p {
  max-width: 1400px;
  //text-shadow: 2px 2px 7px rgba(0, 0, 0, 0.5);
}

/**
* /Full Width Text
*/

@keyframes fadeInUp {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

@media screen and (max-width: 992px) {
  .rd-header-grid {
    grid-template-columns: 1fr 1fr 1fr;
  }
  .rd-header-info {
    order: 1;
  }
  .rd-header-logo {
    order: 2;
  }
  .rd-social-media-links {
    display: none !important;
  }

  .rd-mobile-trigger {
    display: block;
    position: absolute;
    top: 24px;
    right: 24px;
    width: 54px;
    height: 45px;
    order: 3;
    background-image: url("./icons/ham_black.svg");
    background-repeat: no-repeat;
    background-size: 50px auto;
    margin: 0;
    cursor: pointer;
  }

  nav.rd-main-nav {
    display: none;
    flex-direction: column;
    padding: 0;
    margin: 0;
    height: 100%;
    z-index: 99;
  }
  ul.rd-main-nav {
    display: flex;
    flex-direction: column;
    gap: 0px;
    list-style-type: none;
    width: 100%;
    align-items: center;
    justify-content: flex-end;
    padding: 0;
    background-color: rgba(0, 0, 0, 0.5);
  }
  ul.rd-main-nav li {
    background-color: none !important;
    width: 100%;
    padding: 1rem 2rem;
    border-bottom: 1px solid #666666;
  }
  ul.rd-main-nav li a {
    text-decoration: none;
    color: #fbe9d0;
    font-family: "EB Garamond", serif;
    font-size: 1.2rem;
    background-color: none !important;
  }
}
@media screen and (max-width: 768px) {
  .rd-social-media-links {
    display: none;
  }

  .rd-header_info_phone {
    font-size: 1.2rem !important;
  }
}
@media screen and (max-width: 576px) {
  .rd-mobile-trigger {
    display: block;
    position: absolute;
    right: 24px;
    width: 44px;
    height: 35px;
    order: 3;
    background-image: url("./icons/ham_black.svg");
    background-repeat: no-repeat;
    background-size: 40px auto;
    margin: 0;
    cursor: pointer;
  }
  .rd-header_info_phone {
    color: #fbe9d0;
    font-size: 1.1rem !important;
  }
  .custom-logo.custom-logo {
    width: 100px !important;
  }
  .rd-full-width-text {
    padding: 0.8rem !important;
    margin: 20px 2rem !important;
  }
  .rd-full-width-text p {
    font-size: 1.1rem !important;
  }
}
.show-nav {
  display: block !important;
  position: absolute;
  right: 0px;
  top: 100px;
  animation: fadeInUp 3s ease-in-out;
}

/* RD Menu Responsive */

.not-found {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0px;
  min-height: 640px;
  background-color: var(--wp--preset--color--secondary);
}
.not-found h1 {
  font-size: 4rem;
  color: var(--wp--preset--color--primary);
  padding: 0;
  margin: 0;
  line-height: 1;
  margin-bottom: 8px;
  gap: 20px;
}
.not-found h5 {
  font-size: 2rem;
  color: var(--wp--preset--color--primary);
  padding: 0;
  margin: 0;
  line-height: 1;
}
.btn-404 a {
  background-color: var(--wp--preset--color--primary);
  color: var(--wp--preset--color--secondary);
  font-size: 1.6rem;
  padding: 2px 32px !important;
}
