:root {
  --color1: #aad8cf;
  --color2: #06a592;
  --color3: #ffffff;
  --background: linear-gradient(
   -45deg,
    rgb(0, 152, 144) 0%,
    rgb(0, 111, 171) 100%
  );
}

* {
  font-family: Futura, Regular;
}

body {
  margin: 0;
}

a {
  text-decoration-line: none;
}
i:hover, a:hover{
  color: #06a592;
}

#background {
  /* background-image: url(./src/Hintergrund.png); */
  background: var(--background);
  /* background-repeat: no-repeat;
    background-size: auto 100%;
    background-position: center; */
  height: 100%;
  width: 100%;
  margin: 0;
  opacity: 100%;
  position: absolute;
     overflow: hidden;
}

#main-infos{
  display: flex;
  justify-content: center;
  gap: 5vw;
  padding-top: 100px;
}

.flex-container {
  display: flex;
  justify-content: center;
}

#info {
  position: relative;
}

#name {
  font-size: 1.5em;
  font-weight: bold;
  color: #ffffff;
  margin-bottom: 0;
}

#position {
  margin-top: 0;
  color: #ffffff;
  letter-spacing: 0.25em;
}

#enterprise {
  margin-top: 0;
  color: #ffffff;
}

#addContact,
#profilPic {
  justify-content: center;
  display: flex;
  position: relative;
}

#profilPic > img {
  border-radius: 50%;
  max-width: 20vw;
  height: auto;
}

#addContact {
  margin: 20px auto 0;
  height: auto;
  width: auto;
  max-width: 50%;
  padding: 20px 25px;
  background-color: #06a592;
  color: white;
  align-items: center;
  border-radius: 8px;
  cursor: pointer;
  border: 4px solid var(--color3);
}
#addContact:hover{
  background-color: white;
  color: var(--color2);
  border-color: var(--color2);
}
#addContact:active{
  background-color: var(--background);
}

#contact div {
  display: flex;
  align-items: center;
  justify-content: center;
  color: #ffffff;
}

#contact {
  display: flex;
  justify-content: center;
  margin-top: 1em;
}

#contact > a {
  padding: 20px;
}

/* Logo */
#organisation {
  position: relative;
 max-width:25vw;
  height: auto;
}

#organisation > img {
  height: auto;
  max-width: 100%;
}

/* .personal-data {
  margin-left: 8vw;
} */

/* Handy hochkant */
@media (orientation: portrait) {
  body {
    font-size: 4vw;
  }
 #main-infos{
    padding: 10%;
  }


  #info {
    position: absolute;
        padding-top: 36vh;
  }
  #organisation {
    max-width: 50vw;
    position: absolute;
    transform: none;
  }
 
#profilPic{
  padding-top: 11vh;
}

  #profilPic > img {
    height: auto;
    max-width: 40vw;
  }

  #name,
  #position,
  #enterprise {
    text-align: center;
  }
  #contact {
    position: absolute;
    bottom: 0;
    width: 100%;
  }
  #contact div {
    margin: 20px 0;
    font-size: 1.5em;
  }
  #addContact {
    position: absolute;
    bottom: 15vh;
  }
}
@media (orientation: landscape) { 
  body {
    font-size: 1.5vw;
  }
  #organisation{
    position: relative;
    padding-top: 5%;
  }
  /* #addContact {
    position: relative;
    top: 50vh;
  }
  #contact {
    position: relative;
    top: 50vh;
  }
  */
  #contact div {
    font-size: 2em;
  }