@font-face {
  font-family: 'Ubuntu';
  font-style: normal;
  font-weight: normal;
  src: url(../fonts/Ubuntu/Ubuntu-Regular.woff)




}
@font-face {
  font-family: 'Ubuntu';
  font-style: normal;
  font-weight: bold;
  src: url(../fonts/Ubuntu/Ubuntu-Bold.woff)




}
@font-face {
  font-family: 'Ubuntu';
  font-style: italic;
  font-weight: normal;
  src: url(../fonts/Ubuntu/Ubuntu-Italic.woff)




}

/* EBGARAMOND */
@font-face {
  font-family: 'ebgaramond';
  font-style: normal;
  font-weight: 500;
  src: url(../fonts/ebgaramond/ebgaramond-regular.woff);
}
@font-face {
  font-family: 'ebgaramond';
  font-style: normal;
  font-weight: 700;
  src: url(../fonts/ebgaramond/ebgaramond-bold.woff);
}
@font-face {
  font-family: 'ebgaramond';
  font-style: normal;
  font-weight: 600;
  src: url(../fonts/ebgaramond/ebgaramond-semibold.woff);
}
:root {
  --black: #060808;
  --dark-green: #0A1314;
  --bold--white: #EDFAF2;
  --white: #DAE6DE;
  --accent-green: #42A866;
  --purple: #E00D62;
  --grey: #949C97;
}
* {
  padding: 0;
  text-decoration: none;
  margin: 0;
  color: var(--white);
}

body {
  background-color: var(--black);
  font-family: Ubuntu;
}
html{
   scroll-behavior: smooth;
}
header:not(.landing_page) nav {
  padding: 4px 1.5em;
  background-color: var(--dark-green);
  display: flex;
  align-items: center;
  gap: 1rem;
  justify-content: space-between;
  font-family: ebgaramond;
  font-weight: 600;
  font-size: 1.2rem;
}
header:not(.landing_page) {
  z-index: 1;
}
header nav menu {
  display: flex;
  list-style: none;
  gap: 1.5em;
}
header nav li {
  width: 12rem;
  display: flex;
  align-items: center;
  justify-content: center;
}
header nav li:last-child {
  width: 6rem;
}
header nav menu a {
  transition: all 0.2s;
  letter-spacing: 1.5px;
  color: var(--white);
}
header nav menu a:hover {
  transform: scale(1.2);
}
header:not(.landing_page) figure:has(span) {
  display: none;
}
header figure>img {
  width: 64px;
  margin-top: 7px;
}
article a {
  color: var(--accent-green);
}
@media screen and (max-width:767px) {
  header:not(.landing_page) nav {
    padding: 4px 0.7em;
  }
  header:not(.landing_page) figure:has(span) {
    display: block;
    z-index: 2;
    transform: translateY(3px);
  }
  header:not(.landing_page) figure>span {
    display: block;
    width: 33px;
    height: 3px;
    margin-bottom: 5px;
    position: relative;
    border-radius:3px;
    z-index: 1;
    background: var(--white);
    transform-origin: 4px 0px;
    transition: transform 0.5s cubic-bezier(0.77,0.2,0.05,1.0),
              background 0.5s cubic-bezier(0.77,0.2,0.05,1.0),
              opacity 0.55s ease;
  }
  
  header:not(.landing_page) figure>span:first-child(){
  transform-origin: 0% 0%;
}

header:not(.landing_page) figure span:nth-last-child(2){
  transform-origin: 0% 100%;
}
header:not(.landing_page) nav menu {
  display: flex;
  position:absolute;
  visibility: collapse;
  opacity: 0;
  flex-direction: column;
  align-items: center;
  padding: 7rem 1rem;
  justify-content: start;
  right: 0;
  top: 0rem;
  height: 100vh;
  min-width: 50vw;
  background-color: var(--dark-green);
  z-index: 1;
  transition: visibility 0s 0.2s, opacity 0.2s linear;
}
  header:not(.landing_page) nav menu a{
    text-align: center;
  }
.hamburger input {
  display: block;
  width: 40px;
  height: 32px;
  position: absolute;
  top: -7px;
  left: -5px;
  cursor: pointer;
  opacity: 0;
  z-index: 3;
}
header:not(.landing_page):has(.hamburger input:checked) nav menu {
  visibility: visible;  
  opacity: 1;
  transition: opacity 0.2s linear;
}
  
  header:not(.landing_page) .hamburger input:checked ~ span{   
  opacity: 1;
  transform: rotate(45deg) translate(-22px, -15px);
  }
  
  header:not(.landing_page) .hamburger input:checked ~ span:nth-last-child(3){
  opacity: 0;
  transform: rotate(0deg) scale(0.2, 0.2);
}
  
  header:not(.landing_page) .hamburger input:checked ~ span:nth-last-child(2){
  transform: rotate(-45deg) translate(0, -1px);
}
  header:not(.landing_page) {
    position: fixed;
    width: 100%;
    top: 0;
  }
  main{
    margin-top: 5rem
  }
}