@font-face {
  font-family: avantgarde;
  src: url(ITCAvantGardeStd-Md.ttf);
}

body{
  margin: 0;
  background-color: white;
  -ms-user-select: None;
  -moz-user-select: None;
  -webkit-user-select: None;
  user-select: None; 
}

.container {
  display: grid;
  grid-template-columns: 0.1fr 1fr 0.1fr;
  grid-template-rows: 0.2fr 0.75fr 0.15fr 0.25fr 0.5fr 0.1fr;
  gap: 2px 1px;
  grid-auto-flow: row;
  grid-template-areas:
    "navbar navbar navbar"
    ". bild ."
    ". hallo ."
    ". kleiner-text ."
    ". text ."
    ". . .";
}

.navbar {
  grid-area: navbar;
}

.bild {
  grid-area: bild; 
}

.hallo {
  grid-area: hallo;
}

.kleiner-text {
  grid-area: kleiner-text;
  font-size: 5vw;
  font-family: avantgarde;
  margin-bottom: 0;
}

.text {
  grid-area: text;
  font-size: 3vw;
  font-family: avantgarde;
}

img{
  object-fit: cover;
  width: 100%;
}

h1{
  font-size: 15vw;
  margin: 15px 0 0 0;
  font-family: avantgarde;
}

a{
  text-decoration: none;
  color: #348feb;
  transition: 0.3s;
}

a:hover{
  text-decoration: none;
  color: #f54542;
}

.mail{
  border: 2px solid gray;
  border-radius: 5px;
  padding: 5px;
  transition: 0.3s;
}

.mail:hover{
  background-color: gray;
  color: white;
}

@media (min-width:961px){
  html, body {
    height: 100%;
  }

  body {
    display: grid;
    place-items: center;
  }

  .container {
    grid-template-columns: 0.5fr 1fr 1fr 0.5fr;
    grid-template-rows:0.5fr 0.75fr 0.75fr;
    gap: 20px 15px;
    grid-template-areas:
      /* "navbar navbar navbar navbar" */
      ". bild hallo ."
      ". bild kleiner-text ."
      ". text text .";
      /* ". . . ."; */
  }

  h1{
    font-size: 5vw;
    margin-top: 0;
  }

  .kleiner-text{
    font-size: 2vw;
  }

  .text{
    font-size: 1vw;
  }
}