*, *::before, *::after {
    box-sizing: border-box;
}

body {
    font-family: Arial, Helvetica, sans-serif;
    min-height: 100vh;
    width: 100%;
    box-sizing: border-box; /* Lägger till detta */
    letter-spacing: 2px;
    font-size: 14px;
    background: linear-gradient(to bottom, rgba(0, 0, 0, 1) 0%, rgba(0, 0, 0, 0) 60%),
    linear-gradient(to top, rgba(0, 0, 0, 1) 0%, rgba(0, 0, 0, 0) 70%),
    url("images/internet-2224603_640.jpg");
    color: rgb(255, 255, 255);
    padding-top: 25px;
    overflow-x: hidden;
}

/*------------Top nav------*/
#top-nav {
    background-color: rgba(53, 54, 95, 0.3); 
    position: relative;
    padding: 20px 20px; 
    height: 5%; 
    width: 100%;
    position: relative;
    z-index: 10; 
   
}


#navigation {
    display: flex;
    list-style: none; 
    width:auto;
    max-width: 1200px;
    margin: 0 auto;
    justify-content: center;
    color: white;
  
}

#navigation li {
    margin: 0 20px; /* Justera marginaler efter behov */
}


#navigation li a {
    color: white;
    text-decoration: none;
    padding: 10px 15px;
    font-size: 15px;
    display: inline-block;
    min-width: 200px;
    text-align: center;
}

#navigation li a:hover {
    color: rgb(108, 108, 235);
}



#navigation li a.kallor-button:hover {
    background-color: rgb(19, 148, 180);
}

#navigation li a.kallor-button {
    display: inline-block; 
    background-color: rgb(5, 35, 43); 
    color: white; 
    padding: 10px 15px; 
    border-radius: 5px; 
    text-decoration: none; 
    transition: background-color 0.3s ease; 
}  


/*------Toggle------*/


#menu-toggle {
    display:none;
}

.menu {
    display: flex;
    flex-direction: row;
    list-style-type: none;
    margin: 0;
    padding: 0;
}

.menu > li {
    margin: 0 1rem;
    overflow: hidden;
}


.menu-button-container {
    display: none; /* Döljer togglern i desktop-läge */
    height: 100%;
    width: 30px;
    cursor: pointer;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

   
/*-----------------------Innehållet.............................*/

main {
    max-width: 800px; 
    margin: 0 auto; 
    padding: 20px; 
   
}

h1 {
    font-size: 40px;
    margin-top: 20px; 
    text-align: center; 
    color: rgb(255, 255, 255);  
}

p {
    text-align: center;
    font-size: 16px;
}

.visually-hidden {
    position: absolute;
    width: 1px;
    height: 1px;
    margin: -1px;
    padding: 0;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    border: 0;
}

/*---Content section---*/

.content-section {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 100px; 
    margin-bottom: 50px;
    padding: 0 20px;
}



.content-section .reverse { 
    flex-direction: row-reverse;
}

.content-section .image {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
}



.content-section .image img,
.content-section .image iframe {
    max-width: 100%;
    height: auto;
    border-radius: 10px;
    box-shadow: 0 4px 25px 5px rgba(255, 255, 255, 0.8);
}

.content-section .image {
    flex: 1; /* Gör att bilden tar lika mycket utrymme som texten */
    display: flex;
    justify-content: center;
    align-items: center;
}



.content-section .image img {
    width: 100%;
    max-width: 300px; /* Anpassa maxbredden */
    height: auto;
    border-radius: 10px; /* Rundade hörn */
    box-shadow: 0 4px 25px 5px rgba(255, 255, 255, 0.8);
}


.content-section .text {
    flex: 1;
    font-size: 18px;
    text-align: left;
    color: #ffffff;
}

.content-section .text h2 {
    font-size: 28px;
    margin-bottom: 10px;
    text-align: center;
}


.historia {
   
    list-style-type:disc;
    padding: 50px 0; 
    text-align: center;
    
}


.historia li {
    list-style-position: inside;
    padding-left: 90px;
    margin-bottom: 10px;
    padding: 10px;
    
    }

    blockquote {
        margin: 20px 0;
        padding: 10px 20px;
        font-style: italic;
        color: #ffffff;
    }
    
    blockquote cite {
        display: block;
        text-align: right;
        font-style: normal;
        color: #92c1f7;
        margin-top: 10px;
    }

    cite {
        display: block;
        text-align: right;
        font-style: normal;
        color: #92c1f7;
        margin-top: 10px;
        font-size: 14px;
    }

    a {
        color:#92c1f7;
    }

    .video-container2 {
        display: flex;
        justify-content: center; 
        margin-top: -50px;
        margin-bottom: 20px;
    }

    iframe {
        border:none;
    }

/*-----------------Footer---------*/
footer {
    display: flex;
    background-color: rgba(9, 20, 46, 0.7);
    color: white;
    padding: 40px 0;
    text-align: center;
    justify-content: space-between;
    flex-direction: row;
    align-items: center;
    font-size: 10px;
}

.footer-container {
    max-width: 1200px; 
    margin: 0 auto; 
    padding: 20px;
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
}

footer ul {
    list-style-type: none;
    display: flex;
    gap: 10px;
}

footer ul li {
    display: flex;
    align-items: center;
}

footer ul li a {
    text-decoration: none;
    color: white;
}

.back-to-top {
    position: fixed;
    bottom: 10px;
    right: 10px;
    width: 70px;
    text-decoration: none;
    font-size: 10px;
    color: white;
    border: 2px solid white;
    padding: 10px;
    border-radius: 5px;
    transition: background-color 0.3s ease;
    z-index: 100;
}

footer .sociala-medier {
    display: flex;
    gap: 10px; 
    list-style-type: none; 
    padding: 0; 
    margin: 0; 
}

footer .sociala-medier a {
    display: inline-block;
}

footer img {
    height: 20px;
    width: 20px;
}

footer p {
    cursor: pointer;
   margin: 0;
}

footer a {
    text-decoration: none;
    color: rgb(149, 182, 209);
}

footer p:hover {
    color: rgb(207, 175, 238);
}

footer button {
    margin-right: 20px;
    cursor: pointer;
    background-color: rgb(19, 148, 180);
    color: white;
}

label {
    cursor: pointer;
}

label:hover {
    color: rgb(207, 175, 238);
}

/* Mobila enheter */

    @media (max-width: 768px) {
        /* Nav */
        #navigation {
            display: none; 
            position: relative;
            top: 100px;
            width: 100%;
            background-color: rgba(0, 0, 0, 0.8);
            margin: 0 auto;
            padding: 0 10px;
           
            
            
        }
    
        #top-nav {
            margin: 0 auto;
            width: 100%;
        }
    
    
        .menu-button-container {
            display: flex;
            margin: 0;
            justify-content: flex-start;
        }
        .menu-button {
            position: relative;
            width: 30px;
            height: 3px; 
            background-color: white;
            display: inline-block;
            transition: all 0.3s ease;
        }
    
        
        #navigation li {
            text-align: center;
            margin: 0;
            padding: 15px 0;
        }
    
        #navigation li a {
            color: white;
            text-decoration: none;
        }
    
        .menu-button::before,
        .menu-button::after {
            content: '';
            position: absolute;
            width: 100%;
            height: 3px; 
            background-color: white;
            transition: all 0.3s ease;
        }
    
        .menu-button::before {
            top: -7px; 
        }
    
        .menu-button::after {
            top: 7px; 
        }
    
    
        #menu-toggle:checked + .menu-button-container + #navigation {
            display: flex;
            flex-direction: column;
            top: 50px;
        }
    
    
    
        /*---Innehåll---*/
        .content-section {
            display: flex;
            flex-direction: column;
            align-items: center;
            gap: 20px;
            margin-bottom: 20px;
            padding: 0 10px;
        }
    
        .content-section .image,
        .content-section .text {
            width: 100%;
        }
    
        .content-section .text h2 {
            font-size: 24px;
        }
    
        .content-section:nth-child(even) {
            flex-direction: column;
        }
    
        .content-section:nth-child(odd) {
            flex-direction: column-reverse;
        }
    
        .content-section .image img {
            width: 100%;
            max-width: 300px;
            margin-top: 10px;
            border-radius: 10px;
        }
    
        .content-section .text {
            font-size: 16px;
            text-align: left;
        }
        footer {
            flex-direction: column;
            align-items: center;
            text-align: center;
            margin-right: 30px;
            gap: 20px; 
        }
        footer p {
            max-width: 90%; 
            margin: auto; 
            text-align: center; 
        }
        
        .footer-container {
            flex-direction: column; 
            align-items: center; 
            padding: 10px; 
            margin-right: 30px;
        }
        
        
        
        footer ul {
            flex-direction: column; 
            gap: 5px; 
        }
        
        .back-to-top {
            bottom: 20px;
            right: 20px;
            width: 80px;
            font-size: 8px;
        }
        
        footer .sociala-medier {
            justify-content: center;
            gap: 15px;
        }
        footer form {
            max-width: 90%; 
            margin: 0 auto; 
        }
        
        footer input,
        footer button {
            width: 100%; 
            max-width: 300px; 
            margin: 5px auto; 
            padding: 10px; 
        }
        
        }
        footer button {
            margin-top: 10px;
        }
    
    @media (max-width: 375px) {
        body {
            font-size: 14px;
        }

    
        h1 {
            font-size: 22px;
        }
    
        .content-section .text {
            font-size: 14px;
        }
    
        .content-section .image img {
            max-width: 250px;
        }
    
    #navigation {
        display: none; 
        position: relative;
        top: 100px;
        width: 100%;
        background-color: rgba(0, 0, 0, 0.8);
        margin: 0 auto;
        padding: 0 10px;
       
        
        
    }

    #top-nav {
        margin: 0 auto;
        width: 100%;
    }

    /* Visa hamburgermenyn endast på mobila skärmar */
    .menu-button-container {
        display: flex;
        margin: 0;
        justify-content: flex-start;
    }
    .menu-button {
        position: relative;
        width: 30px;
        height: 3px;
        background-color: white;
        display: inline-block;
        transition: all 0.3s ease;
    }

  
    #navigation li {
        text-align: center;
        margin: 0;
        padding: 15px 0;
    }

    #navigation li a {
        color: white;
        text-decoration: none;
    }

    .menu-button::before,
    .menu-button::after {
        content: '';
        position: absolute;
        width: 100%;
        height: 3px; 
        background-color: white;
        transition: all 0.3s ease;
    }

    
    .menu-button::before {
        top: -7px; 
    }

    .menu-button::after {
        top: 7px; 
    }


    #menu-toggle:checked + .menu-button-container + #navigation {
        display: flex;
        flex-direction: column;
        top: 50px; 
    }
     /*---Footer---*/

   footer {
    padding: 20px 10px;
}

footer p, footer button, footer ul li {
    font-size: 14px;
}

.back-to-top {
    width: 60px; 
    font-size: 10px; 
}
button {
    margin-top: 10px;
}
}
     
    
    @media (min-width: 769px) and (max-width: 1024px) {
        #navigation {
            display: flex;
            flex-direction: row;
            justify-content: space-around;
        }
    
        #navigation li {
            margin: 0 20px;
        }
    
        .content-section {
            flex-direction: row;
            gap: 40px;
            margin-bottom: 40px;
            padding: 0 20px;
        }
    
        .content-section .image img {
            max-width: 350px;
        }
    
        .content-section .text {
            font-size: 18px;
        }
    }
    @media (min-width: 1025px) and (max-width: 1366px) {
        #navigation {
            justify-content: space-between;
            padding: 0 50px;
        }
    
        .content-section {
            gap: 60px;
            margin-bottom: 50px;
            padding: 0 40px;
        }
    
        .content-section .image img {
            max-width: 400px;
        }
    
        .content-section .text {
            font-size: 20px;
        }
    }

    @media (min-width: 1367px) {
        #navigation {
            justify-content: space-evenly;
        }
    
        .content-section {
            gap: 80px;
            margin-bottom: 60px;
        }
    
        .content-section .image img {
            max-width: 500px;
        }
    
        .content-section .text {
            font-size: 22px;
        }
    }