/* 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 */
}

@media screen and (min-width: 600px) {
  * {
    margin: 0;
    padding: 0;
    font-family: 'Bai Jamjuree';
    font-size: 2.1vh;
    line-height: 4vh;
  }

  h1 {
    font-size: 2.3vh;
    font-family: 'Syncopate';
    font-style: bold;
    font-weight: 700;
  }

  .background-editor{
    color: white;
    font-size: 60%;
    line-height: 60%;

    margin-bottom: 0%;
    width: 15%;
  }

  .logo {
    width: 350px;
    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: #f0f0f08f;
    width: 80%;
    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-img figcaption {
    font-size: 1vh;
    line-height: 1vh;
    word-wrap: normal;
    max-width: 260px;
  }

  .content-img img {
    /* Img */
    width: 300px;
    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;
    max-width: 200px;
  }

  .content-img-cons img {
    /* Img */
    width: 200px;
    border-radius: 10px;
  }

  body {
    background: #333;
    height: 100vh;
    line-height: 1.5;
    overflow: hidden;
  }


  /* Navbar */
  .container {
    width: 100%;
    height: 100%;
    /* CSS Smooth Scroll */
    overflow-y: scroll; 
    scroll-behavior: smooth;
    scroll-snap-type: y mandatory;
  }

  .navbar {
    position: fixed;
    top: 0;
    z-index: 1;
    display: flex;
    width: 100%;
    background: rgba(0,0,0,0.7);
    }

  .navbar ul {
    display: flex;
    list-style: none;
    width: 100%;
    justify-content: center;
  }

  .topnav a {
    text-decoration: none;
    text-transform: uppercase;
    
    padding: 0.5vh;
    margin: 0 1rem;

    color: #f4f4f4;
    font-family: 'Bai Jamjuree';
    font-size: 2.3vh;
    line-height: 5vh;
  }

  .topnav a:hover {
    color: #66A42F;
  }

  .topnav .icon {
    display: none;
  }

  /* Navbar - Dropdown */
  
  .dropdown {
    float: left;
    overflow: hidden;
  }

  .dropdown .dropbtn {
    font-size: 16px;  
    border: none;
    outline: none;
    color: white;
    background-color: inherit;

    text-decoration: none;
    text-transform: uppercase;
    
    padding: 0.5vh;
    margin: 0 1rem;

    color: #f4f4f4;
    font-family: 'Bai Jamjuree';
    font-size: 2.3vh;
    line-height: 5vh;
  }

  .dropdown-content {
    display: none;
    position: absolute;
    background-color: #f9f9f9;
    min-width: 160px;
    box-shadow: 0px 4vh 4vh 0px rgba(0,0,0,0.2);
    z-index: 1;
  }

  .dropdown-content a {
    float: none;
    color: black;
    text-decoration: none;
    display: block;
    text-align: left;
  }

  .dropdown:hover .dropdown-content {
    display: block;
  }

  /* Branchen - Tabelle */
  #branch {
    border-collapse: collapse;
    width: 100%;
  }

  #branch td, #branch th {
    border: 1px solid #ddd;
    padding: 8px;
  }

  #title-content {
    background-color: #f0f0f08f;
    width: 80%;
    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: 80%;
    margin-left: 10%;
  }

  .title-flag {
    width: 25%;
    border: solid black; 
    border-radius: 10px; 
  }

  .title-flag-de {
    margin-left: 20%;
    width: 27%;
    border: solid black; 
    border-radius: 10px; 
  }

  /* 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;;
  }
}