body {
    padding: 0;
    border: 0;
    margin: 0;
    overflow-x: hidden;
    background-color: #3c3c3c;
}
.navbar {
    display: flex;
    width: 100vw;
    height: 90px;
    border-bottom: 1px solid black;
    justify-content: space-around;
    align-items: center;
    background-color: #202020;
    position: sticky;
    top: 0;
    z-index: 2;
}
.navbar div {
    font-size: 22px;
    font-family: Impact, Haettenschweiler, 'Arial Narrow Bold', sans-serif;
    color: white;
    height: 100%;
    width: 100%;
}
.navbar div a {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    height: 100%;
    color: white;
    text-decoration: none;
}
.navbar div a:hover {
    user-select: none;
    text-decoration: underline;
    text-decoration-color: red;
}
.logga {
    height: 90px;
}
.current-page {
    text-decoration: underline;
    text-decoration-color: red;
}
.footer {
    text-align: center;
    color: white;
    font-family: sans-serif;
    margin-top: 80px;
    margin-bottom: 60px;
}
hr {
    border: 1px solid red;
    margin-left: 15vw;
    margin-right: 15vw;
}
/*Allt ovan är CSS kod för den navbar som ska vara på alla sidor och footern på alla sidor*/
.rubrik {
    text-align: center;
    color: white;
    font-family: sans-serif;
    font-size: 40px;
    font-weight: 600;
    text-decoration: underline;
    text-decoration-color: red;
    text-underline-offset: 9px;
    margin-top: 30px;
    margin-bottom: 20px;
}
.flex-faq {
    display: flex;
    margin-bottom: 100px;
    color: white;
    font-family: sans-serif;
    justify-content: space-around;
}
.flex-faq div div{
    height: fit-content;
    min-height: 180px;
    width: 40vw;
    background-color: #202020;
    margin-top: 50px;
    border-radius: 12px;
    object-fit: cover;
}
.flex-faq div div:hover {
    cursor: pointer;
}
.fraga {
    text-align: center;
    position: relative;
    top: 70px;
    font-size: 2.5vw;
    user-select: none;
}
.faq-box p {
    max-height: 0;
    overflow: hidden;
    opacity: 0;
    transition: max-height 0.4s ease, opacity 0.3s ease;
    margin-left: 50px;
    margin-right: 50px;
    margin-top: 100px;
    padding-bottom: 30px;
}
.faq-box.open p {
    max-height: 500px;
    opacity: 1;
}
@media only screen and (max-width: 800px) {
    .navbar div {
        font-size: 12px;
    }
    .logga {
        height: 60px;
        width: auto;
    }
    .footer {
        font-size: 15px;
    }
    .flex-faq {
        flex-direction: column;
        text-align: center;
    }
    .flex-faq div {
        margin-left: auto;
        margin-right: auto;
    }
    .flex-faq div div {
        min-height: 100px;
    }
    .faq-box p {
        font-size: 2vw;
        margin-left: 20px;
        margin-right: 20px;
    }
}