body {
    margin: 0;
    font-family: 'Arial', sans-serif;
}

.body-boks {
    margin: 0 auto; 
    max-width: 1200px;
}

.introduktion {
    margin-top: 100px;

}

.introduktion h1 {
   padding: 50px;
}

.section-title {
    margin-left: 15px;
}

.section-p {
    margin-left: 15px;
}





/*Tjenester*/

.tjenester-i-boks {
    background-color:#041938; 
    padding: 10px 10px 10px 10px;
    border-radius: 15px;
    margin-top: 10px;
   
}

.tjenester-frame {
    border: 2px solid white;
    max-width: 600px;
    margin: 10% auto; 
    display: flex;
    flex-wrap: wrap;
    justify-content: space-around;
    align-items: center;
    border-radius: 15px;
    padding: 10px 20px 50px 20px;
   /*  cursor: url('cursor/pudser-stang-cursor.png'), auto; */
}


.tjenste-boks {
    background-color: white;
    border-radius: 15px;
    width: 190px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    margin-top: 50px;
}

#tjenester-h1 {
  color: white;

}

.tjeneste-h2 {
font-size: 16px;
}

.tjenester-knap {
    background-color: #041938;
    border-radius: 15px;
    color: white;
    border: none;
    margin-bottom: 10px;
   height: 40px;
   width: 100px;
   cursor: pointer; 
}



/* Vi kører til*/


.hvor-menu {
display: flex;
flex-direction: column;
margin: auto;
justify-content: center;
align-items: center;
}

.hvor-knap {
    width: 50%;
  
    color: white; 
    padding: 10px 20px; 
    font-size: 16px; 
    border-radius: 5px; 
    cursor: pointer; 
    border: none;
    height: 100%;
    margin-bottom: 10px;
}



#hele-fyn-knap {
    background-color: #468df9;



}
#sydfyn-knap {
    background-color: #468df9;
  

}
#hele-fyn-knap.active {
    background-color: #014ab7;
 
}


#sydfyn-knap.active {
    background-color: #014ab7;
 
}

#hele-fyn {
    display: none;
}

#hele-fyn.active {
    display: block;
}

#kun-sydfyn {
    display: none;
}
#kun-sydfyn.active {
    display: block;
}

#hvor-vi-arbejder {
    cursor: url('cursor/dans-bil-cursor-v2.png'), auto;
    margin-bottom: 30px;
    margin-top: 50px;
}



#kort {
    max-width: 690px;
    width: 100%;
    max-height: 100%;
    display: flex;
    margin: auto;
    z-index: 1;
    object-fit: cover;
}

.vi-korer-til-v3 {
    background-color: rgba(128, 128, 128, 0.152);
    display: flex;
    flex-direction: row;
    width: 90%;
    border-radius: 15px;
    margin: auto; /* Center horizontally */
    text-align: center;
    justify-content: center;
    padding: 20px;
}

.vi-korer-til-v2 {
    background-color: rgba(128, 128, 128, 0.152);
    display: flex;
    flex-direction: column;
    width: 90%;
    border-radius: 15px;
    margin: auto; /* Center horizontally */
    padding: 20px;
    margin-top: 5%;
    text-align: center;
    justify-content: center;
    cursor: pointer;
}

.vi-korer-til {
    background-color: rgba(128, 128, 128, 0.152);
    display: flex;
    flex-direction: column;
    width: 90%;
    border-radius: 15px;
    margin: auto; /* Center horizontally */
    padding: 20px;
    margin-top: 5%;
    text-align: center;
    justify-content: center;
    cursor: pointer;
}



#vi-korer-til-h2 {
font-size: 20px;
}

#kasse-bil {
    height: 45px;
    width: 45px;
    margin-right: 10px;
}

#ikon-h2-frame {
    flex-direction: row;
    display: flex;
    margin-left: 50px;
}

#byer-ul {
    display: flex;
    list-style: none;
    width: 90%;
  flex-wrap: wrap;
  line-height: 25px;

}

#byer-ul a {
    text-decoration: none;
    color: inherit;
}

#byer-li {
    margin-right: 3px;
}

.hele-fyn-start {
    display: flex;
    flex-direction: row;
    justify-content: center; /* Horizontally center */
    align-items: center; /* Vertically center */
    margin: auto;
    max-width: 300px;
    cursor: pointer;
}


#arrow-down {
justify-content: center;
height: 20px;
width: 20px;
margin-left: 3px;
cursor: pointer;
}

#liste {
    display: none;
    margin: auto;
    flex-direction: column;
    flex-wrap: wrap;
}

#liste-mekaniker {
    display: none;
    margin: auto;
    flex-direction: column;
    flex-wrap: wrap;
}



#fyn-li {
    list-style:none;
    margin-bottom: 5px;
    margin-right: 10px;
}

.fliserens-liste {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
}

.hele-fyn-liste {

}

.hele-fyn-liste a {
    text-decoration: none;
    color: inherit;

}

/* intro video */

.video-section {
    margin-top: 30px;
    background-color:white;
    border-radius: 15px;
    padding: 15px;
    margin-bottom: 50px;
}

.intro-video {
    width: 99%;
    height: 95%;
    border-radius: 15px;
    display: flex;
    margin: auto;
    margin-bottom: 40px;
}

#intro-h1 {
    color:#041938;
}

#intro-p {
    color: white;
}

.video-container {
    position: relative;
    width: 100%;
  }

.play-button {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 60px; /* Adjust size as needed */
    height: 60px;
    background-color:white;
    border: none;
    border-radius: 50%; /* Makes it circular */
    cursor: pointer;
    display: flex;
    justify-content: center;
    align-items: center;
  }

  /* Style for the SVG */
  .play-button svg {
    width: 100%; /* Adjust size of the SVG */
    height: auto;
    fill: #0B2D5F;
  }



/* Om Dan Hulgaard*/

#om-dan-hulgaard {
    background-color: rgba(128, 128, 128, 0.152);
    height: 100%;
    margin-bottom: 100px;
    border-radius: 15px;
}

.om-dan-frame {
    display: flex;
    flex-direction: column;
}

.dan-box1 {
    margin: auto;
    display: flex;
    flex-direction: column;
    margin-left: 15px;
}

#om-dan-h1 {
    margin-top: 120px;
    padding-top: 40px;
}

.body-boks,
.om-dan-frame,
.dan-box1 {


    overflow-x: hidden !important;   /* clips anything trying to escape right */
    box-sizing: border-box !important;
}

.text-om-dan {
    padding-right: 30px !important;  /* ← breathing room on the right – adjust to 15px/25px if you want */
    padding-left: 5px !important;    /* small left padding for symmetry – optional */
    max-width: 100% !important;

    hyphens: auto !important;
    -webkit-hyphens: auto !important;
    line-height: 1.6;
  
}
#om-dan-billede {
    width: 325px;
    height: 200px;
    border-radius: 15px;
}

.phone-number-dan-hulgaard {
    font-size: 18px;
    color: white;
    background-color: #0B2D5F;
    border-radius: 5px;
    padding: 5px;
    width: 100px;
    text-align: center;
}

.phone-number-dan-hulgaard  a {
    text-decoration: none;
    color: white;
    font-size: 16px;
    background-color: #0B2D5F;
    border-radius: 5px;
    display: inline-block; /* Ensures padding works correctly */
}




/*Kontakt*/

#kontakt {
    margin-bottom: 200px;
}

.kontakt-box {
    display: flex;
    flex-direction: column;
}

.kontakt-box-1 {
    display: flex;
    flex-direction: column;
}

.trin {
    display: flex;
    flex-direction: row;
    padding: 20px;
}

.trin-nr {
    min-width: 60px;
    height: 60px;
    background-color: #0B2D5F;
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center; 
    justify-content: center;
    margin-right: 10px;
    margin-top: 15px;
}

.kontakt-box-2 {
    background-color: rgba(128, 128, 128, 0.152);
    width: 95%;
    border-radius: 15px;
    display: flex;
    margin:auto;
    height: 110%;
    flex-direction: column;
    flex-wrap: wrap;
}

.kontakt-box-2 h2{
 margin-left: 10px;
 
}

#input-flex {
    display: flex;
    flex-direction: column;
    margin-bottom: 20px;

}

.input-text {
    border-radius: 15px;
    border-style: none;
     padding-left: 10px;
     padding-top: 10px;
     height: 150px;
}



.kontakt-form {
    display: flex;
    flex-direction: column;
    height:100%;
    padding: 10px;

}

.input-style {
    border-radius: 15px;
    border-style: none;
    height: 30px;
    margin-right: 5px;
    padding-left: 10px;
    margin-top: 10px;
    margin-bottom: 10px;
}

.input-send {
    color: white;
    background-color:#0b2d5f;
    border-radius: 15px;
    height: 50px;
    border-style: none;
    margin-top: 20px;
    width: 100%;
    margin-bottom: 30px;
}

/*footer*/

footer {
    background-color: #041938;
   height: 100%;
    
}

footer h1 {
    color: white;
}

footer p {
    color: rgba(255, 255, 255, 0.815);
}

.footer-container {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding: 15px;
    height: 100%;
}



#cvr {
font-weight: bold;
margin-left: 15px;
padding-bottom: 40px;
}

#cvr-nummer {
font-weight: 100;
}

.contact-link {
    color: inherit;
    text-decoration: none;
}

.billede-boks {
    display: flex;
    margin-right: 10px;
    flex-wrap: wrap; 
    margin: auto;
    margin-left: 10px;
    flex-direction: column;
}



.forside-billeder {
    height: 270px;
    object-fit: cover; 
    margin-right: 10px;
    margin-bottom: 10px;
    border-radius: 15px;
    object-position: top;   /* 👈 THIS is the key */
}





.desktop-image {
    display: none;
   
}
.mobile-image {
    display: inline-block;
   
}


/*mangler du hjælp?*/

#mangler-du-hjælp {
    border-radius: 15px;
    background-color:rgba(128, 128, 128, 0.152);
    padding: 20px;
    margin-bottom: 20px;
}

.hjælp-knap {
    width: 50%;
    background-color: #3b84f2;
    color: white; 
    padding: 10px 20px; 
    font-size: 16px; 
    border-radius: 5px; 
    cursor: pointer; 
    border: none;
    height: 100%

}

article {
    margin-left: 15px;
}

/*vi fikser dette*/

#hvad-vi-fikser {
    margin-top: 20px;
    display: flex;
    flex-direction: column;
    justify-content: center; /* Center vertically */
    align-items: center; /* Center horizontally */
    margin-bottom: 50px;
}

#hvad-vi-fikser h2 {
margin-bottom: 30px;
}

.fikser-icon {
    width: 16px;
    height: 16px;
    fill:currentColor;
    margin-left: 10px;
}


.vi-fikser-bla-dette-a {
    background-color: #3b84f2;
    color: white; 
    border-radius: 15px;
    padding: 20px;
    margin-bottom: 20px;
    width: 90%;
    display: flex;
    text-align: center;
    justify-content: center; /* Center vertically */
    align-items: center; /* Center horizontally */
    text-decoration: none;
}

#rød {
color: red;
}
#orange{
color: orange;
}
#grøn {
color: green;
}

/*kontakt popup */

/* Styling for the pop-up button */
.pop-button {
    position: fixed; /* Fixes the div to the viewport */
    bottom: 0; /* Aligns it to the bottom of the viewport */
    left: 50%; /* Centers it horizontally */
    transform: translateX(-50%); /* Shifts the div left by 50% of its width to center it */
    background-color: #468df9;
    color: white; /* Text color */
    padding: 10px; /* Padding inside the button */
    border-radius: 15px 15px 0px 0px;    box-shadow: 0 4px 8px rgba(0,0,0,0.2); /* Shadow for better visibility */
    text-align: center; /* Center the text inside */
    z-index: 2;
    cursor: pointer;
    width: 70%; /* Width of the button */
    height: 70px; /* Fixed height for the button */
    box-sizing: border-box; /* Ensure padding is included in width/height */
    animation: slide-up-2 2.5s ease-out forwards; /* Animation */
    display: flex; /* Use flexbox for alignment */
    align-items: center; /* Center vertically */
    justify-content: center; /* Center horizontally */
    flex-direction: column;
    margin-left: -5px;
}

/* Styling for the text inside the button */
.pop-button p {
    margin: 0; /* Remove default margin */
    color: white; /* Text color */
    font-weight: bold; /* Bold text */
    text-align: center; /* Center text alignment */
}



.pop-up {
    position: fixed; /* Fixed position to stay on top */
    top: 0;
    left: 0;
    width: 100vw; /* Full viewport width */
    height: 100vh; /* Full viewport height */
    background-color: #468df9;
    display: none; /* Initially hidden */
    align-items: center; /* Center vertically */
    justify-content: center; /* Center horizontally */
    z-index: 9999; /* High z-index to ensure it is on top of other content */
    animation: slide-up 0.5s ease-out forwards; /* Animation */
    flex-direction: column; /* Stack items vertically */
    overflow: hidden; /* Hide overflow for the entire pop-up */
}

     /* Keyframes for the slide-up animation */
     @keyframes slide-up {
        from {
            opacity: 0;
            transform: translateY(100px); /* Start slightly off-screen */
        }
        to {
            opacity: 1;
            transform: translateY(0); /* End in final position */
        }
    }

    @keyframes slide-up-2 {
        from {
            opacity: 0;
            transform: translateY(1000%); /* Shifts the div left by 50% of its width to center it */
        }
        to {
            opacity: 1;
            transform: translateX(-50%); /* Shifts the div left by 50% of its width to center it */
        }
    }

      /* Close icon styling */
      .pop-up-close {
        position: fixed; /* Fixed position to stay on top */
        top: 10px; /* Distance from the top */
        right: 20px; /* Distance from the right */
        font-size: 70px; /* Icon size */
        color: white; /* Icon color */
        cursor: pointer; /* Pointer cursor on hover */
        background: none; /* No background */
        border: none; /* No border */
        padding: 0; /* No padding */
        z-index: 10000; /* Ensure it's on top of other elements */
    }

    .pop-up-close:hover {
    }


  .pop-intro {
    width: 100%;
    max-width: 300px; /* Maximum width for the form */
    box-sizing: border-box;
    margin-bottom: 20px;
  }  

  .pop-intro h1 {
    color: white;
  }

  .pop-intro p {
    color: white;
  }

/* Form styling */
.pop-form {
    background: white; /* White background for the form */
    padding: 20px;
    border-radius: 8px; /* Rounded corners for form */
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2); /* Subtle shadow for better visibility */
    width: 100%;
    max-width: 300px; /* Maximum width for the form */
    box-sizing: border-box;
}

/* Label styling */
.pop-form label {
    display: block;
    margin-bottom: 8px;
    font-weight: bold;
    color: #0b2d5f; 
}

/* Input styling */
.pop-form .input-style-pop,
.pop-form .input-text-pop {
    width: calc(100% - 20px); /* Full width minus padding */
    padding: 10px;
    margin-bottom: 16px;
    border: 1px solid #ccc;
    border-radius: 4px;
    box-sizing: border-box;
    font-size: 16px;
}

.pop-form .input-text {
    resize: vertical; /* Allow vertical resizing for textarea */
    color: #0b2d5f;
}

/* Button styling */
.pop-form .input-send {
    width: 100%;
    padding: 10px;
    background-color:  #468df9;
    color: white;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-size: 16px;
    transition: background-color 0.3s;
}

.pop-form .input-send:hover {
    background-color: #0056b3; /* Darker color on hover */
}

.pop-form .input-send:focus {
    outline: none; /* Remove default outline on focus */
}

/* Media Query for Responsive Design */
@media screen and (min-width: 768px) {

    .forside-billeder {
        height: 3px;
        object-fit: cover; 
        margin-right: 10px;
        margin-bottom: 10px;
        border-radius: 15px;
        object-position:inherit;   /* 👈 THIS is the key */
    }
    

    /*popup */

    .pop-button {
   
        height: 70px;
        width: 90%; /* Width of the button */
       margin-bottom: 0px;
       margin-left: 0px;
    }


    .pop-intro {
        max-width: 500px; /* Maximum width for the form */
      }  
    

    /* Form styling */
    .pop-form {
        max-width: 500px; /* Maximum width for the form */
    }
    
    /*Tjenester*/

    .tjenste-boks {
  
        width: 250px;
   
    }

    /*Vi kører til*/


.vi-korer-til {
   flex-direction: row;
    margin-top: 50px;
  
}

.vi-korer-til-v2 {

}

.hvor-menu {
 
    flex-direction: row;

    }

    .hvor-knap {
     margin-right: 10px;
    }

#ikon-h2-frame {
   width: 15%;
}

#kort {
    margin-top: 200px;
    margin-bottom: 150px;
    transform: scale(1.5); 
    width: 650px;
}

/* Intro video*/

.play-button {
  
    width: 80px; /* Adjust size as needed */
    height: 80px;

  }



/*Om Dan*/



.om-dan-frame {
    flex-direction: row;
}

.dan-box1 {
    margin-bottom: 170px;
    margin-top: 0px;
}

.text-om-dan {
    max-width: 1000px;
    line-height: 25px;
}


.desktop-image {
    display: inline-block;
}
.mobile-image {
    display: none;
}


/*Kontakt mobil*/

.trin {

}


.kontakt-box {
 
    flex-direction: row;
}

.kontakt-box-1 {
   flex-direction: row;
}



#tlf-nr {
    text-decoration: underline;
}

.trin-1-3 {
    width: 50%;
}

.trin-4-5 {
    width: 50%;
}

.kontakt-box-2 {
    width: 100%;
    flex-direction: column;
 }

 #input-flex {
    flex-direction: row;
    align-items: center;
    width: 100%;
    margin-bottom: 5px;
}

.kontakt-form {
margin: auto;
width: 95%;
}

.input-style {
    max-width: 400px;
}

#email {

}

#city {
    width: 50%;
}
#address {
    width: 50%;
}
#postNumber {
    width: 50px;
}

/*footer*/

footer {
max-height: 1700px;
}

.footer-container {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    max-width: 1600px;
    margin: 0 auto; 
}

#cvr {
  margin-top: 130px;
 text-align: center;
margin-bottom: auto;
padding-bottom: 10px;
    }

    #hvad-vi-fikser {
 
        display: flex;
       flex-wrap: wrap; /* Sørger for, at elementerne går til næste linje, hvis pladsen er utilstrækkelig */
  

    }

   .vi-fikser-bla-dette-a {

    width: 80%;

 
}

}


@media screen and (min-width: 1500px) {
    .footer-container {

        flex-direction: row;
    }

    .billede-boks {
    
        flex-direction:inherit;
    }

    .forside-billeder {
        height: 300px;
        width: 500px;
        object-fit: cover; 
        margin-right: 10px;
        margin-bottom: 10px;
        border-radius: 15px;
        object-position:inherit;   /* 👈 THIS is the key */
    }


    
}