
/* 
  ##Device = Desktops
  ##Screen = 1281px to higher resolution desktops
*/

@media (min-width: 1281px) {
  
  /* CSS */
  
}

/* 
  ##Device = Laptops, Desktops
  ##Screen = B/w 1025px to 1280px
*/

@media (min-width: 1025px) and (max-width: 1280px) {
  
  /* CSS */
  
}

/* 
  ##Device = Tablets, Ipads (portrait)
  ##Screen = B/w 768px to 1024px
*/

@media (min-width: 768px) and (max-width: 1024px) {
  
  /* CSS */
  
}

/* 
  ##Device = Tablets, Ipads (landscape)
  ##Screen = B/w 768px to 1024px
*/

@media (min-width: 768px) and (max-width: 1024px) and (orientation: landscape) {
  
  /* CSS */
  
}

/* 
  ##Device = Low Resolution Tablets, Mobiles (Landscape)
  ##Screen = B/w 481px to 767px
*/

@media (min-device-width: 481px) and (max-device-width: 767px) {
  
  .hamburger_icon {
    margin-left: 1rem;
  }

  #profile_button {
    margin-right: 1rem;
  }
  
}

/* 
  ##Device = Most of the Smartphones Mobiles (Portrait)
  ##Screen = B/w 320px to 479px
*/

@media (min-width: 320px) and (max-width: 480px) {
  
  /* CSS */
  
}

/*-----------------*\
|                   |
|     VARIABLES     |
|                   |
\*-----------------*/
:root {
    --color_cta: 255, 90, 135; /* Coral*/
    --color_main1: 0, 200, 150; /* Dark green rgb(0, 150, 125) */
    --color_main1a: 217, 247, 239;
    --color_main2: 128, 128, 200; /* Light green (90, 190, 125)*/
    --color_main3: 255, 90, 135; /* Pinkish grey (255, 200, 200)*/
    --color_main4: 0, 100, 75; /* Pinkish grey (255, 200, 200)*/
    --color_main5: 255, 200, 120; /* Pinkish grey (255, 200, 200)*/
    --color_main6: 255, 150, 120; /* Pinkish grey (255, 200, 200)*/
    --color_introduction_text: 130, 150, 140; /* 50% grey */
    --color_attention: 255, 150, 0; /* Orange */
    --color_warning: 255, 100, 100; /* Red */
    --font_sans: 'IBM Plex Sans', 'Arial', sans-serif;
    --font_headlines: 'Gloock', 'Georgia', serif;
}

@media (min-device-width: 1025px) {
  :root {
    --main_width: 984px;
    --nr_columns: 12;
    --nr_columns_two_third: 8;
    --nr_columns_half: 6;
    --nr_columns_one_third: 4;
    --nr_columns_one_quarter: 3;
  }
}

@media (min-device-width: 768px) and (max-device-width: 1024px) {
  :root {
    --main_width: 648px;
    --nr_columns: 8;
    --nr_columns_two_third: 5;
    --nr_columns_half: 4;
    --nr_columns_one_third: 3;
    --nr_columns_one_quarter: 2;

  }
}


/*-----------------*\
|                   |
|       HIDE        |
|                   |
\*-----------------*/


.hide {
  display: none !important;
}

/*-----------------*\
|                   |
|       GRID        |
|                   |
\*-----------------*/

html, body {
  height: 100%;
}

.grid_wrapper {
  width: var(--main_width);
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(var(--nr_columns), 60px);
  grid-column-gap: 24px;
}

@media (max-device-width: 767px) {
  .grid_wrapper {
    padding: 0 1rem;
  }
}

.color_scheme_light {
  background-color: rgb(var(--color_main1a));
}

#main_header {
  padding-top: 24px;
  padding-bottom: 24px;
  grid-template-rows: repeat(2, auto);
}

#breadcrumbs {
  grid-column: span var(--nr_columns);
  margin-bottom: 24px;

}


/*-----------------*\
|                   |
|      TOP BAR      |
|                   |
\*-----------------*/

@media (max-device-width: 767px) {
  #profile_button {
    margin-right: 1rem;
  }
}

#navbar_wrapper {
  width: 100%;
  background-color: rgb(var(--color_main1a));
}

#navbar {
}

@media (min-device-width: 768px) {
  .test_environment {
    border-left: 25px red solid;
    border-right: 25px red solid;
  }
}

#navbar > div {
  margin: 0 auto;
  width: var(--main_width);
}

#topbar {
  height: 3.5rem;
  display: grid;
  grid-template-columns: 100px auto 100px;
  grid-template-areas:
    "menu-icon logo profile-button";
  align-items: center;
}


#logo {
  grid-area: logo;
  text-align: center;
  font-family: var(--font_sans);
  font-size: 1.5rem;
  font-weight: 600;
  right: 0;
}

#logo > img {
  margin-left: auto;
  margin-right: auto;
  width: auto;
  height: 1.8rem;
}

#profile_button {
  grid-area: profile-button;
  justify-self: right;
  width: 1.5rem;
  height: 1.5rem;
  border-radius: 1.25rem;
  border: 0.125rem solid black;
  /*background-color: rgb(0, 0, 0);*/
}

/*-----------------*\
|                   |
|     MAIN MENU     |
|                   |
\*-----------------*/

@media (max-device-width: 767px) {
  .hamburger_icon {
    margin-left: 1rem;
  }
}

#main_menu {
  position: absolute;
  padding: 10px 1rem 1rem 1rem;
  font-family: var(--font_sans);
  background-color: rgb(255, 255, 255);
  margin-top: -56px;
  margin-left: -1rem;
  z-index: 9000;
  min-width: 300px;
  box-shadow: 1px 1px 2px 2px rgba(0, 0, 0, 0.15);
}

.hamburger_icon {
  font-family: var(--font_sans);
  font-size: 1.5rem;
  color: rgb(0, 0, 0);
}

#main_menu ul {
  padding-left: 0px;
  margin: 0;
}

.hamburger_icon ~ ul {
  margin-top: 1rem !important;
}

#main_menu ul:not(:last-child) {
  padding-bottom: 0.5rem;
  border-bottom: 1px solid rgb(240, 240, 240);
}

.menu_item {
  list-style: none;
  margin: 0.5rem 0;
  padding-left: 0;
  padding-right: 1rem;
  line-height: 2rem;
}

@media (max-device-width: 767px) {
  .menu_item {
    margin-left: 1rem;
  }
}

.menu_other .menu_item {
  padding-left: 2.5rem !important;
}

.menu_text {
  font-weight: 400;
  font-size: 1.2rem;
}

.menu_other .menu_text {
  font-size: 1rem;
}

.menu_icon {
  float: left;
  width: 1.5rem;
  font-size: 1.5rem;
}

.menu_icon ~ .menu_text {
  padding-left: 1rem;
}

.menu_item a {
  color: rgb(0, 0, 0);
  text-decoration: none;
}

.menu_item:hover {
  background-color: rgb(240, 240, 240);
}

/* defines menu item of current page */
#home .home, #planten .planten, #mijn-tuin .mijn-tuin, #over_achthoog .over_achthoog, #changelog .changelog {
  background-color: rgb(240, 240, 240);
}


/*-----------------*\
|                   |
|  CALL-TO-ACTION   |
|                   |
\*-----------------*/

.cta > a {
  display: inline-block;
  background-color: rgb(var(--color_cta));
  border: 0;
  border-bottom: solid 3px rgba(0, 0, 0, 0.2);
  border-radius: 5px;
  color: rgb(255, 255, 255);
  padding: 8px 16px;
  font-family: var(--font_sans);
  font-weight: 600;
  text-decoration: none;
}
.cta > a:hover {
  border: 0;
  margin-top: 3px;
  padding: 8px 16px 8px 16px;
}

.cta_2nd_option {
  text-align: center;
  margin-top: 1rem;
  margin-bottom: 3rem;
}
.cta_2nd_option a {
  text-decoration: underline;
  color: rgb(150, 150, 150);
  font-size: 0.8rem;
}

/*-----------------*\
|                   |
|       PHOTO       |
|    ATTRIBUTION    |
|                   |
\*-----------------*/

#photo_attribution {
  grid-column: span var(--nr_columns);
  border-top: 1px solid rgb(200, 200, 200);
  margin-top: 2rem;
  padding-top: 2rem;
}

#photo_attribution > * {
  /*grid-column: span var(--nr_columns);*/
}