@charset "UTF-8";
@import url('https://fonts.googleapis.com/css2?family=PT+Sans:ital,wght@0,400;0,700;1,400;1,700&family=Poppins:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900&family=Raleway:ital,wght@0,100..900;1,100..900&display=swap');

html, body {
    margin: 0;
    padding: 0;
    width: 100%;
    font-family: 'Raleway', sans-serif;
    position: relative;
    box-sizing: border-box;
}

.bn-project {
    display: flex;
    align-items: flex-start;
    padding: 25px;
}

.production{
    margin-top: -50px !important;
}

.peeinpoolshat{
    width: 90%;
}

.production{
    margin-top: -120px;
}

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

.coffeeMain {
    display: flex;
    flex-direction: column;
    max-width: 55%;
    padding-left: 20px;
    /* Adjust the left padding as required */
}

.role {
    font-weight: 300;
    font-size: 26px;
    text-align: left;
    margin-top: 0;
}


.profileImage {
    max-width: 200px;
    height: auto;
    margin-right: -10px;
    /* Adjust the spacing between the image and text here */
    margin-top: -50px;
    flex-shrink: 0;
    /* Prevents the image from shrinking */
    transition: max-height 0.5s ease-in-out;
}

.descTeam {
    font-weight: 250;
    font-size: 24px;
    padding: 0px;
    max-width: 642px;
}

.contact, .people{
    padding-top: 140px;
    padding-left: 350px;
    padding-right: 350px;
    transition: padding-left 0.5s ease-in-out;
}

/* Active red circle behind the current page */
.activeImage {
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    z-index: 0;
    width: 7vw;
    height: 4.4vw;
    opacity: 0.8;
    border-radius: 50%;
}

/* Top Bar styling */
.topBar {
    background-color: #ffffff;
    display: flex;
    justify-content: space-around;
    align-items: center;
    padding: 20px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    height: 75px;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100;
    overflow: hidden;
}

.subtitle {
    font-weight: 550;
    font-size: 32px;
    text-align: left;
    margin-bottom: -10px;
    padding-left: 150px;
}

.desc {
    font-weight: 300;
    font-size: 23px;
    padding: 5px;
    padding-left: 150px;
    text-align: left;
    max-width: 500px;
}

.bn-project {
    display: flex;
    justify-content: space-around;
    align-items: center;
    gap: 20px;
    padding-top: 30px;
}

.bn-tn{
    max-height: 700px;
    width: auto;
    padding-right: 100px;
    transition: max-height 0.5s ease-in-out;
}

/* Menu items styling */
.menuItem {
    color: #191919;
    font-weight: 400;
    font-size: 1.2rem;
    margin: 0 50px;
    margin-left: 50px;
    text-decoration: none;
    transition: color 0.3s ease-in-out;
    position: relative;
    display: inline-block;
    z-index: 2;
    transition: margin 0.3s ease-in-out;
}

.teamMemberImage {
    max-width: 555px;
    margin-top: -65px;
    margin-left: -20px;
    transition: max-width 0.3s ease-in-out;
}

.bag{
    max-width: 355px;
}

/* Hover effect for menu items */
.menuItem:hover {
    color: #646464;
}

/* Middle logo image in the top bar */
.middleImage {
    max-height: 100px;
    width: auto;
    transition: all 0.5s ease;
}

@media (max-width: 1660px) {
    .menuItem{
        margin: 0 40px;
        margin-left: 40px;
    }

    .bn-tn{
        max-height: 600px;
    }

    .teamMemberImage {
        max-width: 555px;
    }

    .bag{
        max-width: 355px;
    }
}

@media (max-width: 1535px) {
    .menuItem{
        margin: 0 30px;
        margin-left: 30px;
    }
    .bn-tn{
        max-height: 500px;
    }

    .teamMemberImage {
        max-width: 455px;
    }

    .bag{
        max-width: 355px;
    }
}

@media (max-width: 1415px) {
    .menuItem{
        margin: 0 25px;
        margin-left: 25px;
    }
    .bn-tn{
        max-height: 400px;
    }

    .teamMemberImage {
        max-width: 405px;
    }
}

@media (max-width: 1340px) {
    .menuItem{
        margin: 0 15px;
        margin-left: 15px;
    }
    .bn-tn{
        max-height: 400px;
    }

    .teamMemberImage {
        max-width: 355px;
    }
}

@media (max-width: 1200px) {
    .bn-tn{
        max-height: 0.1px;
    }

    .teamMemberImage {
        max-width: 0.01%;
    }

    .teamMemberImage {
        max-width: 0.1px;
    }

    .bn-project{
        max-height: 50%;
        width: auto;
    }
}

/* Responsive behavior for the top bar at screen widths below 1095px */
@media (max-width: 1220px) {
    .topBar {
        display: grid;
        grid-template-columns: 1fr auto 1fr; /* Left column, logo, right column */
        justify-items: center;
        align-items: start;
        padding: 10px 0; /* Reduce padding to move the content closer to the top */
        grid-gap: 10px; /* Add space between items */
    }

    /* Left side menu items (pilot, team, cast) */
    .topBar > a:nth-child(-n+3) {
        grid-column: 1;
        display: block;
        text-align: right;
        margin-bottom: 5px;
        font-size: 0.8rem;
        font-weight: 500;
    }

    /* Middle logo stays centered but moves higher */
    .middleImage {
        grid-column: 2;
        justify-self: center;
        margin-top: -60px; /* Reduce top margin */
        margin-bottom: 10px; /* Space between logo and menu items */
        max-height: 90px; /* Smaller logo */
    }

    /* Right side menu items (production, story, contact) */

    .rightMenu {
        grid-column: 3;
        margin-top: -60px; /* Moves all right-side items up together */
    }

    .topBar > a:nth-child(n+5) {
        display: block;
        text-align: left;
        margin-bottom: 40px;
        font-size: 0.8rem;
        margin-top: -60px;
        font-weight: 500;
    }

    .rightMenu > a {
        display: block;
        text-align: left;
        margin-bottom: 15px;
        font-size: 0.8rem;
        font-weight: 500;
    }

    /* Smooth fade-in effect */
    .menuItem, .middleImage {
        opacity: 0;
        animation: fadeIn 0.5s forwards;
        animation-delay: 0.1s;
    }

    .desc{
        max-width: 600px;
    }

    .contact, .people{
        padding-left: 200px;
        padding-right: 200px;
    }
}

/* Fade-in animation */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Adjustments for screens below 768px */
@media (max-width: 880px) {
    .menuItem {
        font-size: 1rem;
        margin: 0 10px;
    }

    .middleImage {
        height: 80px; /* Smaller logo for smaller screens */
        margin-top: -120px; /* Move the logo even closer to the top */
    }

    .desc{
        max-width: 700px;
    }

    .contact, .people{
        padding-left: 165px;
        padding-right: 165px;
    }
}

/* Adjustments for screens below 576px */
@media (max-width: 700px) {
    .menuItem {
        font-size: 0.8rem;
        margin: 0 5px;
    }

    .middleImage {
        height: 63px; /* Smaller logo for mobile screens */
        margin-top: -200px; /* Keep the logo near the top */
    }
    
    .desc{
        max-width: 800px;
    }

    .contact, .people{
        padding-left:185px;
        padding-right: 185px;
    }
}

@media (max-width: 600px) {
    .menuItem {
        font-size: 0.8rem;
        margin: 0 5px;
    }

    .middleImage {
        height: 40px; /* Smaller logo for mobile screens */
        margin-top: -200px; /* Keep the logo near the top */
    }

    .desc{
        max-width: 900px;
    }
    
    .contact, .people{
        padding-left: 140px;
        padding-right: 140px;
    }
}

/* Other content and section styling (unchanged) */
.membersContact {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
}

.membersContact div {
    flex-basis: 30%;
    text-align: center;
}

@media (max-width: 768px) {
    .membersContact {
        flex-direction: column;
        align-items: center;
    }

    .membersContact div {
        flex-basis: 100%;
        margin-bottom: 20px;
    }
}

@media (max-width: 576px) {
    .membersContact div {
        margin-bottom: 15px;
        width: 100%;
    }
}

.highlightTab {
    background-image: url('RedCircle.webp');
    background-size: contain;
    background-position: center;
    background-repeat: no-repeat;
    padding: 32px;
    border-radius: 8px;
    position: relative;
    z-index: 1;
}

.container {
    display: flex;
    flex-direction: column;
    align-items: center;
}

input, button {
    margin-top: 10px;
}

.vimeo-container {
    display: flex;
    justify-content: center;
    align-items: center;
    max-width: 1500px;
    margin: 0 auto;
}

.fade-in {
    opacity: 0;
    animation: fadeIn 0.5s forwards;
}

@keyframes fadeIn {
    to {
        opacity: 1;
    }
}

.mainContent {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 20px;
    margin-top: 180px;
    margin-left: 50px;
}

.row, .members, .contact, .people {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    margin-bottom: 20px;
    gap: 14px 20px;
}

.teamMember {
    position: relative;
    flex: 1 1 calc(33.333% - 15px);
    max-width: calc(33.333% - 15px);
    overflow: hidden;
    transition: transform 0.3s ease-in-out;
    box-sizing: border-box;
}

.teamMember img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease-in-out;
}

.teamMember p {
    position: absolute;
    bottom: 10px;
    left: 10px;
    margin: 0;
    padding: 5px 10px;
    background: rgba(0, 0, 0, 0.6);
    color: white;
    font-size: 1rem;
    font-weight: bold;
}

.teamMember:hover {
    transform: scale(1.02);
}

@media (max-width: 1200px) {
    .teamMember {
        flex: 1 1 calc(48% - 15px);
        max-width: calc(48% - 15px);
    }
}

@media (max-width: 992px) {
    .teamMember {
        flex: 1 1 calc(48% - 10px);
        max-width: calc(48% - 10px);
    }

    .row, .members, .contact, .people {
        gap: 10px;
    }
}

@media (max-width: 768px) {
    .teamMember {
        flex: 1 1 calc(100% - 10px);
        max-width: calc(100% - 10px);
    }

    .row, .members, .contact, .people {
        gap: 20px 10px;
    }
}

footer {
    background-color: #f8f8f8;
    padding: 10px;
    text-align: center;
    font-size: 0.9rem;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
}

iframeVideo {
    max-width: 800px;
    height: auto;
    align-items: center;
    justify-content: center;
}

footer p, footer a {
    margin: 5px 10px;
    color: #191919;
    text-decoration: none;
}

footer a:hover {
    color: #646464;
}

footer img {
    margin-left: 5px;
}

/* Form flex */
.password-form {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.password-form input, .password-form textarea, .password-form div {
    flex: 1;
}

.password-form .password-input {
    padding-top: 0.5rem !important;
    padding-bottom: 0.5rem !important;
}

.password-form .password-btn {
    padding-top: 0.5rem !important;
    padding-bottom: 0.5rem !important;
}