*{
  margin: 0;
  padding: 0;
  font-size: 22px;
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

html,body{
  height: 100%;
}

:root{
  --background-color: #314453;
  --darker-background-color: #243848;
  --accent-color: #41DCE1;
  --text-color: black;
  --navbar-height: 80px;
}


#teaser {
  overflow: hidden;
  justify-content: center;
  width: 100%;
  height: 350px;
}

#aboutme_section { 
  flex-direction: row;
  padding: 50px;
  display: flex; 
  justify-content: center;
  align-items: center;
  gap: 50px;
}
  
.aboutme_container {
 margin-left: auto;
 margin-right: auto;
 padding-left: 16px;
 padding-right: 16px;
  } 
  
  #aboutme_section img { 
  width: 300px;
  height: auto;
  }

  .aboutme_container h2 { 
    text-align: justify;
    line-height: 50%;
  }

  section {
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
    padding-left: 16ox;
    padding-right: 16px;
  
  }

  a{
    color: var(--text-color);
    text-decoration: none;
  }

/* Einstellungen für Projekt Responsives Downmenu */

nav {
  height: var(--navbar-height);
  display: flex;
  justify-content: space-between;
  align-items: center;
}

nav ul{
 
  height: 100%;
  display: flex;
  flex-direction: row;
  justify-content: flex-end;
  align-items: center;
  list-style: none;
}
nav li{
  height: 100%;
  width: 150px;
  text-align: center;
  position: relative;
}
nav li:hover{
  background: var(--accent-color);
}
nav ul a{
  height: 100%;
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  text-decoration: none;
}
.dropdown{
  height: min-content;
  width: 200px;
  background-color: var(--accent-color);
  display: none;
  flex-direction: column;
  position: absolute;
  left: 0;
  top: var(--navbar-height);   
}
.dropdown li{
  height: 70px;
  width: 100%;
}
.dropdown li a{
  justify-content: flex-start;
  padding-left: 30px;
  width: calc(100% - 30px);
}
nav li:hover .dropdown{
  display: flex;
}
nav input[type="checkbox"]{
  display: none;
}
.expandable_li{
  display: flex;
  justify-content: center;
  align-items: center;
}
.toggle_button{
  width: 30px;
  height: 23px;
  position: absolute;
  top: 25px;
  right: 25px;
  display: none;
  flex-direction: column;
  justify-content: space-between;
}
.bar{
  height: 4px;
  width: 100%;
  background: var(--text-color);
  border-radius: 100px;
}



.copy{
  color: black;
  font-size: 17px;
  display: flex;
  justify-content: center;
  padding-bottom: 0.7em;
}

/*footer*/

footer ul{
  padding: 0;
  margin: 0;
  list-style: none;
}

footer ul a{
  text-decoration: none;
  color: black;
}
hr{
  width: 90%;
}

.ulinformarionen{
  font-size: 24px;
  color: red;
  font-weight: 700;
  margin-top: 15px;
  }

  .subinformationen{
    font-weight: initial;
    font-size: 0.7em;
    margin-top: 5px;
  }

  .subinformationen{
    display: flex;
    flex-direction: column;
    align-items: center;
    gap:10px;
  }

  .copy{
    color: black;
    font-size: 17px;
    display: flex;
    justify-content: center;
    padding-bottom: 0.7em;
  }


.flexfooter, .footerfolge{
  display:flex;
 flex-direction: column;
  justify-content: center;
    align-items: center;
}

.footersozial{
  background-color:grey;
  background-image:url('https://www.certo-auctore.com/brunnen_3.jpg');
  background-size:cover;
  background-repeat: no-repeat;
  width:100%;
  height: 50vh;
  display:flex;
  flex-direction: row;
  justify-content: center;
  align-items:center;
 
}


.footersozial .sozialimg {
  padding: 35px;
  margin: 10px;
  border-radius: 1em;
	border: none;
	background: var(--darker-background-color);
  
}

.footersozial .sozialimg img {
  height: 100%;
  width: 100vh;
}


 /*Media Queries*/
 @media  (max-width:850px ) {
    
  #aboutme_section { 
    flex-direction: column;
    display: flex; 
    justify-content: center;
    align-items: center;
    gap: 20px;
    font-size: 24px;
}
  #aboutme_section img { 
  width: 250px;
  height: auto;
  }

  #teaser {
    width: 100%;
    height: 300px;
  }

  .toggle_button{
    display: flex;
  }

  .logo{
    width: 50vh;
  }

  nav ul{
    height: min-content;
    width: 100%;
    background-color: var(--accent-color);
    display: none;
    position: absolute;
    top: var(--navbar-height);
  }
  nav li{
    height: min-content;
    width: 100%;
  }
  nav ul a{
    padding: 30px 0;
  }
  .expandable_li{
    display: block;
  }
  .expandable_li label{
    padding: 30px 0;
    cursor: pointer;
    display: block;
  }
  .expandable_li:hover .dropdown{
    display: none;
  }
  .expandable_li input[type="checkbox"]:checked ~ .dropdown{
    display: block;
  }
  .dropdown{
    position: static;
    width: 100%;
  }
  .dropdown li{
    padding: 0;
    display: block;
    position: static;
    background: var(--accent-color);
  
  }
  .dropdown li a{
    width: 100%;
    padding: 0;
    justify-content: center;
  }
  #toggle_button:checked ~ ul{
    display: block;
  }

  .logofooter{
    width: 40%;
    border: 1px solid white;
  }
  .footersozial{
    width:100%;
    height:45vh;
    
  }

  .footersozial p{
    font-size: 24px;
    display: flex;
    justify-content: center;

  }
  body{
    line-height: 1.7;
  }
}
