
:root {
    --myDarkBlue: #03184a;
    --myLightBlue: #6E8EA5;
    --myBlue: #3F5EA8;
    --myOrange: #EE7F1A;
    --myGrey: #565756;
    --myBackground:#fafafa;
}


.vertikal {
    margin:0;
    padding:0;
    display: flex;
    flex-direction: column;
    flex:1;
    justify-content: space-evenly;
}
.horisontell {
    margin:0;
    padding:0;
    display: flex;
    flex-direction:row;
    flex: 1;
    justify-content: flex-start;
    ;
}


body {
    height: 100%;
    font-family: "TitilliumWeb-Regular", sans-serif;
    margin: 0;
    background-color: var(--myBackground);
}

header {
    position: fixed; /* Fixes the header in place */
    top: 0; /* Sticks the header to the top of the viewport */
    left: 0; /* Aligns the header to the left edge */
    width: 100%; /* Ensures the header spans the full width of the page */
    z-index: 1000; /* Places the header above other content */
    padding: 20px 0;
    background-color: rgba(255, 255, 255, 0.95);
    box-shadow: 3px 3px 3px rgba(0, 0, 0, 0.1);
}

footer {
    height: 10px;
    margin:30px 30px;
    padding: 50px;
    color: white;
    background-color:var(--myLightBlue);
}

header .container {
    display: flex;
    align-items: center;
    width: 90%;
    margin: 0 auto;
}

header .logo {
    flex: 1;   
    margin-right: 15px;
    height: 80px;
    max-width: 80px;
    background-color: var(--myOrange);
    color:white;
    text-align: center;
}

header img {
    height: 100%;
    width: 100%;
    object-fit: contain;
    transform: scale(1.2);
}

header h1 {
    flex: 1;
    margin: -10px;
    padding:0;
    height: 60px;
    font-size: 60px;
    color: var(--myGrey);
    text-decoration: underline;
}
header h2 {
    flex: 1;
    margin-top: 20px;
    padding:0;
    height: 20px;
    font-size: 20px;
    color: var(--myGrey);
    letter-spacing: 2px; /* Adjust this to match h1 width */
}

header nav ul {
    flex:1;
    list-style: none;
    display: flex;
}

header nav ul li {
    padding: 0 50px;
}

header nav ul li a {
    font-size: 15px;
    color: var(--myGrey);
    text-decoration: none;
    border: none;
    background-color: white;
    cursor: pointer;
}

header nav ul li a::first-letter {
    font-size: 130%;
}


main {
    flex: 1; /* This makes the main content expand to fill available space */
    margin: 120px 20px 20px 20px; /* Adds space at the top to compensate for the fixed header */
    padding: 20px 20px;
}

section, article {
    flex:1;
}


a.button {
    display:flex;
    width: 100px;
    height: 30px;
    border: 1px solid white;
    color: white;
    background-color: var(--myOrange);
    align-items: center;
    justify-content:space-around;
    text-decoration: none;
}

main h1 {
    color: white;
    background-color: var(--myOrange);
    padding: 10px 10px;
}

main h2 {
    color: var(--myBlue);
}

main h3 {
    color: var(--myDarkBlue);
    font-style: italic;
    box-shadow: inset rgba(0, 0, 0, 0.5);
}

main p {
    color: var(--myGrey);
    font-size: 20px;
    font-weight: normal;
}

main img {
    height:300px;
    width:auto;
}

form {
    border: 5px solid white;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.3);
    margin-top: 30px;
}


form button {
    width: 100px;
    height: 30px;
    border: 1px solid white;
    color: white;
    background-color: var(--myBlue);
}

form ul {
    list-style: none;
    margin-top: 0;
    display: flex;
    padding: 0;
    max-width: 550px;;
}

form ul li {
    padding: 10px;
}

form ul li label {
    color: var(--myGrey);
}

form ul li input, select {
    color: var(--myGrey);
    width: 200px;
    border: 1px solid var(--myOrange);
}

.utdata {
    margin-top:15px;
    display: flex;
}

table {
    color: var(--myGrey);
    border-collapse: collapse;
    width:48%;
    max-width:600px;
    flex:1;
}

table th {
    background-color: var(--myBlue);
    color: white;
    padding: 5px 10px;
}

table td {
    color: var(--myGrey);
    border:1px solid var(--myGrey);
    padding: 5px 10px;
}

canvas {
    flex:1;
    height:550px;
    width:auto;
    max-width:550px;
}



