* {
    margin: 0;
    padding: 0;
    box-sizing: border-box; /*padding and border does not affect actual width and height */
    font-size: 16px;
  }

  @font-face {
    font-family: 'Roboto';
    font-style: normal;
    font-weight: 300;
    src: url(Roboto/Roboto-Light.ttf);
  }
  @font-face {
    font-family: 'Robotobold';
    font-style: normal;
    font-weight: 400;
    src: url(Roboto/Roboto-Medium.ttf);
  }
  @font-face {
    font-family: 'Robotolight';
    font-style: normal;
    font-weight: 100;
    src: url(Roboto/Roboto-Thin.ttf);
  }

html {
  font-size: 62.5%;
  height: 100%;
}

body {
  font-family: 'Roboto';
  font-weight: 300;
  background-color: white;
  height: 100%;
  overflow-y: scroll;/*scrollbar displayed always*/
  overflow-x: hidden;
  overflow: overlay;
}
::-webkit-scrollbar-thumb {
  background: transparent;
  width: 0px;
}

::-webkit-scrollbar-track {
  background: transparent;
}
body::-webkit-scrollbar {
  background-color: transparent;
  width: 0px;

}
.menuopen::-webkit-scrollbar {
  background-color: black               /* width of the entire scrollbar */
}
.heading1 {
  font-size: 30px;
  font-weight: 300;
} 
.heading2 {
  font-size: 16px;
}

/*Menu bar */ 

.menu {
  background-color: transparent;
  color: black;
  position: fixed;
  max-height: 70px;
  height: 12%;
  min-height: 30px;
  width: 100%;
  padding-left: 5%;
  padding-right: 5%;
  left: 0;
  top: 0;
  z-index: 100;
  transition: all 300ms ease-in-out; /* scroll stuff*/
  display: flex; 
  flex-direction: row;
  justify-content: space-between;
  align-items: center;

}
.menulogo {
  height: 25px;
  width: auto;
  background-repeat: no-repeat;
  background-size: cover; /* it is as tall and wide as the div */
  background-position: center center; 
  transition: all 300ms ease-in-out;
}
.menubar {
  background-color: transparent; 
  height: 29.7px;
  width: 25px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  
  
}
.bar1 {
  background-color: black;
  width: 100%;
  height: 1.9px;
  
}

.menuopen {
  transform: translateX(-100%);
  color: gray;
  background-color: black;
  width: 100hv;
  min-width: 350px;
  height: auto;
  min-height: 100%;
  bottom: 0;
  top:0;
  gap:10px;
  z-index: 101;
  transition: transform 300ms ease;
  display: flex; 
  flex-direction: column;
  justify-content: space-between;
  overflow-x: hidden;
  overflow-y:scroll; /*scrollbar geht weg wenn man ihn nicht braucht */
  position: fixed; /*dafür das man wenn sich das menü öffnet nur man das menü scrollen kann fortsetzung ist beim content1*/
}
#menuOpenBlog {
  display: flex;
  flex-direction: row;
  background-color: transparent;
  justify-content: space-between;
  height: 85px;
  margin-top: -25px;
  margin-bottom: -25px;
  padding-top: 25px;
  overflow: visible;
  position: relative;
  margin-left: -20px;
  padding-left: 20px;
}
#blogEntries {
  display: flex;
  flex-direction: column;
  transition: transform 300ms ease;
  display: none;
  gap: 10px;
  background-color: transparent;
  margin-right: 5%;
  margin-top: -50px;
  height: 300px;
  position: absolute;
  right: 0;
  padding-top: 30px;
  padding-bottom: 30px;
  padding-left: 30px;
  text-align: right;
}

.blogEntry {
  font-size: 16px;
  color: gray;
}
.blogEntry:hover {
  color: white;
  transition-duration: 300ms;
}
.menuopen::-webkit-scrollbar {
  background-color: black; /*scrollbar gets black*/
}

.menuopentop{
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  align-items: center;
  min-width: 100%;
  width: auto;
  padding-top: 10px;
  height: 70px;
  top: 0;
  z-index: 5;
  opacity: 1;
}
.menuclosecross {
  font-size: 50px;
  color: gray;
  transform: rotate(45deg);
  font-weight: 100;
  margin-right: 5%;
  font-family: 'Robotolight';
}

.menuclosecross:hover {
  color: white;
  transition-duration: 300ms;
}

.anmelden {
  display: flex; 
  flex-direction: row;
  background-color: transparent;
  gap: 10px;
  align-items: center;
  margin-left: 40px;
  text-decoration: none;
}

.anmeldentext {
  display: flex;
  flex-direction: row;
  gap: 5px;
}
.loginnormal {
  font-size: 16px;
  color:white;
  text-decoration: none;
}
.loginpremium {
  font-size: 16px;
  color:white;
  text-decoration: none;
}
.loginslash {
  font-size: 16px;
  color:white;
}

.loginpremium:hover {
  color: gray;
  transition-duration: 300ms;
}
.loginnormal:hover {
  color: gray;
  transition-duration: 300ms;
}


.menuopenbottom {
  bottom: 0;
  font-size: 16px;
  display: grid;
  grid-template-rows: 50% 50%; 
  grid-template-columns: 120px 60px;
  grid-column-gap: 30px;
  grid-row-gap: 5px;
  padding-left: 40px;
  padding-right: 15%;
  padding-top: 10px;
  padding-bottom: 10px;
  z-index: 5;
  width: 100%;
  height: 70px;
  z-index: 5;
  opacity: 1;
}
.mbt {
  color: gray;
  text-decoration: none;
}

.mbt:hover {
  color: white;
  text-decoration: underline;
  transition-duration: 300ms;
  
}

.menuopenmiddle {
  font-size: 30px;
  background-color: black;
  font-weight: 300;
  display: flex; 
  flex-direction: column;
  justify-content: end;
  gap: 25px;
  z-index: 1;
  font-weight: 350;
  padding-left: 40px;
  margin-bottom: 10px;
  margin-top: 10px;
}
.menuopenmiddletext {
  font-size: 30px;
  height: 35px;
}
.menuopenmiddletextdouble {
  font-size: 30px;
}

.menuopenmiddletext:hover {
  color: white;
  transition-duration: 100ms;
}



.material-icons {
  color: #FE7316;
  font-size: 18px;
}

content {
  display: flex; 
  flex-direction: column;
}

.contentmenuopen1 {
  overflow: hidden;
  position: fixed; /*man kann nur das menu scrollen den body scrollbar kann man nicht mehr verwenden */
  
}

/* content 1 */
.c1 {
    background-color: white;
    width: 90%;
    height:auto;
    margin-inline: 5%;
    margin-top: 90px; 
    display: flex;
    flex-direction: column;
    margin-bottom: min(5%, 40px);
}
.c11 {
    font-size: 30px;
    position: relative;
    padding-bottom: 10px;
}
.c11::after {
    content: '';
    background-color: black;
    position: absolute; 
    height: 2px;
    width: 40px;
    border-radius: 15px;
    bottom: 0;
    left: 3px;
}


/*contetn 2 Newsslider */
.c2 slider {
  margin-inline: 5%;
  
}
#slider {
  overflow: hidden;
  background-color: #e4e4e4;
  position: relative;
  margin: 20px auto 0 auto;
  
}
#slider ul {
  position: relative;
  margin: 0;
  padding: 0;
  height: 200px;
  list-style: none;
  background-color: #e4e4e4;
}
.liclass {
  position: relative;
  display: block;
  float:left;
  margin: 0;
  padding: 0;
  width: 800px;
  height: 500px;
  background-color: #e4e4e4;
}
a.control_prev, a.control_next {
  position: absolute;
  z-index: 10;
  display: block;
  padding-inline: 1%;
  width: auto;
  height: 500px;
  padding-top: 241px;
  background: #2a2a2a;
  text-decoration: none;
  opacity: 0.5;
  top: 0%;
  bottom: 0%;
  
}
a.control_next {
  right: 0;
}

a.control_prev:hover, a.control_next:hover {
  opacity: 0.8;
  transition: all 0.2s ease;
}

.slideroutline {
  background-color: transparent;
}

/* erster content slider */

#slideroutline1 {
  transform: translateX(-50%);
  margin-left: 50%;
  margin-top: 10px;
  display: flex;
  flex-direction: column;
  gap: 20px;
  background-color: transparent;
}

#lislider1image{ 
  background-repeat: no-repeat;
  background-size: contain; /* it is as tall and wide as the div */
  background-position: center center;
}
#lislider1text {
  background-color: transparent;
  font-size: 30px;
}
/*zweiter content slider */
#slideroutline2 {
  transform: translateX(-50%);
  margin-left: 50%;
  margin-top: 10px;
  display: flex;
  flex-direction: column;
  justify-content: space-evenly;
  gap: 10px; 
  background-color: transparent;
}
#lisliderhead2 {
  font-size: 30px;
}
#li22 {
  box-shadow: 0 0 10px rgba(0,0,0,1);
  padding: 10px;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  -moz-backdrop-filter: blur(10px);
  -ms-backdrop-filter: blur(10px);


}
#lislider2 {
  background-repeat: no-repeat;
  background-size:cover; /* it is as tall and wide as the div */
  background-position: center right;
  object-fit: contain;
  background-color: transparent;
  filter: blur(0px);
  -webkit-filter: blur(0px);
   -moz-filter: blur(0px);
   -ms-filter: blur(0px);
}


/*reslticher slidercontent*/
.c2{
  height: 500px;
  margin-inline: 5%;
  margin-top: min(4%, 40px);
  margin-bottom: 10px;
  background-color: lightgray;
  width: 90%;
  max-width: 1200px;
  transform: translateX(-50%);
  margin-left: 50%;
  position: relative;
  transition: opacity 200ms;
}


.c2bottom {
  display: flex;
  flex-direction: row;
  margin-left: 50%;
  transform: translateX(-50%);
  background-color: transparent;
  width: max-content
}
.linie {
  background-color: #e4e4e4;
  height: 1.9px;
  width: 55px;
  margin-left: 10px;
  margin-top: 20px;
}
.linie1 {
  background-color:#FE7316;
}


/* Content 3 alias Vertriebspartner */
.c3 {
  margin-inline: 5%;
  margin-bottom: min(5%, 40px);
  margin-top: min(5%, 40px);
  display: flex;
  flex-direction: column;
  gap: 20px;
}
#c3text {
  display: flex;
  gap: 30px;
}


.c31text {
  font-size: 16px;
  height: auto;
  text-align: justify;
  text-align-last: none;
  z-index: 20; 
  width: 100%;
}

.c31image {
  width: 100%;
  height: 45px;
  margin-bottom: 5px;
  background-repeat: no-repeat;
  background-size: contain; /* it is as tall and wide as the div */
  background-position: center center;
  transform: translateY(50px);
  opacity: 1;

  transition: 500ms ease-in-out;
  z-index: 21;
  background-color: transparent;
}
#c32img {
  transition-delay: 0.1s;
}
#c33img {
  transition-delay: 0.2s;
}
#c34img {
  transition-delay: 0.3s;
}
.outsideimg {
  background-color: white;
  overflow: hidden; 
}

/*content 4 namhafte Kunden */

.c4 {
  margin: 5%;
  margin-top: min(6%, 60px);
  margin-bottom: min(6%, 60px);
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.c41 {
  background-color: transparent;
  width: 70px;
  align-items: center;
  word-wrap: break-word;
  padding-inline: 5px;
  color: gray;
  text-align: center;
}
.c4tabelle {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  justify-content: space-evenly;
  gap: 10px;
}
.c41img {
  margin-left: 15%;
  margin-right: 15%;
  width: 70%;
  height: 55px;
  margin-bottom: 10px;
  background-repeat: no-repeat;
  background-size: contain; /* it is as tall and wide as the div */
  background-position: center center;
}
.c4text2 {
  color: gray;
  word-wrap: break-word;
  margin-top: 10px;
  
}
#img1 {
  background-image: url(logos/eam.jpeg);
}
#img2 {
  background-image: url(logos/prilogy.png);
}
#img4 {
  background-image: url(logos/hookipa1.png);
}
#img3 { 
  background-image: url(logos/tele.jpeg);
}
#img5 {
  background-image: url(logos/ingenetic.png);
}

#img6 {
  background-image: url(logos/vela.jpeg);
}
 
#img7 {
  background-image: url(logos/proelectrik.png);
}
#img8 {
  background-image: url(logos/schuetz.png)
}

/* Scroll Stuff*/

.scroll-down .menu {
  transform: translate3d(0, -100%, 0);
}

.scroll-up .menu{
 background-color: black;
}

.scroll-up .bar1 {
  background-color: white;
}

.scroll-top .menu {
  background-color: transparent;
}
/*arrow stuff */
.myContainer {
  width: 25px;
  height: 20px;
  position: relative;
  background:transparent;
  overflow: hidden;
  align-items: center;
  padding-top: 5px;
  margin-bottom: 4px;
}
.RAR_arrow {
  position: absolute;
  width: 18px;
  height: 13px;
}
.arrow-normal  {
  width: 18px;
  height: 13px;
  margin-top: 3px;
}
.material-icons {
  filter:  invert(0%) opacity(100%);
  width: 30px;
  height: 30px;
}
.material-icons-white-right {
  filter:  invert(100%);
  background-image: url(my_icons/arrow_forward.svg);
  width: 15px;
  height: 15px;
  background-repeat: no-repeat;
  background-size: contain; /* it is as tall and wide as the div */
  background-position: center center;
}
.material-icons-white-left {
  filter:  invert(100%);
  background-image: url(my_icons/arrow_back.svg);
  width: 15px;
  height: 15px;
  margin-left: 1px;
  background-repeat: no-repeat;
  background-size: contain; /* it is as tall and wide as the div */
  background-position: center right;
}

/*botttom Webpage */
*::bevor, *::after {box-sizing:border-box}

.c5 {
    background-color: rgb(236, 237, 231);
    width: 100%;
    height: 100%;
    padding: 5%;
}
/*top */


.c5t2 {
    background-color: black;
    color: white;
    font-size: 16px;
    padding-top: 8px;
    padding-bottom: 10px;
    padding-inline: 30px;
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 10px;
    margin-top: 10px;
    margin-bottom: 10px;
    text-decoration: none;
    width: max-content;
}





/*middle*/
.c5m1 {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding-top: 15px;
    padding-bottom: 15px;
    border-bottom: 1.1px solid black;
    font-size: 16px;
    padding-left: 3px;
    background-color: transparent;
    z-index: 6;
}
.c5m2 {
    background-color: transparent;
    display: flex; 
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 8px;
    transition: all 1s;
}
.c5m3{
    font-size: 30px;
    font-weight: 100;
    font-family: 'Robotolight';
    margin-right: 0px;
    transition: transform 300ms; /*die transition ist nur für die transform sachen der rest wird nicht verzögert*/
    line-height: 35px; /* macht höhe vom div streifen gleich hoch egal was für eine fontsize content hat*/
}
.c5m4 {
    height: 0px;
    transition-property: height;
    background-color: transparent;
    transition-duration: 700ms;
    overflow:hidden;
    font-weight: 300;
    
}
.c5m4 a {
    color:black;
    text-decoration: none;
}
.c5m4 a:hover {
    font-weight: 400;
    font-family: 'Robotobold';
}
/* middle lep*/

#c5m4lep {
    display: flex;
    flex-direction: column;
}
#c5m4lep a {
    padding-top: 7px;
    padding-bottom: 7px;
}
 /*middle Kontakt */
 
#c5m4kontakt {
    display: flex;
    flex-direction: row;
    background-color: transparent;
    height: 0;
   
    
}
#c5m4kontakt img {
    width: 35%;
    height: 100%;
    margin: 10px;
}

#c5m4kontakt div {
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    background-color: transparent;
    margin-top: 10px;
}
.c5m41 {
    margin-left: 15px;
    font-weight: 400;
    margin-bottom: 7px;
    transition: transform 200ms;
    position: relative;
    background-color: transparent;
    display: inline-block;
}
.c5m41:hover {
    text-decoration: underline;
}
.c5m41::after {
    content: '';
    position: absolute;
    display: block;
    background-color: blue;
    height: 1px;
}

#c5m4kontakt table {
    border-spacing: 15px 15px;
}
#c5m4kontakt table td {
    vertical-align: top;
}

/* middle Vertriebskanäle */
#c5m4vertriebskanäle {
    display: flex; 
    flex-direction: column;
}
#c5m4vertriebskanäle a {
    padding-top: 7px;
    padding-bottom: 7px;
}

/* middle Anleitungen */ 
#c5m4anleitungen {
    display: flex; 
    flex-direction: column;
}
#c5m4anleitungen a {
    padding-top: 7px;
    padding-bottom: 7px;
}

/*middle Impressum & AGB */

#c5m4agb {
    display: flex;
    flex-direction: row;

}
.c5m4impressum {
    font-weight: 400;
    width: 100%;
    display: flex;
    flex-direction: column;
    display: block;
}

.c5m4impressum div{
    font-weight: 300;
    display: block;
    margin-top: 20px;
}
.c5m41impressum {
    margin-top: 20px;
    margin-bottom: 10px; 
}
.c5m4impressum table {
    border-spacing: 15px 15px;
    font-weight: 300;
}

.c5m4impressum table td {
    vertical-align: top;
}
.c5m4agb {
    font-weight: 400;
    width: 100%;
    padding-left: 15px;
    display: flex;
    flex-direction: column;
   
}
.c5m4agb div {
    font-weight: 300;
    margin-top: 20px;
    margin-bottom: 10px; 
}
.c5m4agb a {
    padding: 7px;
    padding-left: 30px;
    font-weight: 300;
}

.c5m4agb a:hover  {
    font-weight: 400;
    font-family: 'Robotobold';
}

/*bottom*/
.c5b {
    margin-top: 20px;
    display: flex;
    flex-direction: row-reverse;
    justify-content: space-between;
    font-size: 11px;
    color: gray;
  
}
.c5b1 {
  display: flex;
  flex-direction: row;
  justify-content: flex-end;
  flex-wrap: wrap;
  align-items: center;
  color: black;
  background-color: transparent;
  width: max-content;
}
.c5b2 {
display: flex;
flex-direction: row;
flex-wrap: nowrap;
justify-content: space-between;
gap: 7px;
}
.c5b3 {
font-size: 12px; padding-top: 2px; padding-left: 5px;
}

/*handy size*/
@media screen and (max-width: 601px) { 

  #lislider1text {
    font-size: 22px;
  }
  #lisliderhead2 {
    font-size: 22px;
  }

  #c5m4agb {
    flex-direction: column-reverse;
  }
  .c5m4agb div {
    font-weight: 300;
    margin-top: 10px;
    margin-bottom: 10px; 
  }
  .c5m4agb a {
    padding: 7px;
    padding-left: 15px;
    font-weight: 300;
    text-decoration: underline;
  }
  .c5m4agb {
    padding-left: 0px;
  }
  .c5m4impressum {
    margin-top: 20px;
  }
  .c5m41impressum {
    margin-top: 5px;
  }
  .c5m4impressum div{
    font-weight: 300;
    display: block;
    margin-top: 10px;
  }
   .c4text2 {
    font-size: 13px;
  }
}



@media screen and (max-width: 401px) {
  .menuopen {
    min-width: 100%;
  }
  .body::-webkit-scrollbar {
    background-color: transparent;
  }
  .menuopen {
    width: 100hv;
  }
  .c2pfeilright {
    width: 10%;
  }
  .c2pfeilleft {
    width: 10%;
  }
 
  /*bottom*/
  #c5m4kontakt {
    display: flex;
    flex-direction: column;
    }
  #c5m4kontakt img {
    width: 50%;
    margin-left:25%;
  }
  .c5m4impressum table td {
    font-size: 14px;
  }
  
  }


