#event-page-details {
    width: 100%;
    background: #0d0c1a2f;
}
#event-types-info {
    display: grid;
    grid-template-columns: 1fr;
    padding: 100px 0;
    gap: 50px;
}
#typeofevent {
    display: grid;
    grid-template-columns: 1fr 1fr;
    margin: 50px 100px;
    justify-content: space-between;
    align-items: center;
    gap: 50px;
}
#typeofevent:nth-child(even) {
    direction: rtl;
}
#event-img img {
    max-width: 800px;
    margin: 50px 0;
    transition: 1s ease;
}
#event-img img:hover {
    filter: grayscale(1);
}
#solo-event-info {
    margin: 50px 0;
}
@media(max-width:729px) {
    #typeofevent {
        grid-template-columns: 1fr;
        margin: 10px 10px;
        gap: 20px;
    }
    
    #event-img img {
        width: 100%;
    }
    
    #solo-event-info {
        margin: 15px 0;
    }
}
@keyframes fadeIn {
    0% {
        opacity: 0;
    }
    
    100% {
        opacity: 1;
    }
}
@keyframes slideInFromLeft {
    0% {
        transform: translateX(-100%);
    }
    
    100% {
        transform: translateX(0);
    }
}
@keyframes slideInFromRight {
    0% {
        transform: translateX(100%);
    }
    
    100% {
        transform: translateX(0);
    }
}
#texture {
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: center;
    justify-items: end;
    background-color: #1416225d;
    padding: 40px 30px;
    margin-bottom: 100px;
    animation: fadeIn 1.5s ease-in-out;
}
#texture h3 {
    font-size: 20px;
    opacity: 100%;
    animation: slideInFromLeft 1s ease-out;
}
#part a {
    opacity: 100%;
    padding: 10px 20px;
    border-radius: 20px;
    font-weight: 600;
    border: 2px solid rgb(255, 0, 191);
    color: rgb(0, 0, 0);
    animation: slideInFromRight 1s ease-out;
}
#texture1 {
    display: flex;
    align-items: center;
    justify-content: space-evenly;
    margin: 0 0 20px 0;
}
#event-txt1 {
    object-fit: cover;
    padding: 20px;
    max-width: 600px;
    animation: fadeIn 1.5s ease-in-out;
}
#bord {
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(255, 255, 255, 0.178);
    padding: 5px;
}
#bord img {
    width: 100%;
    height: auto;
    object-fit: cover;
    transition: 1.5s ease;
}
#bord img:hover {
    filter: grayscale(1);
}
#event-txt1 h2 {
    font-size: 22px;
    opacity: 100%;
    animation: slideInFromLeft 1s ease-out;
}
#event-txt1 p {
    text-align: justify;
}
#event-txt1 h5 {
    font-size: 17px;
    opacity: 100%;
    animation: slideInFromRight 1s ease-out;
}
#rules {
    display: block;
    align-items: flex-start;
    margin: 30px 10px;
}
#rules a {
    color: rgb(0, 0, 0);
    font-size: 20px;
    animation: fadeIn 2s ease-in-out;
}
#rules h6 {
    color: rgb(0, 0, 0);
    font-size: 16px;
    opacity: 100%;
    font-weight: 300;
    line-height: 30px;
    animation: fadeIn 2s ease-in-out;
}

#participate-button {
    margin: 25px 0;
    text-align: center;
}

.animated-button {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 15px 30px;
    background: linear-gradient(135deg, #ffffff9a, #ffffff);
    color: rgb(255, 255, 255);
    text-decoration: none;
    font-size: 1.1rem;
    font-weight: 600;
    border-radius: 5px;
    border: none;
    cursor: pointer;
    overflow: hidden;
    transition: all 0.3s ease;
    /* box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2); */
    border: 1px solid #666666;
}

.animated-button i {
    font-size: 1.2rem;
    transition: all 0.3s ease;
}

.animated-button:hover {
    transform: translateY(-3px);
    /* box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3); */
    background: linear-gradient(135deg, #ffffff, #ffdff1);
    color: white;
    border: 1px solid #bababa;
}

.animated-button:hover i {
    transform: scale(1.1);
}

.animated-button::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: 0.5s;
}

.animated-button:hover::before {
    left: 100%;
}

.participate-button a{
    color: white;
}

@media (max-width: 968px) {
    .animated-button {
        padding: 12px 25px;
        font-size: 1rem;
        
    }
    #texture1 {
        display: flex
    ;
        align-items: center;
        justify-content: space-evenly;
        margin: 0 0 20px 0;
        flex-direction: column;
    }
}

@media (max-width: 480px) {
    .animated-button {
        padding: 10px 20px;
        font-size: 0.9rem;
        gap: 8px;
    }
    
    .animated-button i {
        font-size: 1rem;
    }
}