.body-event {
    font-family: Arial, sans-serif;
    margin: 0;
    padding: 0;
    background-color: #ffffff;
    color: #14201c;
    text-align: center;
}

h1, h2 {
    color: #114734;
    margin-bottom: 15px;
}

.container {
    display: flex;
    justify-content: center;
    gap: 20px;
    padding: 20px;
    max-width: 1200px;
    margin: auto;
    flex-wrap: wrap; /* Gör så att kolumnerna bryts på små skärmar */
}

.column {
    width: 45%;
    background: #f9f9f9;
    border-radius: 10px;
    padding: 15px;
    box-shadow: 0px 2px 6px rgba(0, 0, 0, 0.1);
    box-sizing: border-box;
    margin-bottom: 20px;
}
#extras a{
    color: #159b45;
}

/* Event och Place styling */
.event, .place, .extra {
    background: #fcfffd; /*#e6f2ec*/
    color: #114734;
    border-radius: 8px;
    padding: 15px;
    margin: 10px 0;
    cursor: pointer;
    transition: transform 0.2s, box-shadow 0.2s;
    font-size: 0.9em;
    display: flex;
    flex-direction: row; 
    justify-content: space-between;
    align-items: center;
    box-sizing: border-box;
    
    
    border: solid 1px #e1e1e1;
}

.event:hover, .place:hover, .extra:hover {
    transform: scale(1.03);
    box-shadow: 0px 2px 8px rgba(17, 71, 52, 0.3);
}

 /* Förhindrar scaling om det inte är ett klickbart event */
.event.no-link:hover, .place.no-link:hover, .extra.no-link:hover {
    transform: none;
    box-shadow: none;
}

/* Bildinställningar */
.event img, .place img, .extra img {
    width: 40%; /
    height: auto;
    object-fit: cover;
    border-radius: 8px;
    margin-right: 15px;
}

.no-image {
    background-color: #f0f0f0;
    color: #262626;
    border-radius: 8px;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    width: 40%; 
    height: auto;
    margin-right: 15px;
    font-size: 14px;
    height: 60px;
}

/* Innehållet bredvid bilderna */
.event-content, .place-content, .extra-content {
    text-align: left;
    width: 55%; 
}


@media (max-width: 768px) {
    .container {
        flex-direction: column;
        gap: 15px;
    }

    .column {
        width: 100%;
    }

    .event img, .place img, .extra img {
        width: 30%; 
        margin-right: 10px;
    }

    .event-content, .place-content, .extra-content {
        width: calc(100% - 40px); 
    }
}

@media (max-width: 480px) {
    h1 {
        font-size: 1.5em;
    }

    h2 {
        font-size: 1.2em;
    }

    .event, .place, .extra {
        font-size: 0.8em;
    }

    .event img, .place img, .extra img {
        width: 50px; 
        height: 50px;
        margin-right: 15px;
    }
}