/*
Theme Name: metalum
Author: Bananaconda x KG
Author URI: 
Theme URI: 
Tags: full-site-editing
Text Domain: metalum
Requires at least: 6.1
Requires PHP: 7.4
Tested up to: 6.4
Version: 1.0.0

License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html

Generated on fullsiteediting.com. No code version.
*/

@import "./assets/css/form.css";
@import "./assets/css/sub-hero.css";
@import "./assets/css/footer.css";
@import "./assets/css/hero.css";

html {
  scroll-padding-top: 105px !important;
}

.grecaptcha-badge { 
    visibility: hidden !important;
}

kbd {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 8px;
  font-family: var(--wp--preset--font-family--sora);
}

details {
  border-bottom: 1px solid #ebebeb;
}

summary::marker {
  content: none;
}

summary::before,
summary::after {
  content: "";
  width: 18px;
  height: 3px;
  background: #767676;
  display: block;
  position: absolute;
  top: 0;
  bottom: 0;
  right: 20px;
  margin: auto 0;
  transition: transform 0.3s ease-in-out;
  border-radius: 4px;
}

summary::after {
  transform: rotate(90deg);
}

details[open] summary::after {
  transform: rotate(0deg);
}

details[open] summary::marker {
  content: none;
}

summary {
  position: relative;
  padding: 24px 38px 24px 26px;
}

details[open] summary {
  background: color-mix(
    in srgb,
    var(--wp--preset--color--primary),
    transparent 80%
  );
  border-bottom: none;
}

details summary + p {
  padding: 32px;
}

.tile {
  padding: 10px 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  line-height: 1.2;
}

a.wp-block-navigation-item__content span {
  transition: color 0.1s ease-in-out;
}
a.wp-block-navigation-item__content:hover span {
  color: var(--wp--preset--color--primary) !important;
}

.wp-block-button__link.wp-element-button {
  transition: box-shadow 0.1s ease-in-out;
}
.wp-block-button__link.wp-element-button:hover {
  box-shadow: 1px 1px 6px rgba(0, 0, 0, 0.15);
}

.is-style-metalum-decor-up-right-reverse-on-mobile,
.is-style-metalum-decor-up-left-reverse-on-mobile,
.is-style-metalum-decor-up-right,
.is-style-metalum-decor-bottom-left,
.is-style-metalum-decor-bottom-right,
.is-style-metalum-decor-up-left,
.is-style-metalum-decor-top-left-bottom-right {
  position: relative;
}

.is-style-metalum-decor-bottom-left::after,
.is-style-metalum-decor-bottom-right::after,
.is-style-metalum-decor-up-right-reverse-on-mobile::after,
.is-style-metalum-decor-up-left-reverse-on-mobile::after,
.is-style-metalum-decor-up-right::after,
.is-style-metalum-decor-up-left::after,
.is-style-metalum-decor-top-left-bottom-right::after,
.is-style-metalum-decor-top-left-bottom-right::before {
  content: "";
  position: absolute;
  pointer-events: none;
  width: 40px;
  aspect-ratio: 1;
  border-radius: 0;
  background-image: url("decore.svg");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.is-style-metalum-decor-up-left-reverse-on-mobile::after,
.is-style-metalum-decor-up-left::after,
.is-style-metalum-decor-top-left-bottom-right::after {
  top: -5px;
  left: -5px;
}

.is-style-metalum-decor-up-right-reverse-on-mobile::after,
.is-style-metalum-decor-up-right::after {
  transform: rotate(90deg);
}

.is-style-metalum-decor-up-right-reverse-on-mobile::after,
.is-style-metalum-decor-up-right::after {
  top: -5px;
  right: -5px;
}

.is-style-metalum-decor-bottom-left::after {
  bottom: -5px;
  left: -5px;
  transform: rotate(270deg);
}

.is-style-metalum-decor-bottom-right::after {
  bottom: -5px;
  right: -5px;
  transform: rotate(90deg);
}

.is-style-metalum-decor-top-left-bottom-right::before {
  bottom: -5px;
  right: -5px;
  transform: rotate(180deg);
}

header {
  position: sticky;
  top: 0;
  z-index: 100;
}

.is-style-metalum-paragraph-icon-link a {
  gap: 8px;
  display: flex;
  align-items: center;
  text-decoration: none;
}

.flex {
  display: flex;
}

.flex-col {
  flex-direction: column;
}

.justify-between {
  justify-content: space-between;
}

.is-style-metalum-tick-list {
  list-style: none;
  padding-left: 34px;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.is-style-metalum-tick-list li {
  position: relative;
}

.is-style-metalum-tick-list li::before {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  margin: auto 0;
  left: -34px;
  width: 24px;
  height: 24px;
  background-image: url("data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMjQiIGhlaWdodD0iMjUiIHZpZXdCb3g9IjAgMCAyNCAyNSIgZmlsbD0ibm9uZSIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj4KPHBhdGggZD0iTTIxLjgwMDYgMTAuNUMyMi4yNTczIDEyLjc0MTMgMjEuOTMxOCAxNS4wNzE0IDIwLjg3ODUgMTcuMTAxOEMxOS44MjUxIDE5LjEzMjIgMTguMTA3NSAyMC43NCAxNi4wMTIxIDIxLjY1NzNDMTMuOTE2NyAyMi41NzQ2IDExLjU3MDIgMjIuNzQ1OCA5LjM2MzkxIDIyLjE0MjRDNy4xNTc1OCAyMS41Mzg5IDUuMjI0OCAyMC4xOTc0IDMuODg3ODkgMTguMzQxNEMyLjU1MDk3IDE2LjQ4NTQgMS44OTA3MyAxNC4yMjcyIDIuMDE3MjggMTEuOTQzNEMyLjE0MzgyIDkuNjU5NTIgMy4wNDk0OSA3LjQ4ODA4IDQuNTgzMjYgNS43OTExNkM2LjExNzAzIDQuMDk0MjQgOC4xODYxOSAyLjk3NDQyIDEwLjQ0NTcgMi42MTg0NEMxMi43MDUyIDIuMjYyNDcgMTUuMDE4NCAyLjY5MTg1IDE2Ljk5OTYgMy44MzQ5OSIgc3Ryb2tlPSIjMkRBQUUyIiBzdHJva2Utd2lkdGg9IjIiIHN0cm9rZS1saW5lY2FwPSJyb3VuZCIgc3Ryb2tlLWxpbmVqb2luPSJyb3VuZCIvPgo8cGF0aCBkPSJNOSAxMS41TDEyIDE0LjVMMjIgNC41IiBzdHJva2U9IiMyREFBRTIiIHN0cm9rZS13aWR0aD0iMiIgc3Ryb2tlLWxpbmVjYXA9InJvdW5kIiBzdHJva2UtbGluZWpvaW49InJvdW5kIi8+Cjwvc3ZnPgo=");
  background-size: contain;
  background-repeat: no-repeat;
}

.wp-block-navigation__container-content * {
  text-align: center;
}
.wp-block-navigation__responsive-container-content {
  align-items: center !important;
  justify-content: center !important;
}
.wp-block-navigation__container {
  align-items: center !important;
}

.is-style-metalum-mobile-padding-decore::after {
  top: 0;
}

.is-style-metalum-mobile-padding-decore::before {
  bottom: 0;
}

.is-style-metalum-mobile-padding-decore::after,
.is-style-metalum-mobile-padding-decore::before {
  content: "";
  margin: auto;
  display: block;
  height: 2px;
  width: 40%;
  background: rgba(0, 0, 0, 0.3);
  left: 0;
  right: 0;
  position: absolute;
}

@media (max-width: 1279px) {
  .is-style-metalum-mobile-padding-decore,
  .is-style-metalum-mobile-padding {
    padding: 40px !important;
  }

  h2.is-style-metalum-mobile-only,
  h2.is-style-center-mobile {
    text-align: center;
  }
}

@media (min-width: 1280px) {
  .wp-block-navigation__container .lang-item {
    margin-left: auto;
  }
  nav,
  .wp-block-navigation__container {
    width: 100%;
  }
  .wp-block-navigation__container + .wp-block-buttons {
    flex-shrink: 0;
  }

  .wp-block-navigation__responsive-container-open:not(.always-shown) {
    display: none !important;
  }

  .wp-block-navigation__responsive-container:not(.hidden-by-default):not(
      .is-menu-open
    ) {
    display: block !important;
    width: 100%;
    position: relative;
    z-index: auto;
    background-color: inherit;
  }

  summary::before,
  summary::after {
    right: 32px;
  }

  summary {
    padding: 32px 38px 32px 26px;
  }

  .counter > div:not(:last-of-type) {
    border-right: 1px solid #ebebeb;
  }
  .is-style-metalum-mobile-padding-decore::after,
  .is-style-metalum-mobile-padding-decore::before {
    width: 500px;
  }
}

@media (min-width: 600px) {
  .wp-block-navigation__responsive-container-open:not(.always-shown) {
    display: flex;
  }
  .is-style-metalum-mobile-only,
  .wp-block-navigation__responsive-container:not(.hidden-by-default):not(
      .is-menu-open
    ) {
    display: none;
  }
}

@media (max-width: 1200px) {
  figure.is-style-metalum-mobile-full-width,
  figure.is-style-metalum-mobile-full-width img {
    width: 100% !important;
  }
}
@media (max-width: 781px) {
  .is-style-metalum-reverse-on-mobile.wp-block-columns :nth-child(1),
  .is-style-metalum-decor-up-right-reverse-on-mobile.wp-block-columns
    :nth-child(1),
  .is-style-metalum-decor-up-left-reverse-on-mobile.wp-block-columns
    :nth-child(1) {
    order: 2;
  }
  .is-style-metalum-reverse-on-mobile.wp-block-columns :nth-child(2),
  .is-style-metalum-decor-up-right-reverse-on-mobile.wp-block-columns
    :nth-child(2),
  .is-style-metalum-decor-up-left-reverse-on-mobile.wp-block-columns
    :nth-child(1) {
    order: 1;
  }
  #grid-center {
    grid-template-columns: 1fr;
  }
  #grid-center > * {
    grid-column: auto;
  }
  .counter > div:not(:last-of-type) {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    border-bottom: 1px solid #ebebeb;
  }
}

.hover-dark a {
  transition: filter 0.3s ease-in-out;
}

.hover-dark a:hover {
  filter: brightness(0.6);
}
