:root {
  --color-1: #333;
  --text-color:#ffffff;
  --text-color2:#e00707;
}

* {
  box-sizing: border-box;
}

nav {
  height: 60px;
  background-color: var(--color-1);
  display: flex;
  justify-content: flex-end;  /* damit kann alles ganz rechts platziert werden */
  align-items: center;
  position: fixed;
  z-index: 3;
  width: 100%;
  box-shadow: 0 2px 50px rgba(0, 0, 0, 0.3);
}

.links-container {
  height: 100%;
  width: auto;
  display: flex;
  flex-direction: row;
  align-items: center;
}

.links-container a {
  margin-left: auto;
}

nav a {
  height: 100%;
  display: flex;
  align-items: center;
  text-decoration: none;
  color: var(--text-color);
  font-family: Arial, Helvetica, sans-serif;
  font-size: 1.1rem;
}

.topnav-right{
  /*text-align: center;*/
  float: right;
}

.topnav-right ul {
  display: inline-flex;
  list-style: none;
  margin-left: 0;
}

.topnav-right ul li{
  width: 250px;
  margin-left: -50px;
}

.topnav-right ul li a {
  text-decoration: none;
  color: var(--text-color);
}

.topnav-right ul li a:hover {
  color: var(--text-color2);
}

.sub-menu {
  display: none;
}

.topnav-right ul li:hover .sub-menu {
  display: block;
  position: absolute;
  background-color: var(--color-1);
  top: 0; /*
  margin-left: 30px;
  width: 115px;
  height: 200px; */
  margin-top: 15px;
  margin-left: 5px;
  opacity: 0.9;
  border-radius: 5px;
}

.topnav-right ul li:hover .sub-menu ul {
  display: block;
  margin-left: 2px;
}

.topnav-right ul li:hover .sub-menu ul li {
  width: 130px;
  padding: 15px;
  border-bottom: 1px dotted #fff;
  margin-left: -10px;
  margin-right: 35px;
} 

.topnav-right ul li:hover .sub-menu ul li:last-child {
  border-bottom: none;
}

.sub-menu ul li a {
  margin-left: -10px;
}

.schriftzug {
  position: absolute;
  height: 60px;
  width: 300px;
  align-self: center;
  cursor: pointer;
  left: 0;
}

.schriftzug img {
  width: 100%;
  margin-left: 5px;
  position: absolute;
  left: 0;
  display: flex;
  justify-items: center;
}

#sidebar-active {
  display: none;
}

.open-sidebar-button, .close-sidebar-button {
  display: none;
}
.home {
  width: 22px;
  position: absolute;
  margin-left: 10%;
}

.mobile-text {
  display: none;
}

.search-bar button {
  background-color: transparent;
  border: 0;
}
.search-bar button img {
  width: 16px;


}

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

  /*.dropbtn {
  background-color: transparent;
  color: white;
  font-size: 1.1rem;
  font-family: Arial, Helvetica, sans-serif;
  border: none;
  cursor: pointer;
} */


.Flex-Container {
  position: relative;
  width: 100%;
  height: auto;
  display: flex;
  flex-wrap: wrap;
  top: 60px;
  bottom: 2000px;
  background-size: auto;
  
    background:  #333;
   /* linear-gradient(#2c2c2c, rgb(109, 108, 108));
    background-repeat: no-repeat; */
    
}
  
.Flex-Container1{
    position: relative;
    width: 100%;
    height: auto;
    display: flex;
    flex-wrap: wrap;
    top: 60px;
    min-height: 1000px;
    
      background: #333; 
     /* linear-gradient(#2c2c2c, rgb(109, 108, 108));
      background-repeat: no-repeat; */
      
}

.Flex-Container3 {
  position: absolute;
  width: 100%;
  display: flex;
  flex-wrap: wrap;
  top: 49px;
  /*min-height: 1000px;*/
  background-size: auto;
  
    background:  
    linear-gradient(#2c2c2c, rgb(109, 108, 108));
    background-repeat: no-repeat; 
    
}


.Impressum {
  position: absolute;
  top: 2%;
  left: 50%;
  width: auto;
  height: 8%;
}

  .Topmiddle_Dtec {
    position: absolute;
    top: 60px;
    background-image: url("iStock1.webp");
    text-align: center;
    font-family: Arial, Helvetica, sans-serif;
    color: #fcfcfd;
    width: 100%;
  }

  .Topmiddle_Dtec dd {
    margin-left: auto;
    margin-right: auto;
  }

  .Topmiddle_Kontakt {
    position: absolute;
    top: 60px;
    text-align: center;
    font-family: Arial, Helvetica, sans-serif;
    color: #fcfcfd;
    width: 100%;
  }

  input[type="text"], input[type="email"], textarea {
    width: 220px; /* oder eine andere gewünschte Breite */
    max-width: 80%;
}

textarea {
    width: 220px;
    max-width: 100%; /* Optional für responsives Design */
}

.g-recaptcha {
  transform: scale(0.73); /* Skalierung auf 85% */
  transform-origin: 0 0; /* Ursprung oben links */
}



.mitte {                         /*. bedeutet class-> für mehrere Anwendungen*/
    display: flex;
    justify-content: center;    /*horizontale Ausrichtung*/
    align-items: center;        /*vertikale Ausrichtung*/
    z-index: 2;
  }

.dtec-bottom-row{
  background-color: #333;
    padding: 0;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.3);
    position: absolute;
    top: 1500px;
    left: 0;
    width: 100%;
    height: auto;
} 

.dtec-bottom-column {
  float: left;
  width: 16%;
}

.dtec-bottom-column img {
  width: 100%;
  height: auto;
}

.Blockchain {
  /*max-width: 100%;*/
  position: relative;
  width: 100%;
  height: auto;
  }

.Blockchain img {
  width: 100%;
  height: auto;
  object-fit: cover;
}


.Firma {
  position: relative;
  text-align: center;
  width: 100%;
  justify-content: center;
  align-items: center;
  font-family: Arial, Helvetica, sans-serif;
  font-size: large;
  color: #fcfcfd;
}

.Firma img {
  max-width: 100%;
}

  #welcome {
    position: absolute;
    top: 13%;
    left: 50%;
    color: white;
    transform: translate(-50%, -50%);
    font-size: 6.5vw;
    font-family: Arial, Helvetica, sans-serif;
  }

  #technik {
    position: absolute;
    top: 86%;
    left: 47%;
    font-size: 4.8vw;
    font-family: Arial, Helvetica, sans-serif;
    color: #fcfcfd;
    transform: translate(-45%, -45%);
  }


#mitte img {                  /*# bedeutet id-> für nur eine Anwendung*/
  /*display: flex;*/
  justify-content: center;    /*horizontale Ausrichtung*/
  align-items: center;        /*vertikale Ausrichtung*/
 /* width: 100%;
  height: 100%; */
  object-fit: cover;
}

@media screen and (min-width: 800px) {
    #mitte {
        height: 600px;
    }
} 


/* alter stand

.header-main {
  background-color: #333;
  padding: 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.3);

    position: fixed;
    top: 0;
    width: 100%;
    z-index: 100;            / Make sure the menu is on top /
  
} */

/*

.header-main nav {
  display: flex;
}

.header-main ul{
    display: flex;
    list-style: none;
    margin: 0;
    padding: 0;
    width: 100%;
    justify-content: flex-end;
    align-items: center;
}
.header-main li {
    margin-left: 45px;
    margin-right: 45px;
    position: relative;
  }
  
  .header-main nav li:first-child {
    margin-left: auto;
  }
 
  .header-main nav a {
    color: #ffffff;
    text-decoration: none;
    font-size: 17px;
    font-family: Arial, Arial, Helvetica, sans-serif;
    float: left;
    display: flex;
    align-items: center;
  }

  nav a:hover, .ueber-uns:hover .dropbtn {
    color: #e00707;
  }

  nav a li.ueber-uns {
    display: inline-block;
  }

  .header-main nav.responsive a {
    float: none;
    display: block;
    text-align: left;
  }
*/
    #Fussbereich {
    position: relative;
    bottom: 0;
    background-color: #333;
    color: #ffffff;
    width: 100%;
    padding: 0;                               
    display: flex;
    justify-content: space-between;
    align-items: center;
    box-shadow: 0 2px 50px rgba(0, 0, 0, 0.3);
  }

  #container {
    position: relative;
    margin: auto;
    width: 100%;
    padding: 0;
    text-align: center;
  }

  h1 {
    margin-top: 90px;
    font-size: 3.5em; /* Ändern Sie diese Zahl, um die Schriftgröße anzupassen */
    margin-bottom: 30px;
  }

  h2 {
    text-align: center;
    font-size: 2.0em;
    color: #fefeff;
  }

  #ImpCop h3 {
    font-size: 2.5vw;
    margin-top: 15px;
    margin-bottom: 0px;
  }

  #ImpHaft h3{
    font-size: 2.5vw;
    margin-top: 15px;
    margin-bottom: 0px;
  }
  
  h4 {
    margin-top: 100px;
    font-size: 3.5em; /* Ändern Sie diese Zahl, um die Schriftgröße anzupassen */
    margin-bottom: 50px;
  }

  h5 {
    margin-top: 5%;
    margin-bottom: 2%;
    font-size: 2.2em;
  }

  h6 {
    margin-top: 5%;
    margin-bottom: 5%;
    text-align: center;
    font-size: 3.0em;
  }

  h7{
    margin-top: 2%;
    text-align: center;
    height: 70px;
    width: 100%;
    font-size: 3.2em;
    font-weight: bolder;
    font-family: Arial, Helvetica, sans-serif;
    color: #fefeff;
  }

  .row_Partner {
  display: -ms-flexbox; /* IE10 */
  display: flex;
  -ms-flex-wrap: wrap; /* IE10 */
  flex-wrap: wrap;
  padding: 0 60px;
  }

  /* Create four equal columns that sits next to each other */
.column_Partner {
  -ms-flex: 25%; /* IE10 */
  flex: 25%;
  max-width: 25%;
  padding: 0 60px;
}

.column_Partner img {
  margin-top: 100px;
  vertical-align: middle;
  width: 100%;
}

/* Responsive layout - makes a two column-layout instead of four columns */
@media screen and (max-width: 800px) {
  .column_Partner {
    -ms-flex: 50%;
    flex: 50%;
    max-width: 50%;
  }
}

/* Responsive layout - makes the two columns stack on top of each other instead of next to each other */
@media screen and (max-width: 600px) {
  .column_Partner {
    -ms-flex: 100%;
    flex: 100%;
    max-width: 100%;
  }
}

  section {
    margin-left: auto;
    margin-right: auto;
    padding-left: 20px;
    padding-right: 20px;
    margin-bottom: 30px;
    color: #fcfcfd;
    font-size: medium;
    font-family: Arial, Helvetica, sans-serif;
    width: 100%;
    }

  #ImpKon {
    margin-top: 1%;
    text-align: center;
    width: 100%;
    height: auto;
    color: #fcfcfd;
    font-size: medium;
    font-family: Arial, Helvetica, sans-serif;
    line-height: 5%; 
  }

  #ImpCop {
    margin-top: 1%;
    text-align: center;
    width: 80%;
    margin-left: 10%;
    height: auto;
    color: #fcfcfd;
    font-size: medium;
    font-family: Arial, Helvetica, sans-serif;
  }

  #ImpHaft {
    margin-top: 1%;
    margin-bottom: 20px;
    text-align: center;
    width: 80%;
    margin-left: auto;
    margin-right: auto;
    height: auto;
    color: #fcfcfd;
    font-size: medium;
    font-family: Arial, Helvetica, sans-serif;
  }

  #Ind_Benef{
    margin-top: 1%;
    text-align: center;
    width: 100%;
    height: auto;
    color: #fcfcfd;
    font-size: medium;
    font-family: Arial, Helvetica, sans-serif;
  }

  #Ind_Einzig{
    margin-top: 1%;
    margin-bottom: 2%;
    text-align: center;
    width: 100%;
    height: auto;
    color: #fcfcfd;
    font-size: medium;
    font-family: Arial, Helvetica, sans-serif;
  }

  #Ind_DatImp{
    margin-top: 1%;
    margin-bottom: 1%;
    text-align: center;
    width: 100%;
    height: auto;
    color: #fcfcfd;
    font-size: 0.8em;
    font-family: Arial, Helvetica, sans-serif;
  }

  
.Beschreibung {
  position: relative;
  margin-left: 130px;
  margin-right: 130px;
  margin-top: 100px;
  text-align: center;
  font-size: x-large;
  color: #fcfcfd;
  font-family: Arial, Helvetica, sans-serif;
  line-height: 140%;
  font-size:large;
}

.Netzwerk {
  position: relative;
  margin-left: 30px;
  margin-top: 50px;
  margin-right: 15px;
  width: 30%;
}

.Netzwerk_neu {
  position: relative;
  width: 100vh;
  margin-left: auto;
  margin-right: auto;
  margin-top: 50px;
  }

.image {
  opacity: 1;
  display: block;
  width: 100%;
  height: auto;
  transition: .5s ease;
  backface-visibility: hidden;
}

.middle {
  transition: .5s ease;
  opacity: 0;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  -ms-transform: translate(-50%, -50%)
}

.Netzwerk:hover .image {
  opacity: 0.3;
}

.Netzwerk:hover .middle {
  opacity: 1;
}

.text {
  background-color: transparent;
  color: white;
  font-size: 40px;
  font-family: Arial, Helvetica, sans-serif;
  padding: 50px 32px;
}

.Software {
  position: relative;
  width: 30%;
  margin-left: 30px;
  margin-right: 15px;
  margin-top: 50px;
}

.Software:hover .image {
  opacity: 0.3;
}

.Software:hover .middle {
  opacity: 1;
}

.Schulung {
  position: relative;
  width: 30%;
  margin-left: 30px;
  margin-right: 15px;
  margin-top: 25px;
}

.Schulung:hover .image {
  opacity: 0.3;
}

.Schulung:hover .middle {
  opacity: 1;
}

.Elektro {
  position: relative;
  width: 30%;
  margin-left: 30px;
  margin-right: 15px;
  margin-top: 50px;
}

.Elektro:hover .image {
  opacity: 0.3;
}

.Elektro:hover .middle {
  opacity: 1;
}

.liste {
  position: relative;
  left: 60px;
  max-width: 100%;
  margin-right: 10px;
  text-align: left;
  }

  .Netzwerk_new {
    position: relative;
    width: 100%;
    height: 350px;
    margin-left: auto;
    margin-right: auto;
    margin-top: 40px;
    background: none;
    border: none;
  }

  .Netzwerk_new figure {
    position: absolute;
    top: 0;
    left: 0;
  }
  
  .Netzwerk_new figcaption {
    position: absolute;
    right: 1.5em;
    font-size: 2em;
    font-weight: bold;
    top: 0.5em;
    color: white;
  }
  
  @keyframes bilder {
    0% {
      opacity: 1;
    }
    34% {
      opacity: 1;
    }
    35% {
      opacity: 0;
    }
    100% {
      opacity: 0;
    }
  }
  
  .Netzwerk_new figure:nth-of-type(1) {
    animation: bilder 15s 7s infinite;
  }
  
  .Netzwerk_new figure:nth-of-type(2) {
    animation: bilder 15s 2s infinite;
  }
  
  .Netzwerk_new figure:nth-of-type(3) {
    animation: bilder 15s 12s infinite;
  }
  
  @keyframes wechseln {
    0% {
      opacity: 1;
      transform: scale(1, 1);
      z-index: 20;
    }
    20% {
      opacity: 1;
      transform: scale(1, 1);
    }
    34% {
      opacity: 0;
      transform: scale(0, 0);
    }
    100% {
      opacity: 1;
      transform: scale(0, 0);
    }
  }
  
  .Netzwerk_new figure:nth-of-type(4) {
    animation: wechseln 15s 10s infinite;
  }
  
  .Netzwerk_new figure:nth-of-type(5) {
    animation: wechseln 15s 5s infinite;
  }
  
  .Netzwerk_new figure:nth-of-type(6) {
    animation: wechseln 15s infinite;
  }
  
  .dotted-line {
    border-top: 4px dotted #fdfbfb; /* Ändere die Farbe nach Bedarf (#000 ist schwarz) */
    width: 80%; /* Breite der Linie, 100% bedeutet volle Breite des Containers */
    margin-top: 100px; /* Abstand nach oben, anpassbar nach Bedarf */
    margin-bottom: 20px; /* Abstand nach unten, anpassbar nach Bedarf */
    margin-left: auto;
    margin-right: auto;
  }

  .dotted-line2 {
    border-top: 4px dotted #fdfbfb; /* Ändere die Farbe nach Bedarf (#000 ist schwarz) */
    width: 98%; /* Breite der Linie, 100% bedeutet volle Breite des Containers */
    margin-top: 100px; /* Abstand nach oben, anpassbar nach Bedarf */
    margin-bottom: 20px; /* Abstand nach unten, anpassbar nach Bedarf */
    margin-left: auto;
    margin-right: auto;
  }

  .Software_new {
    position: relative;
    width: 100%;
    height: 350px;
    margin-left: auto;
    margin-right: auto;
    margin-top: 40px;
    background: none;
    border: none;
  }

  .Software_new figure {
    position: absolute;
    top: 0;
    left: 0;
  }
  
  .Software_new figcaption {
    position: absolute;
    right: 1.5em;
    font-size: 2em;
    font-weight: bold;
    top: 0.5em;
    color: white;
  }
  
  @keyframes bilder {
    0% {
      opacity: 1;
    }
    34% {
      opacity: 1;
    }
    35% {
      opacity: 0;
    }
    100% {
      opacity: 0;
    }
  }
  
  .Software_new figure:nth-of-type(1) {
    animation: bilder 15s 7s infinite;
  }
  
  .Software_new figure:nth-of-type(2) {
    animation: bilder 15s 2s infinite;
  }
  
  .Software_new figure:nth-of-type(3) {
    animation: bilder 15s 12s infinite;
  }
  
  @keyframes wechseln {
    0% {
      opacity: 1;
      transform: scale(1, 1);
      z-index: 20;
    }
    20% {
      opacity: 1;
      transform: scale(1, 1);
    }
    34% {
      opacity: 0;
      transform: scale(0, 0);
    }
    100% {
      opacity: 1;
      transform: scale(0, 0);
    }
  }
  
  .Software_new figure:nth-of-type(4) {
    animation: wechseln 15s 10s infinite;
  }
  
  .Software_new figure:nth-of-type(5) {
    animation: wechseln 15s 5s infinite;
  }
  
  .Software_new figure:nth-of-type(6) {
    animation: wechseln 15s infinite;
  }

  .Schulung_new {
    position: relative;
    width: 100%;
    height: 350px;
    margin-left: auto;
    margin-right: auto;
    margin-top: 40px;
    background: none;
    border: none;
  }

  .Schulung_new figure {
    position: absolute;
    top: 0;
    left: 0;
  }
  
  .Schulung_new figcaption {
    position: absolute;
    right: 1.7em;
    font-size: 2em;
    font-weight: bold;
    top: 0.7em;
    color: rgb(72, 125, 241);
  }
  
  @keyframes bilder {
    0% {
      opacity: 1;
    }
    34% {
      opacity: 1;
    }
    35% {
      opacity: 0;
    }
    100% {
      opacity: 0;
    }
  }
  
  .Schulung_new figure:nth-of-type(1) {
    animation: bilder 15s 7s infinite;
  }
  
  .Schulung_new figure:nth-of-type(2) {
    animation: bilder 15s 2s infinite;
  }
  
  .Schulung_new figure:nth-of-type(3) {
    animation: bilder 15s 12s infinite;
  }
  
  @keyframes wechseln {
    0% {
      opacity: 1;
      transform: scale(1, 1);
      z-index: 20;
    }
    20% {
      opacity: 1;
      transform: scale(1, 1);
    }
    34% {
      opacity: 0;
      transform: scale(0, 0);
    }
    100% {
      opacity: 1;
      transform: scale(0, 0);
    }
  }
  
  .Schulung_new figure:nth-of-type(4) {
    animation: wechseln 15s 10s infinite;
  }
  
  .Schulung_new figure:nth-of-type(5) {
    animation: wechseln 15s 5s infinite;
  }
  
  .Schulung_new figure:nth-of-type(6) {
    animation: wechseln 15s infinite;
  }

  .Elektro_new {
    position: relative;
    width: 100%;
    height: 350px;
    margin-left: auto;
    margin-right: auto;
    margin-top: 40px;
    background: none;
    border: none;
  }

  .Elektro_new figure {
    position: absolute;
    top: 0;
    left: 0;
  }
  
  .Elektro_new figcaption {
    position: absolute;
    right: 1.0em;
    font-size: 2em;
    font-weight: bold;
    top: 0.5em;
    color: rgb(255, 255, 255);
  }
  
  @keyframes bilder {
    0% {
      opacity: 1;
    }
    34% {
      opacity: 1;
    }
    35% {
      opacity: 0;
    }
    100% {
      opacity: 0;
    }
  }
  
  .Elektro_new figure:nth-of-type(1) {
    animation: bilder 15s 7s infinite;
  }
  
  .Elektro_new figure:nth-of-type(2) {
    animation: bilder 15s 2s infinite;
  }
  
  .Elektro_new figure:nth-of-type(3) {
    animation: bilder 15s 12s infinite;
  }
  
  @keyframes wechseln {
    0% {
      opacity: 1;
      transform: scale(1, 1);
      z-index: 20;
    }
    20% {
      opacity: 1;
      transform: scale(1, 1);
    }
    34% {
      opacity: 0;
      transform: scale(0, 0);
    }
    100% {
      opacity: 1;
      transform: scale(0, 0);
    }
  }
  
  .Elektro_new figure:nth-of-type(4) {
    animation: wechseln 15s 10s infinite;
  }
  
  .Elektro_new figure:nth-of-type(5) {
    animation: wechseln 15s 5s infinite;
  }
  
  .Elektro_new figure:nth-of-type(6) {
    animation: wechseln 15s infinite;
  }

.bottomright_D-Tec {
  position: absolute;
  bottom: 0px;
  right: 10px;
 }

 #dtec-Logo {
  background-color: #333;
  display: flex;
  justify-content: center;
  align-items: center;
  height: 250px;
  position: absolute;
  top: 1180px;
  width: 100%;
  text-align: center;
 /* left: 37%;  */
   }

   #dtec-Logo img {
    width: 40%;
    margin-left: auto;
    margin-right: auto;
   }

