.group-main {
    display: flex;
    flex-direction: column;
    /* align-items: center; */
    gap: 1.5rem;
}

.group-head {
    background: white;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1.5rem 3rem;
    border-radius: 10px;
    border: 1px solid #ddd;
}

.group-head .group-heading {
    font-family: Inter, sans-serif;
    font-size: 30px;
    font-weight: bold;
}

.group-head .create-company-group {
    border: 2px solid #0a66c2;
    padding: 5px 10px;
    border-radius: 20px;
}

.group-head .create-company-group .create-company-bt-text {
    color: #0a66c2;
    font-family: Inter, sans-serif;
    font-weight: bold;
}

/* recent group list */
.recent-group-list {
    background: white;
    border-radius: 10px;
    border: 1px solid #ddd;
    padding: 1.5rem 3rem;
    display: flex;
    gap: 1.5rem;
    flex-direction: column;
}

.recent-group-head {
    display: flex;
    align-items: center;
    gap: 1.3rem;

}

.recent-group-heading {
    font-size: 30px;
    font-family: Inter, sans-serif;
    font-weight: bold;
}

.recent-group-all-btn {
    font-size: 23px;
    font-family: Inter, sans-serif;
    color: gray;
    font-weight: bold;
}

.single-recent-group-container a,
.single-recent-group-container button {
    display: flex;
    gap: 1.2rem;
    align-items: center;
}

.single-recent-group-container .recent-event-card {
    background-color: white;
    border: none;
}

.group-list-image img {
    width: 7.4rem;
    height: 8rem;
    border-radius: 10px;
}

.single-group-content {
    display: flex;
    flex-direction: column;
    gap: 0px;
}

.group-title {
    margin-bottom: 2px;
    font-size: 15px;
    font-weight: bold;
    color: black;
    font-family: Inter, sans-serif;
}

.group-title:hover {
    text-decoration: underline;
}

.group-type,
.group-description {
    color: rgb(58, 58, 58);
    font-family: Inter, sans-serif;
    font-size: 14px;
    margin-bottom: 2px;
}

.group-deactive-btn {
    border: 2px solid #0a66c2;
    border-radius: 20px;
    color: #0a66c2;
    padding: .3rem .7rem;
    font-size: 16px;
    background-color: white;
    font-weight: bold;
}

.group-deactive-btn:hover {
    background-color: #0a66c22c;
    transition: .3s ease;
}

.all-groups {
    background-color: white;
    border-radius: 20px;
    border: 1px solid #ddd;
    padding: 1rem;

}

.all-groups header {
    padding: 1rem 1rem 3.5rem 3rem;
}

.all-groups header .group-heading {
    font-size: 30px;
}

.group-card-container {
    background-color: #EFF2F6;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-gap: 10px;
    overflow: hidden;
}

.group-card {
    background-color: white;
    border-radius: 10px;
    border: 1px solid #ddd;
    position: relative;
    height: 22rem;
}

.group-card-img {
    width: 100%;
    border-radius: 10px 10px 0px 0px;
    height: 11rem;
    position: absolute;
    top: 0;
}

.group-card-content {
    padding: 1rem;
    display: flex;
    flex-direction: column;
    gap: 0px;
    margin-top: 7rem;
}



.group-card-content-titles {
    display: flex;
    flex-direction: column;
}

.group-card-content-titles .group-card-titles-link {
    margin: 0px;
    display: flex;
    flex-direction: column;
    gap: 0rem;
}

.group-card-content-titles .group-card-titles-link p:nth-child(2) {
    color: black;
    font-size: 16px;
}

.group-card-description {
    margin-top: -15px;
    color: black;
    font-size: 14px;
    font-weight: bold;

}

.group-card-description span {
    overflow: hidden;
}

.group-card-titles-link .group-card-title {
    font-size: 20px;
    color: black;
    font-family: Inter, sans-serif;
}

.group-card-join-btns-outer-div {
    padding: 0px;
}

.group-card-join-btns-inner-div {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.group-join-btn,
.group-view-btn {
    border: 2px solid #0a66c2;
    color: #0a66c2;
    font-weight: bold;
    border-radius: 20px;
    padding: .2rem 1rem;
}

.group-view-btn {
    padding: .3rem 1.3rem;
}

.group-join-btn:hover,
.group-view-btn:hover {
    background-color: #0a66c246;
    transition: .3s ease;
}

/* event start */
.attendees {
    margin-top: -20px;
    margin-bottom: 10px;
}

.attendee-details {
    display: flex;
    gap: 5px;
}

.attendee-details ul {
    list-style: none;
}

.attendee-details ul li img {
    border-radius: 50%;
}

.attendee-name {
    font-size: 12px;
}

.attendee-view-btn {
    border: 1px solid #0a66c2;
    border-radius: 20px;
    padding: 2px 10px;
}

.attendee-view-btn:hover {
    background-color: #0a66c246;
    transition: .3s ease;
}

/* event end */
@media(min-width:1024px) {
    .event-card-for-size {
        height: 24rem;
    }
}

@media(max-width: 767px) {
    .group-card-container {
        grid-template-columns: repeat(2, 1fr);
    }

    .group-card-content {
        margin-top: 3rem;
    }

    .group-card {
        height: 24rem;
    }

    .recent-group-heading {
        font-size: 25px;
        font-family: Inter, sans-serif;
        font-weight: bold;
    }

    .recent-group-all-btn {
        font-size: 20px;
        font-family: Inter, sans-serif;
        color: gray;
        font-weight: bold;
    }

    .all-groups header .group-heading {
        font-size: 23px;
    }
}

@media(max-width:539px) {
    .group-card-container {
        grid-template-columns: repeat(1, 1fr);

    }

    .group-head {
        padding: 1.5rem 1rem;
    }

    .all-groups header {
        padding: 1rem 1rem 3.5rem 2rem;
    }

    .recent-group-list {
        padding: 1.5rem 1rem;

    }

    .recent-group-head {
        justify-content: space-between;

    }

}