/* protest-riot-regular - latin */
@font-face {
  font-display: swap;
  font-family: 'Protest Riot';
  font-style: normal;
  font-weight: 400;
  src: url('../fonts/protest-riot-v2-latin-regular.woff2') format('woff2');
}

/* titillium-web-200 - latin */
@font-face {
  font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
  font-family: 'Titillium Web';
  font-style: normal;
  font-weight: 200;
  src: url('../fonts/titillium-web-v17-latin-200.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}
/* titillium-web-200italic - latin */
@font-face {
  font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
  font-family: 'Titillium Web';
  font-style: italic;
  font-weight: 200;
  src: url('../fonts/titillium-web-v17-latin-200italic.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}
/* titillium-web-300 - latin */
@font-face {
  font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
  font-family: 'Titillium Web';
  font-style: normal;
  font-weight: 300;
  src: url('../fonts/titillium-web-v17-latin-300.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}
/* titillium-web-300italic - latin */
@font-face {
  font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
  font-family: 'Titillium Web';
  font-style: italic;
  font-weight: 300;
  src: url('../fonts/titillium-web-v17-latin-300italic.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}
/* titillium-web-regular - latin */
@font-face {
  font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
  font-family: 'Titillium Web';
  font-style: normal;
  font-weight: 400;
  src: url('../fonts/titillium-web-v17-latin-regular.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}
/* titillium-web-italic - latin */
@font-face {
  font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
  font-family: 'Titillium Web';
  font-style: italic;
  font-weight: 400;
  src: url('../fonts/titillium-web-v17-latin-italic.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}
/* titillium-web-600 - latin */
@font-face {
  font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
  font-family: 'Titillium Web';
  font-style: normal;
  font-weight: 600;
  src: url('../fonts/titillium-web-v17-latin-600.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}
/* titillium-web-600italic - latin */
@font-face {
  font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
  font-family: 'Titillium Web';
  font-style: italic;
  font-weight: 600;
  src: url('../fonts/titillium-web-v17-latin-600italic.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}
/* titillium-web-700 - latin */
@font-face {
  font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
  font-family: 'Titillium Web';
  font-style: normal;
  font-weight: 700;
  src: url('../fonts/titillium-web-v17-latin-700.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}
/* titillium-web-700italic - latin */
@font-face {
  font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
  font-family: 'Titillium Web';
  font-style: italic;
  font-weight: 700;
  src: url('../fonts/titillium-web-v17-latin-700italic.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}
/* titillium-web-900 - latin */
@font-face {
  font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
  font-family: 'Titillium Web';
  font-style: normal;
  font-weight: 900;
  src: url('../fonts/titillium-web-v17-latin-900.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}

body {
  margin: 0 auto;
  max-width: 70rem;
  font-family: Arial, sans-serif;
  color: #32268b;
  background-color: #6B8E23;
}

.grid-container-head {
  display: grid;
  margin: 1rem 0;
  grid-template-columns: auto 1fr 1fr 1fr;
  background-color: #6B8E23;
  grid-template-areas:
  "burger logo search user";
}

.grid-item-head {
  background-color: #6B8E23;
  text-align: center;
  vertical-align: middle;
  border-radius: 5px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.burger {
  grid-area: burger;
  padding-left: 1rem;
  padding-right: 2rem;
}

.logo {
  grid-area: logo;
  font-family: 'Protest Riot';
  font-size: 3rem;
  text-shadow: 1px 1px 0px white;
  justify-content: left;
} 
    
.search {
  grid-area: search;
}

.user {
  grid-area: user;
  justify-content: right;
  padding-left: 1rem;
  padding-right: 1rem;
}

.menu-toggle {
  display: flex;
  flex-direction: column;
  cursor: pointer;
}
      
.line {
  width: 30px;
  height: 3px;
  background-color: #32268b;
  margin: 3px 0;
}
      
.menu {
  display: none;
}

.open {
  display: block;
  position: absolute;
  top: 5rem;
  margin-left: 13rem;
  min-width: 15rem;
  background-color: #6B8E23;
  border-radius: 0.5rem;
}

a.linkinmenu {
  color: white;
  font-family: 'Titillium Web';
  text-decoration: none;
}

.lineinmenu {
  width: 80%;
  height: 0.05rem;
  background-color: white;
  margin: 0 auto;
}

#search{
  font-family: 'Protest Riot';
  color: white !important;
  font-size: 1rem;
  text-shadow: 1px 1px 0px black;
  box-shadow: 2px 2px 2px hsl(80, 95%, 22%);
  min-width: 10rem;
  padding: 0.5rem 1rem;
  border-radius: 10px;
  border: thin solid white;
  background: #6B8E23;
}

#submit{
  font-family: 'Protest Riot';
  color: white !important;
  font-size: 1rem;
  text-shadow: 1px 1px 0px black;
  box-shadow: 2px 2px 2px hsl(80, 95%, 22%);
  padding: 0.5rem 0.5rem;
  border-radius: 10px;
  border: thin solid white;
  background: #6B8E23;
}

.user-menu {
  display: inline-block;
  cursor: pointer;
  transition: transform 0.3s ease;
}
      
.user-menu:hover {
  transform: scale(1.1); /* Vergrößere das Icon beim Hover */
}
      
.user-icon {
  width: 48px;
  height: 48px;
}
      
.user-icon path {
  transition: fill 0.3s ease; /* Füge eine sanfte Farbübergang beim Hover hinzu */
}

a {
  text-decoration: none;
}

.grid-container-list {
  display: grid;
  margin: 0 2rem;
  grid-template-columns: 25% 25% 25% 25%;
  grid-template-rows: repeat(3, auto);
  background-color: #c6e0b4;
  border-radius: 0.5rem;
  padding: 0 0 2rem 2rem;
  justify-content: center;
  grid-template-areas:
  "grow0 grow1 grow2 grow3"
  "grow4 grow5 grow6 grow7"
  "grow8 grow9 grow10 grow11";
}

.grid-item-list {
  padding: 2rem;
  margin-top: 2rem;
  margin-right: 2rem;
  max-height: 16rem;
  font-family: 'Titillium Web';
  background-color: white;
  border-radius: 0.5rem;
  text-align: center;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.grow0 {
  grid-area: grow0;
}
.grow1 {
  grid-area: grow1;
}
.grow2 {
  grid-area: grow2;
}
.grow3 {
  grid-area: grow3;
}
.grow4 {
  grid-area: grow4;
}
.grow5 {
  grid-area: grow5;
}
.grow6 {
  grid-area: grow6;
}
.grow7 {
  grid-area: grow7;
}
.grow8 {
  grid-area: grow8;
}
.grow9 {
  grid-area: grow9;
}
.grow10 {
  grid-area: grow10;
}
.grow11 {
  grid-area: grow11;
}

img {
  height: auto;
  max-height: 70%;
  width: 100%;
  display: block;
  margin: 0 auto;
  border-radius: 0.5rem;
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.1);
}




@media only screen and (max-width: 767px) {
  /* Für iPhone-Displays und andere kleine Geräte */

  .grid-container-head {
    display: grid;
    grid-template-columns: auto 1fr 1fr;
    grid-template-rows: auto auto;
    background-color: #6B8E23;
    grid-template-areas:
    "burger logo user"
    "search search search";
  }

  .grid-item-head {
    background-color: #6B8E23;
    text-align: center;
    vertical-align: middle;
    border-radius: 5px;
    display: flex;
    align-items: center;
    justify-content: center;
  }

  .burger {
    grid-area: burger;
  }

  .logo {
    grid-area: logo;
    font-family: 'Protest Riot';
    font-size: 1.8rem;
    justify-content: left;
  } 
    
  .search {
    grid-area: search;
    padding-top: 0.1rem;
    padding-bottom: 0.2rem;
  }

  .user {
    grid-area: user;
    justify-content: right;
  }

  .grid-container-content {
    display: grid;
    margin: 0 1.2rem;
    grid-template-columns: 28% 72%;
    grid-template-rows: repeat(12, auto);
    background-color: #c6e0b4;
    border-radius: 0.5rem;
    padding: 1.2rem;
    justify-content: center;
    grid-template-areas:
    "gid name"
    "seedpic seedpic"
    "marke brand"
    "eltern parents"
    "genetik genetic"
    "bluetetyp floweringtyp"
    "bluetezeit floweringtime"
    "gehaltthc thc"
    "gehaltcbd cbd"
    "hoehe height"
    "ertrag yield"
    "gattung genus";
  }

  .grid-item-content {
    min-height: 1.8rem;
    font-family: 'Titillium Web';
    font-size: 0.7rem;
    background-color: #c6e0b4;
    text-align: center;
    vertical-align: middle;
    display: flex;
    align-items: center;
    justify-content: left;
  }

  .topic {
    font-weight: bold;
    background: linear-gradient(to right, #6B8E23 0%, #c6e0b4 90%);
    padding-left: 1rem;
    border-bottom: thin solid white;
  }
  
  .data {
    background: linear-gradient(to right, #c6e0b4 0%, #6B8E23 90%);
    padding-left: 1rem;
    border-bottom: thin solid white;
  }

  .gid {
    grid-area: gid;
    justify-content: center;
    min-width: 3rem;
    margin: 0 1.2rem 1.2rem 0;
    padding-bottom: 0rem;
    font-size: 0.8rem;
    font-weight: bold;
    writing-mode: horizontal-tb;
    rotate: 0turn;
    background: linear-gradient(to right, #6B8E23 0%, #c6e0b4 50%, #6B8E23 100%);
    border-radius: 0.5rem;
  }

  .seedpic {
    grid-area: seedpic;
    justify-content: center;
    margin: 0 0 1.2rem 0;
    padding: 1.2rem 1.2rem;
    background: radial-gradient(circle, #6B8E23 0%, #c6e0b4 50%, #6B8E23 100%);
    border-radius: 0.5rem;
  }

  img {
    height: auto;
    max-width: 6rem;
    display: block;
    margin: 0 auto;
    border-radius: 0.5rem;
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.1);
  }

  .name {
    grid-area: name;
    justify-content: right;
    padding-bottom: 1.2rem;
    font-size: 1.2rem;
    font-weight: 700;
  }

  .grid-container-list {
    display: grid;
    margin: 0 2rem;
    grid-template-columns: 50% 50%;
    grid-template-rows: repeat(6, auto);
    background-color: #c6e0b4;
    border-radius: 0.5rem;
    padding: 0 0 1.2rem 1.2rem;
    margin-right: 1.2rem;
    justify-content: center;
    grid-template-areas:
    "grow0 grow1"
    "grow2 grow3"
    "grow4 grow5"
    "grow6 grow7"
    "grow8 grow9"
    "grow10 grow11";
  }
  
  .grid-item-list {
    font-size: 0.8rem;
    padding: 1.2rem;
    margin-top: 1.2rem;
    margin-right: 1.2rem;
    max-height: 14rem;
    font-family: 'Titillium Web';
    background-color: white;
    border-radius: 0.5rem;
    text-align: center;
    align-items: center;
    justify-content: center;
    overflow: hidden;
  }
}