@import url('https://fonts.googleapis.com/css2?family=Montserrat:ital,wght@0,100..900;1,100..900&family=Tangerine:wght@400;700&display=swap');

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: "Montserrat", sans-serif;
    user-select: none;
}

html, body {
    height: 100%;
    width: 100%;
    background: #111;
    overflow-x: hidden;
}

html {
    scroll-behavior: smooth;
}

.navbar {
    width: 100%;
    height: 100px;
    padding: 3vw 5vw;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.navbar-brand img {
    width: 5vw;
    height: auto;
    cursor: pointer;
}

.navbar-links {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 4vw;
}

.navbar-links a {
    text-decoration: none;
    color: #F2F2F2;
    font-size: 1.2vw;
}

.project-section {
    width: 100%;
    height: max-content;
    padding: 0vw 5vw;
}

.heading {
    width: 100%;
    display: flex;
    align-items: end;
    justify-content: center;
}

.project-section .heading h1 {
    padding: 2vw;
    font-size: 6vw;
    color: #111;
    font-weight: 900;
    letter-spacing: 0.5vw;
    text-shadow: -1px -1px 0 #F2F2F2, 1px -1px 0 #F2F2F2, -1px 1px 0 #F2F2F2, 1px 1px 0 #F2F2F2;
}

.project-content, .branding-content, .branding-cards, .motion-content, .work-display {
    width: 100%;
    height: max-content;
}

.project-heading {
    font-size: 1.5vw;
    color: #F2F2F2;
    padding-left: 10vw;
}

.branding-cards {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 5vw;
    margin-top: 3vw;
}

.card {
    width: 20vw;
    background-color: #f2f2f2;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    transition: transform 0.3s ease;
}

.card:hover {
    transform: translateY(-5px);
}

.card-image {
    width: 100%;
    height: 15vw;
    overflow: hidden;
}

.card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.card:hover .card-image img {
    transform: scale(1.1);
}

.card-content, .motion-content {
    padding: 1.5vw;
}

.card-content h3 {
    font-size: 1.5vw;
    margin-bottom: 1vw;
}

.card-content button {
    background-color: #111;
    color: #f2f2f2;
    border: none;
    padding: 0.8vw 1.2vw;
    font-size: 1vw;
    border-radius: 5px;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.card-content button:hover {
    background-color: #333;
}

.divider-section {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 3vw 0vw;
}

.divider {
    width: 80%;
    height: 0.1vw;
    background-color: #F2F2F2;
}

.motion-videos {
    width: 100%;
    height: max-content;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 3vw;
    margin-top: 3vw;
}

.iframe-container {
    position: relative;
    width: 45vw; /* Adjust this as needed to fit your layout */
    padding-top: 25.3125vw; /* This is 16:9 aspect ratio calculated based on 45vw width */
    margin-bottom: 2vw; /* Adjust spacing as needed */
}

.iframe-container iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.project-heading {
    font-size: 1.5vw;
    color: #F2F2F2;
    padding-left: 10vw;
}

.project-heading {
    font-size: 1.5vw;
    color: #F2F2F2;
    padding-left: 10vw;
}

.office-section {
    padding: 2vw 5vw;
}

.work-display {
    margin-top: 3vw;
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(5vw, 18vw));
    gap: 1vw;
    align-items: start;
    justify-content: space-between;
}

.work-display img {
    width: 100%;
    height: auto;
    border-radius: 5px;
    cursor: pointer;
    grid-column-end: span 1;
    grid-row-end: span 1;
}

.footer-section {
    width: 100%;
    height: max-content;
    background: #F2F2F2;
}

.footer-content h1 {
    padding: 3vw 0vw;
    font-size: 18vw;
    font-family: "Tangerine", cursive;
    text-align: center;
}

.copyright-band {
    width: 100%;
    height: auto;
    background-color: #555;
}

.copyright-band p {
    color: #F2F2F2;
    font-size: 1.5vw;
    text-align: center;
    padding: 1vw 0vw;
}

.divider-section {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 3vw 0vw;
}

.project-display {
    width: 100%;
    height: max-content;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
}

@media (max-width: 768px) {

    .navbar-brand img {
        width: 10vw;
        height: auto;
        cursor: pointer;
    }

    .navbar-links a {
        text-decoration: none;
        color: #F2F2F2;
        font-size: 5vw;
    }

    .project-section .heading h1 {
        padding: 5vw;
        font-size: 15vw;
        color: #111;
        font-weight: 900;
        letter-spacing: 0.5vw;
        text-shadow: -1px -1px 0 #F2F2F2, 1px -1px 0 #F2F2F2, -1px 1px 0 #F2F2F2, 1px 1px 0 #F2F2F2;
    }

    .project-heading {
        font-size: 4vw;
        color: #F2F2F2;
        padding-left: 3vw;
    }

    .card {
        width: 100vw;
        height: 85vw;
    }

    .card-image {
        width: 100%;
        height: 60vw;
    }

    .card-content h3 {
        font-size: 8vw;
    }

    .card-content button {
        padding: 3vw 5vw;
        font-size: 4vw;
    }

    .divider-section {
        width: 100%;
        display: flex;
        align-items: center;
        justify-content: center;
        margin: 5vw 0vw;
    }

    .motion-videos {
        flex-direction: column;
    }

    .iframe-container {
        width: 90vw; /* Adjust for smaller screens */
        padding-top: 50.625vw; /* This is 16:9 aspect ratio based on 90vw width */
    }

    .footer-section {
        width: 100%;
        height: max-content;
        background: #F2F2F2;
    }
    
    .footer-content h1 {
        padding: 3vw 0vw;
        font-size: 16vw;
        font-family: "Tangerine", cursive;
        text-align: center;
    }
    
    .copyright-band {
        width: 100%;
        height: auto;
        background-color: #555;
    }
    
    .copyright-band p {
        color: #F2F2F2;
        font-size: 3vw;
        text-align: center;
        padding: 1.5vw 0vw;
    }

    .work-display {
        margin-top: 3vw;
        display: grid;
        grid-template-columns: repeat(auto-fill, minmax(10vw, 38vw));
        gap: 1vw;
        align-items: start;
        justify-content: space-between;
    }

    .project-display img {
        width: 100%;
        height: auto;
        object-fit: cover;
    }
}