
* {
    box-sizing: border-box;
}


html, body {
    background-color: #fff;
    height: 100%;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    color: rgb(26,38,59);
    font-family: 'Open Sans', sans-serif;
}

/* Innehållet tar upp all återstående plats mellan header och footer */
.content {
    flex: 1; /* Låt innehållet expandera för att fylla mellan header och footer */
    padding: 20px;
    background-color: #fff; /* Lägg till bakgrundsfärg för innehållet */
}

#finalStep {
    text-align: center;
}

/*This is the heading used for all pages*/
.header-container {
    display: flex;
}
.header-container h1 {
    font-weight: 400;
}


.header-item1 {
    margin-top: 5px;
    margin-left: 5%;
    margin-right: 10%;
}

.header-item2 {
    width: 60%;
}

header img {
    height: 40px;
    width: auto;
    margin-top: 15px;
}
/* Hamburger-menyn */
.hamburger-menu {
    position: relative;
}

.menu-toggle {
    background: white;
    border: none;
    color: rgb(26,38,59); /* Mörkblå färg */
    font-size: 1.8em; /* Öka storlek */
    cursor: pointer;
    padding: 10px;
    transition: color 0.3s ease; /* Lägg till en mjuk övergång */
}

.menu-toggle:hover {
    color: rgba(204,181,194,0.8); /* Ändra färg vid hovring */
}


/* Menylänkar */
/* Dölj menyn som standard */
.menu-links {
    list-style: none;
    margin: 0;
    padding: 0;
    display: none; /* Dölj menyn initialt */
    flex-direction: column;
    position: absolute;
    top: 100%;
    right: 0;
    background-color: white; /* Ljus bakgrund */
    width: 200px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1); /* Lägg till en skugga */
    border-radius: 6px; /* Rundade hörn */
    z-index: 1000;
}



/* Visa menyn när klassen "show" är aktiv */
.menu-links.show {
    display: flex; /* Visa menyn */
}

/* Stil för menylänkar */
.menu-links li {
    padding: 10px 20px;
    border-bottom: 1px solid #ddd; /* Separera länkar med en linje */
}

.menu-links li:last-child {
    border-bottom: none; /* Ta bort linjen på sista länken */
}

.menu-links a {
    color: rgb(26, 38, 59); /* Mörk text */
    text-decoration: none;
    font-size: 1em;
    transition: color 0.3s ease; /* Mjuk övergång vid hovring */
}

.menu-links a:hover {
    color: #0056b3; /* Ändra färg vid hovring */
}



/*heading stops here*/

/*Intro to website with image*/

.websiteIntro_container {
    display: flex;
    background-color: rgb(26,38,59);
    min-height:150px;
    height: auto;
    color: white;
 /*   border: yellow solid 2px;*/
}

.intro-item1 {
    margin-top: 20px;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    margin-right: 20px;
}

.intro-item1 p {
 width: 40%;

    font-size: 1.2em;
    text-align: left;
}

.intro-item img {
    height: 100%;
    max-height: 250px;
    width: auto;
}
#catchPhrase {
    border-left: white 4px solid;
    padding: 5px;
}
/*End of intro*/

/* Boxes with quick jump to links */
.flexbox-jumpto {
    background-color: rgba(204,181,194,0.8);
    display: flex;
 /*   flex-wrap: wrap;*/
    justify-content: center;
}

.flexbox-item  {
    background-color: whitesmoke;
    border-radius: 6px;
    width: 20%;
    padding: 0;
    margin: 20px;
    flex-wrap: wrap;
   /* border: 2px black solid;*/
    text-align: center;
    color:black;
    font-size: 0.8em;
}

/*.flexbox-item:visited*/


.flexbox-item:hover,.flexbox-item:active, .flexbox-item a:hover  {
    background-color: rgb(26,38,59);
    color: white;
    border-radius: 6px

}

.flexbox-item a:hover {
    border-radius: 6px
}


.flexbox-item a.active {
    background-color: rgb(26,38,59);
    color: white;
    border-radius: 6px
}

.flexbox-item a {
    display: block;
    text-decoration: none;
    padding: 15%;
}



/*Footer starts here*/

footer {
        text-align: center;
        padding: 20px;
        background-color: rgb(26,38,59);
        color: white;
}

footer a {
        color: white;
        text-decoration: none;
}
/*för de övriga sidorna*/

main {
    padding: 20px;
    margin: 0 auto;
    max-width: 800px; /* Begränsar bredden för läsbarhet */
    font-size: 1rem;
    line-height: 1.6;
  /*  border: yellow solid 2px;*/
}

main h2 {
    color: rgb(26, 38, 59);
    margin-top: 10px;
    font-size: 1.5rem;
}

main ul, main ol {
    margin: 10px 0 20px 20px;
    padding-left: 20px;
}

main li {
    margin-bottom: 10px;
}

main section {
    margin-bottom: 30px;
}

main p {
    margin: 10px 0;
}

.centerPara {
    text-align: center;
    background-color: rgb(26, 38, 59);
    color: white;
    padding: 15px;
    margin: 15px;
    border: #333333 2px solid;

}
#aic_example, #aic_example2 {
    width: 100%;

}

#aic_example, #aic_example2, table, th, td {
    border: 1px solid black ;
    text-align: center;
    border-collapse: collapse;
    margin: 10px;
}
.lefttable {
    text-align: left;
}

@media (max-width: 768px) {
    .header-container h1 {
        display: none;
    }
    .flexbox-jumpto {
        display: flex;
        flex-direction: column;
    }
    .websiteIntro_container {
        display: flex;
        flex-direction: column;
    }
    .flexbox-item {
        width: 40%;
        margin:10px;

    }
    .flexbox-item a {
        font-size: 0.8em; /* Justera textstorlek för små skärmar */

    }

}
@media (max-width: 480px) {
    .flexbox-item {
        width: 80%; /* Nästan fullbredd för små skärmar */
    }
}
/* Anpassa menyn för större skärmar */
@media (min-width: 768px) {


    #menu-toggle {
        display: none;
    }
    .menu-links {
        display: flex; /* Visa menyn som standard */
        position: static; /* Ta bort absolut positionering */
        flex-direction: row; /* Horisontell layout */
        background-color: transparent; /* Gör bakgrunden genomskinlig */
        box-shadow: none; /* Ta bort skugga */
        width: auto; /* Anpassa bredden */
    }

    .menu-links li {
        border-bottom: none; /* Ta bort linjer */
        padding: 0 15px; /* Lägg till mellanrum horisontellt */
    }

    .menu-links a {
        color: rgb(26, 38, 59); /*  text */
    }

    .menu-links a:hover {
        color: #ddd; /* Ljusare färg vid hovring */
    }
}