main{
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    min-height: 100vh;
    padding-top: 50px;
}
.events_name{
    margin-top: 35px;
    padding-bottom: 10px;
    text-align: center;
    color: #413960;
    font-weight: normal;
    font-size: 2.85rem;
    line-height: 1;
    font-weight: normal;
}
.event{
    display: flex;
    flex-direction: row;
    justify-content: flex-start;
    align-items: flex-start;
    gap: 45px;
    flex-shrink: 0;
    padding: 50px 0;
}
.event:not(:last-child){
    padding-bottom: 40px;
    border-bottom: 1px solid rgba(65, 57, 96, 0.2);
}
.event_img{
    width: 370px;
    min-width: 370px;
    height: 340px;
    border-radius: 15px;
    background-repeat: no-repeat;
    background-position: center;
    background-size: cover;
}
.event-info{
    width: auto;
}
.event_name{
    line-height: 1;
    margin-bottom: 15px;
    font-size: 26px;
}
.event_description{
    line-height: 1.1;
    padding-bottom: 15px;
    font-size: 18px;
}
.event_link{
    padding: 7px 20px;
    display: inline-block;
    margin: 20px 0 25px 0;
}
.event-footer{
  display: flex;
  flex-direction: row;
  justify-content: flex-start;
  align-items: baseline;
  gap: 50px;
}
.event-footer p{
  position: relative;
  padding-left: 30px;
  font-size: 18px;
}
.event-footer p::before{
  content: "";
  display: block;
  position: absolute;
  top: 0;
  left: 0;
  width: 25px;
  height: 25px;
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
}
.event-footer_date::before{
  background-image: url(../images/icons/calendar.png);
}
.event-footer_age::before{
  background-image: url(../images/icons/age.png);
}


/* адаптирование под экраны */
@media screen and (max-width: 1175px) {
    .container .container-inside{
        width: 95%;
    }
}
@media screen and (max-width: 855px) {
    .event_img{
        width: 290px;
        min-width: 290px;
        height: 250px;
    }
}
@media screen and (max-width: 750px) {
    .event_img{
        width: 190px;
        min-width: 190px;
        height: 150px;
    }
}
@media screen and (max-width: 680px) {
    .event{
        flex-direction: column;
        align-items: center;
    }
    .event_img{
        width: 350px;
        min-width: 350px;
        height: 320px;
    }
    .event_name{
        text-align: center;
    }
    .event-footer{
        justify-content: center;
    }
}

