body {
    font-family: Arial, sans-serif;
    margin: 0; /* Ändrar margin till 0 */
    padding-top: 30px; /* Justerar padding-top till 30px */

}


body .infotext {
    font-family: Arial, sans-serif;
    margin: 0;
    padding-top: 5px;
    font-size: 9px;
}


.infotext

{
font-family: Arial, sans-serif;
    margin: 0;
    padding-top: 5px;
    font-size: 9px;
}


textarea {background-color: #edf3f8;}

.input-field {
    width: 100%;
    padding: 10px 20px;
    font-size: 16px;
    border-radius: 24px; /* Denna egenskap ger inmatningsfältet den rundade effekten */
    border: 1px solid #dfe1e5;
    transition: box-shadow 0.2s, border-color 0.2s;
    outline: none;
    box-shadow: none;
 background-color: #edf3f8;
}

.input-field:focus {
    border-color: #4285f4;
 background-color: #edf3f8;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}


  .accordion {
            cursor: pointer;
            padding: 18px;
            width: 100%;
            text-align: left;
            border: none;
            outline: none;
            transition: 0.4s;
        }

        .panel {
            padding: 0 18px;
            display: none;
            overflow: hidden;
        }


.header {
    position: fixed; /* Gör headern fast */
    top: 0;
    width: 100%; /* Gör headern hela skärmens bredd */
    margin: 0;
    padding: 0; /* Tar bort padding */
    display: flex;
    align-items: center;
   height: 50px;
    background-color: #d63d0a; /* Lägger till en bakgrundsfärg */
    box-shadow: 0px 2px 5px rgba(0, 0, 0, 0.2); /* Minskar skuggan */
    height: 50px; /* Sätter en fast höjd på 30px på headern */

}

.header .logo {
    margin-left: 25px;
    height: 40px;
    overflow: hidden;
}

.header .logo img {
    width: 65%;
    height: 100%;
}

/* Menu Styling */
nav {
    height: 30px; /* Sätter en fast höjd på 30px på nav */
     background-color: #ADD8E6;
}

nav ul {
    list-style-type: none;
    padding: 0;
    display: flex;
    align-items: center; /* Centrerar menyn vertikalt */
    height: 100%; /* Sätter höjd till 100% */
margin-left: 120px;
    background-color: #ADD8E6;


}

nav li {
    margin: 0 15px;
    height: 100%; /* Sätter höjd till 100% */
}

nav a {
    height: 100%; /* Sätter höjd till 100% */
    display: flex;
    align-items: center; /* Centrerar texten vertikalt */
    text-decoration: none;
    color: #333;
    font-weight: normal;
    font-size: 14px;
    padding: 0px 0px; /* Justerar padding */
    border: 0px solid transparent;
    transition: background-color 0.3s, border-color 0.3s, color 0.3s;
}

nav a:hover {
    background-color: #5eb2ce;
    border-color: #5eb2ce;
    color: #ffffff; /* Ändrar textfärg vid hover */
}




.text {
    background-color: #ffffff;
    padding: 25px;
margin-left:50px;
    border-bottom: 1px solid #e0e0e0;
  /* Set a maximum width for text content to ensure optimal line length for readability. */
    max-width: 600px;
   


}


/* Headings Styling */
h1 {
    font-size: 28px;
    margin-bottom: 15px;
}

ul {
    list-style-type: none;
    padding: 0;
}

li {
    margin-bottom: 10px;
    font-size: 18px;
}


/* Content Styling */
div[contenteditable="true"] {
    padding: 20px;
    border: 1px solid #e0e0e0;
    min-height: 300px;
    overflow-y: auto;
}

span[style="background-color: yellow;"] {
    font-weight: bold;
    color: #333;
}






    form {
        border: 1px solid #000000; /* Black border */
        padding: 15px;
        background-color: #ADD8E6; /* Light blue background */
width: 500px;
    }

    input[type="submit"] {
        background-color: red;
        color: white;
        padding: 10px 20px;
        border: none;
        cursor: pointer;
    }

    input[type="submit"].valid {
        background-color: green;
    }


.form {
    background-color: lightblue;
    border: 1px solid #ccc;
    padding: 10px;
    margin: 10px 0;

}


label, p {
    font-size: 16px;
}

input[type="text"] {
    padding: 10px;
    width: 300px;
}

input[type="submit"] {
    padding: 10px 15px;
    background-color: #4CAF50;
    color: white;
    border: none;
    cursor: pointer;
}

.warning {
    color: red;
}

.success {
    color: green;
}



h2 {
    color: #333;
    font-weight: 400;
    font-size: 24px;
    line-height: 26px;
    font-family: Arial;
}

.results-container {
    width: 900px;
    border: 1px solid #ccc;
    padding: 25px;
    margin-bottom: 20px;
margin-left:50px;
}


.results-container h3 {
    font-family: Arial;
    font-size: 20px;
    line-height: 26px;
    color: #1a0dab;
    font-weight: 400;
}

.results-container p {
    font-size: 14px;
    line-height: 22px;
    color: #4d5156;
}

.title-valid {
    background-color: green;
    color: white;
}

.title-invalid {
    background-color: red;
    color: white;
}

.meta-valid {
    background-color: green;
}

.meta-invalid {
    background-color: red;
}

label, p {
    font-size: 16px;
}

input[type="text"], input[type="submit"] {
    padding: 10px;
    width: 300px;
    margin-bottom: 10px;
}

input[type="submit"] {
    background-color: #4CAF50;
    color: white;
    border: none;
    cursor: pointer;
    width: auto;
}

.green-point, .red-point {
    display: inline-block;
    width: 10px;
    height: 10px;
    border-radius: 50%;
    margin-right: 5px;
    vertical-align: middle;
}

.green-point {
    background-color: green;
}

.red-point {
    background-color: red;
}

p .green-point + span, p.green {
    color: green;
}

p .red-point + span, p.red {
    color: red;
}

.warning {
    color: red;
}

.button-container {
   cursor: pointer;
    margin-top: 20px;
 border: none;
            outline: none;
}

.button-container a {
   cursor: pointer;
 border: none;
            outline: none;
    display: inline-block;
    background-color: #4CAF50;
    color: white;
    padding: 18px 20px;
    margin-right: 10px;
    text-decoration: none;
    border-radius: 5px;
}

.button-container a:hover {
    background-color: #45a049;
}



.flexbox-container {
    display: flex;
    justify-content: flex-start;  /* Ändrat till flex-start för att justera elementen till vänster */
    gap: 2px;  /* Minskat mellanrum mellan korten */
    width: 100%;  /* Begränsa bredden på container */
    margin: 0 auto;  /* Centrera container på sidan */
}




.card {
    width: 300px;
    height: 200px;
    perspective: 1000px;
    position: relative;
    cursor: pointer;
    transform-style: preserve-3d;
    transition: transform 0.5s;
}

.card:hover {
    transform: rotateY(180deg);
}

.front, .back {
    width: 100%;
    height: 100%;
    position: absolute;
    backface-visibility: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid #ddd;
    border-radius: 5px;
    padding: 10px;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
}

.front {
    background-color: #lightblue;  /* Stark blå bakgrund */
    color: #FFFFFF;  /* Vit text för kontrast */
}

.back {
    transform: rotateY(180deg);
}

