/*
Theme Name: Guardian Block
Theme URI: 
Author: Outerspace
Author URI: 
Description:Guardian Block Child of Twenty Twenty Four

Version: 1.1
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Template: twentytwentyfour
Text Domain: guardianblock
Tags: one-column, two-columns, three-columns, wide-blocks, accessibility-ready, block-patterns, block-styles, custom-colors, custom-logo, custom-menu, editor-style, featured-images, full-site-editing, rtl-language-support, sticky-post, style-variations, threaded-comments, translation-ready, 
*/
@font-face {
  font-family: "space_grotesk_light";
  src: url("assets/fonts/spacegrotesk-variablefont_wght-webfont.woff2") format("woff2"), url("assets/fonts/spacegrotesk-variablefont_wght-webfont.woff") format("woff");
  font-weight: normal;
  font-style: normal;
}
@font-face {
  font-family: "inter_regular";
  src: url("assets/fonts/inter-variablefont_slntwght-webfont.woff2") format("woff2"), url("assets/fonts/inter-variablefont_slntwght-webfont.woff") format("woff");
  font-weight: normal;
  font-style: normal;
}
@font-face {
  font-family: "alfa_slab";
  src: url("assets/fonts/alfaslabone-regular-webfont.woff2") format("woff2"), url("assets/fonts/alfaslabone-regular-webfont.woff") format("woff");
  font-weight: normal;
  font-style: normal;
}
/*
Futura PT Book
font-family: "futura-pt", sans-serif;
font-weight: 400;
font-style: normal;
Futura PT Book Oblique
font-family: "futura-pt", sans-serif;
font-weight: 400;
font-style: italic;
Futura PT Extra Bold
font-family: "futura-pt", sans-serif;
font-weight: 800;
font-style: normal;
Futura PT Extra Bold Oblique
font-family: "futura-pt", sans-serif;
font-weight: 800;
font-style: italic;
Futura PT Bold
font-family: "futura-pt-bold", sans-serif;
font-weight: 700;
font-style: normal;
Futura PT Bold Oblique
font-family: "futura-pt-bold", sans-serif;
font-weight: 700;
font-style: italic;
*/
:root {
  --padding-default:80px;
  --padding-default-m:20px;
}

.main {
  min-height: calc(100vh - 370px);
  box-sizing: border-box;
}
@media screen and (max-width: 1000px) {
  .main {
    min-height: calc(100vh - 290px);
  }
}

.section_title {
  display: flex;
  height: 90px;
  font-family: "space_grotesk_light";
  font-size: 20px;
  align-items: center;
}
.section_title img {
  width: 60px;
  height: 60px;
  object-fit: contain;
  object-position: center;
  margin-right: var(--padding-default);
}
@media screen and (max-width: 1000px) {
  .section_title img {
    margin-right: var(--padding-default-m);
  }
}

.padding-h {
  padding-left: var(--padding-default);
  padding-right: var(--padding-default);
}
@media screen and (max-width: 1000px) {
  .padding-h {
    padding-left: var(--padding-default-m);
    padding-right: var(--padding-default-m);
  }
}

.padding-v {
  padding-top: var(--padding-default);
  padding-bottom: var(--padding-default);
}
@media screen and (max-width: 1000px) {
  .padding-v {
    padding-top: 40px;
    padding-bottom: 40px;
  }
}

.button, .wp-block-button {
  font-size: 16px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  border: 2px solid black;
  padding: 5px 50px;
  border-radius: 20px;
  text-decoration: none;
  font-weight: 600;
  text-align: center;
}
.button a, .wp-block-button a {
  text-decoration: none;
}
.button .wp-element-button, .wp-block-button .wp-element-button {
  border-radius: 0;
}

h1, h2, h3, h4, h5, .wp-block-site-title {
  font-weight: 800;
  text-transform: uppercase;
  line-height: 1;
  margin: 0;
  position: relative;
}

.h2-light {
  position: absolute;
  top: 2px;
  left: -25px;
  z-index: 19;
  width: 7px;
  height: 100%;
  display: block;
  background: var(--wp--preset--color--contrast-2);
  transform: scaleY(0);
}

.wp-block-navigation-item {
  text-transform: uppercase;
}

.superscript, .category, .tab {
  font-size: 20px;
  text-transform: uppercase;
  font-family: "space_grotesk_light";
}

.subtitle {
  font-family: "Inter";
  font-size: 24px;
  line-height: 1;
  margin-top: 10px;
  display: block;
}

header {
  display: flex;
  align-items: center;
  gap: 32px;
  padding: 5px 50px;
  position: relative;
  box-sizing: border-box;
  width: 100%;
}
header .navigation {
  flex: 1;
  display: flex;
  justify-content: space-between;
}
header .navigation .links, header .navigation .footer_links {
  display: flex;
  gap: 24px;
}
header .navigation .links .link, header .navigation .footer_links .link {
  text-transform: uppercase;
  font-size: 2vw;
}
header .navigation .links .link a, header .navigation .footer_links .link a {
  text-decoration: none;
}
header .navigation .footer_links {
  display: none;
}
header .navigation .social {
  display: flex;
  align-items: center;
  gap: 10px;
}
header .navigation .social img {
  width: 2.5vw;
  height: 2.5vw;
  object-fit: contain;
}
@media screen and (max-width: 768px) {
  header .navigation {
    display: none;
    position: absolute;
    box-sizing: border-box;
    top: 0;
    left: 0;
    width: 100%;
    height: fit-content;
    min-height: 100vh;
    background: red;
    z-index: 5;
    justify-content: flex-start;
    flex-flow: column;
    gap: 50px;
    padding: 10vw;
  }
  header .navigation.active {
    display: flex;
  }
  header .navigation .links, header .navigation .footer_links {
    display: flex;
    flex-flow: column;
    height: fit-content;
  }
  header .navigation .links .link, header .navigation .footer_links .link {
    font-size: 24px;
  }
  header .navigation .social {
    height: fit-content;
    flex-wrap: wrap;
  }
  header .navigation .social img {
    width: 32px;
    height: 32px;
  }
}
header .menu {
  display: none;
  width: 40px;
  z-index: 10;
  cursor: pointer;
  position: absolute;
  right: 20px;
  flex-flow: column;
  gap: 10px;
}
header .menu .line {
  width: 100%;
  height: 3px;
  background: black;
}
@media screen and (max-width: 768px) {
  header .menu {
    display: flex;
  }
}
header .logo img {
  width: 130px;
  height: 130px;
  object-fit: contain;
}
@media screen and (max-width: 768px) {
  header .logo img {
    width: 60px;
    height: 60px;
    object-fit: contain;
  }
}

#video figure {
  max-height: 90vh;
}
#video iframe {
  max-height: 90vh;
}

footer {
  position: relative;
}
footer .footernavigation {
  display: flex;
  justify-content: space-between;
}
footer .footernavigation .links {
  display: flex;
  gap: 24px;
  text-transform: uppercase;
}
footer .footernavigation .links a {
  text-decoration: none;
}
footer .footernavigation .social {
  display: flex;
  align-items: center;
  gap: 5px;
}
@media screen and (max-width: 768px) {
  footer .footernavigation {
    flex-flow: column;
    gap: 50px;
  }
  footer .footernavigation .links {
    display: none;
  }
  footer .footernavigation .social {
    justify-content: space-between;
  }
}

:root {
  --bgcolor:#F5F5F5;
}
