:root {
--clr-header-green: rgba(59, 73, 50, 0.53);
--clr-header-darkgreen: #727237;
--clr-neutral-brown: #592A18;
--clr-neutral-white: #EBE2D9;
--clr-accent-orange: #DC5128;
--clr-accent-yellow: #DE9717;
--clr-border-grey: rgba(216, 180, 144, 0.4);

--ff-primary: "Moderat", sans-serif;
}

.text-neutral-white { color:var(--clr-neutral-white) }
.text-neutral-brown { color:var(--clr-neutral-brown) }

.border-neutral-black { border-color: black }
.border-accent-orange { border-color:var(--clr-accent-orange) }

.f-underline { text-decoration: underline }
.fw-bold { font-weight: bold }
.fw-light { font-weight: 300 }
.fw-regular { font-weight: normal }
.fs-primary-heading{ font-size:4.5vw }
.fs-secondary-heading{ font-size:2.5vw }
.fs-small{ font-size:1vw }
.fs-smaller{ font-size:0.6vw }
.fs-regular{ font-size:1.3vw }

/* ANIMATIONS */
@keyframes slideInFromLeft {
  0% {
    transform: translateX(-100%);
  }
  100% {
    transform: translateX(0);
  }
}
@keyframes fade {
  0% {
    opacity: 0;
  }
  100% {
    opacity: 1;
  }
}
.slide-left{
    animation: 2s ease-out 0s 1 slideInFromLeft;
}
.fade{
    animation: 2s ease-out 0s 1 fade;
}

/* GENERAL STYLING */
body {
    font-family: var(--ff-primary);
}

hr {
    border-style:solid;
}

.line-height-1 {
    line-height: 1em
}

.heading-padding{
    padding-bottom:1.5vw
}

.hr-margin{
    width:15vw;
    margin-top:1vw;
    margin-bottom:2vw;
}

.hover:hover {
    color: var(--clr-accent-orange);
    transition:0.3s;
}

/* [HERO] FIRST SECTION */
.hero {
    background-color: var(--clr-neutral-white);
    height:100%;
}
.container{
    padding: 7vw;
}

/* HEADER */
header {
    background-color: var(--clr-neutral-white);
}
header hr{
    border-color: var(--clr-border-grey)
}
.header-logo {
    height:3vw;
}
.social {
    height:2vw;
}
.header-wrapper {
    display:flex;
    flex-direction:column;
    padding-top:1vw;
    padding-left:4vw;
    padding-right:4vw;
}
.nav-wrapper {
    display:flex;
    justify-content:space-between;
    align-items:center;
    padding-left:4vw;
    padding-right:4vw;
    padding-bottom:0.5vw;
}
.nav-list {
    display:flex;
    justify-content:center;
    align-items:center;
    gap:6vw;
}

/* MAIN CONTENT */


/* [CREDITS] SECTION */
.credits {
    height:15vw;
    background-image: url(../img/greentexture-min.png);
    display:flex;
    flex-direction:column;
    justify-content:center;
    align-items:center;
    gap:3vw;
}
.credits .logos {
    display:flex;
    align-items:center;
    gap: 5vw;
}
.credits .menu {
    display:flex;
    gap:0.5vw;
}
.credits img {
    height:6vw;
}

/* FOOTER */
footer {
    height:4vw;
    background-color: var(--clr-header-darkgreen);
    display:flex;
    justify-content:center;
    align-items:center;
}

@media only screen and (min-width: 420px) {
    .display-sm-only{
        display:none;
    }
}
@media only screen and (max-width: 420px) {
    .fs-primary-heading{ font-size:10vw }
    .fs-secondary-heading{ font-size:7vw }
    .fs-small{ font-size:3vw }
    .fs-smaller{ font-size:2.5vw }
    .fs-regular{ font-size:3vw }

    .display-sm-none {
        display:none;
    }

    .header-logo {
        height:10vw;
    }
    /* Style The navigation Button */
    .dropbtn {
    background-color: var(--clr-neutral-brown);
      background-image: url(../img/menu-min.png);
      background-size:cover;
      color: white;
      padding: 16px;
      font-size: 16px;
      border: none;
      cursor: pointer;
    }

    /* The container <div> - needed to position the navigation content */
    .navigation {
      position: relative;
      display: inline-block;
    }

    /* navigation Content (Hidden by Default) */
    .nav-list {
      display: none;
      position: absolute;
      background-color: var(--clr-neutral-white);
      min-width: 160px;
      right:0;
      box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.2);
      z-index: 1;
    }

    /* Links inside the navigation */
    .nav-list a {
      color: black;
      padding: 12px 16px;
      text-decoration: none;
      display: block;
    }

    /* Change color of navigation links on hover */
    .nav-list a:hover {background-color: #f1f1f1}

    /* Show the navigation menu on hover */
    .navigation:hover .nav-list {
      display: block;
    }

    /* Change the background color of the navigation button when the dropdown content is shown */
    .navigation:hover .dropbtn {
      background-color: var(--clr-accent-orange);
    }

    .credits {
        height:50vw;
        gap:10vw;
    }
    .credits img {
        height:10vw;
    }
    footer {
        height:10vw;
    }
}
