/* for the dark theme mode */
/* payter ning :root rick */
/* color overall changes */
html{
    --bg-color: #effcff;
    --nav-bg-color: #00beee;
    --text-color: #111111;
    --text-muted: #666666;
    --text-hover: #ffffff;
    --card-bg: #00beee;
    --card-hover: #0096bc;
    --border-color: #004a5d;
    --bg-1: #00FFE1;
    --bg-2: #4AFFEE;
    --bg-3: #A8FFFD;
    --bg-11: #0a1f24;
    --bg-22: #004a5d;
    --bg-33: #006d77;
    --transition: all 0.3s ease;
    --animation-duration: 1s;
    scroll-behavior: smooth;
}

[data-theme="dark-mode"] {
    --bg-color: #111111;
    --nav-bg-color: #004a5d;
    --text-color: #f5f5f5;
    --text-muted: #a0a0a0;
    --text-hover: #008fb3;
    --card-bg: #004a5d;
    --card-hover: #002c37;
    --border-color: #002a34;
    --bg-1: #0a1f24;
    --bg-2: #004a5d;
    --bg-3: #006d77;
}

a{
    text-decoration: none;
}

body {
    font-family: Verdana;
    margin: 0 auto;
    background-color: var(--bg-color);
    background-image: linear-gradient(90deg, var(--bg-1), var(--bg-2), var(--bg-3), var(--bg-1));
    background-size: 600% 600%;
    animation: bgAnimatedGradient 15s linear infinite;
    transition: var(--transition);
}

@keyframes bgAnimatedGradient {
    0% {
        background-position: 0 85%;
    }

    50% {
        background-position: 100% 20%;
    }

    100% {
        background-position: 0 85%;
    }
}

@keyframes appear {
    from {
        opacity: 0;
        scale: 0.9;
    }
    to {
        opacity: 1;
        scale: 1;
    }
}

header {
    position: sticky;
    top: 0;
    z-index: 20;
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(165, 165, 165, 0.655);
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 100px;
}

nav .group-name{
    font-size: 24px;
    font-weight: bold;
}

nav .group-name, h1 {
    text-decoration: none;
    color: var(--text-color);
}

nav .links {
    margin-right: 50px;
}

nav .links a {
    text-decoration: none;
    color: var(--text-color);
    margin-right: 20px; 
}

nav .links a:hover {
    color: var(--text-muted);
    transform: scale(1.05);
    transition: var(--transition);
}
/* Dark Mode Button */

.dark_mode_btn{
    background-color: transparent;
    color: var(--text-color);
    border: 1px solid var(--border-color);
    border-radius: 4px;
    padding: 8px 16px;
    cursor: pointer;
    transition: var(--transition);
}

.dark_mode_btn:hover {
    background-color: var(--card-hover);
    border-color: var(--text-muted);
    transform: scale(1.05);
}

.container {
    padding: 20px;
    padding: 0 70px;
}

.content {
    display: flex;
    justify-content: center;
}

.content .welcome-message {
    margin-top: 150px;
    margin-bottom: 150px;
    text-align: center;
    font-size: 25px;
    color: var(--text-color);
}
/* geh balhin ra nahu ni */
.content .welcome-message, .content .group-info {
    animation: appear var(--animation-duration) ease-in-out;
}

.about {
    display: flex;
    justify-content: center;
    margin-top: 30px;
    margin-bottom: 80px;
}

.about .group-info {
    max-width: 900px;
    padding: 24px 30px;
    border: 1px solid var(--border-color);
    border-radius: 16px;
    background: rgba(255, 255, 255, 0.35);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.12);
    backdrop-filter: blur(8px);
    text-align: center;
    color: var(--text-color);
    animation: appear var(--animation-duration) ease-in-out;
}

.about .group-info p {
    font-size: 20px;
    line-height: 1.7;
    margin: 0 0 12px;
}

.divider {
    border: 1px solid var(--border-color);
    margin: 100px;
}

/* meet the team text */
.content .group-info p {
    text-align: justify;
    font-size: 25px;
    line-height: 1.6;
    margin-bottom: 20px;
    color: var(--text-color);

}


/* members section */

.members {
    margin-top: 320px;
    scroll-margin-top: 120px;
}
.members h4, h3{
    margin-top: 100px;
    text-align: center;
    color: var(--text-color);
    animation: appear var(--animation-duration) ease-in-out;
}
.members p {
    color: var(--text-color);
}
.member-container {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: center;
    width: auto;
    gap: 3em;
    padding: 20px;
    border-radius: 10px;
    margin-top: 100px;
    margin-bottom: 100px;
    animation: appear var(--animation-duration) ease-in-out;
}

.member-card {
    /* background-color: var(--card-bg); */
    border-radius: 10px;
    /* border: 3px solid var(--border-color); */
    padding: 15px;
    width: 300px;
    height: 350px;
    margin-bottom: 5rem;
    text-align: center;
    transition: var(--transition);
    position: relative;
    z-index: 1;

    display: flex;
    flex-direction: column;
}

.member-card img {
    width: 100%;
    height: 90%;
    object-fit: cover;
    border-radius: 10px;
    margin-bottom: 1rem;
}

.member-card h4 {
    margin-top: auto;
    margin-bottom: 0.5rem;
}
/* hover thang */
.member-card:hover {
    transform:scale(1.05);
    background-color: var(--card-hover);
    border-color: var(--text-muted);
    z-index: 2;
}