html, body {
    width: 100%;
    height: 100%;
    margin: 0;
    padding: 0;
    scroll-behavior: smooth; /* Tilføjer glat scrolling */
}

h1 {
    font-family: 'Noto Sans JP';
    font-weight: 900;
    font-size: 60px;
    color: #161616;
}

h2 {
    font-family: 'Noto Sans JP';
    font-weight: 900;
    font-size: 35px;
    color: #161616;
}

h3 {
    font-family: 'Noto Sans JP';
    font-weight: 900;
    font-size: 20px;
    color: #161616;
    margin-bottom: -5px;
}

p {
    font-family: 'Noto Sans JP';
    font-weight: 200;
    font-size: 16px;
    color: #161616;
}

.center-text-p {
    text-align: center;
    margin-top: -25px;
    margin-bottom: 30px; /* Tilføj lidt afstand mellem teksten og knappen */
    color: #161616;
    margin-left: 20px;
    margin-right: 20px;
}

ul {
    list-style-type: none;
    font-family: 'Noto Sans JP';
    font-weight: 400;
    color: #161616;
}

.nav-links li {
    display: inline-block; 
}


.container {
    display: flex;
    justify-content: right;
    align-items: center;
    height: 12vh;
    margin-right: 25px;
    margin-left: 25px;
}

.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
}

.container nav a {
    color: inherit; /* Arver farven fra forældreelementet */
    text-decoration: none; /* Fjerner understregningen */
    font-family: 'Noto Sans JP', sans-serif; /* Sikrer, at fonten er konsistent */
    font-weight: 400; /* Juster vægten efter behov */
    margin-right: 20px; /* Tilføj lidt afstand mellem links */
}

.container nav a:hover {
    color: #007BFF; /* Tilføj en hover-effekt, hvis ønsket */
    text-decoration: underline; /* Tilføj en hover-understregning, hvis ønsket */
    text-decoration: none; 
}

.pagetitle {
    margin-top: -50px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    color: white;
    text-shadow: 2px 10px 20px rgba(0, 0, 0, 0.1);
}

.center-text {
    text-align: center;
    color: #ffffff;
}

.underline-text {
    text-align: center;
    color: #ffffff;
    font-size: 22px;
    font-weight: 200;
    margin-top: -30px;
    margin-bottom: 40px;
    width: 65%;
}

.center-text-h2 {
    text-align: center;
    margin-bottom: 40px; /* Tilføj lidt afstand mellem teksten og knappen */
    margin-top: 50px;
    color: #161616;
}

.hero-image {
    background-image: url('Images/entreprenorfirma-min.jpg');
    background-size: cover;
    background-position: center;
    height: 80vh;
    width: 100%; /* Sørg for, at billedet fylder hele bredden */
    display: flex;
    justify-content: center;
    align-items: center;
    max-width: 100%;
    overflow-x: hidden;
    margin: 0; /* Fjern eventuelle marginer */
    padding: 0; /* Fjern eventuelle padding */
}

.offer-button {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 16px 32px;
    font-size: 16px;
    background-color: #007BFF;
    color: white;
    border: none;
    cursor: pointer;
    border-radius: 10px;
    text-decoration: none;
    font-family: 'Noto Sans JP';
    font-weight: 400;
}

.offer-button i {
    margin-right: 8px; /* Tilføj lidt afstand mellem ikonet og teksten */
}

.offer-button:hover {
    background-color: #0056b3; /* Juster hover-effekten efter behov */
}

.button-display {
    display: flex;
    justify-content: center;
    gap: 20px; 
}

.offer-button-header {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 13px 28px !important;
    font-size: 16px;
    font-weight: 200;
    background-color: #007BFF; /* Juster farven efter behov */
    color: white !important;
    border: none;
    cursor: pointer;
    border-radius: 10px;
    text-decoration: none; 
}

.offer-button-header i {
    margin-right: 10px; /* Juster denne værdi for at ændre afstanden */
    color: white !important;
}

.offer-button-header:hover {
    background-color: #0056b3; /* Juster hover-effekten efter behov */
    text-decoration: none; 

}

.service i {
    font-size: 40px;
    margin-top: 20px; /* Tilføj lidt afstand mellem ikonet og teksten */
    color: #007BFF;
}

.center-text {
    text-align: center;
    margin: 50px; /* Tilføj lidt afstand mellem teksten og knappen */
}

.services {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px; 
    margin-left: 20px;
    margin-right: 20px;
}

.service {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 30px;
    border-radius: 10px;
    background-color: #f8f9fa;
    width: 300px; 
}

.service:hover {
    background-color: #ecedee;
}

.logo {
    margin-right: auto;
    background-image: url('Images/ej-entreprenoer-blue.png');
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    width: 80px; 
    height: 50px;
}

.footer-logo {
    background-image: url('Images/ej-entreprenoer-blue.png');
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    width: 80px; 
    height: 80px;
}

.footer-content {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 20px;
    gap: 40px;
}

.footer-address {
    font-size: 16px;
}

.footer-bottom {
    width: 100%;
    text-align: center;
    margin-top: auto; 
    padding-top: 20px; 
    border-top: 1px solid #ccc; 
    width: 50%;}

.footer {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: center;
    padding: 20px;
    background-color: #f8f9fa; /* Juster baggrundsfarven efter behov */
}

.section-container {
    margin-bottom: 100px;
}

.nav-links {
    display: flex;
    gap: 30px; /* Afstand mellem links */
    list-style: none; /* Fjerner punkter fra <ul> */
    margin: 0;
    padding: 0;
}

.nav-links li {
    display: flex;
    align-items: center;
}

.darktitle {
    color: #161616;
}

.contact-container {
    display: flex;
    justify-content: center;
    align-items: center;
}

.contact-form {
    display: flex;
    flex-direction: column;
    width: 50%;
}

.input-field {
    padding: 15px;
    border-radius: 10px;
    border: 1px solid #ced4da;
    font-size: 16px;
    font-family: Arial, Helvetica, sans-serif;
}

@media (max-width: 768px) {
    h1 {
        font-size: 36px;
    }

    .hide-on-mobile {
        display: none !important;
    }

    .contact-form {
        display: flex;
        flex-direction: column;
        width: 90%;
    }

    .footer-bottom {
        width: 100%;
        text-align: center;
        margin-top: auto; 
        padding-top: 20px; 
        border-top: 1px solid #ccc; 
        width: 100%;
    }

    .service {
        display: flex;
        flex-direction: column;
        align-items: center;
        text-align: center;
        padding: 30px;
        border-radius: 10px;
        background-color: #f8f9fa;
        width: 380px; 
    }

    .underline-text {
        text-align: center;
        color: #ffffff;
        font-size: 20px;
        font-weight: 300;
        margin-top: -30px;
        margin-bottom: 40px;
        width: 90%;
    }

    p {
        font-size: 18px;
    }

    h3 {
        font-size: 25px;
    }

    .container {
        margin-right: 0px;
        margin-left: 0px;
    }

    .button-display {
        gap: 10px; 
    }
}