/* Main Configurations */

html {
    user-select: none;
}

body {
    position: relative;
    margin: 0;
    padding: 0;
    overflow-x: hidden;

    background-color: #041f4e;
    transition: background-color 0.3s ease;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    box-sizing: border-box;
    -webkit-text-size-adjust: 100%;
}

/* Helper class to lock page scrolling */
body.no-scroll,
html.no-scroll {
    overflow: hidden;
}

section {
    min-height: 100vh;
    z-index: 1;
}



/* General Body Style */
body {
    overflow-x: hidden;
}

section {
    position: relative;
    z-index: 2;
}

/* --- Static Background Clouds --- */
.background-clouds {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    /* Covers first few sections */
    height: 250vh;
    z-index: 1;
    pointer-events: none;
    /* This makes the clouds fade out smoothly at the bottom */
    mask-image: linear-gradient(to bottom, black 85%, transparent 100%);
    -webkit-mask-image: linear-gradient(to bottom, black 85%, transparent 100%);
}

.bg-cloud {
    position: absolute;
}

/* Planets */
.background-planets {
    position: absolute;
    /* UPDATED: Starts after 225vh */
    top: 225vh; 
    left: 0;
    width: 100%;
    height: 500vh; /* Allows planets to be placed far down without adding to page flow */
    z-index: 1; /* Above stars (0), below content (2) */
    pointer-events: none;
    overflow: hidden;
}

.bg-planet {
    position: absolute;
    opacity: 0.3; /* UPDATED: Made more subtle */
    filter: blur(1px); /* Softens them into the background */
}

/* --- Planet Animations --- */
@keyframes slow-rotate {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

@keyframes slow-drift {
    from { transform: translateX(-15px) translateY(5px); }
    to { transform: translateX(15px) translateY(-5px); }
}

/* NEW: Even more subtle animation */
@keyframes subtle-pulse {
    0%, 100% { opacity: 0.3; }
    50% { opacity: 0.4; }
}

/* --- Define positions for each unique planet --- */
/* (top: 0vh here = 225vh on the page) */

/* Section 3 (Astronaut) */
.planet-mercury {
    top: 10vh; /* Page: ~235vh */
    left: 15vw;
    width: 8vw;
    /* No animation */
}
.planet-venus {
    top: 80vh; /* Page: ~305vh */
    right: 10vw;
    width: 12vw;
    animation: subtle-pulse 10s ease-in-out infinite;
}

/* Section 4 (Apply) */
.planet-earth {
    top: 140vh; /* Page: ~365vh */
    left: 5vw;
    width: 15vw;
    animation: slow-rotate 40s linear infinite;
}

/* Section 5 (FAQ) */
.planet-mars {
    top: 230vh; /* Page: ~455vh */
    right: 20vw;
    width: 10vw;
    /* No animation */
}
.planet-jupiter {
    top: 300vh; /* Page: ~525vh */
    left: -10vw; /* Peeking in from the side */
    width: 30vw;
    animation: slow-drift 60s ease-in-out infinite alternate;
}

/* Section 6 (Team) & Footer */
.planet-saturn {
    top: 380vh; /* Page: ~605vh */
    right: -5vw; /* Peeking in */
    width: 28vw;
    animation: slow-rotate 80s linear infinite;
}
.planet-uranus {
    top: 450vh; /* Page: ~675vh */
    left: 25vw;
    width: 18vw;
    animation: subtle-pulse 12s ease-in-out infinite;
}
.planet-neptune {
    top: 550vh; /* Page: ~775vh */
    right: 15vw;
    width: 16vw;
    /* No animation */
}
/* --- Landing Page "Zoom-Through" Animation --- */
.cloud-zoom-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100vw;
    height: 300vh;
    z-index: 10;
    pointer-events: none;
    animation: fade-container 1s 2.8s forwards;
    opacity: 1;
    overflow: hidden;
}

@keyframes fade-container {
    to {
        opacity: 0;
        visibility: hidden;
    }
}

.zoom-cloud {
    position: absolute;
    opacity: 1;
    animation-duration: 3s;
    animation-timing-function: ease-in;
    animation-fill-mode: forwards;
}

/* Individual cloud starting positions and animations (more clouds, smaller sizes) */
.cloud1 { width: 45vw; top: 5vh; left: -15vw; animation-name: zoom-out-top-left; animation-delay: 0.1s; }
.cloud2 { width: 50vw; top: 10vh; right: -20vw; animation-name: zoom-out-top-right; }
.cloud3 { width: 40vw; bottom: 15vh; left: -10vw; animation-name: zoom-out-bottom-left; animation-delay: 0.2s; }
.cloud4 { width: 55vw; bottom: 10vh; right: -15vw; animation-name: zoom-out-bottom-right; animation-delay: 0.1s; }
.cloud5 { width: 35vw; top: 30vh; left: 10vw; animation-name: zoom-out-left; }
.cloud6 { width: 40vw; top: 40vh; right: 5vw; animation-name: zoom-out-right; animation-delay: 0.3s; }
.cloud7 { width: 60vw; bottom: -10vh; left: 20vw; animation-name: zoom-out-bottom-left; animation-delay: 0.2s; }
.cloud8 { width: 45vw; top: -5vh; left: 30vw; animation-name: zoom-out-top-right; }

/* Animation Keyframes - More horizontal movement */
@keyframes zoom-out-left {
    from { transform: scale(1); opacity: 0.9; }
    to { transform: scale(2.5) translateX(-110vw) translateY(20vh); opacity: 0; }
}

@keyframes zoom-out-right {
    from { transform: scale(1); opacity: 0.9; }
    to { transform: scale(2.5) translateX(110vw) translateY(15vh); opacity: 0; }
}

@keyframes zoom-out-top-left {
    from { transform: scale(1); opacity: 0.9; }
    to { transform: scale(2.2) translate(-100vw, -40vh); opacity: 0; }
}

@keyframes zoom-out-top-right {
    from { transform: scale(1); opacity: 0.9; }
    to { transform: scale(2.2) translate(100vw, -30vh); opacity: 0; }
}

@keyframes zoom-out-bottom-left {
    from { transform: scale(1); opacity: 0.9; }
    to { transform: scale(2.2) translate(-100vw, 50vh); opacity: 0; }
}

@keyframes zoom-out-bottom-right {
    from { transform: scale(1); opacity: 0.9; }
    to { transform: scale(2.2) translate(100vw, 40vh); opacity: 0; }
}


/* Ensure navigation is on top of everything */
.landing-navigation {
    position: relative;
    z-index: 11;
}

/* Stars (all pages) */
.stars-container {
    position: fixed; /* Ensures it stays in the viewport and doesn't affect scroll height */
    top: 0;
    left: 0;
    width: 100vw; /* Use viewport units to guarantee it covers the screen */
    max-height: 100vh; /* Use viewport units to guarantee it covers the screen */
    overflow: hidden; /* Crucial: Hides any star movement that tries to push outside the viewport */
    z-index: 0; /* Keeps it in the very back */
    pointer-events: none; /* Allows clicks to go through to content */
}

/* Make sure to remove max-height: 500vh; from .stars-container */

/* No change needed for .star or .background-shadow */

.star {
    position: absolute;
    background-color: #ffffff;
    border-radius: 50%;
    transform-origin: center;
    opacity: 0;
    transition-delay: 2s;
    transition: ease-in-out 3s;
    display:block;
    overflow: hidden;
}

.star.fade-in {
    opacity: 1;
}

@keyframes twinkle {
    0%, 100% {opacity: 1; transform: scale(1);}
    50% {opacity: 0.5; transform: scale(1.5);}
}

.star.twinkle {
    animation: twinkle 3s ease-in-out infinite;
}


/* Landing Page (Clouds) [1] */

.landingPage {
    min-height: 100vh;
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    margin:0;
    padding:0;
}

/* Landing Page Navigation */ 
.landing-navigation {
    position: absolute;
    top: 1.5rem;
    right: 1rem;
    z-index: 1;
}

.landing-navigation ul {
    list-style-type: none;
    margin: 0;
    padding: 0;
    display: flex;
    gap: 1.5rem;
}

.landing-navigation a {
    color: #ffffff;
    text-decoration: none;
    font-family: 'Lexend', sans-serif;
    font-size: 1.1rem;
    padding: 0 0.5rem; 
    border-radius: 8px;
    transition: background-color 0.3s ease;
}

.landing-navigation a:hover {
    background-color: rgba(200, 220, 255, 0.15);
}

/* Landing Page everything else */
#hook{
    color:#ffffff;
    text-align: center;
    font-size: 3rem;
    opacity: 0;
    transition: opacity 3s ease;
    padding-left: 1rem;
    padding-right: 1rem;
    font-family: 'Twinkle Star','Mystery Questi',cursive;
    max-width: 90vw;
    margin: 0 auto;
}

#hook.visible {
    opacity:1;
}

#arrow {
    display: block;
    height: auto;
    position: absolute;
    width: 10%;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
}


/* UFO Page (Storyline) [2] */
.infoPage {
    --ufo-size: 300px;
    --ufo-start-top: 5vh;

    position: relative;
    min-height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: hidden;
}

/* The UFO image itself */
.ufo-img {
    position: absolute;
    width: var(--ufo-size);
    height: auto;
    top: var(--ufo-start-top);
    left: 150%; /* Start off-screen to the right */
    transform: translateX(-50%);
    transition: left 2s cubic-bezier(0.25, 1, 0.5, 1);
    z-index: 3;
}

/* FIXED: The trapezoid-shaped light beam */
.ufo-light {
    position: absolute;
    top: 5%; 
    left: 50%;
    transform: translateX(-50%) perspective(400px) rotateX(20deg);
    width: 15%; 
    height: 80vh;
    background: linear-gradient(to bottom, rgba(175, 225, 255, 0.6) 0%, rgba(175, 225, 255, 0) 75%);
    clip-path: polygon(25% 0, 75% 0, 100% 100%, 0% 100%);
    opacity: 0;
    transition: opacity 1.5s ease-in;
    z-index: 2;
}

/* The iPad container that holds the frame and screen */
.ipad-container {
    position: absolute;
    /* FIXED: Starts the iPad's animation from the bottom of the UFO */
    top: calc(var(--ufo-start-top) + (var(--ufo-size) * 0.75)); 
    left: 50%;
    width: 300px;
    
    opacity: 0;
    transform: translate(-50%, -50%) scale(0.2); /* iPad starts small */

    /* FIXED: Added 'transform' to ensure zoom-in is animated */
    transition: top 1.5s cubic-bezier(0.68, -0.55, 0.27, 1.55), opacity 1s ease-out, transform 0.5s ease-out;
    z-index: 4;
    cursor: pointer;
}

/* The iPad frame image */
.ipad-frame {
    width: 100%;
    height: auto;
    position: relative;
    /* Frame is on top of the screen */
    z-index: 100; 
}

/* The iPad screen content image */
.ipad-screen-content {
    position: absolute;
    border-radius: 1%;
    top: 50%;
    left: 50%;
    transform: translate(-50.25%, -50.7%);
    /* ADJUSTED: Sized to fit snugly inside the frame's transparent area */
    width: 68%;
    height: 72.5%;
    object-fit: cover;
    /* Screen is behind the frame */
    z-index: 100; 
}

/* Fullscreen state for the iPad */
.ipad-container.fullscreen {
    position: fixed;
    top: 50%;
    left: 50%;
    width: 90vw;
    max-width: 1200px;
    height: auto;
    z-index: 1000;
    cursor: default;
    transform: translate(-50%, -50%) scale(1); 
}

/* The 'X' close button */
.close-button {
    position: absolute;
    top: -15px;
    right: -10px;
    background: #333;
    border: 2px solid white;
    border-radius: 50%;
    color: #ffffff;
    font-size: 1.5rem;
    font-weight: bold;
    cursor: pointer;
    line-height: 1;
    width: 35px;
    height: 35px;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease, transform 0.3s ease;
    z-index: 10;
}

.ipad-container.fullscreen .close-button {
    opacity: 0.8; 
    pointer-events: auto;
    transform: scale(1.1);
}

.close-button:hover {
    opacity: 1;
}

/* --- Animation Trigger Classes --- */
.infoPage.animate .ufo-img {
    left: 50%;
}

/* Light appears after UFO starts moving */
.infoPage.animate .ufo-light {
    opacity: 1;
    transition-delay: 1.5s;
}

/* iPad drops after light appears */
.infoPage.animate .ipad-container {
    opacity: 1;
    top: 50vh; 
    transition-delay: 2s;
}


/* Astronaut Page (Core Topics) [3] -- UPDATED SECTION */
.astronautPage {
    padding-top: 20vh;
    min-height: 150vh; /* Increased height for better scrolling */
    overflow: hidden;
}
.topic-container {
    width: 90%;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 10vh; /* Increased gap for more scrolling space between topics */
}
.core-topics {
    color: #a8d2ff;
    padding: 10vh 5vw;
    margin-bottom: 20vh;
    font-size: clamp(1.3rem,1rem,1rem);
    position: relative;
    font-family: 'Cinzel', sans-serif;
    text-align: center;
    letter-spacing: 0.3em;
    text-shadow:
        0 0 0.1rem #a8d2ff,
        0 0 0.25rem #a8d2ff,
        0 0 0.5rem #78b7ff,
        0 0 1rem #3a6bbf,
        0 0 2rem #1c3a80,
        0 0 3rem #0f204d;
    opacity: 1;
    transition: opacity 0.3s ease-in-out;
    max-width: 100%;
    word-wrap: break-word;
    overflow-wrap: break-word;
    user-select: none;
}

.core-topics {
    color: #a8d2ff;
    padding: 10vh 5vw;
    margin-bottom: 20vh;
    font-size: clamp(2rem, 1rem, 1rem);
    position: relative;
    font-family: 'Cinzel', sans-serif;
    text-align: center;
    letter-spacing: 0.3em;
    opacity: 1;
    transition: opacity 0.3s ease-in-out;
    max-width: 100%;
    word-wrap: break-word;
    overflow-wrap: break-word;
    user-select: none;
}

/* --- Blue --- */
.ct1 {
    text-align: right;
    color: #9fd2ff;
    text-shadow:
        0 0 0.1rem #9fd2ff,
        0 0 0.25rem #7cb8ff,
        0 0 0.5rem #4d96ff,
        0 0 1rem #2a63ff,
        0 0 2rem #153199;
}

/* --- Purple --- */
.ct2 {
    text-align: left;
    color: #b38cff;
    text-shadow:
        0 0 0.1rem #b38cff,
        0 0 0.25rem #9b66ff,
        0 0 0.5rem #8233ff,
        0 0 1rem #551abf,
        0 0 2rem #2c0e66;
}

/* --- Violet --- */
.ct3 {
    text-align: right;
    color: #cc99ff;
    text-shadow:
        0 0 0.1rem #cc99ff,
        0 0 0.25rem #b366ff,
        0 0 0.5rem #9933ff,
        0 0 1rem #661abf,
        0 0 2rem #330d66;
}

/* --- Pink --- */
.ct4 {
    text-align: left;
    color: #ff99dd;
    text-shadow:
        0 0 0.1rem #ff99dd,
        0 0 0.25rem #ff66cc,
        0 0 0.5rem #ff33bb,
        0 0 1rem #cc2299,
        0 0 2rem #801f66;
}

@media (max-width: 768px){
    .core-topics {
        font-size: clamp(5vh, 1rem, 10vh); /* responsive text sizing */
    }
    .ct1,.ct3{
        text-align: center;
    }
    .ct2,.ct4{
        text-align: center;
    }
}

#astronaut {
    position: fixed;
    top: 0;
    left: 0;
    width: 150px;
    z-index: 10;
    pointer-events: none;
    /* The astronaut is hidden by default until the script positions it correctly */
    visibility: hidden;
    transform: translate(0px, 0px);
}


#astronaut.visible {
    opacity: 1;
    visibility: visible;
}


/* APPLY PAGE (Section 4) -- UPDATED */
#applyPage {
    display: flex;
    flex-direction: column;
    justify-content: center; /* Vertically center content */
    align-items: center;    /* Horizontally center content */
    text-align: center;     /* Ensure text inside is centered */
    gap: 2rem;              /* Space between logo, buttons, and countdown */
    padding: 2rem;
    box-sizing: border-box;
}

#logo {
    display: block;
    width: 300px;
    max-width: 80%;
    height: auto;
    margin: 0; /* Remove default margins */
}

/* Container for the buttons */
.choice-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1.5rem; /* Space between the buttons */
    /* Styles for fade-in animation */
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

.choice-container.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Primary Button - Apply Now */
.apply-btn {
    padding: 1rem 2rem;
    font-size: 1.5rem;
    background-color: #4a90e2;
    color: white;
    border: none;
    border-radius: 50px; /* Pill shape */
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 20px rgba(74, 144, 226, 0.4);
    font-family: 'Lexend', sans-serif;
    text-decoration: none;
    font-weight: 600;
    letter-spacing: 1px;
}

.apply-btn:hover {
    transform: translateY(-5px) scale(1.05); /* Lift effect */
    background-color: #5aa1f5;
    box-shadow: 0 8px 25px rgba(74, 144, 226, 0.6);
}

/* Secondary Button - Keep Dreaming */
.dream-btn {
    padding: 0.75rem 1.5rem;
    font-size: 1rem;
    background-color: transparent;
    color: #cddaf1;
    border: 2px solid #7b96c7;
    border-radius: 50px; /* Match the other button */
    cursor: pointer;
    transition: all 0.3s ease;
    font-family: 'Lexend', sans-serif;
    text-decoration: none;
}

.dream-btn:hover {
    background-color: rgba(123, 150, 199, 0.2);
    color: #ffffff;
    border-color: #ffffff;
    transform: scale(1.05);
}

/* Countdown Timer */
.countdown {
    margin-top: 1rem;
    font-size: 3rem;
    color: white;
    font-family: 'Lexend', monospace;
    text-align: center;
    text-shadow: 0 0 10px rgba(255, 255, 255, 0.3); /* Add a subtle glow */
    /* Styles for fade-in animation */
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.8s ease-out 0.2s, transform 0.8s ease-out 0.2s; /* Staggered delay */
}

.countdown.visible {
     opacity: 1;
     transform: translateY(0);
}



/* faq page */

.title {
    color: #a8d2ff; /* A light, celestial blue */
    font-family: 'Lexend', sans-serif; /* A clean, modern font you already use */
    font-size: clamp(2.5rem, 8vw, 5rem); /* Responsive font size */
    font-weight: 600;
    text-align: center;
    letter-spacing: 0.2em; /* Spreads out the letters for a grander feel */
    text-transform: uppercase; /* Makes the title more impactful */
    margin: 0 auto 3rem auto; /* Adds some space below the title */
    padding: 0 1rem; /* Prevents text from touching screen edges on mobile */
    /* This creates the blue glowing effect */
    text-shadow:
        0 0 5px rgba(168, 210, 255, 0.8),
        0 0 10px rgba(168, 210, 255, 0.6),
        0 0 20px rgba(74, 144, 226, 0.4),
        0 0 40px rgba(74, 144, 226, 0.3);
}



.faq-container {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    padding: clamp(20px, 5vw, 40px);
    max-width: 1200px;
    margin: 0 auto;
    box-sizing: border-box;
}

.faq-box {
    background: rgba(4, 31, 78, 0.8);
    border-radius: 10px;
    padding: clamp(20px, 4vw, 30px);
    transition: all 0.3s ease;
    box-shadow: 0 0 20px rgba(99, 90, 90, 0.2);
    position: relative;
    overflow: hidden;
}

.faq-box:hover {
    box-shadow: 0 5px 30px rgba(74, 144, 226, 0.2);
}

/* Special styling for the venue box */
.venue-box {
    display: flex;
    flex-direction: column; /* Stack vertically on mobile */
    gap: 1rem;
    height: auto; /* Let it grow with content */
    box-sizing: border-box;
}

.venue-info {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    margin: auto;
    width: 100%;
    max-width: none;
    box-sizing: border-box;
}

.venue-map {
    width: 100%;
    height: 250px;
    padding: 0;
    margin: 0;
    border-radius: 0 0 10px 10px;
    overflow: hidden;
    margin: auto;
    max-width: 600px; /* Prevent map from being too wide on small screens */
    box-sizing: border-box;
}

.venue-map iframe {
    width: 100%;
    height: 100%;
    border: 0;
    display: block;
}

@media (min-width: 768px) {
    .venue-box {
        flex-direction: row; /* Side by side on larger screens */
        gap: 15rem;
        align-items: center;
    }

    .venue-info, .venue-map {
        flex: 1;
        max-width: none;
        height: auto;
    }

    .venue-map {
        height: 30vh;
        border-radius: 0px 10px 10px 0px;
    }
}

.question {
    color: #4a90e2;
    font-size: 1.5rem;
    margin-bottom: 15px;
    font-weight: bold;
    font-family: 'Lexend', sans-serif;
    background: transparent;
    position: relative;
}

/* Cool left border animation on hover */
.question::before {
    content: '';
    position: absolute;
    left: -10px;
    top: 0;
    bottom: 0;
    width: 4px;
    background: #4a90e2;
    transform: scaleY(0);
    transform-origin:center;
    transition: transform 0.15s ease-in-out;
    transition-delay:0.2s;
    border-radius: 2px;
    box-shadow: 0 0 10px rgba(74, 144, 226, 0.3);
}

.regular-box:hover .question::before {
    transform: scaleY(1);
}

/* Dropdown styling only for regular-box questions */
.regular-box .question {
    width: 100%;
    border: none;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    padding: 0;
    margin-bottom: 0;
    transition: color 0.3s ease;
    padding-left: 10px; /* Add some padding to make room for the border */
    text-align: left;
    flex-wrap: nowrap;
}

.regular-box .question .question-text {
    flex: 1;
    text-align: left;
    margin-right: 1rem;
}

.regular-box .question:hover {
    color: #5ba0f2;
}

.dropdown-icon {
    font-size: 1.5rem;
    font-weight: bold;
    transition: transform 0.3s ease;
    color: #4a90e2;
    flex-shrink: 0;
    margin-left: 1rem;
}

.dropdown-icon.active {
    transform: rotate(45deg);
}

.answer {
    color: white;
    font-size: clamp(0.9rem, 1.8vw, 1.1rem);
    line-height: 1.6;
    font-family: 'Lexend';
}

/* Dropdown animation only for regular-box answers */
.regular-box .answer {
    max-height: 0;
    overflow: hidden;
    transition: all 0.3s ease;
    opacity: 0;
    margin-top: 0;
    padding-left: 10px; /* Match the question padding */
}

.regular-box .answer.active {
    max-height: 500px;
    opacity: 1;
    margin-top: 15px;
}

.answer a {
    color: white;
    text-decoration: none;
}

.answer a:hover {
    text-decoration: underline;
}

/* Regular FAQ boxes */
.regular-box {
    padding: 25px;
}

/* Update choice container for new layout */
.choice-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
}


/* Team Page */

#teamPage {
    display: block;
    position: relative;
    height: fit-content;
    padding-top: 5vh; /* Keeps space at the top */
    padding-bottom: 20px; /* Space between section 5 and footer, etc. */
}



.section-title {
    color: white;
    text-align: center;
    padding-top: 40px;
    font-size: 4rem;
    margin-bottom: 2rem;
    font-family: 'Lexend', sans-serif;
}


.team-container-wrapper {
    display: flex;
    flex-direction: row;
    justify-content: center;
    flex-wrap: wrap; /* (6,1) (3,2) (1,6) */
    align-items: center;
    gap: 5%;
    width: 100%;
    box-sizing: border-box;
}

.team-container {
    width: 20%;
    display: flex;
    flex-direction: column;
    align-items: center;
    margin: 5em 0;
    background-color: white;
    padding: 2em;

    transition: all 0.3s ease;
    box-sizing: border-box;
}

.team-member-img {
    width: 100%;
    height: auto;
    object-fit: cover;

}

.team-member-name {
    color: rgb(0, 0, 0);
    text-align: center;
    font-size: clamp(3vh, 4vw, 4vh);
    font-family: monospace;
    margin-top: 2em 0;
}


.team-container:hover{
    transform: scale(1.05) rotate(0deg);
    box-shadow: 0 0 30px rgba(96, 101, 105, 0.3)
}


@media (max-width:450px) {
    .team-container {
        width: 50%;
    }

}

.member1{
    transform:rotate(5deg);
}

.member2{
    transform:rotate(-2deg);
}

.member3{
    transform:rotate(3deg);
}

.member4{
    transform:rotate(-5deg);
}
.member1:hover, .member2:hover, .member3:hover, .member4:hover {
    transform: scale(1.1) rotate(0deg);

}


footer {
    display: flex;
    justify-content: center;
    align-items: center;
    color: rgb(255, 255, 255);
    font-size: 1rem;
    font-family: 'Lexend';
}