@import "theme_colors_and_fonts.css";
/* * * * * * * * * * 
/* SCSS VARIABLES  */
/* ~~~~~~~~~~~~~~~~*/
/* Fonts */
/* Colors*/
/* Other variables */
/* Mixins */
/* ~~~~~~~~~~~~~~~~*/
/* END VARIABLES   *
 * * * * * * * * * */
/* * * * * * * * * * 
 * GLOBAL          */
/* ~~~~~~~~~~~~~~~~*/
body {
  font-family: "Verdana";
  color: #333;
}
.visuallyhidden {
  border: 0;
  clip: rect(0 0 0 0);
  -webkit-clip-path: inset(50%);
  clip-path: inset(50%);
  height: 1px;
  margin: -1px;
  overflow: hidden;
  padding: 0;
  position: absolute;
  width: 1px;
  white-space: nowrap;
  color: transparent;
}
/* Header */
#masthead .is-style-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
#masthead .site-branding {
  margin-right: 2rem;
}
#masthead .main-navigation ul {
  list-style-type: none;
  display: flex;
  gap: 1rem;
}
#masthead .main-navigation ul li a {
  display: block;
  padding: 1rem;
}
#masthead .main-navigation ul li.menu-item-has-children {
  display: grid;
  grid-template-columns: auto auto 1fr;
  grid-auto-rows: max-content;
  position: relative;
  justify-content: flex-start;
  align-items: center;
}
#masthead .main-navigation ul li.menu-item-has-children > a {
  grid-column: 1/2;
  grid-row: 1/2;
}
#masthead .main-navigation ul li.menu-item-has-children > .subMenuToggleBtn {
  grid-column: 2/3;
  grid-row: 1/2;
  width: 1.25rem;
  height: 1.25rem;
  background-image: url("assets/images/chevron-down.svg");
  background-color: transparent;
  background-size: contain;
  background-position: center center;
  background-repeat: no-repeat;
  transform: rotate(0deg);
  transition: transform 0.3s ease;
  cursor: pointer;
}
#masthead .main-navigation ul li.menu-item-has-children > .sub-menu {
  position: absolute;
  top: 100%;
  left: 0;
  width: 100%;
}
#masthead .main-navigation ul li.menu-item-has-children.open > .sub-menu, #masthead .main-navigation ul li.menu-item-has-children:hover > .sub-menu {
  display: block;
}
#masthead .main-navigation ul li.menu-item-has-children.open > .subMenuToggleBtn, #masthead .main-navigation ul li.menu-item-has-children:hover > .subMenuToggleBtn {
  transform: rotate(180deg);
}
#masthead .main-navigation ul li.menu-item-has-children:not(.open):not(:hover) > .sub-menu {
  display: none;
}
/* ~~~~~~~~~~~~~~~~*/
/* END GLOBAL      *
 * * * * * * * * * */
/* * * * * * * * * * 
 * TYPOGRAPHY      */
/* ~~~~~~~~~~~~~~~~*/
h1, h2, h3 {
  font-family: "Verdana";
  font-weight: 400;
}
/* ~~~~~~~~~~~~~~~~~~*/
/* END TYPOGRAPHY    *
 * * * * * * * * * * */
/* * * * * * * * * * *
 * BLOCK STYLES      */
/* ~~~~~~~~~~~~~~~~~~*/
/* Buttons */
.is-style-fill .wp-block-button__link {
  border-radius: 0;
  padding: 1rem 2rem;
  text-transform: uppercase;
}
/* Columns */
.is-style-container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 2rem;
}
.is-style-no-gap {
  gap: 0;
}
.wp-block-columns {
  margin-bottom: 0;
}
/* ~~~~~~~~~~~~~~~~~~*/
/* END BLOCK STYLES  *
 * * * * * * * * * * */
/* * * * * * * * * * *
 * MEDIA QUERIES     */
/* ~~~~~~~~~~~~~~~~~~*/
@media screen and (max-width: 50rem) {
  #masthead:has(.toggled) {
    padding-bottom: 10rem;
  }
  #masthead:has(.toggled) > .is-style-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
  }
  #masthead .is-style-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
  }
  #masthead .main-navigation #primary-menu {
    position: fixed;
    width: 100vw;
    transform: translateX(100%);
    transition: transform 0.5s ease;
    left: 0;
    right: 0;
    margin-top: 2rem;
    flex-direction: column;
  }
  #masthead .main-navigation #primary-menu li.menu-item-has-children > .sub-menu {
    position: relative;
    top: 0;
    left: 0;
    grid-column: 1/4;
    grid-row: 2/3;
  }
  #masthead .main-navigation.toggled #primary-menu {
    transform: translateX(0%);
    padding: 2rem;
    background: #fff;
    box-shadow: -2px 0px 6px rgba(0, 0, 0, 0.2);
  }
  #masthead .menu-toggle {
    border-radius: 0;
    padding: 1rem 2rem;
    text-transform: uppercase;
    margin-right: 0;
    margin-left: auto;
  }
}
/* ~~~~~~~~~~~~~~~~~~*/
/* END MEDIA QUERIES *
 * * * * * * * * * * */
