/* bai-jamjuree-regular - latin */
@font-face {
  font-family: 'Bai Jamjuree';
  font-style: normal;
  font-weight: 400;
  src: url('./fonts/Bai_Jamjuree/bai-jamjuree-v11-latin-regular.eot'); /* IE9 Compat Modes */
  src: local(''),
       url('./fonts/Bai_Jamjuree/bai-jamjuree-v11-latin-regular.eot?#iefix') format('embedded-opentype'), /* IE6-IE8 */
       url('./fonts/Bai_Jamjuree/bai-jamjuree-v11-latin-regular.woff2') format('woff2'), /* Super Modern Browsers */
       url('./fonts/Bai_Jamjuree/bai-jamjuree-v11-latin-regular.woff') format('woff'), /* Modern Browsers */
       url('./fonts/Bai_Jamjuree/bai-jamjuree-v11-latin-regular.ttf') format('truetype'), /* Safari, Android, iOS */
       url('./fonts/Bai_Jamjuree/bai-jamjuree-v11-latin-regular.svg#BaiJamjuree') format('svg'); /* Legacy iOS */
}

/* syncopate-regular - latin */
@font-face {
  font-family: 'Syncopate';
  font-style: normal;
  font-weight: 400;
  src: url('./fonts/Syncopate/syncopate-v19-latin-regular.eot'); /* IE9 Compat Modes */
  src: local(''),
       url('./fonts/Syncopate/syncopate-v19-latin-regular.eot?#iefix') format('embedded-opentype'), /* IE6-IE8 */
       url('./fonts/Syncopate/syncopate-v19-latin-regular.woff2') format('woff2'), /* Super Modern Browsers */
       url('./fonts/Syncopate/syncopate-v19-latin-regular.woff') format('woff'), /* Modern Browsers */
       url('./fonts/Syncopate/syncopate-v19-latin-regular.ttf') format('truetype'), /* Safari, Android, iOS */
       url('./fonts/Syncopate/syncopate-v19-latin-regular.svg#Syncopate') format('svg'); /* Legacy iOS */
}

/* mobile Device */
@media screen and (max-width: 600px) { 
  * {
    margin: 0;
    padding: 0;
    font-family: 'Bai Jamjuree';
    font-size: 1.5vh;
  }
  
  h1 {
    font-size: 2.3vh;
    font-family: 'Syncopate';
    font-style: bold;
    font-weight: 700;
  }

  .background-editor{
    text-align: center;
    color: white;
    font-size: 50%;
    line-height: 50%;

    margin-bottom: 0%;
    width: 30%;
  }

  .logo {
    width: 150px;
    float: right;
  }

  section {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100vh;
    
    /* Scroll Snap */
    scroll-snap-align: center;
  }
  
  .content {
    background-color: #F0F0F0;
    width: 90%;
    margin: 1%;
    padding: 2%;
  
    /* Border 
    border-style: solid;
    border-color: #66A42F;
    */
    border-radius: 15px;
  
    /* Shadow */
    box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2), 0 6px 20px 0 rgba(0, 0, 0, 0.19);
  }

  .content-img {
    /* Position */
    float: right;
    text-align: right;
  }

  .content figcaption {
    font-size: 1vh;
    line-height: 1vh;
    word-wrap: normal;
    width: 100px;
  }

  .content-img img {
    /* Img */
    width: 100px;
    float: right;
    border-radius: 10px;
  }

  .content-img-cons {
    /* Position */
    float: right;
    text-align: right;
  }

  .content-img-cons figcaption {
    font-size: 1vh;
    line-height: 1vh;
    word-wrap: normal;
    width: 100px;
  }

  .content-img-cons img {
    /* Img */
    width: 100px;
    float: right;
    border-radius: 10px;
  }  

  body {
      background: #333;
      height: 100vh;
      line-height: 1.5;
      overflow: hidden;
  }
   
  /* Navbar */
  .navbar ul {
    display: flex;
    list-style: none;
    width: 100%;
    justify-content: center;
  }
  
  .topnav a {
    text-decoration: none;
    text-transform: uppercase;
    color: #f4f4f4;
    font-family: 'Bai Jamjuree';
    font-size: 0.1vh;
  }
  
  .topnav a:hover {
    color: #66A42F;
  }
  
  .topnav .icon {
    display: none;
  }

  .container {
    width: 100%;
    height: 100%;
    /* CSS Smooth Scroll */
    overflow-y: scroll; 
    scroll-behavior: smooth;
    scroll-snap-type: y mandatory;
  }

  /* Branchen - Tabelle */
  #branch {
    border-collapse: collapse;
    width: 100%;
 }
  
  #branch td, #branch th {
    border: 1px solid #ddd;
    padding: 8px;
  }

  #title-content {
    background-color: #F0F0F0;
    width: 90%;
    margin: 1%;
    padding: 2%;
  
    /* Border 
    border-style: solid;
    border-color: #66A42F;
    */
    border-radius: 15px;
  
    /* Shadow */
    box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2), 0 6px 20px 0 rgba(0, 0, 0, 0.19);
  }

  #title-img {
    width: 90%;
    margin-left: 5%;
  }

  .title-flag {
    width: 70%; 
    border: solid black; 
    border-radius: 10px; 
    margin-left: 10%;
  }

  .title-flag-de {
    width: 70%; 
    border: solid black; 
    border-radius: 10px; 
    margin-left: 10%;
  }
  
  /* Section Images */
  section#home {
    background: url('./Hintergrund/wave-g286b6ef12_1920.jpg') no-repeat center center/cover;;
  }

  section#service-ent {
    background: url('./Hintergrund/Sonnenuntergang-Hafen.jpg') no-repeat center center/cover;;
  }

  section#service-kon {
    background: url('./Hintergrund/worker-gc5cd5484c_1920.jpg') no-repeat center center/cover;;
  }

  section#service-ber {
    background: url('./Hintergrund/Windrad-winter.jpg') no-repeat center center/cover;;
  }

  section#branch {
    background: url('./Galerie/IMG_7102.JPG') no-repeat center center/cover;;
  }

  section#galerie {
    background: url('./Hintergrund/sauerland-g8c52ccb5d_1920.jpg') no-repeat center center/cover;;
  }

  section#product {
    background: url('./Hintergrund/gears-g1a8e5b0ea_1920.jpg') no-repeat center center/cover;;
  }

  section#information {
    background: url('./Hintergrund/windrad.jpg') no-repeat center center/cover;;
  }

  section#carrier {
    background: url('./Hintergrund/flugzeug.jpg') no-repeat center center/cover;;
  }

  section#contact {
    background: url('./Hintergrund/berg.JPG') no-repeat center center/cover;;
  }
}