@font-face {
    font-family: 'Arial Narrow';
    src: url('arialnarrow.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
}

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

body, html {
    width: 100%;
    margin: 0;
    padding: 0;
    font-family: 'Arial Narrow', 'Arial', sans-serif;
    background-color: #E61A10;
    color: #FFFFFF;
}

.project-container {
    display: flex;
    flex-direction: column;
    padding: 6vh 4vw 4vh 4vw;
    width: 100%;
}

.project-header h1 {
    font-size: 1.8rem;
    font-weight: 400;
    letter-spacing: -0.03em;
    margin-bottom: 5vh;
}

.project-header h1 .index {
    font-size: 1rem;
    margin-left: 8px;
    display: inline-block;
    vertical-align: super;
}

.video-grid {
    display: flex;
    flex-direction: column;
    gap: 30px;
    width: 100%;
    max-width: 900px;
    margin: 0 auto;
}

.video-wrapper {
    width: 100%;
    position: relative;
    background-color: #000;
    overflow: hidden; 
}

.video-wrapper iframe {
    width: 100%;
    height: auto;
    aspect-ratio: 16 / 9;
    display: block;
    border: none;
}

.back-to-work {
    display: inline-block;
    align-self: flex-start;
    color: #FFFFFF;
    text-decoration: none;
    font-size: 1.3rem;
    margin-top: 5vh;
    opacity: 0.6;
    transition: opacity 0.2s ease;
}

.back-to-work:hover {
    opacity: 1;
}

@media (max-width: 768px) {
    .project-header h1 {
        font-size: 1.25rem;
        margin-bottom: 3vh;
    }
    
    .video-wrapper {
        width: 100%;
        margin-bottom: 20px;
    }

    .video-wrapper iframe {
        max-height: 50vh;
        object-fit: cover;
    }

    .back-to-work {
        font-size: 1.1rem;
        margin-top: 4vh;
    }
}