:root {
  --color-1: #fbf1da;
  --text-color: #000000;
  --accent-color: #99c20a;
  --navheight: 100px;
}

* {
  margin: 0;
  padding: 0;
}

html {
  font-size: 1rem;
  font-family: "Gill Sans", "Gill Sans MT", Calibri, "Trebuchet MS", sans-serif;
  font-family: cursive;
}

nav {
  height: var(--navheight);
  background-color: var(--color-1);
  display: flex;
  justify-content: flex-end;
  align-items: center;
}

nav .logo {
  width: -moz-min-content;
  width: min-content;
  height: 90px;
  margin-right: auto;
}

.links-container {
  height: 100%;
  width: 100%;
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: right;
}

nav a {
  height: 100%;
  padding: 0 20px;
  display: flex;
  align-items: center;
  text-decoration: none;
  color: var(--text-color);
}

nav a:hover {
  color: var(--color-1);
  background-color: var(--accent-color);
}
.active {
  color: var(--color-1);
  background-color: var(--accent-color);
}




nav .home-link {
  margin-right: auto;
  margin-left: 1rem;
} 
nav .home-link:hover {
  background-color: var(--color-1);
} 
#sidebar-active {
  display: none;
}

.open-sidebar-button, .close-sidebar-button {
  display: none;
}

@media (max-width: 920px) {
  .links-container {
    flex-direction: column;
    align-items: flex-start;
    position: fixed;
    top: 0;
    right: -100%;
    z-index: 10;
    width: 300px;
    background-color: var(--color-1);
    box-shadow: -5px 0 5px rgba(0, 0, 0, 0.25);
    transition: 1s ease-out;
    -webkit-transition: 1s ease-out;
    -moz-transition: 1s ease-out;
    -ms-transition: 1s ease-out;
    -o-transition: 1s ease-out;
  }
  nav a {
    box-sizing: border-box;
    height: auto;
    width: 100%;
    padding: 15px 30px;
    justify-content: flex-start;
  }
  nav a:hover {
    background-color: var(--accent-color);
    padding-left: 40px;
    transition: 1s ease-out;
    -webkit-transition: 1s ease-out;
    -moz-transition: 1s ease-out;
    -ms-transition: 1s ease-out;
    -o-transition: 1s ease-out;
  }
  nav .logo {
    width: -moz-min-content;
    width: min-content;
    height: 80px;
    margin-right: auto;
  }
  nav .logo:hover {
    background-color: none;
  }
  .open-sidebar-button, .close-sidebar-button {
    padding: 20px;
    display: block;
    
    cursor: pointer;
  }
  #sidebar-active:checked ~ .links-container {
    right: 0;
  }
  #sidebar-active:checked ~ #overlay {
    height: 100%;
    width: 100%;
    position: fixed;
    top: 0;
    left: 0;
    z-index: 9;
    cursor: pointer;
  }
  
  
}