body {
    padding: 0;
    margin: 0;
    /* background-color: black; */
    background-image: url(./bg5.png);
    
}

.contain {
    display: flex;
    flex-direction: row;
}

.section1 {
    
    border: 3px solid #FF10F0;
    border-left: none;
    border-top-right-radius: 50px;
    border-bottom-right-radius: 50px;
    display: flow;
    height: 37rem;
    width: 13rem;
    margin-top: 60px;
    background-color: rgba(82, 81, 81, 0.238);
    box-shadow: 5px white;
    padding-top: 25px;
    padding-right: 25px;
    transition: transform 0.3s ease;
    transform: translateX(0);
    z-index: 2;
    background: rgba(255, 255, 255, 0.2);
}

.block {
    margin: 1rem;
    height: 3rem;
    width: 11rem;
    /* background-color:  #FF10F0; */
    border-radius: 50px;
    display: flex;
    color: white;
    justify-content: center;
    align-items: center;
    font-size: 18px;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    font-weight: 700;
    cursor: pointer;
}

.block.active {
    
    border: 2px solid #FF10F0;
    box-shadow:  0 0 30px 1px rgba(255, 0, 255, 0.604),  
                inset 0 0 30px 1px rgba(255, 0, 255, 0.604); 

}

#card-container {
    justify-content: space-around;
    width: 100%;
    padding: 50px;
    margin-top: 60px;
    margin-left: 120px;
}

.card {
    width: 20rem;
    height: 20rem;
    margin: 10px;
    display: inline-block;
    text-align: center;
    line-height: 200px;
    font-size: 18px;
    border-radius: 10px;
    color: black;
    padding: 20px;
}

.co-card, .mem-card {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-around;
    margin-bottom: 50px;

}

@keyframes fadeOut {
    0% {
        opacity: 1;
        transform: scale(1);
    }
    100% {
        opacity: 0;
        transform: scale(0.9);
    }
}

@keyframes fadeIn {
    0% {
        opacity: 0;
        transform: scale(0.9);
    }
    100% {
        opacity: 1;
        transform: scale(1);
    }
}

.fade-out {
    animation: fadeOut 0.5s forwards;
}

.fade-in {
    animation: fadeIn 0.5s forwards;
}

.card.fade-in {
    animation-delay: 0.5s;
}


.menu-icon {
    display: none;
    position: absolute;
    top: 10px;
    left: 10px;
    font-size: 24px;
    cursor: pointer;
    color: white;
}

.menu-active {
    transform: translateX(0); 
}

@media (max-width: 768px) {
    .contain {
        flex-direction: column;
    }

    .section1 {
        position: absolute;
        top: 0;
        left: 0;
        width: 190px;
        transform: translateX(-100%);
        transition: transform 0.3s ease;
    }

    .menu-icon {
        display: block;
    }

    .section1.menu-active {
        transform: translateX(0); 
    }
}

@media (min-width: 769px) {
    .menu-icon {
        display: none;
    }
}
