
html,body{
    width: 100%;
}

#hero{
    width: 100%;
    height: 400px;
    display: flex;
    align-items: end;
    justify-content: flex-start;
    background-size: cover;
    background-image: url(images/Events.jpg);
    background-position: top;
    background-attachment: fixed;
    animation: move 60s ease infinite;
}

#hero h1{
    font-size: 2rem;
    color: #fff;
}

@keyframes move {
    0%{
        background-position: 0 0;
    }
    50%{
        background-position: 40% 40%;
    }
    100%{
        background-position: 0 0;
    }
}
#hero .hero-content{
    text-align: center;
    color: #fff;
    border-radius: 12px;
    padding: 24px;
    background: rgba(255, 115, 1, 0.521);
    backdrop-filter: blur(4px);
    border-bottom: 5px solid rgb(255, 133, 18);
    box-shadow: 0px 4px 15px rgba(31, 31, 31, 0.473);
}

.News{
    width: 100%;
    max-width: none;
    display: flex;
    flex-direction: column;
    gap: 30px;
    position: relative;
}

.NewEvent01{
    width: 100%;
    height: 400px;
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    border-radius: 22px;
    background-size: cover;
    padding: 2rem;
}

.NewEvent01 .news-content{
    width: 50%;
    background: rgba(0, 0, 0, 0.404);
    padding: 1.5rem;
    border-radius: 20px;
    display: flex;
    flex-direction: column;
    align-items: left;
    justify-content: left;
    color: #fff;
    border-bottom: 5px solid black;
    backdrop-filter: blur(1px);
}

.NewEvent01 .news-content h2{
    font-size: 1.2rem;
}

.status{
    width: 140px;
    padding: 8px 16px;
    background: rgb(243, 106, 56);
    border-radius: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
}

.controls{
    position: absolute;
    bottom: -20px;
    left: 50%;
    background: white;
    padding: 8px;
    border-radius: 10px;
}

.controls button{
    border: none;
    padding: 8px 10px;
    background: #fff;
    box-shadow: 0px 2px 5px #ddd;
    border-radius: 100%;
}

/* NewEvent */

.NewEvent{
    width: 100%;
    display: flex;
    justify-content: center;
    gap: 50px;
}

.news-bouble{
    width: 100%;
    display: flex;
    justify-content: center;
    gap: 50px;
    margin-block: 2rem;
    padding: 16px;
    border-radius: 12px;
    box-shadow: 0px 3px 12px rgba(137, 43, 226, 0.295);
}

.news-bouble .NewEvent{
    width: 100%;
    gap: 10px;
}

.news-bouble .NewEvent:nth-child(2){
    width: 100%;
    flex-direction: row-reverse;
    gap: 10px;
    border-left: 1px solid #ddd;
    padding-left: 30px;
}

.news-bouble .NewEvent .imagez{
    flex: 2;
    width: 100%;
}

.news-bouble .NewEvent p{
   display: block;
}

.news-bouble .NewEvent .news-content{
   box-shadow: none;
}

/* EB-top */
.EB-top{
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    gap: 10px;
    padding: 1rem 0rem;
}

.EB-top h1{
    color: rebeccapurple;
    font-size: 2rem;
}

.EB-top p{
    font-weight: 600;
}
/* EB-top */

.imagez{
    flex: 0.5;
    width: 200px;
    height: 200px;
    background-position: center;
    background-size: cover;
    border-radius: 12px;
    overflow: hidden;
}

.NewEvent .news-content{
    flex: 2;
    display: flex;
    flex-direction: column;
    gap: 10px;
    box-shadow: 0px 3px 12px rgba(137, 43, 226, 0.322);
    padding: 24px;
    border-radius: 12px;
}

.NewEvent .news-content h2{
    font-size: 1rem;
    color: blueviolet;
}

.news-action{
    width: 250px;
    border-radius: 24px;
    padding: 6px 12px;
    display: flex;
    gap: 20px;
    align-items: center;
    box-shadow: 0px 0px 4px #ddd;
}

.news-action small{
    border-right: 1px solid #ddd ;
    padding-right: 16px;
}
.news-action a{
    text-decoration: none;
    color: rgb(245, 168, 67);
}
