@font-face {
    font-family: Shrikhand;
    src: url(/src/font/Shrikhand-Regular.ttf);
}

@import url('https://fonts.googleapis.com/css2?family=Parkinsans:wght@300..800&display=swap');


/*About*/
/*4:14PM moved to about.css*/

/*General Styles*/

.about h1,
.about h2 {
    text-align: center;
    margin: 20px 0;
}

.about p {
    text-align: center;
    margin: 0 20px;
}

/* Header Section */
.about .header {
    text-align: center;
    padding: 20px;
}

/* Container for logo and text */
.about-container {
    display: flex;
    /* Align items horizontally */
    align-items: center;
    /* Vertically align items */
    justify-content: center;
    /* Center both elements */
    gap: 20px;
    max-width: 800px;
    /* Optional: Limit the total width */
    margin: 0 auto;
    /* Center the container on the page */
}

/* Logo */
.abt-img {
    width: 440px;
    /* Adjust logo width*/
    height: 300px;
    /* Adjust logo height */
    border-radius: 50%;
    /* Make it circular */
}

/* Text */
.about-text {
    text-align: left;
    /* Align the text to the left */
}

.about-text h1 {
    color: yellow;
}

.description {
    max-width: fit-content;
    /* Optional: Limit description width */
    line-height: 1.6;
    font-size: 20px;
    padding: 10px;
    font-family: parkinsans;
    color: white;
}


/* Meet the Developers Section */
.developers {
    text-align: center;
    margin: 50px 0;
    font-family: Arial, sans-serif;
}

.developers h2 {

    background-color: #222;
    border-radius: 15px;
    margin: 10px;
    margin-left: 22px;
    margin-right: 15px;
    width: 33em;
    height: 70px;
    font-size: 3.5em;
    color: rgb(235, 158, 16);
    margin-bottom: 40px;
    font-family: shrinkhand;

}

.developer-grid {
    display: flex;
    justify-content: space-around;
    flex-wrap: wrap;
    gap: 1px;
}

.developer-card {
    width: 260px;
    height: 40vh;
    background-color: #ffffff;
    border-radius: 15px;
    border: solid 2px #ffb310;
    box-shadow: 0 0 15px rgba(252, 164, 2, 0.5);
    text-align: center;
    transform: perspective(800px) rotateY(10deg);
    transition: transform 0.3s ease-in-out, box-shadow 0.3s ease-in-out;
}

.developer-card:hover {
    transform: perspective(800px) rotateY(0deg) translateY(-10px);
    /* 3D hand-held effect */
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.2);
    /* Enhanced shadow on hover*/
}

.card-content {
    padding: 20px;
}

.picture {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    overflow: hidden;
    margin: 0 auto;
    border: solid 2px #000000;
    box-shadow: 0 0 15px rgba(252, 164, 2, 0.5);
}

.picture img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.description h3 {
    margin-top: 8px;
    font-size: 1em;
    color: #333;
    background: url();

}

.description span {
    display: block;
    margin-top: 3px;
    font-weight: bold;
    color: #666;
}

.description p {
    font-size: 0.7em;
    color: #666;
    margin-top: 3px;
    font-weight: bold;

}


/* The 3-1 Officers Section 
.officers h2 {
    font-size: 3.5em;
    color: #fcb61f;
    margin-bottom: 40px;
    font-family: shrinkhand;
}

.officers {
    text-align: center;
    padding: 20px;
}

.officers h2 {
    font-size: 2.5rem;
    color: #fcb61f;
    margin-bottom: 30px;
    text-transform: uppercase;
}

/* Grid Layout 
.officer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); /* Responsive grid 
    gap: 20px;
    margin: 0 auto;
    padding: 0 10px;
}*/

/* Card Style 
.officer-card {
    position: relative;
    background-color: #fff;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;

    border: solid 2px #ffb310;
    box-shadow: 0 0 15px rgba(252, 164, 2, 0.5);
}

.officer-card .picture {
    height: 50%;
    overflow: hidden;
    position: relative;
}

.pictures img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-bottom: 2px solid #fff;
    /* Optional styling for separation 
}

.officer-card .description {
    height: 40%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    color: black;
}*/

/*GAWA NI VIC AT NI ANDREW*/

.officers h4 {
    margin-top: 50px;
    background-color: #222;
    border-radius: 15px;
    padding: 1vhpx 2vh;
    width: 100%;
    color: rgb(235, 158, 16);
    font-size: 3.5em;
    font-family: 'shrinkhand';
    font-weight: 900;
    text-align: center;
}

.team-container {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    padding: 20px;
}

.team-member {
    background-color: rgb(255, 255, 255);
    color: black;
    border-radius: 10px;
    margin: 10px;
    margin-left: 40px;
    margin-right: 40px;
    padding: 10px;
    width: 250px;
    height: 400px;
    border: solid 2px #ffb310;
    box-shadow: 0 0 15px rgba(252, 164, 2, 0.5);
    transform: perspective(800px) rotateY(10deg);
    transition: transform 0.3s ease-in-out, box-shadow 0.3s ease-in-out;
}

.team-member:hover {
    transform: perspective(800px) rotateY(0deg) translateY(-10px);
    /* 3D hand-held effect */
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.2);
    /* Enhanced shadow on hover*/
}

.team-member img {
    width: 100%;
    /* Ensure the image fits the container width */
    height: 50%;
    /* Set a fixed height for consistency */
    object-fit: cover;
    /* Ensures the image covers the area without distortion */
    border-radius: 10px 10px 10px 10px;
    /* Keep the rounded corners */
}

.member-info h2,
.member-info p {
    margin: 10px 0;
    /* Reduce margin between elements */
}

.member-info h2 {
    font-size: 14px;
    /* Adjusted font size */
    color: #000000;
    font-weight: bolder;
}

.member-info p {
    font-size: 18px;
    color: #3600a3f5;
    font-weight: bold;

}