body {
  margin: 0;
  padding: 0;
  background-color: #f4f4f4;
}


* {
  font-family: 'Roboto', Arial, sans-serif;
  margin: 0;
  padding: 0;
  box-sizing: border-box;

}

.navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background-color: #00284D;
  color: white;
  padding: 15px;
  margin: 0;
  width: 100%;
  z-index: 2;
  max-width: 100%;
}

.logo {
  font-weight: bold;
  font-size: 140%;
  margin-left: 1.8%;
}

.nav-links {
  display: none;
  margin: 0;
  line-height: 300%;
}

.nav-links a {
  text-decoration: none;
  color: white;
  font-size: 20px;
}

.burger-menu {
  display: block;
  border-width: 50px;
  padding-bottom: 3px;
  margin-right: 3%;
}

#toggle:checked~.nav-links {
  display: flex;
  flex-direction: column;
  background-color: #00284D;
  position: absolute;
  margin-right: 0;
  top: 79px;
  padding: 20px;
  right: 0;
  width: 100%;
  height: 250px;
  border-radius: 0px 0px 0px 20px;
}


.container {
  padding: 25% 15% 5% 15%;
  margin-bottom: 70%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  width: 100%;
  height: 100%;
  background-color: #f4f4f4;
}

.circle {
  width: 200px;
  height: 200px;
  border-radius: 50%;
  margin-bottom: 20px;
  overflow: hidden;
  margin-top: 10%;
}

.circle img {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  object-fit: cover;
}

#textanimation {
  font-size: 24px;
  margin-bottom: 10px;
  position: relative;
  white-space: nowrap;
  overflow: hidden;
  width: 0;
  animation: typing 5s steps(30, end) forwards;
}

h1 {
  font-size: 30px;
  margin-bottom: 10%;
  margin-top: 10%;
}

.text p {
  font-size: 15px;
}


.footer {
  padding: 2%;
  margin: 0;
  background-color: #00284D;
  width: 100%;
  height: 120px;
  display: flex;
  align-items: center;
}


.contact {
  color: white;
  font-size: 14px;
  text-align: left;
  display: flex;
  align-items: center;
}

.contact p {
  margin-right: 20px;
  padding: 3%;
  line-height: 160%;
}

.contact p a {
  color: white;
  text-decoration: underline;
}

.icons {
  display: flex;
  align-items: center;
  margin-left: 1%;
}

.icons img {
  width: 20px;
  height: 20px;
  margin-left: 13px;
}

body,
html {
  width: 100%;
}

.animationen {
  padding: 0% 10% 40% 10%;
}

.animationen p{
  padding: 3%;
  font-size: 16px;
}

.informations {
  text-align: center;
  margin-bottom: 8%;
  margin-top: 10%;
}


#schultage {
  text-align: right;
  color: #1d7300;
}

#medi {
  text-align: left;
  color: #e2b900;
}

#hobbys {
  text-align: right;
  color: #00287f;
}

#wohnort {
  text-align: left;
  color: #bd0000;
}

#lernbegleitung {
  text-align: left;
  color: #a7008b;
}


.skills{
  width: 100%;
  padding: 30% 10% 20% 10%;
  
}

.skill-name{
  font-size: 18px;
  font-weight: 700;
  color: #00284D;
  text-transform: uppercase;
  margin: 20px 0;
}

.skill-bar{
  height: 14px;
  background: #d5d5d5;
  border-radius: 3px;
}

.skill-per{
  height: 14px;
  background: #00284D;
  border-radius: 3px;
  position: relative;
  animation: fillBars 3.5s 1;
}

.skill-per::before{
  content: attr(per);
  position: absolute;
  padding: 4px 6px;
  background: #00284D;
  border-radius: 4px;
  font-size: 12px;
  top: -35px;
  right: 0;
  transform: translateX(50%);
  color: #f4f4f4;
}

.skill-per::after{
  content: "";
  position: absolute;
  width: 10px;
  height: 10px;
  background: #00284D;
  z-index: -10;
  top: -20px;
  right: 0;
  transform: translateX(50%) rotate(45deg);
  border-radius: 2px;
}

@keyframes fillBars{
  from{
    width: 0;
  }
  to{
    width: 100%;
  }
}

.arbeiten {
  padding: 7%;
  width: 100%;
  height: 100%;
  display: flex;
  justify-content: center;
  top: 200px;
  flex-direction: column;
  text-align: center;
}

.arbeitenblock {
  width: 100%;
  padding: 5%;
  margin-bottom: 10%;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: visible;
  border-radius: 20px;
  background-color: #f4f4f4;
  transition: 2s;
  color: black;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.445);
}


.arbeitenblock:hover {
  color: black;
  background-color: rgba(160, 182, 230, 0.483);
  transition: 2s;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.445);
  border: 1rem black ;

}



figure img {
  max-width: 90%;
  height: 50%;
  justify-content: center;
  width: auto;
  height: auto;
}

figure video {
  width: 100%;
  height: 100%;
}

figure blockquote {
  object-fit: cover;
  justify-content: center;
  border: none;
}

figure {
  justify-content: center;
  align-items: center;
  display: flex;
  flex-direction: column;
}

.mate{
  width: 60%;
  height: 60%;
}

#schuetzi {
  max-width: 70%;
}

figcaption {
  margin-top: 30px;
  font-size: 20px;
}

.arbeiten h1{
  margin-top: 115px;
}

.arbeiten a {
  text-decoration: none;
}

.lebenslauf {
  margin: 10%;
  max-width: 100%;
  height: 100%;
  padding-bottom: 5%;
}

.project {
  padding: 15%;
  background-color: #d3d3d3;
  margin-bottom: 10%;
  border-radius: 20px;
}

.line {
  display: none;
}

.subtitle {
  font-weight: bold;
  font-size: 20px;
}

.text {
  margin-top: 2%;
  font-size: 14px;
}

.lebenslauf h1 {
  text-align: center;
  margin-bottom: 10%;
}

.modal-content {
  width: 90%;
}

button {
  background-color: white;
  color: #00284D;
  border: none;
  padding: 7px 10px;
  border-radius: 10px;
  font-size: 14px;
  cursor: pointer;
}

.modal-content {
  margin: 40% auto;

}

/* Stil für das Pop-up-Fenster */
.cookie-popup {
  display: none;
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background-color: rgba(0, 0, 0, 0.8);
  color: #fff;
  text-align: center;
  padding: 3%;
  z-index: 9999;
}


/* Stil für den Akzeptieren-Button */
.cookie-popup button {
  background-color: white;
  color: black;
  border: none;
  padding: 10px 20px;
  border-radius: 5px;
  margin: 0% 0% 6% 0%;
  cursor: pointer;
}


.cookie-popup a{
  color: white;
}

.cookie-popup p{
  color: white;
  margin: 6% 5% 6% 5%;
}

.impressum {
  padding: 20% 8% 20% 8%;
}

.impressum h4{
  margin-top: 5%;
}

.impressum h2{
  margin-top: 13%;
}