.event-container{
    height: 90vh !important;
    width: 100vw;
    
    background-color: white;
}

.event-container .events{
    margin: auto;
    margin-top: 5%;
    margin-bottom: 5%;

    height: 70%;
    width: 90%;
   /* border: 2px solid black; */
    display: flex;
    
    align-items: center;
    overflow-x: scroll;
    overflow-y: hidden;
}



.event-item{
    position: relative;
    min-width: 300px;
    max-width: 450px;
    width: 30%;
    height: 90%;
    outline: 2px solid rgb(153, 33, 33);
    border-radius: 8px;
    margin-left: 5%;
    padding: 0;
    overflow: hidden;
    transition: .5s;
    

}
.event-item img{
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    
}
.event-item:last-child{
    margin-right: 5%;
}

.event-content{
    position: relative;
    height: 100%;
    width: 100%;
    opacity: 90%;
    z-index: 100;
    
    
    
}

.event-text{
    height: 0;
    width: 100%;
    color: rgb(32, 32, 32);
    padding: 0;
    overflow: hidden;
    transition: 1s;
    background-color: white;
    
    
}

.event-text p{
    padding: 2%;
}

.event-item:hover .event-text{
    height: 100%;
    transition: 1s;
    
}

.event-item:hover {
    transform: scale(1.05);
    transition: .5s;
    
}



.event-head{
    display: flex;
    justify-content: center;
    align-items: center;
    font-weight: bold;
    
    width: 100%;
    height: 15%;
    background-color: white;
    border-top-left-radius: 8px;
    border-top-right-radius: 8px;
    z-index: 100;
    z-index: 80%;
    /* position: absolute;
    top: 0;
    left: 0; */
}

.event-border{
    margin: auto;
    background-color: white;
    width: 100%;
    outline: 1px solid black;
    transition: 1s;
    
}

.event-item:hover .event-border{
    width: 80%;
    transition: 1s;
    outline: 1px solid rgb(184, 7, 35);
}

.event-body {
    width: 100%;
    height: 100%;
   opacity: 45%;
}

.event-header{
    margin-top: 0;
}

.date{
    position: absolute;
    bottom: 1%;
    left: 1%;
    width: 100px;
    height: 100px;
    background-color: rgb(184, 7, 35);
    border-radius: 100%;
    z-index: 90 ;
    display: flex;
    justify-content: center;
    align-items: center;
    transform: rotate(45deg);
    color: white;
}
