body {
    background-color: rgb(31, 31, 37);
    font-family: Arial, Helvetica, sans-serif;
    font-size: 14px;
    float: left;
    /* ALT */
    /* height: 100vh; */
    /* overflow: hidden; */
    /* NEU */
    min-height: 100vh;
    overflow-x: hidden;
    overflow-y: hidden;
    -ms-overflow-style: none; /* IE and Edge */
    scrollbar-width: none; /* Firefox */
}

body::-webkit-scrollbar {
    display: none;
}

* {
  box-sizing: border-box;
}

.pattern {
  position: relative;
  animation: gradientAnimation 10s infinite linear; 
}

#pattern_wrapper {
  position: fixed;
  top: 0;
  left: 0;
  z-index: -1;
  height: 100vh;
  width: 100vw;
}

#content-container {
  overflow-y: auto;
  height: 100vh;
  width: 100%;
  align-content: center;
  box-sizing: border-box;
}

#wrapper{
  height: 100vh;
  width: 100vw;
  max-width: 1920px;
  padding: 1%;
  margin: 0 auto 0 auto;
}

.main {
  width: 100%;
  margin: auto;
}

.fix::after {
  display: block;
  clear: both;
  content: "";
}

/* Default / Desktop */
.intro-inhalt {
    text-align: center;
    display: flex; /* normal full-width flex */
    flex-direction: column;
    justify-content: center;
    align-items: center;
    min-height: 100vh; /* full viewport height */
    padding: 10px 10px;
    width: 100%;
}

.intro-inhalt img {
    width: 100%;
    max-width: 300px; /* kleiner für Mobile */
    height: auto;
    border-radius: 50%;
    margin-bottom: 15px;
}

.intro-inhalt h1 {
  font-weight: 700;
  margin: 1% 0;
  color: rgb(156, 207, 255, 1);
  text-shadow: 1px 1px 2px black, 0 0 25px rgb(223, 240, 255), 0 0 5px midnightblue;
}

.intro-inhalt p {
  font-size: 20px;
  font-weight: 700;
  color: rgb(156, 207, 255, 1);
  text-shadow: 1px 1px 2px black, 0 0 25px rgb(223, 240, 255), 0 0 5px midnightblue;
}

.center_img {
  display: block;
  margin-left: auto;
  margin-right: auto;
}

h1 {
  font-size: 45px;
  margin-left: auto;
  margin-right: auto;
  display: block;
  text-align: center;
}
 
.h1_extra {
  font-size: 45px;
  margin-left: auto;
  margin-right: auto;
  display: block;
  text-align: center;
}

h2{
  font-size: 30px;
  color: #70B2EE
}
  
h3{
  font-size: 18px;
}

li {
  float: left;
}
  
.nav {
    list-style-type: none;
    margin: 0;
    padding: 0;
    width: 100%;
    overflow: hidden;
    background-color: rgba(30, 30, 54, 1);
    position: sticky;
    top: 0;
    display: block;
    border: 1px solid #70B2EE;
    z-index: 30;
}

.bt {
    border: none;
    outline: none;
    padding: 12px 12px;
    background-color: rgba(30, 30, 54, 0.801);
    color: #70B2EE;
    cursor: pointer;
    font-size: 16px;
    text-decoration: none;
}
    
.bt:hover {
    background-color: #70B2EE !important;
    color: rgba(30, 30, 54, 0.801) !important;
    opacity: 0.5;
}
    
.bt.active:focus {
    background-color: #666;
    color: #ABEBD2;
}

.center {
    margin-left: auto;
    margin-right: auto;
    width: 100%;
    padding: 1%;
}

.btn {
    border: none;
    outline: none;
    padding: 12px 12px;
    background-color: rgba(30, 30, 54, 0.801);
    color: #70B2EE;
    cursor: pointer;
    font-size: 12px;
}
    
.btn:hover {
    background-color: #70B2EE !important;
    color: rgba(30, 30, 54, 0.801) !important;
    opacity: 0.5;
}
    
.btn.active:focus {
    background-color: #666;
    color: #ABEBD2;
}

.row {
    margin: 10px -16px;
    display: flex;
    flex-wrap: wrap; 
}
  
.row,
.row > .column {
    padding: 8px;
    float: center;
}
    
.column {
    padding: 8px;
    box-sizing: border-box;
    width: calc(33.33% - 16px); 
    min-width: 28%;
    display: none;
}

.content {
    background-color: rgba(30, 30, 54, 0.801);
    color: #70B2EE;
    padding: 4%;
    font-size: 14px;    
}

.show {
  display: block;
}

.timeline {
    position: relative;
    margin: 0 auto;
}
  
.timeline::after {
    content: '';
    position: absolute;
    width: 4px;
    background-color: #70B2EE;
    top: 0;
    bottom: 0;
    left: 50%;
    margin-left: -3px;
}
  
.container {
    padding: 1% 2.5%;
    position: relative;
    background-color: inherit;
    width: 50%;
}
  
.container::after {
    content: '';
    position: absolute;
    width: 25px;
    height: 25px;
    right: -17px;
    background-color: rgba(30, 30, 54, 1);
    border: 4px solid #70B2EE;
    top: 15px;
    border-radius: 50%;
    z-index: 1;
}
  
.left_cont {
    left: 0;
}
  
.right_cont {
    left: 50%;
}

/**
.left_cont::before {
    content: " ";
    height: 0;
    position: absolute;
    top: 22px;
    width: 0;
    z-index: 1;
    right: 30px;
    border: medium solid #70B2EE;
    border-width: 10px 0 10px 10px;
    border-color: transparent transparent transparent #70B2EE;
}

.right_cont::before {
    content: " ";
    height: 0;
    position: absolute;
    top: 22px;
    width: 0;
    z-index: 1;
    left: 30px;
    border: medium solid #70B2EE;
    border-width: 10px 10px 10px 0;
    border-color: transparent #70B2EE transparent transparent;
}
**/

.right_cont::after {
    left: -16px;
}
  
.content_cont {
    padding: 6% 6%;
    background-color: rgba(30, 30, 54, 0.801);
    border: 1px solid #70B2EE;
    color: #70B2EE;
    position: relative;
    border-radius: 6px;
}

.row_table {
    display: flex;
    margin-left: 1%;
    margin-right: 1%;

}
  
.column_table{
    flex: 50%;
    margin-left: 1%;
    margin-right: 1%;
}

.hobbies{
  padding-left: 3%;
  padding-right: 3%;
}

table{
  width: 100%;
  border-collapse: collapse;
}

th{
  text-align: left;
}

td{
  border-bottom: 1px solid #70B2EE;
  padding: 2%;
  text-align: left;
}

.row_contact {
  margin: 1% -1.8%;
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-gap: 10%;
  height: 50%;
}

.row_contact,
.row_contact > .column_contact {
  padding: 0.8%;
  float: center;
}

.column_contact {
  padding: 0.8%;
  box-sizing: border-box;
  min-width: 27.77%; 
}

.contact-form {
    min-width: 27.77%;
    height: 100%;
    margin: 0 auto;
    padding: 4.5%;
    background-color: rgba(30, 30, 54, 0.801);
    border: 1px solid #70B2EE;
    color: #70B2EE;
    border-radius: 6px;
}
  
.contact-form label {
    display: block;
    margin-bottom: 2%;
    font-size: 16px;
}
  
.contact-form input,
.contact-form textarea {
    width: 100%;
    padding: 1.4%;
    margin-bottom: 2.3%;
    border: 1px solid #70B2EE;
    border-radius: 0.6%;
    box-sizing: border-box;
}
  
.contact-form textarea {
    resize: vertical;
}
  
.contact-form button {
    background-color: #70B2EE;
    color: #fff;
    padding: 1.8% 2.3%;
    border: none;
    border-radius: 0.6%;
    cursor: pointer;
}
  
.contact-form button:hover {
    background-color: #4589b0;
}
  
.fa {
    padding: 2%;
    font-size: 30px;
    width: 20%;
    text-align: center;
    text-decoration: none;
    margin: 0.46% 0.19%;
}
  
.fa:hover {
    opacity:0.7;
}
  
.fa-facebook {
    background: #3B5998;
    color: white;
}
  
.fa-instagram {
    background: #125688;
    color: white;
}
  
.fa-linkedin {
    background: #007bb5;
    color: white;
}

.footer {
    list-style-type: none;
    overflow: hidden;
    background-color: rgba(30, 30, 54, 1);
    position: bottom;
    align-items: center;
    display: block;
    width: 100%;
    border: 1px solid #70B2EE;
    color: #70B2EE;
    min-height: 2.1%;
    z-index: 30;
}
  
.bt_footer {
    border: none;
    outline: none;
    padding: 0.63% 1.11%;
    background-color: rgba(30, 30, 54, 0.801);
    color: #70B2EE;
    cursor: pointer;
    font-size: 16px;
    text-decoration: none;
}
    
.bt_footer:hover {
    background-color: #70B2EE;
    color: rgba(30, 30, 54, 0.801);
    opacity: 0.5;
}

@keyframes gradientAnimation {
    0% {
        background-position: 0% 50%;
    }
    50% {
        background-position: 100% 50%;
    }
    100% {
        background-position: 0% 50%;
    }
}

@media screen and (max-width: 1024px) {
  .intro-inhalt{
    height: 100vh;
    flex-direction: row;
  }
  .intro-inhalt img{
    width: 80vw;
  }
  .intro-inhalt h1{
    font-size: 25px;
  }
  .intro-inhalt p{
    font-size: 20px;
  }
  .h1_extra{
    font-size: 30px;
  }
  h2 {
    font-size: 25px;
  }
  h3{
    font-size: 16px;
  }
  .bt{
    font-size: 18px;
  }
  .center{
    width: 90%;
  }
  .btn{
    font-size: 14px;
  }
  .column{
    width: 50%;
  }
  .content h4{
    font-size: 14px;
  }
  .content p{
    font-size: 16px;
  }
  .container::after{
    width: 15px;
    height:15px;
    right: -11px;
  }
  .right_cont::after{
    left: -12px;
  }
  .content_cont p{
    font-size: 14px;
  }
  .row_table{
    display: block;
  }
  .column_table{
    padding: 5%;
  }
  th{
    font-size: 16px;
  }
  td {
    font-size: 14px;
  }
  .row_contact{
    display: block;
    grid-template-columns: 1fr;
  }
  .contact-form label{
    font-size: 14px;
  }
  .fa {
    font-size: 24px;
  }
  .bt_footer{
    font-size: 18px;
  }
}

@media screen and (max-width: 768px) {
  .intro-inhalt {
    display: inline-flex;    /* switch to inline-flex on mobile */
    flex-direction: column;
    justify-content: center;
    align-items: center;
    min-height: auto;        /* let height adjust naturally */
    padding: 5px 5px;       /* less padding on small screens */
    width: auto;             /* shrink to content width */
  }
  .intro-inhalt img{
    max-width: 80%;
    height: auto;
  }
  .intro-inhalt h1{
    font-size: 20px;
    line-height: 1.3;
  }
  .intro-inhalt p{
    font-size: 14px;
    line-height: 1.4;
  }
  .h1_extra{
    font-size: 20px;
  }
  h2 {
    font-size: 17px;
  }
  h3{
    font-size: 15px;
  }
  .bt{
    font-size: 18px;
  }
  .center{
    width: 90%;
  }
  .btn{
    font-size: 14px;
  }
  .column{
    width: 50%;
  }
  .content h4{
    font-size: 14px;
  }
  .content p{
    font-size: 16px;
  }
  .container::after{
    width: 15px;
    height:15px;
    right: -11px;
  }
  .right_cont::after{
    left: -12px;
  }
  .content_cont p{
    font-size: 14px;
  }
  .row_table{
    display: block;
  }
  .column_table{
    padding: 5%;
  }
  th{
    font-size: 16px;
  }
  td {
    font-size: 14px;
  }
  .row_contact{
    display: block;
    grid-template-columns: 1fr;
  }
  .contact-form label{
    font-size: 14px;
  }
  .fa {
    font-size: 24px;
  }
  .bt_footer{
    font-size: 18px;
  }
}

@media screen and (max-width: 480px) {
  .intro-inhalt{
    height: 100vh;
  }
  .intro-inhalt img{
    width: 80%;
  }
  .intro-inhalt h1{
    font-size: 16px;
  }
  .intro-inhalt p{
    font-size: 16px;
  }
  .nav{
      width: 96%;
  }
  .bt nav{
      font-size: 10px;
  }
  .h1_extra{
    font-size: 16px;
  }
  h2 {
    font-size: 14px;
  }
  h3{
    font-size: 10px;
  }
  .bt{
    font-size: 10px;
  }
  .center{
    width: 90%;
  }
  .btn{
    font-size: 10px;
  }
  .column{
    width: 50%;
  }
  .content h4{
    font-size: 10px;
  }
  .content p{
    font-size: 10px;
  }
  .container::after{
    width: 15px;
    height:15px;
    right: -11px;
  }
  .right_cont::after{
    left: -12px;
  }
  .content_cont p{
    font-size: 10px;
  }
  .row_table{
    display: block;
  }
  .column_table{
    padding: 5%;
  }
  th{
    font-size: 10px;
  }
  td {
    font-size: 10px;
  }
  .row_contact{
    display: block;
    grid-template-columns: 1fr;
  }
  .contact-form label{
    font-size: 10px;
  }
  .fa {
    font-size: 16px;
  }
  .bt_footer{
    font-size: 12px;
  }
  @media screen and (max-width: 768px) {

  /* Intro-Bereich */
  .intro-inhalt {
    min-height: auto;
    padding-top: 60px;
    padding-bottom: 40px;
  }

  .intro-inhalt h1 {
    font-size: 24px;
    line-height: 1.3;
  }

  .intro-inhalt p {
    font-size: 16px;
    line-height: 1.4;
  }

  /* Navigation besser klickbar */
  .bt {
    padding: 14px 10px;
    font-size: 16px;
  }

  /* Portfolio-Spalten auf 1 Spalte */
  .column {
    width: 100%;
    min-width: 100%;
  }

  /* Timeline untereinander statt links/rechts */
  .container {
    width: 100%;
    padding-left: 40px;
    padding-right: 20px;
  }

  .left_cont,
  .right_cont {
    left: 0;
  }

  .timeline::after {
    left: 20px;
  }

  .container::after {
    left: 11px;
    right: auto;
  }

  /* Kontaktbereich einspaltig */
  .row_contact {
    display: block;
  }

  .contact-form {
    width: 100%;
    margin-bottom: 20px;
  }
}