body {
  margin: 0;
  padding: 0;
  font-family: 'system-ui', sans-serif;
  min-block-size: 100dvb;

}


html {
  height: 100%; 
}


p,a, ul {
 
  font-size: 18px;
}

p,ul,h2,h3{

 padding-left:1vw

}


.box {
  margin: 0vw;
  border: 1px solid #9999
}




/* global 
@import url('https://fonts.googleapis.com/css?family=Roboto');*/

/*---Bilder---*/


img {
  max-width: 100%;
  height: auto;
}



.rad {
  border-top-left-radius: 23%;
  border-top-right-radius: 23%;
  border-bottom-left-radius: 22%;
  border-bottom-right-radius: 18%;
}


.rund {
  border-radius: 100%;
  -webkit-border-radius: 100%;
  -moz-border-radius: 100%;
}

.shadow {
  box-shadow: 2px 2px 2px 1px rgba(0, 0, 0, 0.2);
}


.shadow2 {
  filter: drop-shadow (16px 16px 10px black)
}


/*----TEST Laufweite---*/

h1,
h2 {
  letter-spacing: 0.4vw
}

h1 {
  font-size: 2.3rem;
  color: black;
}

.rotate {
  transform: rotate(5deg)
}

header {
  background: rgba(0, 0, 0, 1)
}

/*------------------------*/
.glass {
  background: rgba(255, 255, 255, 0.5);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.25);
}

@media(min-width:1000px) {

  .container {
    border: 1px solid red;
    display: grid;
    grid-template-columns: 3px 1fr 3px;
    grid-template-rows: auto 1fr auto;

  }

  header {
    grid-column: 1/4;
    grid-row: 1;
    position: fixed;
    top: 0;
    height: 3rem;
    width: 100%;
    z-index: 3
  }

  main {
    grid-column: 2/3;
    grid-row: 2;
    border: 1px dotted #ccc;
    margin-top: 150px;
  }



  footer {
    grid-column: 1/4;
    grid-row: 3;
    border: 1px solid blue
  }


  main {

    padding-top: 0px;
    display: grid;
    background: rgba(255, 255, 255, .01);
    padding: 0.5em;
    /*grid-template-rows:1fr 1fr 1fr;*/

    grid-auto-rows: min-content/*auto*/;
    grid-template-columns: repeat(7, 1fr);
    max-width: 2000px;
    margin: 0 auto
  }



  article {
    background: rgba(45, 143, 173, 0);
  }

  .sub {
    display: grid;
    grid-template-columns: 1fr 1fr;
  }

  .third {
    grid-column: 1/8;
    grid-row: 4/5
  }

  .seventh {
    grid-column: 1/8;
    grid-row: 9
  }


  .fourth {
    grid-column: 2/4;
    grid-row: 1;    
    background: rgba(255, 255, 255, 0.5);
  }

  .fifth {
    grid-column: 4/7;
    grid-row: 1;
    z-index: 2;

    align-self: start;

  }

  
  /*
  .sixth{

    grid-column: 1/8;
    grid-row: auto;  
    background:rgb(0, 255, 0);
    padding:50px;
    border:1px solid #000
  }

*/
 

  .services {
    grid-column: 1/8;
    grid-row: auto;
    border: 1px solid #999
  }



  /*gehört zur unteren Zeile - weitere Def siehe unten*/



/*---------------------startseite-----------------------------------------------*/
article {
  border: 1px solid orange;
  margin-top: 3rem;
  padding: 3rem
}

.anmerk {
  font-size: 14px;
  color: rgb(63, 4, 4)
}

.shadow {
  -webkit-box-shadow: 5px 7px 12px 0px rgba(156, 156, 156, 0.76);
  box-shadow: 5px 7px 12px 0px rgba(77, 74, 74, 0.493);
}

.nobgr {
  background: none
}

.rot {
  background: rgba(218, 28, 28, 0.664)
}

.hacked {
  grid-column: 2/3;
  grid-row: 2;
  writing-mode: vertical-lr;
  text-orientation: upright;
  /*margin-top:300px;*/
  font-size: 3rem
}

/*subgrid- https://gridbyexample.com/examples2/example2-1/*/
/*.d ist klasse der Box, die ein weiteres Grid definiert und e,f,g darin angeordnet werden*/
.d {
  border: 3px solid rgba(6, 6, 0, 0);
  grid-column: 1 / 8;
  grid-row: 2 / 4;
  display: grid;
  grid-gap:20px;
  grid-template-columns: subgrid;
  grid-template-rows: subgrid;
  background: rgb(255, 255, 255, .3)
}

/*diese box d beinhaltet die anderen boxen, die entsprechend im Elterngrid angelegt werden*/

.e {
  grid-row: 1 / 3;
  grid-column: 1/4;
}

.f {
  grid-row: 1;
  grid-column:3/ 7;
}

.g {
  grid-row:2;
  grid-column: 2/5;
  border:1px solid black;
  padding:2vw
}

.h {
  grid-row: 2;
  grid-column: 5 / 8;
}

/*-----------2.Beispiel--startseite-----------*/

.sat {
  border: 1px solid red;
  grid-column: 1/8;
  grid-row: 5/8;
  display: grid;
  grid-template-columns: subgrid;
  grid-template-rows: subgrid;
  background: rgba(0, 0, 0, .5)
}

.sata {
  grid-row: 1/3;
  grid-column: 1/3;
  background: goldenrod
}

.satb {
  grid-row: 1/4;
  grid-column: 6/8;
  background: rgb(133, 98, 9)
}

.satc {

  grid-row: 3/5;
  grid-column: 4/8;
  background: rgba(0, 0, 0, .5);
  color: white
}


}

/*--TEST*/

.sixth{
  container-type: inline-size;
  grid-column:1/8;
  background:red
}


@container (width>1550px) {
  .sixth {
    padding: 0.5rem 0 0; 
    display: flex;
    background:blue    
  }
  .sixth>h1{font-size:30rem}

 .boxcon{
    background-color:green;
    width:400px;
    border:10px solid #000;

  }

/*-TEST----*/

}

/*---------startseite ende*/








.container.small {
  max-width: 1600px;
}

/* Nur für die Viewport-Verkleinerung des Beispiels notwendig */

.viewport-btn {
  background: darkgrey;
  color: white;
  display: inline-block;
  padding: 1em 1.5em;
  border-radius: 3px;
  cursor: pointer;
  position: relative;
  margin: 10px auto;
  position: absolute;
  left: 50%;
  top: 1em;
  transform: translateX(-50%);
  z-index: 999
}

.viewport-btn:hover {
  background: silver;
}






/*------------sat----https://codepen.io/thirus/pen/GRmaqey/727b8addcf9088276ba365b2a7d04f0f?editors=1100----------------shruti -css flex&grid------------------*/


.material-icons {
  font-family: 'Material Icons';
  font-weight: normal;
  font-style: normal;
  font-size: 24px;
  /* Preferred icon size */
  display: inline-block;
  line-height: 1;
  text-transform: none;
  letter-spacing: normal;
  word-wrap: normal;
  white-space: nowrap;
  direction: ltr;
}



.services {
  display: flex;
  justify-content: center;
  align-items: stretch;
  /* Default */
}

.service {
  background-color: white;
  margin: 0 20px;
  padding: 30px;
  max-width: 250px;
  border-radius: 10px;
  box-shadow: 10px 10px 49px -17px rgba(23, 23, 23, 0.2);
  text-align: center;
}

.service .icon {
  background-color: #0D9488;
  color: white;
  font-size: 1.8rem;
  padding: 1.2rem;
  border-radius: 100%;
}

.service h2 {
  margin-top: 1.6rem;
}

.service p {
  margin-top: 0.8rem;
  line-height: 1.4;
  color: #555;
}



/*--------end der kastln--------------------------------------------*/







/*
    https://codeconvey.com/css-hexagon-image-with-border/ */

/*verbesserter code https://codepen.io/user1112/pen/PoQXppm */

.hex {
  display: block;
  margin: 0 auto;
  position: relative;
  width: 30rem;
  /*  The "width" parameter.                                             */
  height: 24.660254037rem;
  /*  The "height" = "width" * 0.8660254037. The 0.8660254037 = sin(60). */
  background: black;
  box-sizing: border-box;
  clip-path: polygon(0% 50%, 25% 0%, 75% 0%, 100% 50%, 75% 100%, 25% 100%);
}

.hex-background {
  position: absolute;
  background-color: darkgreen;
  /*  Color of the main-background.                                       */
  top: 0.2rem;
  /*  Equal to border thickness.                                          */
  left: 0.2rem;
  /*  Equal to border thickness.                                          */
  width: 9.600000000rem;
  /*  container width  - (border thickness * 2)                           */
  height: 8.260254037rem;
  /*  container height - (border thickness * 2)                           */
  clip-path: polygon(0% 50%, 25% 0%, 75% 0%, 100% 50%, 75% 100%, 25% 100%);
}

.hex img {
  position: absolute;
  width: 100%;
  height: 100%;
  object-fit: cover;
  clip-path: polygon(0% 50%, 25% 0%, 75% 0%, 100% 50%, 75% 100%, 25% 100%);
}


.button {
  background: #10c260;
  padding: 5px;
  border: 1px solid #000;
  box-shadow: 5px 10px #888888;
}