body {
    margin: 0;
    font-family: -apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,"Helvetica Neue",Arial,"Noto Sans",sans-serif,"Apple Color Emoji","Segoe UI Emoji","Segoe UI Symbol","Noto Color Emoji";
    font-size: 18px;
    font-weight: 400;
    line-height: 1.5;
    color: #212529;
    text-align: left;
    background-color: #fff;
}

.titleModal {
    font-weight: bold;
}

.background1, 
.background2,
#footer {
    text-align: center;
    background-image: radial-gradient(#2c5c5c, #4b8888, #2c5c5c);
    margin: 0;
    padding: 50px;
    color: white;
}

.background2 {
    background: whitesmoke;
    color: #2e5f5f;
    color: #1e4040; 
    color: #173333;
    color: #072525;
   
}

h2 {
    font-size: 2rem;
    margin-bottom: 50px;
}

#about {
    padding: 50px 0 40px; 
}


.lead {
    font-family: Courier, monospace;
}



/* NAVIGATION */

#mainNav {
    color: black;
    position: sticky;
    top: 0;
    padding: 5x 0 5px;
    z-index: 1000;
    background: white; 
    /* box-shadow: 1px 1px 69px black; */
    border-bottom: 1px solid #3061615c;
    display: none;
} 



nav ul,
.navCont ul {
    text-align: center;
    list-style-type: none;
}

.navCont { 
    background: transparent;
}


nav ul li,
.navCont ul li  {
    font-size: 20px;
    display: inline-block;
    padding-left: 20px;
}

nav ul li a,
.navCont ul li a {
    color: white;
    transition: all ease 500ms;
    font-weight: 100;
}

nav ul li a:hover,
.navCont ul li a:hover,
footer a:hover {
    color: rgb(53, 136, 151);
    transition: all ease 500ms;
    text-decoration: none;
}

.ml-auto, .mx-auto {
    margin-left: auto!important;
    margin-right: auto;
}

.navbar-dark .navbar-nav .nav-link {
    color:black;
    font-weight: 100;
    padding: 8px 16px;
}

.navbar-dark .navbar-nav .active>.nav-link, .navbar-dark .navbar-nav .nav-link.active, .navbar-dark .navbar-nav .nav-link.show, .navbar-dark .navbar-nav .show>.nav-link {
    color: #dc3545;
}

.navbar-dark .navbar-nav .nav-link:focus, .navbar-dark .navbar-nav .nav-link:hover {
    color: rgb(53, 136, 151);
    transition: all ease 1000ms;
}





/* HEADER */

header {
    position: relative;
    height: 650px;
}

header .video,
header .videoContent,
header .navCont {
    position: absolute;
    z-index: 2;
    top: 0;
    right: 0;
    bottom: 0;
    width: 100%;
}

header .videoContent {
z-index: 3;
color: white;
padding-top: 240px;
text-align: center;
}

header .navCont {
    padding-top: 100px;
    z-index: 4;
}

header .video {
    overflow: hidden;
}

header video {
min-width: 100%;
min-height: 100%;
position: absolute;
top: 50%;
left: 50%;
transform: translateX(-50%) translateY(-50%);
}

header h1,
header h2 {
    font-size: 4.5rem;
    font-weight: 100;
    text-shadow: 1px 1px 1px black;
}

header h2 {
    font-size: 2.5rem;
}

#headsInfo {
    max-width: 825px;
    margin: 0 auto;
}

.videoContent hr {
    border-top: 0.5px solid #ffffff;
    width: 33%;
}

#projects h2 {
    margin-bottom: 32px;
}

#offer h2 {
    margin-bottom: 33px;
}


#heads .image1,
#heads .image2 {
    border-radius: 50%;
    border-radius: 50%;
    border: 1px solid #ffffff;
    width: 220px;
    margin-bottom: 20px;
 
}


#heads .image2 {
    width: 200px;
}

.heads1 {
    margin-bottom: 32px;
}

.jumbotron {
    background-color: #f4a46000;
    min-height: 500px;
    color: white;
    text-align: center;
}

.my-4 {
    margin-bottom: 1.5rem!important;
    border: 0.5px solid white;
    width: 34%;
}





.flip-box {
    background-color: transparent;
    width: 100%;
    height: 300px;
 border: 1px solid #f1f1f1; 
    perspective: 1000px;
    margin: 0 0 23px;

  }
  
  .flip-box-inner {
    position: relative;
    width: 100%;
    height: 100%;
    text-align: center;
   transition: transform 0.8s;
    transform-style: preserve-3d;
  }
  
  .flip-box:hover .flip-box-inner {
     transform: rotateY(180deg);
  }
  
  .flip-box-front, .flip-box-back {
    position: absolute;
    width: 100%;
    height: 100%;
    -webkit-backface-visibility: hidden;
    backface-visibility: hidden;
  }
  
  .flip-box-front {
    background-color: #4b8888;
    color: white;
  }
  
  .flip-box-back {
    background-color: rgb(164, 201, 250);
    color: black;
    transform: rotateY(180deg);
  }

  .flip-content {
      padding: 20px;
  }




  /* GITE STORIES */

  .modal-open .modal {
    background: #23242552;
    background: #23242580;
}

.modal-content {
    background-color: #0a2033;
    background-color: #123756;
    background-color: #2c5c5c;
    background-color: #205786;
    background-color: #215179;
    background-color: #1b405f;
    background-color: #346767;
    background-color: #255454;
    box-shadow: 5px 5px 30px #050000;
}

.modal-body {
    text-align: left;
}

.stoffe:hover {
    background: #f8f9fa;
    color: black;
    color: rgb(53, 136, 151);
    transition: all ease 1000ms;
    cursor: pointer;
}

#projects .col-3 {
    padding: 10px;
}

#projects .col-3:hover {
    cursor: pointer;
}

#projects h3 {
    font-size: 19px;
    margin-top: 20px;
}

#projects  {
    padding-bottom: 100px;
}

.carousel-indicators {
    bottom: -62px;
}

.carousel-control-next, .carousel-control-prev {
    width: 2%;
}

.stoffe {
    padding: 7px;
    border: 1px solid #fcffff;
    background: #01191130;
}

.stoffContent {
    width: 260px;
    margin: 5px;
    display: inline-block;
}

@media (min-width: 1200px) {
.container {
    max-width: 1250px;
}
}


.modal-dialog {
    max-width: 560px;
    margin: 1.75rem auto;
}





  footer {
      text-align: center;
      font-size: 20px;
  }

  footer a {
      color: white;
  }

  footer a:hover {
      color: white;
  }

  #about .background2 {
      padding: 50px;
      color: green;
  }

footer p {
    margin-top: 20px;
}

.lead {
    font-size: 18px;
    font-style: italic;
}

#company .container {
    width: 800px;
    margin: 0 auto;
}




/* Slider */

.slideanim {visibility:hidden;}

.slider {animation-name: slide;
    -webkit-animation-name: slide;
    animation-duration: 2.8s;
    -webkit-animation-duration: 2.8s;
    visibility: visible;}

@keyframes slide {
    0% {
         opacity: 0;
        transform: translateX(-00%);
    }
    100% {
         opacity: 1;
        transform: translateX(00%);
    }
}
@-webkit-keyframes slide {
    0% {
        opacity: 0;
        -webkit-transform: translateX(-00%);
    }
    100% {
        opacity: 1;
        -webkit-transform: translateX(00%);
    }
}

@media screen and (max-width: 768px) {
    .col-sm-4 {
      text-align: center;
      margin: 25px 0;
    }
  }




  @media (min-width: 992px) and (max-width: 1240px) {

    .stoffContent {
        width: 330px;
        margin: 20px;
    }

    .stoffe {
        padding: 20px;
    }

    #projects h3 {
        font-size: 20px;
        margin-top: 6px;
    }

    .stoffe p {
        margin-bottom: 10px;
        font-size: 16px;
    }

    header {
        position: relative;
        height: 509px;
    }

    header .navCont {
        padding-top: 26px;
    }

    header .videoContent {
        padding-top: 171px;
    }

    .lead {
        font-size: 18px;
    }

    h2 {
        font-size: 29px;
    }

    footer p {
        font-size: 17px;
    }

  }



  @media (min-width: 768px) and (max-width: 991px) {

    #company .container {
        width: 700px;
    }

    .navbar-dark .navbar-nav .nav-link {
        color: #f8f9fa;
    }

    .navbar-dark .navbar-toggler {
        color: rgba(0,0,0,.9);
        border-color: #f8f9fa;
    }

    .navbar-toggler {
        background-color: #346868;
        border: 1px solid #f5f5f5;
    }

    #mainNav {
        background: #346767;
    }

    header {
        height: 400px;
    }

    header .navCont {
        padding-top: 26px;
    }

    .navCont ul {
        padding: 0;
    }

    .nav-link {
        padding: 0px;
    }

    header .videoContent {
        padding-top: 129px;
    }

    header h1, header h2 {
        font-size: 3.5rem;
    }

    header h2 {
        font-size: 2rem;
    }

    .lead {
        font-size: 18px;
    }

    h2 {
        font-size: 29px;
    }

    footer p {
        margin-top: 12px;
        font-size: 18px;
    }

    #footer {
        padding: 20px;
    }

    .carousel-indicators li {
        width: 39px;
        height: 8px;
    }

  }



  @media  (min-width: 576px) and (max-width: 767px) {

    #company .container {
        width: 550px;
    }

    .navbar-dark .navbar-toggler {
        color: rgba(0,0,0,.9);
        border-color: #f8f9fa;
    }

    .navbar-toggler {
        background-color: #346868;
        border: 1px solid #f5f5f5;
        background-color: #c9dada;
    }

    #mainNav {
        background: #346767;
    }

    header {
        height: 300px;
    }

    header .navCont {
        display: none;
    }

    header .videoContent {
        padding-top: 69px;
    }

    header h1, header h2 {
        font-size: 3.5rem;
    }

    header h2 {
        font-size: 2rem;
    }

    .lead {
        font-size: 18px;
    }

    .navbar-dark .navbar-nav .nav-link {
        color: #f8f9fa;
    }

    .carousel-indicators li {
        width: 39px;
        height: 8px;
    }

    footer p {
        margin-top: 12px;
        font-size: 18px;
    }

    #footer {
        padding: 20px;
    }

  }



  @media (min-width: 1px) and (max-width: 575px) {

    .background1, 
    .background2 {
        padding: 40px 20px;
    }

    h2 {
        font-size: 25px;
        margin-bottom: 41px;
    }

    #company .container {
        width: 300px;
    }

    #header {
        height: 200px;
        padding: 0px 0px 0px 0px;
    }

    header h1 {
        font-size: 45px;
    }

    header h2 {
        font-size: 22px;
    }

    header .navCont {
        display: none;
    }

    header .videoContent {
        padding-top: 35px;
    }

    .lead {
        font-size: 17px;
    }

    .navbar-dark .navbar-nav .nav-link {
        color: #f8f9fa;
        color: #00070e;
    }

    .navbar-dark .navbar-toggler {
        color: rgba(0,0,0,.9);
        border-color: #f8f9fa;
    }

    .navbar-toggler {
        background-color: #346868;
        border: 1px solid #f5f5f5;
        background-color: #c9dada;
        background-color: #74a5a5;
    }

    #mainNav {
        background: #346767;
        background: #c9dada;
        background: #346767;
        background: #ffffff;
    }

    .stoffContent {
        width: 230px;
    }

    footer p {
        margin-top: 12px;
        font-size: 18px;
    }

    #footer {
        padding: 20px;
    }

    .carousel-indicators li {
        width: 39px;
        height: 8px;
    }

    #projects h3 {
        font-size: 17px;
    }

    .navbar-dark .navbar-nav .nav-link {
        font-weight: 400;
    }
 }

/* This used to work for the parent element of button divs */
/* But it does not work with newer browsers, the below doesn't hide the play button parent div */

*::-webkit-media-controls-panel {
    display: none!important;
    -webkit-appearance: none;
  }
  
  /* Old shadow dom for play button */
  
  *::-webkit-media-controls-play-button {
    display: none!important;
    -webkit-appearance: none;
  }
  
  /* New shadow dom for play button */
  
  /* This one works! */
  
  *::-webkit-media-controls-start-playback-button {
    display: none!important;
    -webkit-appearance: none;
  }

