@import url('https://fonts.googleapis.com/css2?family=Manrope:wght@200..800&display=swap');

body{
    display:flex;
    flex-direction:column;
    justify-content:center;
    align-items:center;
    /*background-color: #F2F0EF;*/
    background-color: rgb(245, 245, 247);
    color:rgb(29, 29, 31);
    font-family: "Manrope", sans-serif;
    letter-spacing: -3%;
    font-weight: 600;
    /*margin-right: 30em;
    margin-left:30em;*/
    text-align:center;
}

p.bold{
    font-weight:900;
}

/*animation von allen body elementen*/
/*
body > * {
  opacity: 0; 
  transform: translateY(-100px);
  animation: fallIn 0.8s ease-out forwards; 
}

@keyframes fallIn {
  0% {
    opacity: 0;
    transform: translateY(-100px);
  }
  80% {
    transform: translateY(10px);
    opacity: 1;
  }
  100% {
    transform: translateY(0);
    opacity: 1; 
  }
}

*/

/*animation ende hier*/

.main{
    margin-top:54px;
    padding-top:2em;
    padding-bottom:2em;
    display:flex;
    align-items:stretch;
    flex-wrap: wrap;
    gap:2em;
    justify-content:space-evenly;
    /*background-color: #F2F0EF;*/
    align-items:center;
    width:60%;
}

.footer{
    display:flex;
    align-items:center;
    flex-wrap: wrap;
    gap:2em;
    justify-content:space-evenly;
    /*background-color: #F2F0EF;*/
    align-items:center;
    width:60%;
}

.fxb{
    display: flex;
    flex-direction:column;
    justify-content: center;
    align-items: center;
    overflow: hidden;
    /*background: rgba(186,186,186,0.25);*/
    background-color:white;
    border-radius:33px;
    /*border:1px solid #B8B8B8;*/
    padding:2rem;
    /* margin:.5em; */
    width:40%;
    flex-grow: 1;
    height:auto;
}

.fxb-s{
    display: flex;
    flex-direction:column;
    justify-content: center;
    align-items: center;
    overflow: hidden;
    /*background: rgba(186,186,186,0.25);*/
    background-color:white;
    /*border:1px solid #B8B8B8;*/
    border-radius:33px;
    padding:2rem;
    /* margin:.5em; */
    width: 30%;
    flex-grow: 1;
}

.fxb-i{
    position: relative;
    text-align:left;
    display: flex;
    justify-content: left;
    align-items: center;
    overflow: hidden;
    /*background: rgba(186,186,186,0.25);*/
    background-color:rgb(255, 255, 255, 0);
    /*border:1px solid #B8B8B8;*/
    border-radius:33px;
    /* margin:.5em; */
    width:100%;
    min-width:100%;
    flex-grow: 1;
    /* max-height:200px; */
    aspect-ratio: 16/9;
}

.fxb-i img {
    flex: 1;
    min-width: 100%;
    min-height: 100%;
    display: block;
}


.overlay{ /*overlay box for images*/
  height:auto;
  display: flex;
  flex-direction:column;
  justify-content: center;
  align-items: left;
  text-align:left;
  color:rgb(38, 38, 41);
  text-align:left;
  position: absolute;
  /*bottom: 40px;*/
  left: 42px;
  z-index: 3; 

}


.fxb-x{
    display: flex;
    flex-direction:column;
    justify-content: center;
    align-items: center;
    overflow: hidden;
    /*background: rgba(186,186,186,0.25);*/
    background-color:white;
    /*border:1px solid #B8B8B8;*/
    border-radius:33px;
    padding:2rem;
    /* margin:.5em; */
    width: 100%;
    flex-grow: 1;
}

.fxb-iv{
    display: flex;
    flex-direction:column;
    justify-content: center;
    align-items: center;
    overflow: hidden;
    background: rgba(255, 255, 255, 0);
    /*border:1px solid red;/*only for testing*/
    padding:2rem;
    /* margin:.5em; */
    width:40%;
    flex-grow: 1;
}

.la{
    color:rgb(29, 29, 31);
    margin:5px;
    /*text-decoration-thickness: 2px;*/
    text-decoration:none;
}

.l{
    text-decoration:none;
    color:gray;
    margin:5px;
}

.hp{
  font-size:2.3em;
  margin:0px;
}

.pp{
  margin:0px;
  padding:0px;
}

.navbar{
    /*border:1px solid red;/*only for testing*/
    display:flex;
    flex-direction:row;
    align-items:center;
    justify-content:space-evenly;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 60px;
    z-index: 9999;
    background-color: rgba(250, 250, 252, 0.8);
    backdrop-filter:blur(15px);
    -webkit-backdrop-filter:blur(15px);
    border-bottom:1.5px solid rgb(209, 209, 209);
}
.navbox{
width:60%;
    display:flex;
    flex-direction:row;
    align-items:center;
    justify-content:space-evenly;
    gap:1em
}
.navbox-link{
  width:100%;
  right:0px;
  display: flex;
  flex-direction:row;
  align-items: right;
  justify-content:right;
  width:100%;
  text-align:right;
  gap:1em
}
.red-p{
    color:red;
}


@media (max-aspect-ratio: 4/6) {
  /* Für eher hochformatige oder quadratische Screens */
  .main{
    width:80%;
  }
  .navbox{
    width: 80%;
  }
}

@media (max-width:700px) {
  /* Für eher hochformatige oder quadratische Screens */
  .main{
    width:80%;
  }
  .hp{
    font-size:1.5em;
  }
  body{
    font-size: 12px;
  }
  .navbar{
    /*border:1px solid red;/*only for testing*/
    display:flex;
    flex-direction:row;
    align-items:center;
    justify-content:space-evenly;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 60px;
}
.navbox{
  width:80%;
    display:flex;
    flex-direction:row;
    align-items:center;
    justify-content:space-evenly;
    gap:1em
}
.navbox-link{
  font-size:13px;
  width:100%;
  right:0px;
  display: flex;
  flex-direction:row;
  align-items: right;
  justify-content:right;
  width:100%;
  text-align:right;
  gap:0px;
}
}

@media (min-aspect-ratio: 21/9) {
  /* Für eher breite Screens */
  .main{
    width:40%;
  }
  .navbox{
    width: 40%;
  }
}

h1{
    margin:0;
    margin-bottom:5px;
    padding:0;
}

p{
    padding:0;
    margin:.5em;
}

button{
    background-color:rgb(30, 75, 255);
    color:white;
    border:none;
    border-radius:20px;
    padding:1em;
    margin:1em;
    font-size:14px;
    transition: all 0.2s;
}

button:hover{
  color:rgb(199, 199, 199);
    /*background-color:rgb(12, 41, 159);*/
    box-shadow: 0px 5px 0px 0 rgb(0, 0, 0), 0 6px 20px 0 rgba(0,0,0,0.19);
}


.button-o{
  margin:0px;
  margin-top:.5em;
}
