body{
    font-family: Arial, sans-serif;
    margin:0;
    background:#f5f7fb;

}
header{
    display: flex;
    background:#1e2a38;
    color:white;
    padding:15px 0;
    clear: both;
    height: 80px;
    width:95%;
    max-width: 1500px;
    border-top-left-radius: 15px;
    border-top-right-radius: 15px;
    position: fixed;
    top : 25px;
    left: 50%;
    transform: translateX(-50%);

}
header h1{
    display:inline-block;
    margin:0;
}
.logo{
    margin-left: 50px;
    float: left;
    width: 200px;
    height: auto;
    align-items: left;
}
/* Navigering */
header nav{
    display: flex;
    width: fit-content ;
    margin-left: auto;
    margin-right: 50px;
}
.menu {
  list-style: none;
  display: flex;
  gap: 20px;
  padding: 0px;
}

.menu li a {
  color: white;
  text-decoration: none;
  padding: 10px;
  display: block;
}

.dropdown {
  position: relative;
}

.dropdown-content {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  background: #1e2a38;
  list-style: none;
  padding: 0px;
  margin: 0;
  width: max-content;
}

.dropdown-content li a {
  padding: 10px;

}

.dropdown-content li a:hover {
  background: #555;
}

.show {
  display: block;
}
.dropdown-header {
  color: #aaa;
  font-weight: bold;
  padding: 10px;
  margin-top: 5px;
  border-top: 1px solid #666;
  cursor: default;
}
main {
    width:95%;
    max-width: 1500px;
    margin:auto;
    margin-top: 105px;
    min-height: calc(100vh - 224px); /* Justera baserat på header och footer höjd */
    display: flex;
    flex-direction: column;
    border: 1px solid #000000;
    overflow-y: auto;
    padding: 10px;
}
footer{
    text-align:center;
    padding:10px;
    margin-top:40px;
    background:#1e2a38;
    color:white;
    border-bottom-left-radius: 15px;
    border-bottom-right-radius: 15px;
    width: 95%;
    max-width: 1500px;
    margin: auto;
}
.btn{
    display:inline-block;
    margin-top:20px;
    padding:4px 10px;
    background:rgb(64, 26, 235);
    color:#2d8cff;
    text-decoration:none;
    border-radius:5px;
    font-weight:bold;
    width: fit-content;
}
table {
    width: 50%;
    border-collapse: collapse;
    margin-top: 20px;
}
thead {
    background-color: #4CAF50;
    color: white;
}
tbody tr:nth-child(even) {
    background-color: #f2f2f2;
}
tbody tr:hover {
    background-color: #ddd;
}
form tr:hover {
    background-color: none;
}
.hero{
    background:#2d8cff;
    color:white;
    text-align:center;
    padding:50px 10px;
}
.features{
    display:flex;
    gap:20px;
    margin-top:40px;
}
.card{
    background:white;
    padding:25px;
    border-radius:8px;
    box-shadow:0 2px 8px rgba(0,0,0,0.1);
    flex:1;
}
.created {
    font-size: 0.85em;
    color: #777;
}
.content {
    margin-top: 20px;
    line-height: 1.6;
    font-size: 1em;
}
.correct {
    color: #2e7d32;        /* mörkgrön text */
    background: #e8f5e9;   /* ljusgrön bakgrund */
    border: 1px solid #4caf50;
    border-radius: 5px;
    width: fit-content;
    padding: 3px 10px;
    font-weight: bold;
}

.wrong {
    color: #c62828;
    background: #ffebee;
    border: 1px solid #f44336;
    border-radius: 5px;
    width: fit-content;
    padding: 3px 10px;
    font-weight: bold;
}

.neutral {
    color: #37474f;
    background: #eceff1;
    border: 1px solid #90a4ae;
    border-radius: 5px;
    width: fit-content;
    padding: 3px 10px;
    font-weight: bold;
}
main input, main select {
    padding: 5px;
    border: 1px solid #ccc;
    border-radius: 4px;
}
