html {
    font-size: 14px;
    height: 100%;
    margin: 0;
}


body {
    color: white;
    background-color: #8DB5E9;
    background-size: cover;
    margin: 0;
}

.cookie-bubble {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background-color: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
    border-radius: 5px;
    padding: 20px;
    box-shadow: 0px 4px 6px rgba(0, 0, 0, 0.1);
    z-index: 1000;
}

    .cookie-bubble button {
        background: none;
        border: none;
        color: #721c24;
        font-weight: bold;
        cursor: pointer;
    }







.container {
    max-width: 100%;
    max-height: 100%;
    padding-left: 0;
    padding-right: 0;
}



.navbar-logo {
    margin-right: auto; /* Logotypen placeras längst till vänster */
}

.navbar-collapse {
    justify-content: center; /* Centrera innehållet */
    align-items: center;
}

/*nav li {
    border-radius: 10px;

    width: 300px;
    text-align: center;
    font-size: 18px;
    margin: 4px;
}

    nav li:hover {
        background-color: #4CAF50;
      
      
        
        cursor: pointer;*/ /* Ändra pekaren för att signalera interaktivitet */
/*}*/

nav li {
    position: relative;
    border-radius: 10px;
    width: 340px;
    text-align: center;
    font-size: 24px;
    list-style: none;
    padding-bottom: 5px;
}

    nav li::after {
        content: '';
        position: absolute;
        bottom: 0;
        left: 0;
        width: 0%;
        height: 2px;
        background-color: white;
        Understräckets färg transition: width 0.3s ease;
    }

    nav li:hover::after {
        width: 100%;
    }


/*.language-selector {
    display: flex;
    justify-content: center;*/ /* Centrera språkvalen */
    /*align-items: center;
    background-color: #f0f0f0;
}*/

#hero {
    position: relative;
    height: 1000px;
    overflow: hidden;
}

video {
    width: 100%;
    height: 1000px;
    object-fit: cover;
}

.text-overlay {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
}

.infodiv {
    height: auto;
    background-color: cornflowerblue;
    text-align: center;
    animation: fadeInUp 1s ease-in-out forwards;
    /* Delay if you want to have it start later */
    animation-delay: 0.5s;
}

.features {
    max-width: 800px; /* Begränsar bredden på divven */
    margin: 0 auto; /* Centrerar divven horisontellt */
    padding: 10px; /* Lägger till lite utrymme runt texten */
    text-align: left; /* Justerar texten till vänster inom divven */
}

hr {
    border: 0;
    border-top: 4px solid white; /* En tunn grå linje */
    margin: 20px 0; /* Skapar lite utrymme ovanför och under linjen */
}

.button-container {
    display: flex;
    justify-content: center; /* Centrerar knapparna horisontellt */
    align-items: center; /* Centrerar knapparna vertikalt */
    margin-top: 20px;
}

.btn {
    text-align: center;
    display: inline-block;
    padding: 10px;
    font-size: 16px;
    border-radius: 5px;
    text-decoration: none;
    color: white;
    background-color: cornflowerblue;
    transition: background-color 0.3s, transform 0.3s;
    width: 50%; /* Sätt bredden till automatisk för att knapparna ska vara i sin normala storlek */
    margin: 0 12px; /* Skapar lite mellanrum mellan knapparna */
    background-color: mediumseagreen;
}

.contact-btn:hover, .services-btn:hover {
    color: white;
    transform: scale(1.1);
}

.btnfooter {
    text-align: center;
    padding: 20px;
    font-size: 16px;
    border-radius: 5px;
    text-decoration: none;
    color: white;
    transition: background-color 0.3s, transform 0.3s;
    width: 500px; /* Sätt bredden till automatisk för att knapparna ska vara i sin normala storlek */
    height: auto;
    background-color: mediumseagreen;
}



hr {
    margin-top: 40px;
}




.features p {
    margin: 10px 0; /* Avstånd mellan rader */
    font-size: 18px; /* Textstorlek */
}

.features .check {
    margin-right: 10px; /* Avstånd mellan ikonen och texten */
}

.div-divider {
    margin-top: 100px;
}








.photo-container {
    width: 80%;
    height: auto;
    margin: 0 auto;
    margin-top: 40px
}

    .photo-container div {
        background-color: cornflowerblue;
    }

    .photo-container img {
        height: auto;
    }

.photo-container-services {
    display: flex;
    background-color: cornflowerblue;
    border-radius: 12px;
    align-items: center;
    width: 80%;
    margin: 0 auto;
}

    .photo-container-services img {
        object-fit: contain;
        border-radius: 12px;
        height: 100%;
        max-height: 300px;
        margin-right: 20px;
        flex-shrink: 0;
    }


.photo-container2 {
    width: 80%;
    height: 50%;
    margin: 0 auto;
}

    .photo-container2 div {
        background-color: cornflowerblue;
    }

.service-container {
    flex: 1;
    background-color: cornflowerblue;
    border-radius: 20px;
    padding: 10px;
    text-align: left;
    width: 80%;
    margin: 0 auto;
    margin-top:40px;
}

.service-textcontainer {
    width: 60%;
    margin: 0 auto;
    text-align: left;
}

.custom-image {
    height: auto; 
    max-height: 800px;  
    object-fit: cover; 
}




.custom-bg-color {
    background-color: cornflowerblue;
}



/* Responsiva textstorlekar */
.infodiv h2 {
    font-size: clamp(30px, 5vw, 60px); /* Minsta 30px, växer till max 60px */
}

.infodiv h3 {
    font-size: clamp(20px, 4vw, 40px); /* Minsta 20px, växer till max 40px */
}

.infodiv p {
    font-size: clamp(16px, 2vw, 30px); /* Minsta 16px, växer till max 30px */
}

@keyframes fadeInUp {
    0% {
        opacity: 1;
        transform: translateY(20px);
    }

    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

.animated-box {
    animation: fadeInUp 1s ease-in-out forwards;
    /* Delay if you want to have it start later */
    animation-delay: 0.5s;
}



.footermap {
    height: 400px;
    width: 50%;
    display: flex; /* Säkerställer att innehållet i footermap placeras korrekt */
}

.footerinfo {
    color: white;
    text-align: center;
    width: 50%;
    align-content: center;
}

    .footerinfo p {
        color: white;
        text-align: center;
        align-content: center;
        margin: 0;
    }

#cookiePopup {
    display: none;
    position: fixed;
    bottom: 20px; /* Lite marginal från botten */
    left: 50%;
    transform: translateX(-50%); /* Centrerar div-elementet horisontellt */
    background-color: cornflowerblue;
    color: #fff;
    padding: 20px;
    text-align: center;
    font-size: 14px;
    z-index: 1000;
    border: 1px solid white;
    border-radius: 8px; /* Gör hörnen runda */
    max-width: 700px; /* Sätter en maxbredd */
    width: 90%; /* Gör att popupen anpassas till mindre skärmar */
}

    #cookiePopup button {
        margin-left: 15px;
        padding: 8px 16px;
        background-color: #4CAF50;
        color: #fff;
        border: none;
        border-radius: 4px;
        cursor: pointer;
    }

        #cookiePopup button:hover {
            background-color: #45a049;
        }


/* Grundstil för dropdown */
.dropdown {
    position: relative;
    display: inline-block;
    margin-right: 10px;
}



.dropdown-content {
    display: none; /* Dölj menyn som standard */
    position: absolute;
    background-color: white;
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
    z-index: 1;
    border-radius: 5px;
}

    .dropdown-content img {
        width: 40px;
        height: auto;
        cursor: pointer;
        margin: 5px;
    }

        .dropdown-content img:hover {
            opacity: 0.8;
        }

.dropdown.active .dropdown-content {
    display: block; /* Visa menyn när dropdown är aktiv */
}

.dropdown-btn {
    cursor: pointer;
    border: none;
    background: none;
}

/**/
/* Grundstil för dropDownMobile */
.dropdown.mobile {
    position: relative;
    display: inline-block;
    margin-right: 10px;
    visibility: hidden;
    display: none;
}

.dropDownMobile-content {
    display: none; /* Dölj menyn som standard */
    position: absolute;
    background-color: white;
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
    z-index: 1;
    border-radius: 5px;
}

    .dropDownMobile-content img {
        width: 40px;
        height: auto;
        cursor: pointer;
        margin: 5px;
    }

        .dropDownMobile-content img:hover {
            opacity: 0.8;
        }

.dropDownMobile:hover .dropDownMobile-content {
    display: block; /* Visa menyn när dropDownMobile är aktiv */
}

.dropDownMobile-btn {
    cursor: pointer;
    border: none;
    background: none;
}



/* För iPhone SE (skärmstorlek på 375px i bredd) */ /* VIKTIG KOD*/
/*@media (max-width: 375px) {
    .dropdown {
        visibility: collapse;*/ /* Visa dropdown på iPhone SE */
/*display:none;
    }

    .dropdown.mobile {
        visibility: visible;*/ /* Dölj dropDownMobile på iPhone SE */
/*display:block;
    }
}*/

/*
html {
  position: relative;
  min-height: 100%;
}*/

.carousel-container {
    width: 80%;
    margin: 0 auto;
}
.slider-ul {
    text-align: center;
    list-style-type: none;
}

.carousel-inner {
    background: cornflowerblue;
    border-radius: 20px;
}

.carousel-item img {
    max-width: 100%;
    height: 600px;
    object-fit: contain;
}






/* Fullskärms loading screen */
#loading-screen {
    position: fixed;
    width: 100%;
    height: 100%;
    /*background-color: rgba(255, 255, 255, 0.8);*/ /* Halvtransparent bakgrund */
    z-index: 9999; /* Så att det hamnar över allt annat */
    display: flex;
    justify-content: center;
    align-items: center;
}

/* Spinner */
.spinner {
    border: 16px solid #f3f3f3;
    border-radius: 50%;
    border-top: 16px solid #3498db;
    width: 120px;
    height: 120px;
    animation: spin 2s linear infinite;
}

@keyframes spin {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}


.contact-container {
    display: flex;
    gap: 30px;
}

.contact-input {
    width: 50%;
}

.contact-form {
    background-color: cornflowerblue;
    padding: 20px;
    border-radius: 10px;
    width: 60%;
    margin: 0 auto;
}

/* Extra små mobiler (GODKÄND) */
@media (max-width: 480px) {
    /* Styling för mycket små skärmar */

    .dropdown {
        visibility: collapse; /* Visa dropdown på iPhone SE */
        display: none;
    }

        .dropdown.mobile {
            visibility: visible; /* Dölj dropDownMobile på iPhone SE */
            display: block;
        }


    #hero {
        position: relative;
        height: 600px;
        overflow: hidden;
    }


    .photo-container {
        flex-direction: column;
        width: 80%;
        margin: 0 auto;
    }

        .photo-container img {
            width: auto;
            height: auto;
            max-width: 100%;
            max-height: 100%;
            margin-right: 0px;
            margin-top: 0px;
            object-fit: contain;
        }

        .photo-container p {
            text-align: center;
            margin-top: 10px;
        }

    .photo-container-services {
        flex-direction: column;
    }

        .photo-container-services img {
            width: auto;
            height: 300px;
            max-width: 100%;
            max-height: 100%;
            margin-right: 0px;
            margin-top: 12px;
            padding: 20px;
            object-fit: none;
        }

        .photo-container-services p {
            text-align: center;
            margin-top: 10px;
        }

    .service-container {
        flex: 1;
        background-color: cornflowerblue;
        border-radius: 20px;
        padding: 10px;
        text-align: left;
        width: 80%;
        margin: 0 auto;
    }

    .service-textcontainer {
        width: 80%;
        margin: 0 auto;
        text-align: left;
    }



    #about {
        flex-direction: column;
        margin-right: 0px;
    }

        #about p {
            flex-direction: column;
            margin-right: 0px;
            margin-top: 10px;
            text-align: center;
        }




    .slider-ul {
        text-align: center;
        list-style-type: none;
    }

    .carousel slide {
        height: 600px;
    }

    .carousel-inner {
        background: cornflowerblue;
        border-radius: 20px;
    }

    .carousel-item {
        max-width: 100%;
        height: auto;
        object-fit: none;
    }

        .carousel-item img {
            width: 100%;
            height: auto;
            max-height: 180px;
        }



    .footermap {
        width: 100%;
        height: 400px;
    }

    .footerinfo {
        color: white;
        text-align: center;
        width: 100%;
        align-content: center;
        margin: 0;
    }





    footer {
        flex-direction: column;
        justify-content: center;
        align-items: center;
    }

    .contact-container {
        display: block;
        gap: 0px;
    }

   .contact-input{
       width:100%;
   }

    .contact-form {
        background-color: cornflowerblue;
        padding: 20px;
        border-radius: 10px;
        width: 80%;
        margin: 0 auto;
    }
}

/* Mobiler och mindre surfplattor (GODKÄND) */
@media (min-width: 481px) and (max-width: 767px) {
    /* Styling för mobiler */

    #hero {
        position: relative;
        height: 600px;
        overflow: hidden;
    }


    .photo-container {
        flex-direction: column;
        width: 80%;
        margin: 0 auto;
    }

        .photo-container img {
            width: auto;
            height: 300px;
            max-width: 100%;
            max-height: 100%;
            margin-right: 0px;
            margin-top: 12px;
            object-fit: contain;
        }

        .photo-container p {
            text-align: center;
            margin-top: 10px;
        }

    .photo-container-services {
        flex-direction: column;
    }

        .photo-container-services img {
            width: auto;
            height: 300px;
            max-width: 100%;
            max-height: 100%;
            margin-right: 0px;
            margin-top: 12px;
            padding: 20px;
            object-fit: none;
        }

        .photo-container-services p {
            text-align: center;
            margin-top: 10px;
        }

    .service-container {
        flex: 1;
        background-color: cornflowerblue;
        border-radius: 20px;
        padding: 10px;
        text-align: left;
        width: 80%;
        margin: 0 auto;
    }

    .service-textcontainer {
        width: 80%;
        margin: 0 auto;
        text-align: left;
    }



    #about {
        flex-direction: column;
        margin-right: 0px;
    }

        #about p {
            flex-direction: column;
            margin-right: 0px;
            margin-top: 10px;
            text-align: center;
        }




    .slider-ul {
        text-align: center;
        list-style-type: none;
    }

    .carousel slide {
        height: 600px;
    }

    .carousel-inner {
        background: cornflowerblue;
        border-radius: 20px;
    }

    .carousel-item {
        max-width: 100%;
        height: auto;
        object-fit: none;
    }

        .carousel-item img {
            width: 100%;
            height: auto;
            max-height: 180px;
        }



    .footermap {
        width: 100%;
        height: 400px;
    }

    .footerinfo {
        color: white;
        text-align: center;
        width: 100%;
        align-content: center;
        margin: 0;
    }





    footer {
        flex-direction: column;
        justify-content: center;
        align-items: center;
    }
}

/*/* Surfplattor * (GODKÄND) /*/
@media (min-width: 768px) and (max-width: 1024px) {
    /*/* Styling för surfplattor */




    .navbar-logo {
        margin-right: auto; /* Logotypen placeras längst till vänster */
    }

    .navbar-collapse {
        justify-content: center; /* Centrera innehållet */
        align-items: center;
    }


    nav li {
        position: relative;
        border-radius: 10px;
        width: 150px;
        text-align: center;
        font-size: 24px;
        list-style: none;
    }

        nav li::after {
            content: '';
            position: absolute;
            bottom: 0;
            left: 0;
            width: 0%;
            height: 2px;
            background-color: white;
            Understräckets färg transition: width 0.3s ease;
        }

        nav li:hover::after {
            width: 100%;
        }

    .text-overlay {
        font-size: 19px;
    }



    .language-selector {
        display: flex;
        justify-content: center; /* Centrera språkvalen */
        align-items: center;
        background-color: #f0f0f0;
    }


    /* Grundstil för dropdown */
    .dropdown {
        position: relative;
        display: inline-block;
        margin-right: 10px;
    }



    .dropdown-content {
        display: none; /* Dölj menyn som standard */
        position: absolute;
        background-color: white;
        box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
        z-index: 1;
        border-radius: 5px;
    }

        .dropdown-content img {
            width: 40px;
            height: auto;
            cursor: pointer;
            margin: 5px;
        }

            .dropdown-content img:hover {
                opacity: 0.8;
            }

    .dropdown:hover .dropdown-content {
        display: block; /* Visa menyn när dropdown är aktiv */
    }

    .dropdown-btn {
        cursor: pointer;
        border: none;
        background: none;
    }

    /**/
    /* Grundstil för dropDownMobile */
    .dropdown.mobile {
        position: relative;
        display: inline-block;
        margin-right: 10px;
        visibility: hidden;
        display: none;
    }

    .dropDownMobile-content {
        display: none; /* Dölj menyn som standard */
        position: absolute;
        background-color: white;
        box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
        z-index: 1;
        border-radius: 5px;
    }

        .dropDownMobile-content img {
            width: 40px;
            height: auto;
            cursor: pointer;
            margin: 5px;
        }

            .dropDownMobile-content img:hover {
                opacity: 0.8;
            }

    .dropDownMobile:hover .dropDownMobile-content {
        display: block; /* Visa menyn när dropDownMobile är aktiv */
    }

    .dropDownMobile-btn {
        cursor: pointer;
        border: none;
        background: none;
    }

    #hero {
        position: relative;
        height: 600px;
        width: 100%;
        overflow: hidden;
    }


    .photo-container {
        flex-direction: column;
        width: 100%;
        margin: 0 auto;
    }

        .photo-container img {
            width: auto;
            height: 300px;
            max-width: 100%;
            max-height: 100%;
            margin-right: 0px;
            margin-top: 12px;
            object-fit: contain;
        }

        .photo-container p {
            text-align: center;
            margin-top: 10px;
        }

    .photo-container2 {
        width: 100%;
        height: 50%;
        margin: 0 auto;
 
    }


    .photo-container-services {
        flex-direction: column;
    }

        .photo-container-services img {
            width: auto;
            height: 300px;
            max-width: 100%;
            max-height: 100%;
            margin-right: 0px;
            margin-top: 12px;
            padding: 20px;
            object-fit: none;
        }

        .photo-container-services p {
            text-align: center;
            margin-top: 10px;
        }

    .service-container {
        flex: 1;
        background-color: cornflowerblue;
        border-radius: 20px;
        padding: 10px;
        text-align: left;
        width: 80%;
        margin: 0 auto;
    }

    .service-textcontainer {
        width: 80%;
        margin: 0 auto;
        text-align: left;
    }



    #about {
        flex-direction: column;
        margin-right: 0px;
    }

        #about p {
            flex-direction: column;
            margin-right: 0px;
            margin-top: 10px;
            text-align: center;
        }


    .carouselExampleControls{
        width:100%;
    }

    .carousel-container {
        width: 100%;
        margin: 0 auto;
    }

    .slider-ul {
        text-align: center;
        list-style-type: none;
    }

    .carousel slide {
        height: 600px;
    }

    .carousel-inner {
        background: cornflowerblue;
        border-radius: 20px;
    }

    .carousel-item {
        max-width: 100%;
        height: auto;
        object-fit: none;
    }

        .carousel-item img {
            width: 100%;
            height: auto;
            max-height: 180px;
        }

    .footermap {
        width: 100%;
        height: 400px;
    }

    .footerinfo {
        color: white;
        text-align: center;
        width: 100%;
        align-content: center;
        margin: 0;
    }

    footer {
        flex-direction: column;
        justify-content: center;
        align-items: center;
    }
}


/* Mindre laptops (GODKÄND)*/
@media (min-width: 1025px) and (max-width: 1280px) {
    /* Styling för mindre laptops */
    #hero {
        position: relative;
        height: 700px;
        overflow: hidden;
    }


    .photo-container {
        flex-direction: column;
        width: 80%;
        margin: 0 auto;
    }

        .photo-container img {
            width: auto;
            height: 300px;
            max-width: 100%;
            max-height: 100%;
            margin-right: 0px;
            margin-top: 12px;
            object-fit: contain;
        }

        .photo-container p {
            text-align: center;
            margin-top: 10px;
        }

    .photo-container-services {
        flex-direction: column;
    }

        .photo-container-services img {
            width: auto;
            height: 300px;
            max-width: 100%;
            max-height: 100%;
            margin-right: 0px;
            margin-top: 12px;
            padding: 20px;
            object-fit: none;
        }

        .photo-container-services p {
            text-align: center;
            margin-top: 10px;
        }

    .service-container {
        flex: 1;
        background-color: cornflowerblue;
        border-radius: 20px;
        padding: 10px;
        text-align: left;
        width: 80%;
        margin: 0 auto;
    }

    .service-textcontainer {
        width: 80%;
        margin: 0 auto;
        text-align: left;
    }



    #about {
        flex-direction: column;
        margin-right: 0px;
    }

        #about p {
            flex-direction: column;
            margin-right: 0px;
            margin-top: 10px;
            text-align: center;
        }




    .slider-ul {
        text-align: center;
        list-style-type: none;
    }

    .carousel-container {
      
        margin: 0 auto;
    }

    .carousel slide {
      
    }

    .carousel-inner {
        background: cornflowerblue;
        border-radius: 20px;
   
    }

    .carousel-item {
        max-width: 100%;
        height: auto;
        object-fit: none;
        margin-top: 20px;
    
    }

        .carousel-item img {
            width: 100%;
            height: auto;
            max-height: 400px;
            margin:0 auto;

        }



    .footermap {
        width: 100%;
        height: 400px;
    }

    .footerinfo {
        color: white;
        text-align: center;
        width: 100%;
        align-content: center;
        margin: 0;
    }





    footer {
        flex-direction: column;
        justify-content: center;
        align-items: center;
    }
}

/* Stora laptops och desktops (GODKÄND) */
@media (min-width: 1281px) and (max-width: 1440px) {
    /* Styling för stora laptops */
    /*#hero {
        position: relative;
        height: 600px;
        overflow: hidden;
    }


    .photo-container {
        flex-direction: column;
        width: 80%;
        margin: 0 auto;
    }

        .photo-container img {
            width: auto;
            height: 300px;
            max-width: 100%;
            max-height: 100%;
            margin-right: 0px;
            margin-top: 12px;
            object-fit: contain;
        }

        .photo-container p {
            text-align: center;
            margin-top: 10px;
        }

    .photo-container-services {
        flex-direction: column;
    }

        .photo-container-services img {
            width: auto;
            height: 300px;
            max-width: 100%;
            max-height: 100%;
            margin-right: 0px;
            margin-top: 12px;
            padding: 20px;
            object-fit: none;
        }

        .photo-container-services p {
            text-align: center;
            margin-top: 10px;
        }

    .service-container {
        flex: 1;
        background-color: cornflowerblue;
        border-radius: 20px;
        padding: 10px;
        text-align: left;
        width: 80%;
        margin: 0 auto;
    }

    .service-textcontainer {
        width: 80%;
        margin: 0 auto;
        text-align: left;
    }



    #about {
        flex-direction: column;
        margin-right: 0px;
    }

        #about p {
            flex-direction: column;
            margin-right: 0px;
            margin-top: 10px;
            text-align: center;
        }




    .slider-ul {
        text-align: center;
        list-style-type: none;
    }

    .carousel slide {
        height: 600px;
    }

    .carousel-inner {
        background: cornflowerblue;
        border-radius: 20px;
    }

    .carousel-item {
        max-width: 100%;
        height: auto;
        object-fit: none;
    }

        .carousel-item img {
            width: 100%;
            height: auto;
            max-height: 180px;
        }



    .footermap {
        width: 100%;
        height: 400px;
    }

    .footerinfo {
        color: white;
        text-align: center;
        width: 100%;
        align-content: center;
        margin: 0;
    }





    footer {
        flex-direction: column;
        justify-content: center;
        align-items: center;
    }*/
}

/* Widescreens (GODKÄND)*/
@media (min-width: 1441px) {
    /* Styling för mycket stora skärmar (DEFAULT STORLEK) (GODKÄND) */
   
}
