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

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

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

.logo {
  font-weight: 500;
  font-size: 170%;
  margin-left: 1.4%;
}

.logo a{
  color: white;
  text-decoration: none;
}

.nav-links {
  display: flex;
  margin-right: 3%;

}

.nav-links li {
  list-style: none;
  margin-left: 28px;
}

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

.burger-menu {
  display: none;
  cursor: pointer;
  font-size: 3rem;
}

#toggle {
  display: none;
}

.nav-links a.actual {
  text-decoration: underline;
}

.nav-links a:hover {
  text-decoration: underline;
}

.container {
  display: flex;
  justify-content: center;
  align-items: center;
  height: 90vh;
  background-color: #f4f4f4;
  padding: 0% 15% 0% 15%;
  width: 100%;
}


.circle img {
  border-radius: 200px;
  -moz-border-radius: 200px;
  -webkit-border-radius: 200px;
  margin-right: 60px;
}

.text {
  display: flex;
  flex-direction: column;
}

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

h1 {
  font-size: 44px;
  margin-bottom: 5%;
}

.title {
  font-size: 44px;
  text-align: center;
}

.text p {
  font-size: 24px;
  color: #555;
}

@keyframes typing {
  to {
    width: 100%;
  }
}

footer {
  width: 100%;
}

.footer {
  padding: 2%;
  background-color: #00284D;
  width: 100%;
  height: 130px;
  align-items: center;
  display: flex;
  justify-content: space-between;
}

.contact {
  justify-content: space-between;
  color: white;
  font-size: 16px;
  width: 100%;
  display: flex;
  align-items: center;
}

.contact p {
  padding: 3%;
  text-align: left;
  justify-content: flex-start;
  line-height: 160%;
}

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

#honeypot {
  display: none;
}

.icons {
  display: flex;
  justify-content: flex-end;
  margin-right: 2%;
}

.icons img {
  width: 30px;
  height: 30px; 
  margin-left: 20px;
  transition: transform 0.2s;
}

.icons img:hover {
  transform: translateY(-8px);
}

.animationen {
  padding: 10% 20% 10% 20%;
}

.animationen p {
  padding: 3%;
  font-size: 40px;
  opacity: 0;
  transition: opacity 1s ease;
}

.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;
}

.fadeIn {
  opacity: 999 !important;
}


.skills{
  width: 100%;
  padding: 15% 10% 15% 10%;
  height: 100%;
  
}

.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%;
  }
}

.skills h1 {
  text-align: center;
}

.arbeiten {
  padding: 10% 20% 10% 20%;
  width: 100%;
  height: 100%;
  display: flex;
  justify-content: center;
  top: 80px;
  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 50px rgba(0, 0, 0, 0.445);
}


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

}


figure img {
  max-width: 70%;
  height: 40%;
  justify-content: center;
  width: auto;
  height: auto;
}

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

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

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

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

figcaption {
  margin-top: 30px;
  color: black;
  font-size: 24px;
}

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

.arbeiten a {
  text-decoration: none;
}


.lebenslauf {
  margin: 10% 15% 10% 30%;
  max-width: 100%;
  height: 100%;
}

.project {
  padding: 7%;
  background-color: #d3d3d3;
  margin-bottom: 6%;
  border-radius: 30px;
}

.line {
  width: 10px;
  height: 100%;
  color: #00284D;
  position: absolute;
  left: 20%;
  transform: translateX(-50%);
  top: 1450px; 
  background-color: #00284D;
  z-index: 1;
  bottom: 0px;
}

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

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

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

#schuetzi {
  max-width: 40%;
}

button {
  background-color: white;
  color: #00284D;
  border: none;
  padding: 10px 20px;
  border-radius: 10px;
  margin-left: 2%;
  font-size: 16px;
  cursor: pointer;
}

.modal {
  display: none;
  position: fixed;
  z-index: 1;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0,0,0,0.7);
}

.modal-content {
  background-color: #fff;
  margin: 20% auto;
  padding: 20px;
  width: 80%;
  max-width: 400px;
  border-radius: 5px;
  position: relative;
}

.close {
  position: absolute;
  top: 0;
  right: 0;
  padding: 10px;
  margin-right: 1%;
  font-size: 20px;
  cursor: pointer;
  color: black;
}

form label {
  display: block;
  margin-bottom: 5px;
}

form input,
form textarea {
  width: 100%;
  padding: 10px;
  margin-bottom: 10px;
  border: 1px solid #ccc;
  border-radius: 5px;
  margin-top: 4%;
}

form button[type="submit"] {
  background-color: #00284D;
  color: white;
  border: none;
  padding: 10px 20px;
  border-radius: 5px;
  cursor: pointer;
}

form button[type="submit"]::after {
  background-color: #00910e;
  color: white;
  border: none;
  padding: 10px 20px;
  border-radius: 5px;
  cursor: pointer;
}

.modal-content h2{
  color: black;
}

#confirmationMessage {
  color: black;
  margin-top: 3%;
}

#errorMessage {
  color: black;
  margin-top: 3%;
}


@media screen and (max-width: 1500px) {

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


  .line {
    width: 10px;
    height: 100%;
    color: #00284D;
    position: absolute;
    left: 20%;
    transform: translateX(-50%);
    top: 1300px; 
    background-color: #00284D;
    z-index: 1;
    bottom: 0px;
  }
}


@media screen and (max-width: 1400px) {

  .lebenslauf {
    margin: 10% 15% 10% 30%;
    max-width: 100%;
    height: 100%;
  }


  .line {
    width: 10px;
    height: 100%;
    color: #00284D;
    position: absolute;
    left: 20%;
    transform: translateX(-50%);
    top: 1250px; 
    background-color: #00284D;
    z-index: 1;
    bottom: 0px;
  }
}

@media screen and (max-width: 1200px) {

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


  .line {
    width: 10px;
    height: 100%;
    color: #00284D;
    position: absolute;
    left: 20%;
    transform: translateX(-50%);
    top: 1150px; 
    background-color: #00284D;
    z-index: 1;
    bottom: 0px;
  }
}

@media screen and (max-width: 1000px) {

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


  .line {
    width: 10px;
    height: 100%;
    color: #00284D;
    position: absolute;
    left: 20%;
    transform: translateX(-50%);
    top: 1050px; 
    background-color: #00284D;
    z-index: 1;
    bottom: 0px;
  }
}

/* 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;
  cursor: pointer;
}


.cookie-popup a{
  color: white;
}

.cookie-popup p{
  color: white;
  margin: 0% 20% 2% 20%;
}

.impressum {
  padding: 10% 25% 10% 25%;
 min-height: 1000px;
}

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

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

.contact a{
  color: #00284D;
  text-decoration: none;
}

.g-recaptcha {
  margin-bottom: 4%;
}

.contact button{
  margin: 0;
  width: auto;
}