.content {
    z-index: 1;
}
.title {
    font-family: 'Gelasio', serif;
    font-size: 60px;
    line-height: 92px;
    text-align: left;
    color: #15152d;
    margin: 0;
}
.event-list {
    position: relative;
    top: 85px;
}
.event {
    height: 260px;
    background-color: #E8EEEF;
    margin: 20px 0;
    border-radius: 20px;
    display: grid;
    grid-template-columns: 315px auto 230px;
    grid-template-rows: 92px auto 80px;
}
.event-img {
    width: 315px;
    height: 240px;
    margin: 10px;
}
.event-img img {
    width: 315px;
    height: 240px;
    border-radius: 20px;
    object-fit: cover;  
}
.event-title {
    width: fit-content;
    height: fit-content;
    font-family: 'Gelasio', serif;
    font-size: 30px;
    line-height: 46px;
    text-align: left;
    color: #15152d;
    margin: 10px 30px;
    grid-column: span 2;
}
.event-text {
    font-family: 'Albert Sans', sans-serif;
    font-size: 16px;
    line-height: 19px;
    color: #000035;
    margin: 0 30px;
    height: 75px;
    overflow: hidden;
    text-overflow: ellipsis;
    grid-column-start: 2;
    grid-column-end: 4;

}
.date {
    width: 100%;
    max-width: fit-content;
    background-color: white;
    border-radius: 1em;
    padding: 10px;
    height: fit-content;
    display: flex;
    flex-wrap: wrap;
    grid-column-start: 2;
    margin: 0 30px;
}
.datum,
.nap {
    font-family: 'Gelasio', serif;
    font-size: 20px;
    line-height: 26px;
    text-align: left;
    color: #15152d;
    margin: 0;
}

.idopont {
    font-family: 'Albert Sans', sans-serif;
    font-size: 18px;
    line-height: 22px;
    color: #15152d;
    margin: 0;
    flex-basis: 50%;
}
.button {
    width: 214px;
    height: 55px;
    background-color: #15152d;
    font-family: 'Albert Sans', sans-serif;
    font-weight: 700;
    font-size: 18px;
    line-height: 22px;
    text-align: center;
    color: white;
    text-transform: uppercase;
    border-radius: 4px;
    margin: 10px 0;
    cursor: pointer;
}
.sponsors {
    top: 200px;
    left: 20px;
    z-index: 1;
}
.green-people {
    position: relative;
    top: 50px;
    left: -42px;
    z-index: 1;
}
.footer {
    top: 0;
}
.leaves {
    position: relative;
    top: 50%;
    left: 30%;
    width: 0;
    height: 0;
}
.leaf {
    position: absolute;
    top: 0;
    left: 0;
    z-index: 1;
}
.leaf1 {
    top: -190px;
    left: 550px;
    transform: scale(0.8);
}
.leaf2 {
    top: -120px;
    left: 350px;
    transform: scale(0.9);
}
.leaf3 {
    top: 0px;
    left: 410px;
    transform: rotate(-20deg);
}
.leaf4 {
    top: 140px;
    left: 200px;
    transform: rotate(-30deg) scale(1.2)
}
.leaf5 {
    top: 140px;
    left: 470px;
    transform: rotate(-20deg) scale(0.6);
}
.leaf6 {
    top: 420px;
    left: 145px;
    transform: rotate(100deg) scale(0.9);
}
.leaf7 {
    top: 440px;
    left: 450px;
    transform: rotate(-70deg);
}
.leaf8 {
    top: 600px;
    left: 470px;
    transform: rotate(-90deg) scale(0.7);
}
.leaf9 {
    top: 510px;
    left: 620px;
    transform: rotate(-80deg) scale(1.3);
}
.leaf10 {
    top: 800px;
    left: 600px;
    transform: rotate(-80deg) scale(1.7);
}
.leaf11 {
    top: 700px;
    left: 720px;
    transform: rotate(-50deg) scale(0.5);
}
.leaf12 {
    top: 700px;
    left: 900px;
    transform: rotate(-50deg) scale(0.8);
}
.leaf13 {
    top: 820px;
    left: 850px;
    transform: rotate(-60deg) scale(0.7)
}
.leaf14 {
    top: 1020px;
    left: 1050px;
    transform: rotate(-30deg) scale(1.8);
}
.leaf15 {
    top: 1160px;
    left: 800px;
    transform: scale(1.4);
}
.leaf16 {
    top: 1020px;
    left: 700px;
    transform: rotate(-80deg) scale(0.6);
}
.leaf17 {
    top: 1400px;
    left: 750px;
    transform: rotate(15deg) scale(2);
}
.leaf18 {
    top: 1500px;
    left: 950px;
    transform: rotate(10deg) scale(1);
}
.leaf19 {
    top: 1500px;
    left: 450px;
    transform: rotate(30deg) scale(0.8);
}
.leaf20 {
    top: 1600px;
    left: 750px;
    transform: rotate(10deg) scale(0.5);
}

@media (min-width: 1921px) {
    .sponsors {
        left: 0;
        max-width: 100vw;
    }
    .logos {
        left: 10vw;
    }
    .logos img {
        margin-right: 2vw;
    }
    .leaves {
        top: 20%;
    }
}
@media (max-width: 1700px) {
    .content {
        max-width: 80%;
    }
    .logos {
        left: 150px;
    }
}
@media (max-width: 1100px) {
    .event-list {
        top: 55px;
    }
    .event {
        grid-template-columns: 30% auto 230px;
    }
    .event-img,
    .event-img img{
        width: 100%;
    }
    .event-title {
        font-size: 3.3vh;
        line-height: 4.5vh;
    }
    .datum, .nap {
        font-size: 2.2vh;
    }
    .idopont {
        font-size: 1.9vh;
    }
    .button {
        width: 15vw;
        height: 7vh;
        font-size: 2vh;
        margin: 10px 50px;
    }
    .green-people {
        transform: scale(0.75);
        top: 100px;
        left: -135px;
    }
    .tamogatok {
        left: 30px;
    }
    .logos {
        left: 0;
    }
    .leaves {
        left: 5%;
    }
}
@media (max-width: 900px) and (orientation: portrait) {
    .content {
        max-width: 90%;
        top: 0;
    }
    .event {
        grid-template-rows: auto auto 25%;
        height: 350px;
        margin: 40px 0;
    }
    .event-img,
    .event-img img {
        height: 97%;
        grid-row-start: 1;
        grid-row-end: 4;
    }
    .event-title {
        font-size: 2.5vh;
        line-height: 3vh;
    }
    .event-text {
        height: auto;
        font-size: 2vh;
        line-height: 3vh;
    }
    .date {
        margin-right: 0px;
        margin-left: 30px;
    }
    .datum, .nap {
        font-size: 2vh;
    }
    .idopont {
        font-size: 1.5vh;
    }
    .button {
        width: 20vw;
        height: 5vh;
        font-size: 1.5vh;
    }
}
@media (max-width: 920px) and (max-height: 450px) and (orientation: landscape) {
    .logo,
    .logo img {
        margin-top: 0;
        margin-left: 0;
        transform: scale(0.8);
    }
    .event {
        grid-template-columns: 30% auto 30%;
        height: 300px;
    }
    .event-img,
    .event-img img {
        height: 97%;
        grid-row-start: 1;
        grid-row-end: 4;
    }
    .event-title {
        font-size: 6vh;
        line-height: 8vh;
        height: auto;
    }
    .event-text {
        height: auto;
        font-size: 4.5vh;
        line-height: 6vh;
    }
    .date {
        margin-left: 30px;
        margin-right: 0;
    }
    .datum, .nap {
        font-size: 4.5vh;
    }
    .idopont {
        font-size: 3.8vh;
    }
    .button {
        width: 18vw;
        height: 10vh;
        font-size: 4vh;
        margin: 10px 30px;
    }
    .logos {
        top: 20px;
    }
    .green-people {
        transform: scale(0.6);
        top: 140px;
    }
}
@media (max-width: 550px) {
    .logo, 
    .logo img {
        transform: scale(0.85);
        margin-top: 0;
        margin-left: 0;
    }
    .title {
        font-size: 6vh;
    }
    .event {
        display: flex;
        flex-direction: column;
        height: 80vh;
    }
    .event-img,
    .event-img img {
        width: 97%;
        height: 200px;
    }
    .event-title {
        width: 97%;
        margin: 10px 0 0 10px;
        font-size: 2.5vh;
        line-height: 3.5vh;
    }
    .event-text {
        margin: 0 10px;
    }
    .date {
        width: 100%;
        display: flex;
        margin: 21px 10px;
        max-width: 94%;
        gap: 1px;
    }
    .idopont {
        font-size: 1.8vh;
    }
    .button {
        width: 60vw;
        height: 7vh;
        font-size: 2.2vh;
    }
    .sponsors {
        left: 0;
    }
    .green-people {
        transform: scale(0.6);
        top: 110px;
        left: -100px;
    }
    .leaves {
        left: -120%;
        top: 30%;
    }
}