/* Nav-länkar */
.nav-bar {
    display: flex;
    justify-content: space-between; /* Space between logo and links */
    align-items: center;
    padding: 1rem 2rem;
    background-color: #f8f9fa;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.logo-container {
    flex: 1; /* Takes up space to align logo to the left */
}

.logo-container img {
    max-height: 8vw; /* Adjust as needed */
    height: auto;
}

.nav-links {
    display: flex;
    flex: 3; /* Takes up the remaining space */
    justify-content: center; /* Centers the links */
    gap: 15rem;
}

.nav-links a {
    text-decoration: none;
    color: #000;
    font-size: 16px;
    transition: color 0.3s ease;
}

.nav-links a:hover {
    color: #007bff;
}

/* Sticky Header */
header {
    position: sticky;
    top: 0;
    z-index: 1000;
}

/* Mobile Responsiveness */
@media (max-width: 768px) {
    .nav-bar {
        flex-direction: row; /* Stack logo and links */
        align-items: center;
        padding: 1rem;
    }

    .logo-container {
        margin-bottom: 0; /* Space below the logo */
    }

    .logo-container img{
        max-height: 15vw;
    }

    .nav-links {
        flex-wrap: wrap;
        justify-content: center; /* Ensure links are centered */
        gap: 1rem;
    }

    .nav-links a {
        font-size: 14px; /* Slightly smaller font for mobile */
    }
}






/*Bottensektionen*/
.Botten_sektionen{
    background-color: #284173;  
    padding: 5vw 2vw;    
    text-align: center;           
    border-top: 2px solid #989898;
}

.Botten_sektionen h2 {
    margin-bottom: 5%;          
    font-size: 2vw;
    color:#FFCC00;              
}


.Botten_sektionen p {
    font-size: 1rem;     
    color: #FFCC00;               
    max-width: 70vw;            
    margin: 0 auto;            
    line-height: 1.6;          
}





/* Höger-vänsterdelargrejs */
.HoV-delare {
    display: flex;
    justify-content: space-between;            
    padding: 20px;
    width: 100%;
}

.HoV-delare img {
    transition: transform 0.3s ease;
}

.HoV-delare img:hover{
    transform: scale(1.05);
}
        
.HoV-delare p {
    font-size: 100%;
}
        
.vänster{
    margin-left: 2vw;
}
    
.höger{
    margin-right: 2vw;
}







.Sociala_loggor{
    width: 4vw;          
    height: auto;
}

.SUHEN_logga_vit{
    max-width: 15vw;
    height: auto;
    display: flex;
}

@media (max-width: 1000px) {
    .Sociala_loggor{
        width: 10vw;
    }

    .SUHEN_logga_vit{
        max-width: 30vw;
    }

    .Botten_sektionen p{
        font-size: 0.5rem;
    }
    
}