/* 
default Colors
dark-green: #0d2517
green: #365141
light-green: #85b72e
*/

* {
  font-family: 'Roboto Condensed', sans-serif;
  margin: 0;
  --dark-green: #0d2517;
  --green: #77a32a;
  --light-green: #85b72e;
  --brow: #423812;
}

/* html {
  background: rgb(45,138,84);
background: linear-gradient(0deg, rgba(45,138,84,0.32816876750700286) 0%, rgba(138,210,53,0.30015756302521013) 100%);
} */

header {
  /* background-color: var(--brow); */
  background: rgb(13, 37, 23);
  background: linear-gradient(0deg, rgba(13, 37, 23, 1) 0%, rgba(44, 66, 18, 1) 100%);
  display: grid;
  grid-template-columns: 170px auto;
}

header h1 {
  color: white;
  margin-top: auto;
  margin-bottom: auto;
  text-align: center;
  font-size: 6vh;
}

header img {
  margin-left: 10px;
}

nav {
  position: sticky;
  top: 0;
  margin-bottom: 10px;
  box-shadow: 0 2px 4px 0 rgba(0, 0, 0, .2);
}

.grid {
  display: inline-grid;
  grid-template-columns: auto auto;
  /* margin: 10px; */
}

.grid a {
  text-align: center;
}

article {
  margin: 10px;
  padding: 15px;
  background-color: var(--green);
  border-radius: 10px;
  color: white;
  box-shadow: 0px 8px 30px -12px rgba(66, 68, 90, 1);
}

.nextDate {
  text-align: center;
}

.nextDate h1 {
  color: red;
  font-size: 4vh;
}

/* aside {
  position: sticky;
  top: 0;
} */

aside div {
  /* background-color: var(--light-green); */
  background: rgb(133, 183, 46);
  background: radial-gradient(circle, rgba(133, 183, 46, 1) 0%, rgba(119, 163, 42, 1) 100%);
  text-align: left !important;
  margin: 10px;
  padding: 10px;
  display: grid;
  grid-template-columns: auto auto;
  border-radius: 10px;
}

aside a {
  background-color: var(--light-green);
  text-decoration: none;
  color: black;
}

aside img {
  float: right;
  grid-area: 1 / 2 / span 3 / span 1;
}

footer {
  background-color: var(--dark-green);
  color: rgb(255, 255, 255);
  padding: 20px;
  text-align: center;
}

.nextDate {
  color: Red;
}

td {
  text-align: right;
}

@media screen and (max-width: 600px) {
  .grid {
    grid-template-areas: none;
  }
}

/* --------------------------------------------------------- */
/* navbar styling */

/* Add a black background color to the top navigation */
.topnav {
  background-color: var(--dark-green);
  overflow: hidden;
}

/* Style the links inside the navigation bar */
.topnav a {
  float: left;
  display: block;
  color: #f2f2f2;
  text-align: center;
  padding: 14px 16px;
  text-decoration: none;
  font-size: 17px;
}

/* Add an active class to highlight the current page */
.active {
  background-color: var(--green);
  color: white;
}

/* Hide the link that should open and close the topnav on small screens */
.topnav .icon {
  display: none;
}

/* Dropdown container - needed to position the dropdown content */
.dropdown {
  float: left;
  overflow: hidden;
}

/* Style the dropdown button to fit inside the topnav */
.dropdown .dropbtn {
  font-size: 17px;
  border: none;
  outline: none;
  color: white;
  padding: 14px 16px;
  background-color: inherit;
  font-family: inherit;
  margin: 0;
}

/* Style the dropdown content (hidden by default) */
.dropdown-content {
  display: none;
  position: absolute;
  background-color: #f9f9f9;
  min-width: 160px;
  box-shadow: 0px 8px 16px 0px rgba(0, 0, 0, 0.2);
  z-index: 1;
}

/* Style the links inside the dropdown */
.dropdown-content a {
  float: none;
  color: black;
  padding: 12px 16px;
  text-decoration: none;
  display: block;
  text-align: left;
}

/* Add a dark background on topnav links and the dropdown button on hover */
.topnav a:hover,
.dropdown:hover .dropbtn {
  background-color: var(--green);
  color: white;
}

/* Add a grey background to dropdown links on hover */
.dropdown-content a:hover {
  background-color: #ddd;
  color: black;
}

/* Show the dropdown menu when the user moves the mouse over the dropdown button */
.dropdown:hover .dropdown-content {
  display: block;
}

.dev-notice {
  background-color: var(--dark-green);
}

/* When the screen is less than 600 pixels wide, hide all links, except for the first one ("Home"). Show the link that contains should open and close the topnav (.icon) */
@media screen and (max-width: 600px) {

  .topnav a:not(:first-child),
  .dropdown .dropbtn {
    display: none;
  }

  .topnav a.icon {
    float: right;
    display: block;
  }
}

/* The "responsive" class is added to the topnav with JavaScript when the user clicks on the icon. This class makes the topnav look good on small screens (display the links vertically instead of horizontally) */
@media screen and (max-width: 600px) {
  .topnav.responsive {
    position: relative;
  }

  .topnav.responsive a.icon {
    position: absolute;
    right: 0;
    top: 0;
  }

  .topnav.responsive a {
    float: none;
    display: block;
    text-align: left;
  }

  .topnav.responsive .dropdown {
    float: none;
  }

  .topnav.responsive .dropdown-content {
    position: relative;
  }

  .topnav.responsive .dropdown .dropbtn {
    display: block;
    width: 100%;
    text-align: left;
  }
}