/* 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 */
}

.grid-container-content {
  display: grid;
  margin: 0 2rem;
  grid-template-columns: 100%;
  grid-template-rows: repeat(6, auto);
  background-color: #c6e0b4;
  border-radius: 0.5rem;
  padding: 2rem;
  justify-content: center;
  grid-template-areas:
  "labelusername"
  "username"
  "labelpassword"
  "password"
  "execute"
  "toregister"
}

.grid-item-content {
  font-family: 'Titillium Web';
  background-color: #c6e0b4;
  text-align: center;
  vertical-align: middle;
  display: flex;
  align-items: center;
  justify-content: center;
}

.labelusername {
  grid-area: labelusername;
}

.labelpassword {
  grid-area: labelpassword;
}

.username {
  grid-area: username;
  margin-bottom: 1rem;
}

.password {
  grid-area: password;
  margin-bottom: 2rem;
}

.execute {
  min-height: 2.5rem;
  grid-area: execute;
  margin-bottom: 2rem;
}

.toregister {
  padding-top: 2rem;
  grid-area: toregister;
}

#username, #password, #login {
  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;
  cursor: pointer;
}
      


@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;
  }
}