/*Custom Property*/
:root {
    /*colors*/
    --international-orange-engineering: hsl(1, 91%, 37%);
    --cadet-blue-creyola: hsl(222, 14%, 69%);
    --oxford-blue-1: hsl(222, 47%, 15%);
    --oxford-blue-2: hsl(222, 44%, 14%);
    --oxford-blue-3: hsl(222, 50%, 11%);
    --sonic-silver: hsl(0, 0%, 44%);
    --space-cadet: hsl(222, 44%, 18%);
    --pastel-pink: hsl(1, 53%, 75%);
    --eerie-black: hsl(0, 0%, 15%);
    --light-grey: hsl(0, 0%, 80%);
    --white: hsl(0, 0%, 100%);



    /*typography*/
    --ff-chakra-petch: 'Chakra Petch', sans-serif;
    --ff-mulish: 'Mulish', sans-serif;

    --fs-1: 3.5rem;
    --fs-2: 3rem;
    --fs-3: 2.4rem;
    --fs-4: 1.8rem;
    --fs-5: 1.4rem;
    --fs-6: 1.2rem;

    --fw-400: 400;
    --fw-600: 600;
    --fw-700: 700;

    /*spacing*/

    --section-padding: 60px;

    /*box shadow*/
    --shadow: 0px 0px 100px 0px hsl(216, 9%, 90%);

    /*border radius*/
    --radius-pill: 100px;
    --radius-circle: 50%;

    /*transition*/
    --transition: 0.25s ease;
    --cubic-out: cubic-bezier(0.05, 0.83, 0.52, 0.97);

}

/*reset*/

*,
*::before,
*::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

li {
    list-style: none;
}

a,
img,
button {
    display: block;
}

a {
    color: inherit;
    text-decoration: none;
}

img {
    height: auto;
}

button {
    background: none;
    border: none;
    font: inherit;
    cursor: pointer;
}

address {
    font-style: normal;
}

html {
    font-family: var(--ff-mulish);
    font-size: 10px;
    scroll-behavior: smooth;
}

body {
    background-color: var(--white);
    color: var(--sonic-silver);
    font-size: 1.6rem;
    line-height: 1.5;
    /* height: 300vh; */
    /* background-color: var(--eerie-black); */
}

:focus-visible {
    outline-offset: 4px;
}

::-webkit-scrollbar {
    width: 10px;
}

::-webkit-scrollbar-track {
    background-color: hsl(0, 0%, 98%);
}

::-webkit-scrollbar-thumb {
    background-color: hsl(0, 0%, 80%);
}

::-webkit-scrollbar-thumb:hover {
    background-color: hsl(0, 0%, 70%);
}

/**TEAM MEMBER**/

.team-members {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
}

.team-member {
    width: 400px;
    height: 450px;
    margin: 20px;
    background-color: #f9f9f9;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease-in-out;
    position: relative;
}

.team-member:hover {
    transform: scale(1.05);
}

.team-member img {
    width: 100%;
    height: auto;
    transition: opacity 0.3s ease-in-out;
}

.member-info {
    padding: 20px;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(255, 255, 255, 1);
    display: none;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
}

.team-member:hover .member-info {
    display: flex;
}

.team-member h3 {
    margin: 0;
    font-size: 20px;
    font-weight: bold;
}

.team-member p {
    margin: 5px 0;
    font-size: 14px;
}

.team-description h1{
    text-align: center;
    padding: 2%;
    color: var(--oxford-blue-3);
    font-size: xx-large;
    font-weight: 700;
}

.team-description p{
    text-align: center;
    padding: 2%;
    margin-left: 5%;
    margin-right: 5%;
    color: var(--oxford-blue-3);
    font-size: large;
    font-weight: 500;
}

/**TEAM INTRO**/

.intro-section {
    display: flex;
    justify-content: center;
    align-items: center;
}

.intro-content {
    display: flex;
    align-items: center;
}

.img-content {
    margin-right: 30px; /* Adjust spacing between image and text */
}

.img-content img {
    max-width: 100%; /* Ensure the image fits within its container */
}

.text-content {
    flex: 1; /* Allow text content to grow to fill available space */
    padding-left: 5%;
}

.text-content h1{
    color: var(--oxford-blue-3);
    font-size: xx-large;
    font-weight: 700;
}

.text-content p{
    color: var(--oxford-blue-3);
    font-weight: 500;
    font-size: large;
    padding-top: 1%;
}

.text-content li{
    color: var(--oxford-blue-3);
    font-weight: 500;
}

.member-info {
    color: var(--oxford-blue-3);
}


