body {    
    background: rgba(0,0,0,0.6);
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    margin: 0;
    background: url("bakgrunn.jpg") no-repeat center center fixed;
    background-size: cover;


}
body > div {
    flex: 1;
    display: flex;
    flex-direction: column;
}
footer {
    margin-top: auto;
    background: #f8f8f8;
    padding: 1em 0;
    text-align: center;
    background: rgba(255,255,255,0);

}
.meny {
    display: grid;
    justify-content: center;
    margin-left: auto;
    margin-right: auto;
    margin-top: 20vh;             
    width: 50wv;

}
.meny > a {
    padding: 30px;
    border: 1.5px solid black;
    border-radius: 5px;
    margin: 3vh;
    width: 40vw;
    font-size: x-large;
    text-align: center;
    text-decoration: none;
    color: black;
}

.meny > a:hover {
    background: rgba(0,0,0,0.15);
}
@media (max-width:600px) {
    .meny {
        width: 90wv;
        margin-top: 20vh;
    }
    .meny > a {
        width: 90vw;
        padding: 14px;
        padding-top: 30px;
        padding-bottom: 30px;
    }
}

.pamelding-btn {
    display: block;
    margin: 6vh auto 3vh auto;
    padding: 1em 2.5em;
    font-size: 1.2em;
    background: #222;
    color: #fff;
    border: none;
    border-radius: 8px;
    box-shadow: 0 2px 12px rgba(0,0,0,0.08);
    cursor: pointer;
    transition: background 0.2s, transform 0.2s;
}
.pamelding-btn:hover {
    background: #444;
    transform: translateY(-2px) scale(1.03);
}
.modal-bg {
    position: fixed;
    top: 0; left: 0; right: 0; bottom: 0;
    background: rgba(0,0,0,0.4);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1000;
}
.modal {
    background: #fff;
    padding: 2em 2em 1em 2em;
    border-radius: 10px;
    box-shadow: 0 4px 32px rgba(0,0,0,0.2);
    min-width: 300px;
    position: relative;
    text-align: center;
}
.modal input {
    display: block;
    width: 90%;
    margin: 1em auto;
    padding: 0.7em;
    border-radius: 5px;
    border: 1px solid #ccc;
    font-size: 1em;
}
.modal button {
    padding: 0.7em 2em;
    border: none;
    border-radius: 5px;
    background: #222;
    color: #fff;
    font-size: 1em;
    cursor: pointer;
}
.close {
    position: absolute;
    right: 1em;
    top: 1em;
    font-size: 2em;
    color: #888;
    cursor: pointer;
}
.close:hover {
    color: #222;
}
.festival-container {
    background: rgba(255,255,255,0.7);
    max-width: 1200px;
    margin: 0 auto 40px auto;
    padding: 2em 3em;
    border-radius: 12px;
    box-shadow: 0 4px 32px rgba(0,0,0,0.07);
}

.topp {
    display: grid;
    grid-template-columns: 1fr 2fr 1fr;
}

.topp img{
    margin-top: 50px;
    max-width: 250px;
    border-radius: 15px;
    overlay: rgba(255,255,255,0.3);
}
.festival-header {
    text-align: center;
    margin-bottom: 2em;
}
.festival-header h1 {
    font-size: 2.5em;
    margin-bottom: 0.2em;
}
.festival-header h2 {
    font-size: 1.3em;   
    color: #000;    
    margin-bottom: 1e   m;
}
.festival-lead {
    font-size: 1.2em;
    color: #000;
    margin-bottom: 0;
}
.festival-info {
    font-size: 1.1em;
    margin-bottom: 2em;
}
.festival-details {
    display: flex;
    flex-wrap: wrap;
    gap: 1.5em;
    justify-content: center;
}
.festival-card {
    background: rgba(255,255,255,0.7);
    border-radius: 10px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.04);
    padding: 1.2em 1.5em;
    min-width: 240px;
    max-width: 340px;
    flex: 1 1 260px;
}
.festival-card h4 {
    margin-top: 0;
    color: #222;
}
.festival-card ul {
    padding-left: 1.2em;
    margin: 0.5em 0 0 0;
}
.festival-card li {
    margin-bottom: 0.5em;
}
@media (max-width: 900px) {
.festival-details {
    flex-direction: column;
    align-items: center;
}
.festival-card {
    width: 100%;
    max-width: 100%;
}
}
