@font-face {
    font-family: 'CloisterBlack';
    src: url('../assets/fonts/CloisterBlack.ttf') format('truetype');
}

@font-face {
    font-family: 'LoraRegular';
    src: url('../assets/fonts/Lora-Regular.ttf') format('truetype');
}

@font-face {
    font-family: 'UnifrakturCook';
    src: url('../assets/fonts/UnifrakturCook-Bold.ttf') format('truetype');
}
 
body * {

    font-family: 'LoraRegular';
       padding: 0 !important;
       margin: 0 !important;
    }
/*------------------navBar Css-----------------------*/
 
    .navbar {
        background-color: white;
        justify-content: space-between; 
        z-index: 10000;
    }

    .navbar-brand img {
        height: 50px; 
    }

    .navbar-nav .nav-link {
        color: #000 !important;  
    }

    .navbar-nav .nav-link.active,
    .navbar-nav .nav-link:hover {
        background-color: #bf080a;  
        color: white !important; 
        justify-content: space-between; 
    }

    .dropdown-menu {
        background-color: white; 
    }
    .dropdown-item  { 
        padding:13px 20px !important ;
        background-color: #ffffff; 
        color: rgb(29, 29, 29) !important; 
    }
    .dropdown-item:hover {
        background-color: #bf080a; 
        color: #FFFFFF !important; 
    }

    
    .nav-link{
        font-family: 'LoraRegular';
        padding:13px 20px !important;
        margin: 5px;
    } 

/*===================hero ==================================*/
     
       .video-section {
        position: relative;
        height: 80vh;
        overflow: hidden;
        display: flex;
        align-items: center; /* Vertical centering */
    justify-content: center; 
    }
.heroTitle{
    position: absolute;
    z-index: 100;
    top:200px;
    left: 30%;
}
    .video-section iframe {
        position: absolute;
        top: 50%;
        left: 50%;
        width: 100vw;
        height: 100vh;
        transform: translate(-50%, -50%);
        object-fit: cover;  
        transform: translate(-50%, -50%) scale(1.2); 
    transform-origin: center;
    }
 
    .video-section h1 { 
      
        color: rgb(255, 255, 255);
        font-size: 70px;
        font-weight: 800;

        text-align: center;
        font-family: 'CloisterBlack';
        text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.7);
        z-index: 2; 
        border-bottom: #bf080a solid 3px;
    } 
    .video-section::after {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background: rgba(0, 0, 0, 0.4); 
        z-index: 1;
    }

    .video-section .svg-bottom {
        width: 100%;
        position: absolute; 
        bottom: 0 !important;
        z-index: 2;
    }
    
    .video-section svg {
        width: 100%;
        height: auto;
    }
    .about{
        position: relative;
    }
    .about .svg-bottom {
        justify-content: center;
        width: 100%;
        position: absolute; 
        bottom: 0 !important;
        z-index: 2;
    }
    
    .about svg {
        width: 100%;
        height: auto;
    }
    .bgRed{
        background-color: #bf080a;
    }
    .bgWhite{
        background-color: #ffffff;

    }

    .card-img-top {
        height: 200px; 
        object-fit: cover;  
    }

    .card  .card-img-top { 
        transition: transform 0.3s ease;

    }
    .card:hover .card-img-top { 
        transform: scale(1.1);

    }
    .card {
        height: 350px; 
        border: none;
        border-radius: none !important;
        background-color: #f7f7f7;
    }
    .card-body {
        display: flex;
        flex-direction: column;
        justify-content: center; 
    }

    .title{
        font-family: 'CloisterBlack';
        font-size:50px;
        font-weight:600; 
    }
 

    .stick .col-md-3{
        max-height: 400px !important;
        min-height: 400px !important;
        scale: 0.8;
        box-shadow: 1px 1px 8px rgba(128, 128, 128, 0.658) !important ;
        border-radius: 20px !important;
        background-color: rgb(255, 255, 255) !important;
        position: relative;
    }

    .stick .col-md-3 h4{
        position: absolute;
    bottom: 0;    
    left: 20%;
    justify-content: center !important;  
      text-align: center !important;
}

.carousel-inner img {
    height: 400px; /* Sets a consistent height for images */
    object-fit: cover; /* Ensures images fill the container without distortion */
    width: 100%; /* Makes the image responsive */
}

.carousel-inner img {
    height: 500px; /* Set a consistent height */
    object-fit: cover; /* Ensures images fill the container without distortion */
    width: 100%; /* Makes images responsive */
}
   .bgSvg{ 
    background: url('../images/svg.png');
    background-size: cover;
    background-repeat: no-repeat;
    background-position: bottom;
    height: 100%;
}

.cardStick {
    border: none;
    text-align: center;
    background-color: white;
    box-shadow: 1px 1px 10px rgb(214, 213, 213);
    border-radius: 20px;
}
.cardStick img {
    height: 200px; /* Adjust height as needed */
    object-fit: contain;
}
.cardStick-title {
    font-size: 1rem;
    margin-top: 10px;
    font-weight: bolder;
}
.carousel-inner {
    min-height: 400px; /* Set this to your carousel height */
}
.kontakt-form #submit{
    background:#bf080a;
    font-family:'CloisterBlack';
    color: white;
    border: none;
    padding: 10px 30px !important;
}

.footer{
    background-color: #cbcbcb;
}

.custom-nav {
    font-size: 1.2rem;
    font-family: 'Times New Roman', serif;
    text-align: center;
    padding: 10px 0;
}
.custom-nav .nav-link {
    color: #333; /* Text color */
    position: relative;
    padding: 0 15px;
font-size: small;
}

.custom-nav .nav-link:hover {
    color: #b01c1c; /* Red color on hover */
    text-decoration: none;
}
.custom-nav .nav-item:not(:last-child) .nav-link::after {
    content: "|";
    position: absolute;
    right: -8px;
    color: #b01c1c; /* Red separator color */
    font-weight: bold;
}
.custom-nav .nav-link.active {
    color: #b01c1c; /* Active link color */
}
.custom-underline {
    width: 100%;
    height: 3px;
    background-color: #b01c1c; /* Red underline color */
    margin: 5px auto 0;
}

    .dbHero {
        
        background-image: url('../images/Schöntal-Lädeli.jpg') !important;
        background-position: center;
        background-repeat: none;
        background-size: cover;
        width: 100%;
        min-height: 30vh !important; 
        display: flex;
        flex-direction: column;  
        align-items: center; 
        justify-content: center; 
        text-align: center;  
    }
    .dbHero h1{
          font-family:'CloisterBlack';
        color: #ffffff;   
        font-size:7rem;
        border-bottom:#bf080a 5px solid;
        width: 30%;
        z-index:6 !important;  
      }
   
  
    
    .content {
        position: relative;
        z-index: 2;
        display: flex;
        align-items: center;
        justify-content: center;
        height: 100%;
        color: white;
        text-align: center;
    }
    
    .sectionBgColor{
        background-color: #bf080a;
    }

    .lsAG{
        padding: 15px 20px !important;
    }
    .content h1{
        text-align: center; /* Center the text inside the element */
    font-size: 7rem;
    }
    .dienstleistung{
        position: relative;

        display: flex;
        justify-content:center;
        text-align: center;
        min-height: 40vh;
    }

    .dienstleistung h1{
        font-family:'CloisterBlack';
        color: #bf080a;
        font-size:6rem;
        border-bottom:#bf080a 5px solid;
        justify-content:center;
        text-align: center;
        margin-top: 20% !important;
    }


    .image-container {
        position: relative; 
        height: 300px; /* Adjust height based on your images */
        background-size: cover;
        background-position: center;
        margin-bottom: 20px; 
    }
    
    .text-overlay {
        position: absolute;
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%);
        width:100%;
        height: 100%;  
        color: white;  
        background-color: rgba(0, 0, 0, 0.5);  
        padding: 20px;
        display: flex;
        flex-direction: column;  
        align-items: center; 
        justify-content: center; 
        text-align: center;  
        line-height: 1.5;  
        transition: all 1s ease-in-out; 
    }
    
    .text-overlay:hover {

        background-color: rgba(247, 92, 92, 0.5);  
    }
  
    .text-overlay h2 {
        margin: 0;
        font-size: 2rem; /* Adjust font size */
    }
    
    .text-overlay p {
        margin-top: 10px;
        font-size: 1.2rem; /* Adjust font size */
    }
    
    .image-container:nth-child(1) {
        background-image: url('../images/image2.jpg');
    }
    
    .image-container:nth-child(2) {
      
        background-image: url('../images/DSC09001-002-1-scaled-1.jpg'); /* Replace with your image */
    }
    
    .image-container:nth-child(3) {
        background-image: url('../images/image3.jpg'); /* Replace with your image */
    }
    
    .image-container:nth-child(4) { 
        
        background-image: url('../images/LS_Schoenholzerswilen_Juni19_002-scaled-1.jpg'); /* Replace with your image */
    }
    .image-container:nth-child(5) {
        background-image: url('../images/image4.jpg'); /* Replace with your image */
    }

    .centered-bg{
        background-color: #bf080a;
    }

    .red-section {
        background-color: #bf080a; /* Red background */
        color: white; /* White text color */
        padding: 50px 20px;
        text-align: center;
        position: relative;
    }
    .redTriangle::after {
        content: '';
        position: absolute;
        bottom: 0 !important;
        left: 50%;
        transform: translateX(-50%);
        width: 0;
        height: 0;
        border-left: 60px solid transparent;
        border-right: 60px solid transparent;
        border-bottom: 60px solid #bf080a;
        z-index: 1000;
    }
     .db1 .row{
        position: relative;
     }
    .whiteTriangle::after {
        content: '';
        position: absolute;
        bottom: 0 !important;
        left: 50%;
        transform: translateX(-50%);
        width: 0;
        height: 0;
        border-left: 60px solid transparent;
        border-right:60px solid transparent;
        border-bottom: 60px solid #ffffff;
        z-index: 1000;
    }
    .red-section p {
        font-size: 18px;
        line-height: 1.5;
        margin: 0 0 20px;
    }
    .red-section img {
        border-radius: 50%;
        width: 80px;
        height: 80px;
    }
    .author-info {
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 10px;
    }
    .author-info h4 {
        margin: 0;
        font-size: 18px;
    }
    .author-info span {
        font-size: 14px;
        color: #f0e6e6;
    }
    .team-container {
        display: grid;
        grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
        gap: 20px;
        padding: 20px;
        justify-items: center;
    }
    .team-member {
        
        padding: 15px;
        text-align: center;
        max-width: 250px;
        margin: 5% !important;
    }
    .team-member img {
        width: 100%;
        height: auto;
         box-shadow: -5px -5px 0px #bf080a;
    }
    .team-member h4 {
        margin: 10px 0 5px;
        font-size: 18px;
    }
    .team-member .role {
        color: #b30000;
        font-weight: bold;
        margin-bottom: 5px;
    }
    .team-member .contact-info {
        font-size: 14px;
        color: #666;
    }
/*============================mobile=========================**/
@media only screen and (max-width: 767px) {

    .video-section iframe {
        
        transform: translate(-50%, -50%) scale(4);  
    }
    .heroTitle{
        position: absolute;
        z-index: 100;
        top:200px;
        left: 5%;
    }
        .contacth h1{
                font-size: 2rem !important;
        }
        .video-section h1 { 
          
            color: rgb(255, 255, 255);
            font-size: 30px;
            font-weight: 800;
    
            text-align: center;
            font-family: 'CloisterBlack';
            text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.7);
            z-index: 2; 
            border-bottom: #bf080a solid 3px;
        }
        .video-section span{
            font-size: 10;
        }
        
    
    .dbHero h1{
        
        font-size:3rem;
       
      }

      .dienstleistung h1{
      
        font-size:2rem;
      
        margin-top: 20% !important;
    }
}



