*{
    margin: 0;
    padding: 0;
    font-family: sans-serif;
}
.header{
    min-height: 100vh;
    width: 100%;
    background-image: linear-gradient(rgba(4,9,30,0.7), rgba(4,9,30,0.7)),url(eduford_img/SNTHOMEPAGE.jpg);
    background-position: center;
    background-size: cover;
    position: relative;
}
nav{
    display: flex;
    padding: 2% 6%;
    justify-content: space-between;
    align-items: center;
}
nav img{
   width: 300px; 
}
.nav-links{
    flex: 1;
    text-align: right;
}
.nav-links li{
    list-style: none;
    display: inline-block;
    padding: 8px 12px;
    position: relative;
}
.nav-links li a{
    color: #fff;
    text-decoration: none;
    font-size: 13px;
    font-family: sans-serif;
}
.nav-links li::after{
    content: '';
    width: 0%;
    height: 2px;
    background: #fff;
    display: block;
    margin: auto;
    transition: 0.5s;
}
.nav-links li:hover::after{
    width: 100%;
}
.text-box{
    width: 90%;
    color: #fff;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%,-50%);
    text-align: center;
}
.text-box h1{
    font-size: 60px;
    text-align: center;
    
}
.text-box h2{
    font-size: 20px;
    text-align: center;
    margin-bottom: 10px;
    
}
.text-box p{
    margin: 10px 0 40px;
    font-display: 14px;
    color: #fff;
    text-align: center;
}

.hero-btn{
    display: inline-block;
    text-decoration: none;
    color: #fff;
    border: 1px solid #fff;
    padding: 12px 34px;
    font-size: 13px;
    background: transparent;
    position: relative;
    cursor: pointer;
}
.hero-btn:hover{
    border: 1px solid #000;
    background: #000;
    transition: 1s;
}
nav .fa{
    display: none;
    
}
@media(max-width: 700px){
    .text-box h1{
        font-size: 20px;
}
    .nav-links li{
        display: block;
    }
    .nav-links{
        position: fixed;
        background: #000;
        height: 100vh;
        width: 200px;
        top: 0;
        right: -200px;
        text-align: left;
        z-index: 2;
        transition: 1s;
    }
    nav .fa{
        display: block;
        color: #fff;
        margin: 10px;
        font-size: 22px;
        cursor: pointer;
    }
    .nav-links ul{
        padding: 30px;
    }
}
/*---- intro ----*/

.intro {
  width: 80%;
  margin: 20px auto;
  padding: 20px;
  text-align: center;
    margin-bottom: 15px auto;
  background: #fff;
  border-radius: 1px;
}
h1{
    margin-left: 15px;
}



.intro h1,
.intro p {
    text-align: left;
    color: darkgrey;
    font-style: oblique;
    
}
.column p{
    color: #000;
}



.other-section {
  background: #f2f2f2;
  padding: 20px 0;
   
}

.container {
    width: 80%;
    margin: 0 auto;
    text-align: center;
    margin-top: -70px;
}


.other-section h2 {
    text-align: left;
    margin-bottom: -90px;
    flex-direction: column;
    align-items: left;
    margin-top: 0px;
    margin-left: 11%;
    color: midnightblue;
}

.row {
  display: flex;
  justify-content: space-between;
}

.column {
  flex-basis: 48%;
  background: #f2f2f2;
 
}




/*---- Leistungen ----*/

.popup-link {
    color: white;
}

.course{
    width: 80%;
    margin: auto;
    text-align: center;
    padding-top: 5px;
}
h1{
    font-size: 36px;
    font-weight: 600;
}
p{
    color: #777;
    font-size: 14px;
    font-weight: 300;
    line-height: 22px;
    padding: 10px;
}
.row{
    margin-top: 5%;
    display: flex;
    justify-content: space-between;
}
.course-col{
    flex-basis: 31%;
    background: #E3330E;
    border-radius: 10px;
    margin-bottom: 5%;
    padding: 20px 12px;
    box-sizing: border-box;
    transition: 0.5s;
}
h3{
    text-align: center;
    font-weight: 600;
    margin: 10px 0;
}
.course-col:hover{
    box-shadow: 20px 20px 20px 20px rgba(0,0,0,0);
}
@media(max-width: 700px){
    .row{
        flex-direction: column;
    }
}

.about-col p{
    color: black;
}
    .course {
        width: 80%;
        margin: auto;
        text-align: left;
        padding-top: 100px;
    }

    h1 {
        font-size: 28px;
        font-weight: 600;
        text-align: left;
        margin-left: 0%;
    }

    p {
        color: #fff;
        font-size: 14px;
        font-weight: 300;
        line-height: 22px;
        padding: 10px;
        text-align: left;
        margin-bottom: 25px;
    }

.course-col {
    flex-basis: 31%;
    background: midnightblue;
    border-radius: 10px;
    margin-bottom: 5%;
    padding: 20px 12px;
    box-sizing: border-box;
    transition: 0.5s;
    margin-right: 10px; 
}

.row {
    margin-top: 5%;
    display: flex;
    justify-content: space-between;
}

    h3 {
        text-align: center;
        font-weight: 600;
        margin: 10px 0;
        color: #fff;
        
    }

    .course-col:hover {
        box-shadow: 0 0 20px 0px rgba(1, 1, 1, 1);
    }

    @media (max-width: 700px) {
        .row {
            flex-direction: column;
        }
    }

.popup-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 999;
}

.popup-content {
    background-color: #fff;
    padding: 20px;
    border-radius: 10px;
    max-width: 400px;
    text-align: center;
    margin-left: auto;
    margin-right: auto;
}


.popup-content h2 {
    font-size: 24px;
    font-weight: 600;
}

.popup-content p {
    font-size: 16px;
    font-weight: 400;
    line-height: 24px;
}


    /* Popup styles */

    .popup-overlay {
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background-color: rgba(0, 0, 0, 0.5);
        display: flex;
        justify-content: center;
        align-items: center;
        z-index: 999;
    }

    .popup-content {
        background-color: #fff;
        padding: 20px;
        border-radius: 10px;
        max-width: 400px;
        text-align: center;
    }

    .popup-content h2 {
        font-size: 24px;
        font-weight: 600;
    }

    .popup-content p {
        font-size: 16px;
        font-weight: 400;
        line-height: 24px;
    }

    h1:first-of-type {
          text-align: center;
        }

        /* Center the other h3 headlines and text */
        .container {
          display: flex;
          justify-content: center;
          align-items: center;
            margin-top: 35px;
        }

        .text {
          display: flex;
          flex-direction: column;
          max-width: 600px;
          margin-right: 50px;
        }

        .text h3 {
          text-align: center;
        }

        /* Place the image on the right */
        img {
          max-width: 400px;
          height: auto;
        }

        /* Media query for narrow screens */
        @media screen and (max-width: 767px) {
          .container {
            flex-direction: column;
          }
          .text {
            margin-right: 0;
            margin-bottom: 50px;
          }
        }
.text2 h1{
    text-align: center;
    margin-top: 25px;
     
}
.text2 p{
    text-align: center;
}




/*---- campus ----*/

.campus{
    width: 80%;
    margin: auto;
    text-align: center;
    padding-top: 50px;
}
.campus-col{
    flex-basis: 32%;
    border-radius: 10px;
    margin-bottom: 5%;
    position: relative;
    overflow: hidden;
}
.campus-col img{
    width: 100%;
    display: block;
}
.layer{
    background: transparent;
    height: 100%;
    width: 100%;
    position: absolute;
    top: 0;
    left: 0;
    transition: 0.5;
}
.layer:hover{
    background: #000;
}
.layer h3{
    width: 100%;
    font-weight: 500;
    color: #fff;
    font-size: 26px;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    position: absolute;
    opacity: 0;
    transition: 0.5s;
}
.layer:hover h3{
    bottom: 49%;
    opacity: 1;
}

/*---- facilities ----*/

.facilities{
    width: 80%;
    margin: auto;
    text-align: center;
    padding-top: 100px;
}
.p{
    text-align: center;
}
.facilities-col{
    flex-basis: 31%;
    border-radius: 10px;
    margin-bottom: 5%;
    text-align: left;
}
.facilities-col img{
    width: 100%;
    border-radius: 10px;

    
}
.facilities-col p{
    padding: 0;
    margin-top: -20px;
}
.facilities-col h3{
    margin-top: 10px;
    margin-bottom: 15px;
    text-align: center;
}
/*---- testimonials ----*/

.testimonials{
    width: 80%;
    margin: auto;
    padding-top: 100px;
    text-align: center;
}
.testimonials-col{
    flex-basis: 44%;
    border-radius: 10px;
    margin-bottom: 5%;
    text-align: left;
    background: #fff3f3;
    padding: 25px;
    cursor: pointer;
    display: flex;
}
.testimonials-col img{
    height: 40px;
    margin-left: 5px;
    margin-right: 30px;
    border-radius: 50%;  
}
.testimonials-col p{
    padding: 0;
}
.testimonials-col h3{
    margin-top: 15px;
    text-align: left;
}
.testimonials-col .fa{
    color: #000;
}
@media(max-width: 700px){
   .testimonials-col img{
        margin-left: 0x;
        margin-right: 15px;  
} 
}
.cta{
    margin: 100px auto;
    width: 70%;
    background-image: linear-gradient(rgba(0,0,0,0.7), rgba(0,0,0,0.7)),url(eduford_img/logo_snt_gebaeudereinigung_black.png);
    background-position: center;
    background-size: cover;
    border-radius: 10px;
    text-align: center;
    padding: 100px 0; 
}
.cta h2{
    color: #fff;
    margin-bottom: 10px;
    padding: 0;
    text-align: center;
}

/*---- footer ----*/
.footer{
    width: 100%;
    text-align: center;
    padding: 30px 0;
    
}
.footer-text{
    margin-bottom: 25px;
    margin-top: 20px;
    font-weight: 600;
    margin-left: 75px;
   
}
.icons{
    color: #aaa;
    margin-left: 1100px;
    cursor: pointer;
    padding: 18px 0;
}
.footer-photo{
    margin-left: 500px;
    
}
/*
.fa-heart-o{
    color: #f44336;
}
*/
/*---- About us page ----*/
.sub-header{
    height: 50vh;
    width: 100%;
    background-image: linear-gradient(rgba(4,9,30,0.7), rgba(4,9,30,0.7)), url(eduford_img/SNTHOMEPAGE.jpg);
    background-position: center;
    background-size: cover;
    text-align: #fff;
}
.text-box2{
    width: 90%;
    color: #fff;
    position: absolute;
    top: 22%;
    left: 50%;
    transform: translate(-50%,-50%);
    text-align: center;
    margin-top: 55px;
}
.text-box2 h2{
    font-size: 35px;
    margin-left: auto;
    margin-bottom: 10px;
    
}

/*.sunheader h1{
    margin-top: 100px;
}*/

.about-us{
    width: 80%;
    margin: auto;
    padding-top: 0px;
    padding-bottom: 5px;
}
.about-col{
    flex-basis: 48%;
    padding: 10px 2px;
}
.about-col img{
    width: 100%;
}
.about-col h1{
    padding-top: 0;
}
.about-col p{
    padding: 15px 0 25px;
}
.red-btn{
    border: 1px solid #000;
    background: transparent;
    color: #000;
}
.red-btn:hover{
    color: #fff;
}
.blog-content{
    width: 80%;
    margin: auto;
    padding: 60px 0;
}
.blog-left{
    flex-basis: 65%;
}
.blog-left img{
    width: 100%;
}
.blog-left h2{
    color: #222;
    font-weight: 600;
    margin: 30px 0;
}
.blog-left p{
    color: #999;
    padding: 0;
}
.blog-right{
    flex-basis: 32%;
}
.blog-right h3{
    background: #f44336;
    color: #fff;
    padding: 7px 0;
    font-size: 16px;
    margin-bottom: 20px;
}
.blog-right div{
    display: flex;
    align-items: center;
    justify-content: space-between;
    color: #555;
    padding: 8px;
    box-sizing: border-box;
}
.comment-box{
    border: 1px solid #ccc;
    margin: 50px 0;
    padding: 10px 20px;
}
.comment-box h3{
    text-align: left;
}
.comment-form input, .comment-form textarea{
    width: 100%;
    padding: 10px;
    margin: 15px 0;
    box-sizing: border-box;
    border: none;
    outline: none;
    background: #f0f0f0;
}
.comment-form button{
    margin: 10px 0;
}
@media(max-width:700px){
    .sub-header h1{
        font-size: 24px;
    }
}
/*---- Contact Css ----*/

.location{
    width: 80%;
    margin: auto;
    padding: 80px 0;
}
.location iframe{
    width: 100%;
}
.contact-us{
    width: 80%;
    margin: auto;
    margin-top: -100px;
    color: black;
}
.contact-us p{
    color: black;
}
.contact-us h5 a:link, 
    .contact-us h5 a:visited {
        color: black;
    }
.contact-col{
    flex-basis: 48%;
    margin-bottom: 30px;
}
.contact-col div{
    display: flex;
    align-items: center;
    margin-bottom: 40px;
}
.contact-col div .fa{
    font-size: 28px;
    color: #f44336;
    margin: 10px;
    margin-right: 30px;
}
.contact-col div p{
    color: #555;
    padding: 0;
}
.contact-col div h5{
    font-size: 20px;
    margin-bottom: 5px;
    color: #555;
    font-weight: 400px;
}
.contact-col input, .contact-col textarea{
    width: 100%;
    padding: 15px;
    margin-bottom: 17px;
    outline: none;
    border: 1px solid #ccc;
    box-sizing: border-box;
}
/*---- Contact Css ----*/

footer {
  background-color: midnightblue;
  color: white;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 20px;
}

.footer-content {
  display: flex;
  justify-content: space-between;
  width: 90%;
  margin: 0 auto;
}

.footer-text {
  width: 50%;
  text-align: left;
}

.footer-photo {
  width: 40%;
}

.footer-photo img {
  width: 100%;
}

.footer-icons {
  display: flex;
  justify-content: center;
  margin-top: 20px;
  font-size: 20px;
}

.row {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  margin-top: 90px;
}

.col-4 {
  width: calc(33.33% - 20px);
  margin-bottom: 20px;
}
.copyright  {
  display: flex;
  justify-content: space-between;
  width: 80%;
   
  margin: 0 auto;
  padding: 20px 0;
}
.copyright p{
     color: #fff;
    
}

.policy-links {
  text-align: right;
    margin-bottom: 1px;
}

.policy-links p {
  display: inline-block;
  margin-right: 20px;
    color: #fff;
}

/*Über Uns*/

.about-col h1{
    color: midnightblue;
    text-align: left;
}



/*facilities -- Leistung*/

.facilities p{
    color: darkgray;
    text-align: center;
}
.facilities h3{
    color: midnightblue;
    text-align: center;
}
.facilities h1{
    color: midnightblue;
    margin-top: -30px;
    margin-bottom: -30px;
}
.pleistung{
    text-align: center;
    margin-top: -70px;
}
.leistungen p{
    color: black;
}
.leistungen h3{
    color: midnightblue;
}
.leistungen h1{
    color: midnightblue;
}

.courseph1 p{
    color: black;
    text-align: center;
    margin-bottom: 0px;
    margin-top: 35px;
}
.courseph1 h1{
    color: midnightblue;
    text-align: center;
    margin-bottom: -55px;
}


  /* CSS-Styling für die Bilder */

.center-hori {
    display: flex; 
    overflow-x: auto;
    justify-content: flex-start;
    align-items: center;
    white-space: nowrap;
    padding: 50px 0;
}

.bild-container {
  flex: 0 0 auto;
  margin: 10px;
  cursor: pointer;
}

.bild-container img {
  width: 300px;
  height: 300px;
  object-fit: cover;
}

    
    /* CSS-Styling für das Modalfenster */
   /* CSS-Styling für die Bilder */

.center-hori {
    display: flex; 
    overflow-x: auto;
    justify-content: flex-start;
    align-items: center;
    white-space: nowrap;
    padding: 50px 0;
}

.bild-container {
  flex: 0 0 auto;
  margin: 10px;
  cursor: pointer;
}

.bild-container img {
  width: 300px;
  height: 300px;
  object-fit: cover;
}

    

/* CSS-Styling für das Text H2 */
.Bilder h2{
    text-align: center;
    color: darkblue;
    margin-top: 50px;
    margin-bottom: 0px;
}
    /* CSS-Styling für das Modalfenster */
    #modalfenster {
      display: none;
      position: fixed;
      z-index: 1;
      padding-top: 50px;
      left: 0;
      top: 0;
      width: 100%;
      height: 100%;
      overflow: auto;
      background-color: rgba(0, 0, 0, 0.9);
    }
#schliessen {
  position: absolute;
  right: 10px;
  top: 10px;
  width: 25px;  /* Change it as per your needs */
  height: 25px; /* Change it as per your needs */
  cursor: pointer;
  filter: invert(100%); /* This is to make image color white, remove it if not needed */
}

   #modalfenster-inhalt {
    margin: auto;
    display: flex;  /* Flex will help us center the image vertically and horizontally */
    justify-content: center;
    align-items: center;
    width: 100%;
    height: 100%;
    max-width: 700px;
}
    
#modalfenster-inhalt img {
    max-width: 100%;  /* Image will take the maximum available width, but not more */
    max-height: 80%;  /* It will take up to 80% of the available height, adjust this value as per your need */
    object-fit: contain; /* This makes sure the image scales appropriately */
}

.carousel-container {
  position: relative;
  width: 100%;
  padding: 50 50px;
    margin-top: -40px;
}

.scroll-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background-color: #ddd;
  padding: 5px 10px;
  border: none;
  cursor: pointer;
  z-index: 10; /* add this to make sure the buttons appear above the images */
}

#scrollLeft {
  left: 10px;
}

#scrollRight {
  right: 10px;
}


.impressum .impressumDiv3 {
    margin-top: 40px;
  padding: 20px;
  margin-bottom: 0px;
  background-color: #7F868A;
}


.impressum .impressumDiv {
    margin-top: -40px;
  padding: 20px;
  margin-bottom: 40px;
  background-color: #7F868A;
}
.impressum .impressumDiv h5{

    margin-left: 22px;
}
.address {
    margin-left: 22px;
}
.impressum .impressumDiv h2{

    margin-left: 22px;
}
.impressum .impressumDiv p{

    margin-left: 12px;
}


.impressum2 .impressumDiv2 {
  padding: 20px;
  margin-bottom: 30px;
  background-color: #7F868A;
}

@media (max-width: 600px) {
  .impressum .impressumDiv,
  .impressum2 .impressumDiv2 {
    padding: 10px;
  }
}
    .umweltschutz {
    position: relative;
    overflow: hidden;
    background-color: darkblue;
    width: 100%;
    padding-top: 20px;
    padding-bottom: 20px;
      
  }
    .umweltschutz h1{
        color: white;
        text-align: left; 
        margin-top: 0;
        margin-left: 38px;
        
  }  
        .umweltschutz p{
        color: white;
        text-align: left; 
            margin-bottom: 0;
            margin-left: 30px;
            margin-right: 30px;
  }
@media (max-width: 780px) {
    .umweltschutz h1{
        margin-left: 8%;
    }
}
@media (max-width: 450px) {
    .umweltschutz h1{
        margin-left: 11%;
    }
}
/* Modal styles */
.modal {
  display: none; /* Hidden by default */
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.5); /* Overlay background */
}

.modal-content {
  background-color: #000;
  margin: 10% auto;
  padding: 20px;
  border: 1px solid #888;
  width: 60%;
  max-width: 400px;
}

.close {
  color: #aaa;
  float: right;
  font-size: 28px;
  font-weight: bold;
}

.close:hover,
.close:focus {
  color: #fff;
  text-decoration: none;
  cursor: pointer;
}

.terms-box {
  text-align: center;
}
.terms-box h2{
  color: #fff;
}

.terms-scrollable {
  max-height: 200px;
  overflow-y: auto;
  margin-bottom: 20px;
}

.buttons {
  display: flex;
  justify-content: center;
}

button {
  padding: 10px 20px;
  margin: 0 10px;
}


    

    



















