
*, *::before, *::after {
    box-sizing: border-box;
}

body, main {
    word-wrap: break-word;
    overflow-wrap: break-word;
}

body {
    font-family: Arial, Helvetica, sans-serif;
    min-height: 100vh;
    width: 100%;
    letter-spacing: 2px;
    font-size: 18px;
    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;
}


details *:not(summary) {
    font-size: 14px !important; 
}

details p, details blockquote {
    font-size: 14px !important; 
    font-family: Arial, Helvetica, sans-serif  !important; 
    margin: 0  !important;; 
    line-height: 1.5  !important;; 
    text-align: left !important;; 
    color: #ffffff !important;; 
    
}

blockquote {
    font-style: italic;
   
    
}

#agil {
    text-align: center;
}

details a {
    color:  rgb(176, 176, 240);
    text-decoration: none;
}

/*------------Top nav------*/
#top-nav {
    background-color: rgba(53, 54, 95, 0.3); 
    position: relative;
    padding: 20px 20px; 
    height: 5%; 
    width: 100%;
    z-index: 10; 
   
}


#navigation {
    display: flex;
    list-style: none; 
    width:auto;
    max-width: 1000px;
    margin: 0 auto;
    justify-content: center;
    color: white;
  
}


#navigation li {
    margin: 0 20px;
}



#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 {
    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; 
}

#navigation li a.kallor-button:hover {
    background-color: rgb(19, 148, 180); 
}

/*-----------------------Innehållet.............................*/
/*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: flex;
    margin-left: 0; 
    justify-content: flex-start;
    height: 100%;
    width: 30px;
    cursor: pointer;
    flex-direction: column;
    padding: 10px;
}
/*Klart*/

main {
    max-width: 50%;
    margin: 0 auto; 
    padding: 20px; 
    
}

cite {
    display: block;
    text-align: right;
    font-style: normal;
    color: #92c1f7;
    margin-top: 10px;
}


.top-image {
    
        display: flex;
        justify-content: center;
        align-items: center;
        height: 400px;
        margin-top: 0;
        margin-bottom: 50px;
        padding: 0;
    }

.top-image img {
    width: 300px;
    border-radius: 40%;
    box-shadow: 0 4px 25px 5px rgba(255, 255, 255, 0.8);
    margin-top: 50px;
 
}

.scrum li, .diskussion li, .tolvprinciper li {
    margin-bottom: 60px !important; 
}

.varderingar li {
    margin: 40px;
}

h1, h2, h3,button {
    text-align: center;
}

p {
    text-align: center;

}

.visually-hidden {
    position: absolute;
    width: 1px;
    height: 1px;
    margin: -1px;
    padding: 0;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    border: 0;
}
.scrum {
    display: flex;
    justify-content: center;
    flex-direction: column; 
    align-items: center; 
    padding: 0; 
    margin: 0; 
    
}

.scrum li {
    list-style-type: square; 
    list-style-position: inside; 
    text-align: left; 
    margin: 5px 0; 
}

.varderingar {
    display: flex;
    justify-content: center;
    flex-direction: column; 
    align-items: center; 
    padding: 0; 
    margin: 0; 
}

.varderingar p {
    font-size: 12px;
}

.varderingar li {
    list-style-type: square; 
    list-style-position: inside; 
    text-align: left; 
    margin: 5px 0; 
}
.diskussion li {
    list-style-type: square; 
    list-style-position: inside; 
    text-align: left; 
    margin: 5px 0;  
}

.tolvprinciper p {
    font-size: 16px;
    margin-left: 0; 
    text-align: left; 
    padding-left: 0; 
}

.tolvprinciper li {
    list-style-type: square; 
    list-style-position: inside; 
    text-align: left; 
    margin: 5px 0; 

}


cite, blockquote {
    display: block; 
    text-align: center; 
    margin: 10px auto; 
}

details {
    margin-bottom: 15px;
    font-weight: lighter !important;
    text-align: center;
    background-color: rgb(36, 62, 70);
    border-radius: 5px;
    font-family:'Gill Sans', 'Gill Sans MT', Calibri, 'Trebuchet MS', sans-serif;
    font-size: 10px;
    border: none;
    padding: 10px;
    box-shadow: inset 5px 5px 10px rgba(0, 0, 0, 0.5),
                inset -5px -5px 10px rgba(255, 255, 255, 0.2);
    letter-spacing: 2px;            
}

details p {
    font-size: 12px;
}

details li {
    list-style-type: none;
}


summary {
    font-size: 16px !important;
    font-family: Arial, Helvetica, sans-serif;
    font-weight: 100 !important;
    cursor: pointer;
    padding: 10px;
    color: white;
    border-radius: 5px;
    list-style: none;
    outline: none;
    position: relative;
    letter-spacing: 3px;
    margin-bottom: 30px;
}


summary::after {
    content: "▼"; 
    font-size: 10px; 
    position: absolute; 
    left: 100%; 
    margin-left: -20px; 
    top: 50%; 
    transform: translateY(-50%); 
    opacity: 0; 
    transition: opacity 0.3s ease; 
}

/* Visa pilen vid hover */
summary:hover::after {
    opacity: 1; 
}



details p, details ul {
  font-family: Arial, Helvetica, sans-serif;
  font-size: 20px;
}


/*-----------------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) {

    
    body {
        font-size: 18px; 
      
    }

    p {
        margin-bottom: 15px; 
    }

    h1 {
        font-size: 1.5em;

    }

    #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;
    }

    /* Nav */
    #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;
    }


    main {
        max-width: 100%;
        margin: 0 auto;
        padding: 20px; 
    }


    /*--Footer--*/

    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;
        margin-right: 20px;
    }
    
    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 (min-width: 769px) and (max-width: 1024px) {
    #navigation {
        display: flex;
        justify-content: center; 
        padding: 0 20px; 
    }

    .menu-button-container {
        display: none; 
    }

    #navigation li {
        margin: 0 15px; 
    }

    #navigation li a {
        min-width: 150px; 
    }


    /*Footer*/
    .footer-container {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

    footer ul {
        justify-content: center;
    }

    footer p, footer button {
        margin: 10px 0;
    }
}

@media (max-width: 375px) {
   
   
    body {
        font-size: 18px; 
      
    }

    p {
        margin-bottom: 15px; 
    }

    h1 {
        font-size: 1.5em;

    }

    #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; 
    }

    main {
        max-width: 100%;
        margin: 0 auto;
        padding: 20px; 
    }

   /*---Footer---*/

   footer {
    padding: 20px 10px;
}

footer p, footer button, footer ul li {
    font-size: 14px;
}
footer button {
    margin-top: 10px;
}
.back-to-top {
    width: 60px; 
    font-size: 10px; 
}
}


@media (min-width: 1025px) and (max-width: 1366px) {

    #navigation {
        display: flex; 
        justify-content: center; 
        padding: 0 20px;
        gap: 15px;
        max-width: 1100px;
        margin: 0 auto; 
    }

    #navigation li {
        margin: 0 10px;
    }

    #navigation li a {
        font-size: 14px; 
        padding: 10px 15px; 
        min-width: 160px; 
    }

    #top-nav {
        padding: 15px 30px; 
        background-color: rgba(53, 54, 95, 0.5); 
    }

    
    .menu-button-container {
        display: none;
    }


    .footer-container {
        flex-direction: column;
        align-items: center;
        text-align: center;
        gap: 15px;
    }

    footer ul {
        justify-content: center;
    }

    footer p, footer button {
        margin: 10px 0;
    }

    footer .sociala-medier {
        justify-content: center;
    }



}

