:root {
    --dark1: #171515;
    --dark2: #181A18;
    --green1: #1B4E17;
    --green2: #33B25D;
    --neutral: #E3DEC3;
    --white: #ffffff;
  }

  html {
  scroll-behavior: smooth;
}

  body {
    background: var(--dark2);
    display: flex;
    justify-content: center;
    align-items: flex-start;
  }

  h1{
    color: var(--green2);
    font-family: "DM Mono";
    font-size: 72px;
    font-style: normal;
    font-weight: 500;
    line-height: 90px; /* 125% */
    letter-spacing: -2px;
    margin: 0;
}

  h2{
    color: var(--green2);
    font-family: "DM Mono";
    font-size: 48px;
    font-style: normal;
    font-weight: 500;
    line-height: 48px; 
    letter-spacing: -1.5px;
    margin: 0;
  }

  h3{
    color: var(--green2);
    font-family: "DM Mono";
    font-size: 20px;
    font-style: normal;
    font-weight: 500;
    line-height: 24px; 
    margin: 0;
  }

  h4{
    color: var(--neutral);
    font-family: "DM Mono";
    font-size: 20px;
    font-style: normal;
    font-weight: 500;
    line-height: 24px; 
    margin: 0;
  }

  p{
    color: var(--neutral);
    font-family: "DM Mono";
    font-size: 14px;
    font-style: normal;
    font-weight: 300;
    line-height: 20px;
    margin: 0;
  }

  ul{
    color: var(--neutral);
    font-family: "DM Mono";
    font-size: 14px;
    font-style: normal;
    font-weight: 300;
    line-height: 20px;
    margin: 0;
    flex: 1 0 0;
    align-self: stretch;
    padding-left: 16px;
  }

  li{
    margin-bottom: 8px;
  }

  a{
    color: var(--neutral);
    font-family: "DM Mono";
    font-size: 16px;
    font-style: normal;
    font-weight: 300;
    line-height: 24px;
    text-decoration: none;
    transition: color 0.3s ease-out;
    margin: 0;
  }

.deadlink{
    color: var(--neutral);
    font-family: "DM Mono";
    font-size: 16px;
    font-style: normal;
    font-weight: 300;
    line-height: 24px;
    text-decoration: none;
    transition: color 0.3s ease-out;
    display: flex;
    align-items: center;
    gap: 4px;
}

  a:hover{
    color: var(--white);
  }

  a:hover .span1{
    color: var(--green2);
  }

  .span1{
    color: var(--green1);
    transition: color 0.3s ease-out !important;
  }

  .span2{
    color: var(--green2);
  }

.span3{
    color: var(--green1);
    transition: color 0.3s ease-out !important;
    display: flex;
    align-items: center;
}


  .sidebar-parent{
    display: flex;
    padding: 40px 24px;
    flex-direction: column;
    align-items: flex-start;
    position: sticky;
    top: 0;
    height: calc(100vh - 80px);
    width: 257px
  }

  .content-parent{
    display: flex;
    padding: 40px 48px 40px 24px;
    flex-direction: column;
    align-items: flex-start;
    gap: 64px;
    flex: 1 0 0;
  }

  .card{
    border-radius: 8px;
    border: 1px solid var(--green1);
    background: var(--dark1);
    display: flex;
    padding: 24px;
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
    align-self: stretch;
    max-width: 1350px;
  }

  .sidebar{
    display: flex;
    padding: 24px;
    flex-direction: column;
    align-items: flex-start;
    gap: 64px;
    flex: 1 0 0;
  }

  nav{
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 32px;
    flex: 1 0 0;
  }

  .contact-links{
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 32px;
  }

  .main{
    display: flex;
    max-width: 1350px;
    padding: 24px;
    flex-direction: column;
    align-items: flex-start;
    gap: 40px;
    align-self: stretch;
  }

  .header-box{
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
  }

  .intro-box{
    display: flex;
    align-items: flex-start;
    gap: 24px;
    align-self: stretch;
  }

  .about{
    gap: 64px;
  }

  .intro-column{
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    gap: 24px;
    flex: 1 0 0;
    align-self: stretch;
  }

  .image{
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
    flex: 1 0 0;
    align-self: stretch;
    border-radius: 8px;
    width: 100%;
    background-repeat:no-repeat;
    background-size: cover;
    background-position: center;
  }

.button{
    display: flex;
    padding: 8px 16px;
    justify-content: center;
    align-items: center;
    gap: 8px;
    width: fit-content;
    border-radius: 4px;
    border: 1px solid var(--green2);
    color: var(--neutral);
    font-family: "DM Mono";
    font-size: 16px;
    font-style: normal;
    font-weight: 300;
    line-height: 24px;
    text-decoration: none;
    background-color: var(--dark2);
    transition: all  0.3s ease-out !important;
    flex: 0 0 0;
    cursor: pointer;
}

.button:hover{
    background-color: var(--green2);
    color: var(--dark2);
}

.button-arrow{
    height: 10px;
    width: 10px;
    margin-left: 0px;
    margin-right: 2px;
    background-image: url(images/arrow.svg);
    transition: all 0.3s ease-out !important;
}

.button:hover .button-arrow{
    background-image: url(images/arrow2.svg);
    margin-left: 2px;
    margin-right: 0px;
}

.cards-box-horizontal{
  display: flex;
  align-items: center;
  gap: 24px;
  max-width: 1400px;
  flex: 1 0 0;
  align-self: stretch;
}

.top{
  flex-direction: row;
}

.services{
  display: flex;
  padding: 24px;
  flex-direction: column;
  align-items: flex-start;
  gap: 16px;
  flex: 1 0 0;
  align-self: stretch;
}

.field-container{
  display: flex;
  align-items: flex-start;
  gap: 24px;
  align-self: stretch;
}

.field-parent{
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 4px;
}

.name{ 
  width: calc(40% - 12px);
}

.email{
  width: calc(60% - 12px);
}

label{
  color: var(--neutral);
  font-family: "DM Mono";
  font-size: 12px;
  font-style: normal;
  font-weight: 300;
  line-height: 12px;
  margin: 0;
  
}

input{
  display: flex;
  padding: 8px 16px;
  align-items: center;
  gap: 8px;
  color: var(--neutral);
  font-family: "DM Mono";
  font-size: 14px;
  font-style: normal;
  font-weight: 300;
  line-height: 20px;
  margin: 0;
  background-color: var(--dark1);
  border-radius: 4px;
  border: 1px solid var(--green1);
  flex: 1 0 0;
  align-self: stretch;
  transition: border 0.3s ease-out !important;
}

input:hover{
  border: 1px solid var(--green2);
}

input:active{
  border: 1px solid var(--green2);
}

input:focus{
  border: 1px solid var(--green2);
}


form{
  display: flex;
  flex-direction: column;
  flex: 1 0 0;
  align-self: stretch;
  gap: 24px;
}

textarea{
  display: flex;
  padding: 8px 16px;
  align-items: center;
  min-height: 120px;
  gap: 8px;
  color: var(--neutral);
  font-family: "DM Mono";
  font-size: 14px;
  font-style: normal;
  font-weight: 300;
  line-height: 20px;
  margin: 0;
  background-color: var(--dark1);
  border-radius: 4px;
  border: 1px solid var(--green1);
  align-self: stretch;
  transition: border 0.3s ease-out !important;
}

textarea:hover{
  border: 1px solid var(--green2);
}

textarea:active{
  border: 1px solid var(--green2);
}

textarea:focus{
  border: 1px solid var(--green2);
}

#form-message{
  height: 20px;
  font-family: "DM Mono";
  font-size: 14px;
  font-style: normal;
  font-weight: 300;
  line-height: 20px;
  margin: 0;
}

.card * {
  opacity: 0;
  transform: translateX(-8px);
  transition: opacity 0.4s ease, transform 0.4s ease;
  will-change: opacity, transform;
}

.card .animated {
  opacity: 1;
  transform: translateX(0);
}

.mobile-nav{
  display: none;
  position: fixed;
  top: 0;
  width: calc(100vw - 32px);
  padding: 16px;
  justify-content: space-between;
  align-items: center;
  border-bottom: 1px solid var(--green1);
  background: var(--dark2);
  box-shadow: 0px 4px 4px 0px rgba(0, 0, 0, 0.25);
  z-index: 99;
}

.menu{
  height: 46px;
  width: 46px;
  background-image: url(images/menu-base.svg);
  cursor: pointer;
  transition: all 0.3s ease-out !important;
  transform: rotate(0deg);
  transition: transform 0.3s ease-out;
}


.menu.open{
  transform: rotate(120deg);
  background-image: url(images/menu-green.svg);
}

.menu-overlay{
  visibility: hidden;
  display: flex;
  pointer-events: none;
  opacity: 0;
  position: fixed;
  padding: 8px;
  top: 79px;
  background-color: var(--dark2);
  height: calc(100vh - 95px);
  width: calc(100vw - 16px);
  z-index: 98;
  transition: opacity 0.3s ease-out;
}

.menu-overlay.open{
  visibility: visible;
  pointer-events: auto;
  opacity: 1;
  transition: opacity 0.3s ease-out;
}

.menuitems{
  flex: 1 0 0;
  padding: 24px !important;
}

.contactspan{

}

.intro{

}

#form-message{
  opacity: 1 !important;
}


@media only screen and (max-width:1536px)  {
  .top{
    flex-direction: column;
  }
}

@media only screen and (max-width:1280px)  {
  .sidebar-parent{
    display: none;
  }

  .mobile-nav{
    display: flex;
  }

      .about{
    flex-direction: column;
  }

  .contactspan{
    display: none;
  }


}

@media only screen and (max-width:820px){
  .intro-box{
    flex-direction: column;
  }

  .cards-box-horizontal{
    flex-direction: column;
  }

  footer{
    flex-direction: column !important;
  }

  .intro{
    aspect-ratio: 1 / 1;
  }

  .field-container{
    flex-direction: column;
  }

  .name{
    width: 100%;
  }

  .email{
    width: 100%;
  }

  h1{
    font-size: 40px;
    line-height: 50px;
  }

  h2{
    font-size: 32px;
    line-height: 32px;
  }

  .card{
    padding: 8px;
  }

  .content-parent{
    padding: 8px;
    margin-top: 95px;
  }

}