body {
    margin: 30px;
    background-color: #1c0106;
    color: #ffdee2;
    font-family: Georgia, serif;
    line-height: 1.7;
}

.page-gabarit {
    max-width: 900px;
    margin: 0 auto;
}

/* Titel */

.page-plats {
    text-align: center;
    margin-bottom: 40px;
}

.subtitle {
    color: #cc1e3d;
    font-weight: bold;
    letter-spacing: 3px;
}

h1 {
    font-size: 60px;
    margin: 10px 0;
}

h1 span {
    color: #cc1e3d;
    font-style: italic;
}

/* frågor */

.ram {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.ram-item {
    background-color: #ffdee2;
    border: 2px solid #ffdee2;
    border-radius: 12px;
    overflow: hidden;
    transition: 0.3s;
}

.ram-item:hover {
    border-color: #cc1e3d;
}

.ram-item summary {
    padding: 22px 55px 22px 25px;
    color: #87202d;
    font-size: 18px;
    font-weight: bold;
    cursor: pointer;
    list-style: none;
    position: relative;
}

.ram-item summary::-webkit-details-marker {
    display: none;
}

/* plus och minus */

.ram-item summary::after {
    content: "+";
    position: absolute;
    right: 25px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 28px;
    color: #70020f;
}

.ram-item[open] summary::after {
    content: "−";
    color: #ffdee2;
}

/* Svar */

.ram-item p {
    margin: 0;
    padding: 18px 25px 22px;
    color: #ffdee2;
    border-top: 1px solid #70020F;
}

/* animation för ramer */

.ram-item[open] {
    background-color: #70020f;
    border-color: #70020f;
}

.ram-item[open] summary {
    color: #ffdee2;
}

/* reflektion */

.reflection {
    margin-top: 60px;
    padding-left: 25px;
    border-left: 4px solid #cc1e3d;
}

.reflection h2 {
    color: #ffdee2;
}

/* back to startsida */

.nav-links {
    list-style: none;
    padding: 0;
    text-align: center;
    margin-top: 40px;
}

.nav-links a {
    display: inline-block;
    padding: 12px 25px;
    background-color: #70020f;
    color: #ffdee2;
    font-weight: bold;
    text-decoration: none;
    border-radius: 30px;
}

.nav-links a:hover {
    background-color: #cc1e3d;
    color: #ffdee2;
}