/* Global Design System */
@font-face {
    font-family: 'OneMobilePop';
    /* Ensure the font file exists at this path relative to the css file */
    src: url('../font/ONE Mobile POP OTF.otf') format('opentype');
    font-weight: normal;
    font-style: normal;
}

:root {
    --primary-color: #ff6b6b;
    --secondary-color: #feca57;
    --accent-color: #48dbfb;
    --background-dark: #222f3e;
    --background-light: #f5f6fa;
    --text-dark: #2f3542;

    /* Using the custom font globally */
    --font-main: 'OneMobilePop', 'Helvetica Neue', Arial, sans-serif;

    --container-max-width: 800px;
}

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

body {
    font-family: var(--font-main);
    background-color: var(--background-dark);
    color: var(--text-dark);
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    min-height: 100dvh;
    /* Dynamic Viewport Height for Mobile */
    overflow: hidden;
    padding: env(safe-area-inset-top) env(safe-area-inset-right) env(safe-area-inset-bottom) env(safe-area-inset-left);
}

/* DESKTOP FIXED LAYOUT ENFORCEMENT - REMOVED for Scrollbar Fix */
/* body:not(.is-mobile) {
    overflow: auto !important;
    justify-content: center;
    align-items: flex-start;
    padding-top: 20px;
    padding-bottom: 20px;
}

body:not(.is-mobile) #game-container {
    width: 800px !important;
    min-width: 800px !important;
    height: 900px !important;
    min-height: 900px !important;
    max-width: none !important;
    max-height: none !important;
    flex-shrink: 0;
} */

#game-container {
    width: 100%;
    max-width: var(--container-max-width);
    height: 90vh;
    height: 90dvh;
    /* Dynamic Viewport Height */
    background-color: var(--background-light);
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
    position: relative;
    overflow-y: auto;
    display: flex;
    flex-direction: column;
}

/* Utilities for Scenes */
.scene {
    flex: 1;
    display: flex;
    flex-direction: column;
    padding: 2rem;
    animation: fadeIn 0.5s ease-out;
}

h1.scene-title {
    font-size: 2.5rem;
    margin-bottom: 2rem;
    text-align: center;
    color: #ff6b00;
    /* Match button text color */
    text-shadow: 2px 2px 0px #fff200;
    /* Pop effect */
}

.options-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 1rem;
    margin-bottom: 2rem;
}

.option-card {
    background: white;
    padding: 1rem;
    border-radius: 12px;
    border: 3px solid #ddd;
    cursor: pointer;
    text-align: center;
    transition: all 0.2s ease;
    user-select: none;
    font-size: 1.2rem;
}

.option-card:hover {
    border-color: #ff6b00;
    transform: translateY(-2px);
    background-color: #fff9db;
}

.option-card.selected {
    border-color: #ff6b00;
    background-color: #fff200;
    color: #ff6b00;
    box-shadow: 0 4px 0 #ff9f43;
    transform: translateY(-2px);
    font-weight: bold;
}

/* CUSTOM BUTTON STYLE (Pop Design) */
.action-btn {
    background-color: #fff200;
    /* Yellow Background */
    color: #ff6b00;
    /* Orange Text */
    border: 4px solid #ff6b00;
    /* Orange Border */
    padding: 0.8rem 2rem;
    font-size: 1.5rem;
    font-family: var(--font-main);
    border-radius: 20px;
    cursor: pointer;
    margin-top: auto;
    align-self: center;
    transition: all 0.1s ease;

    /* Removed 3D Pop Effect Shading as requested */
    /* box-shadow: 0 6px 0 #e05e00, 0 10px 10px rgba(0, 0, 0, 0.2); */
    font-weight: bold;
    letter-spacing: 1px;
}

.action-btn:hover {
    background-color: #ffeaa7;
    transform: translateY(-2px);
    /* box-shadow: 0 8px 0 #e05e00, 0 12px 12px rgba(0, 0, 0, 0.2); */
}

.action-btn:active {
    transform: translateY(4px);
    /* box-shadow: 0 2px 0 #e05e00, 0 4px 4px rgba(0, 0, 0, 0.2); */
}

/* Navigation Row for Scene 2-5 */
.nav-row {
    width: 100%;
    display: flex;
    justify-content: space-between;
    /* Prev Left, Next Right */
    align-items: center;
    margin-top: auto;
    /* Push to bottom */
    padding-top: 1rem;
}

/* Validation Feedback (Visible only in Scene 6, but prepared generally) */
.critique-text {
    color: #e74c3c;
    font-size: 1.1rem;
    margin-top: 1rem;
    padding: 1rem;
    background: #fadbd8;
    border-radius: 8px;
    border-left: 5px solid #c0392b;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Video Containers */
.video-container {
    width: 100%;
    height: 100%;
    background: black;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    position: relative;
    /* For absolute positioning of button */
}

video {
    width: 100%;
    max-height: 80%;
    object-fit: cover;
}

/* ===========================
   SCENE 1 SPECIFIC LAYOUT
   =========================== */
.scene-1-layout {
    display: flex;
    flex-direction: column;
    padding: 0 !important;
    background-image: url('../assets/scene1_bg.png');
    background-size: cover;
    background-position: center;
    position: relative;
    /* Strict NO SCROLL */
    height: 100%;
    overflow: hidden;
}

.scene1-top {
    /* Flex grow 2 to take upper space */
    flex: 1;
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    width: 100%;
    min-height: 0;
    overflow: hidden;
    /* Prevent spillover */
}

/* Static Title (Overlay to ensure visibility with large bowl) */
.scene1-title-static {
    position: absolute;
    /* Force it to stay at top */
    top: 5%;
    left: 0;
    width: 100%;
    text-align: center;
    z-index: 10;
    /* Ensure it's above bowl */
    margin: 0;
}

.scene1-title-static h1 {
    color: #ff6b00;
    text-shadow: 2px 2px 0 #fff, -2px -2px 0 #fff, 2px -2px 0 #fff, -2px 2px 0 #fff;
    font-size: 3rem;
    margin: 0;
}

.bowl-image {
    /* Large Bowl Size */
    position: absolute;
    height: 70vh;
    width: auto;
    max-width: 90%;
    max-height: 95%;
    /* Leave some room within flex container */
    object-fit: contain;
    z-index: 1;
    margin-top: 5vh;
    /* Push down slightly to clear title area if needed */
}

.bowl-image-front {
    z-index: 999;
}

/* Visualization of Ingredients inside Bowl */
.ingredient-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    /* Let clicks pass through to anything below if needed */
    z-index: 2;
    /* Above bowl (z-1), Below Title (z-10) */
    display: flex;
    justify-content: center;
    align-items: center;
}



.ingredient-visual {
    position: absolute;
    /* Center in overlay */
    top: 55%;
    /* Offset slightly down to match bowl interior visual center */
    left: 50%;
    transform: translate(-50%, -50%);

    max-width: 30%;
    /* Adjust based on asset size */
    max-height: 30%;
    object-fit: contain;

    /* Optional: Randomize rotation or stacking slightly via JS logic if desired later */
    /* For now, they stack on top of each other */
}

/* Bottom Ingredient Area */
.scene1-bottom {
    flex: 0 0 auto;
    /* Stop growing, just take needed space */
    width: 100%;
    /* minimal height */
    min-height: 15vh;
    border-top: 5px solid #fff;
    padding: 0.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 3;
    position: relative;
    background: #9b59b6;
    overflow: hidden;
}

.options-grid-bottom {
    display: grid;
    /* Revert to 6 columns for Scene 1 (12 items -> 2 rows) */
    grid-template-columns: repeat(6, 1fr);
    gap: 0.5rem;
    width: 100%;
    max-width: 95%;
}

.grid-cols-4 {
    /* Specific override for Scene 2 (8 items -> 2 rows) */
    grid-template-columns: repeat(4, 1fr) !important;
    gap: 0.6rem;
}

.grid-cols-3 {
    /* Specific override for Scene 3 (3 items -> 1 row full width) */
    grid-template-columns: repeat(3, 1fr) !important;
    gap: 0.6rem;
}

/* Mixing Animation Overlay */
.mixing-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    z-index: 9999;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
}

.mixing-bowl-center {
    width: 255px;
    /* Updated width */
    height: auto;
    position: relative;
    z-index: 2;
    /* Animation moved to wrapper to shake together */
}

.mixing-text {
    color: white;
    font-size: 1.5rem;
    margin-top: 2rem;
    font-weight: bold;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
    z-index: 3;
}

.mixing-item {
    position: absolute;
    width: 60px;
    height: 60px;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 10;
    animation: mixOrbit 0.8s infinite linear;
}

.mixing-result-pop {
    width: 250px;
    height: auto;
    position: absolute;
    top: 33%;
    /* Updated Position */
    left: 45%;
    /* Updated Position */
    transform: translate(-50%, -50%);
    /* Start centered on point */
    z-index: 100;

    /* Pop animation handles scale/opacity */
    animation: popIn 0.5s ease-out forwards;

    /* box-shadow: 0 0 20px rgba(255, 255, 255, 0.5);
    border-radius: 1rem; */
}

.mixing-wrapper {
    position: relative;
    width: fit-content;
    height: fit-content;
    display: flex;
    justify-content: center;
    align-items: center;
    animation: mixShake 0.5s infinite;
    /* Wrapper shakes, so children shake together */
}

@keyframes mixShake {
    0% {
        transform: translate(0, 0) rotate(0deg);
    }

    25% {
        transform: translate(-5px, 2px) rotate(-2deg);
    }

    50% {
        transform: translate(5px, -2px) rotate(2deg);
    }

    75% {
        transform: translate(-5px, -2px) rotate(-1deg);
    }

    100% {
        transform: translate(0, 0) rotate(0deg);
    }
}

@keyframes mixOrbit {
    0% {
        transform: translate(-50%, -50%) rotate(0deg) translate(80px) rotate(0deg);
    }

    100% {
        transform: translate(-50%, -50%) rotate(360deg) translate(80px) rotate(-360deg);
    }
}

@keyframes popIn {
    0% {
        transform: scale(0);
        opacity: 0;
    }

    80% {
        transform: scale(1.1);
        opacity: 1;
    }

    100% {
        transform: scale(1);
        opacity: 1;
    }
}

/* Persistent Results (Top-Right) */
#fixed-results-container {
    position: absolute;
    top: 12px;
    right: 88px;
    width: 120px;
    display: flex;
    flex-direction: column;
    gap: 10px;
    pointer-events: none;
    /* Click-through */
    z-index: 9000;
}

.fixed-result-img {
    position: absolute;
    width: 100%;
    /* top: 10px; */
    /* height: auto; */
    width: 200px;
    /* border: 2px solid white; */
    /* border-radius: 8px; */
    /* box-shadow: 0 4px 6px rgba(0, 0, 0, 0.3); */
    /* background: rgba(255, 255, 255, 0.2); */
    /* backdrop-filter: blur(4px); */
    transition: transform 0.3s;
}

.scene1-result {
    width: 145px;
    z-index: 2;
    right: -49px;
    top: 17px;
}

.scene2-result {
    z-index: 1;
    margin-top: -10px;
}

/* Pilled Buttons for Scene 1 (Like reference) */
.option-card-pilled {
    background: #f1c40f;
    /* Yellow */
    color: #e67e22;
    /* Orange text */
    border: 2px solid #fff;
    border-radius: 10px;
    padding: 0.8rem 0.2rem;
    font-size: 1.1rem;
    text-align: center;
    cursor: pointer;
    font-weight: bold;
    /* box-shadow: 0 4px 0 #d35400; */
    transition: all 0.1s;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.option-card-pilled:hover {
    transform: translateY(-2px);
    background: #f39c12;
}

.option-card-pilled.selected {
    background: #e74c3c;
    /* Reddish for selected? Or just darker yellow */
    color: white;
    /* box-shadow: inset 0 3px 5px rgba(0, 0, 0, 0.3); */
    transform: translateY(2px);
    border-color: #c0392b;
    /* box-shadow: 0 4px 6px rgba(0, 0, 0, 0.3); */
}

/* Anchored Next Button */
.next-btn-anchored {
    position: absolute;
    bottom: 20px;
    right: 20px;
    z-index: 9999;
    border-radius: 50%;
    width: 80px;
    height: 80px;
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    line-height: 1;
    pointer-events: auto;
}

/* Anchored Previous Button */
.prev-btn-anchored {
    position: absolute;
    bottom: 20px;
    left: 20px;
    z-index: 9999;
    border-radius: 50%;
    width: 80px;
    height: 80px;
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    line-height: 1;

    /* Matched Style to Next Button */
    background-color: #fff200;
    /* Yellow */
    color: #ff6b00;
    /* Orange */
    border: 4px solid #ff6b00;
    font-family: var(--font-main);
    font-weight: bold;
    cursor: pointer;
    transition: all 0.1s ease;
    pointer-events: auto;
}

.prev-btn-anchored:hover {
    background-color: #ffeaa7;
    transform: translateY(-2px);
}

.prev-btn-anchored:active {
    transform: translateY(4px);
}

/* Responsive adjustments */
@media (max-width: 600px) {

    /* Container adjustments */
    #game-container {
        border-radius: 0;
        height: 100vh;
    }

    .scene {
        padding: 1rem;
    }

    /* Grid adjustments */
    .options-grid-bottom {
        grid-template-columns: repeat(4, 1fr);
        gap: 0.3rem;
        max-width: 100%;
    }

    /* Title adjustments */
    .scene1-title-static {
        top: 3%;
    }

    .scene1-title-static h1 {
        font-size: 1.5rem;
        text-shadow: 1px 1px 0 #fff, -1px -1px 0 #fff, 1px -1px 0 #fff, -1px 1px 0 #fff;
    }

    h1.scene-title {
        font-size: 1.8rem;
    }

    /* Bowl image adjustments */
    .bowl-image {
        height: 50vh;
        margin-top: 8vh;
    }

    /* Bottom area adjustments */
    .scene1-bottom {
        min-height: 20vh;
        padding: 0.3rem;
    }

    /* Button text size */
    .option-card-pilled {
        font-size: 0.65rem;
        padding: 0.6rem 0.1rem;
        border-radius: 8px;
    }

    /* Navigation buttons - smaller for mobile */
    .next-btn-anchored,
    .prev-btn-anchored {
        width: 60px;
        height: 60px;
        font-size: 1rem;
        bottom: 15px;
    }

    .next-btn-anchored {
        right: 15px;
    }

    .prev-btn-anchored {
        left: 15px;
    }

    /* Ingredient visuals - smaller */
    .ingredient-visual {
        max-width: 25%;
        max-height: 25%;
    }

    /* Mixing overlay adjustments */
    .mixing-bowl-center {
        width: 200px;
    }

    .mixing-text {
        font-size: 1.2rem;
        margin-top: 1rem;
    }

    .mixing-item {
        width: 45px;
        height: 45px;
    }

    .mixing-result-pop {
        width: 180px;
    }

    /* Fixed results container - smaller and repositioned */
    #fixed-results-container {
        top: 8px;
        right: 65px;
        width: 90px;
        gap: 6px;
    }

    .fixed-result-img {
        width: 140px;
    }

    .scene1-result {
        width: 100px;
        right: -35px;
        top: 12px;
    }

    /* Scene 3 specific - cooking elements */
    .cooking-burner {
        width: 200px !important;
        top: 75% !important;
        left: 32% !important;
    }

    .cooking-dough-result {
        width: 140px !important;
        top: 70% !important;
        left: 68% !important;
    }

    .cooking-action-visual {
        width: 220px !important;
    }

    .cooking-effect-overlay {
        width: 120px !important;
        top: 20% !important;
        left: 38% !important;
    }

    /* Modal adjustments */
    .modal-box {
        width: 90%;
        padding: 1.5rem;
    }

    .modal-text {
        font-size: 1.2rem;
        margin-bottom: 1.5rem;
    }

    .modal-btn {
        font-size: 1rem;
        padding: 0.6rem 1.5rem;
    }

    /* YouTube link - smaller */
    .youtube-profile-img {
        width: 45px;
        height: 45px;
    }

    .youtube-link {
        top: 10px;
        right: 10px;
    }
}

/* ===========================
   CUSTOM MODAL POPUP
   =========================== */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
    display: none;
    /* Flex when active */
    justify-content: center;
    align-items: center;
    z-index: 1000;
    animation: fadeIn 0.2s ease-out;
}

.modal-box {
    background: #fff;
    border: 5px solid #ff6b00;
    border-radius: 20px;
    padding: 2rem;
    max-width: 90%;
    width: 400px;
    text-align: center;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.3);
    position: relative;
    transform: scale(0.9);
    animation: popIn 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275) forwards;
}

.modal-text {
    font-size: 1.5rem;
    color: #2f3542;
    margin-bottom: 2rem;
    word-break: keep-all;
    line-height: 1.4;
}

.modal-btn {
    background-color: #feca57;
    color: #fff;
    border: 3px solid #ff9f43;
    padding: 0.8rem 2rem;
    font-size: 1.2rem;
    border-radius: 15px;
    cursor: pointer;
}

/* ===========================
   MOBILE LANDSCAPE REFINEMENTS
   Targeting devices with limited height (typical of mobile landscape)
   =========================== */
@media screen and (max-height: 500px) and (orientation: landscape) {

    /* 1. Fix Button Text Truncation & Size */
    body.is-mobile .option-card-pilled {
        white-space: normal !important;
        overflow: visible !important;
        text-overflow: clip !important;
        font-size: 0.9rem !important;
        padding: 0.2rem !important;
        height: auto !important;
        min-height: 44px;
        display: flex;
        align-items: center;
        justify-content: center;
        line-height: 1.1;
    }

    /* 2. Fix Bowl Size (Make it bigger in landscape) */
    /* UPDATED: Match Web Proportions (Scaled Down) */
    body.is-mobile .bowl-image {
        height: 70vh !important;
        width: auto !important;
        max-height: none !important;
        margin-top: 2vh !important;
    }

    /* 3. Adjust Ingredients to fit the larger bowl */
    body.is-mobile .ingredient-visual {
        max-width: 64% !important;
        max-height: 64% !important;
    }

    /* 4. Layout Tweak for Scene 1 Bottom */
    body.is-mobile .scene1-bottom {
        min-height: 18vh !important;
        padding: 0.2rem !important;
    }

    body.is-mobile .options-grid-bottom {
        gap: 0.3rem !important;
    }

    /* Adjust static title to not overlap */
    body.is-mobile .scene1-title-static h1 {
        font-size: 1.5rem !important;
        top: 2% !important;
    }

    /* 5. Centralize Ingredient Overlay */
    body.is-mobile .ingredient-overlay {
        width: 50vh !important;
        left: 50% !important;
        transform: translateX(-50%) !important;
    }

    /* 6. Scene 3 Specifics (Cooking) - User Provided Snippet Values (Restored/Specific) */
    body.is-mobile .cooking-burner {
        width: 211px !important;
        height: auto !important;
        top: 77% !important;
        left: 49% !important;
        transform: translate(-50%, -50%) !important;
    }
}

body.is-mobile .cooking-dough-result {
    width: 147px !important;
    height: auto !important;
    top: 73% !important;
    left: 73% !important;
    transform: translate(-50%, -50%) !important;
}

/* Adjust cooking visual to match burner - Method Specific (User Snippets) */

body.is-mobile .cooking-action-visual.method-pan_fry {
    width: 262px !important;
    height: auto !important;
    top: 51% !important;
    left: 54% !important;
    transform: translate(-50%, -50%) !important;
}

body.is-mobile .cooking-action-visual.method-steam {
    width: 201px !important;
    height: auto !important;
    top: 46% !important;
    left: 49.7% !important;
    transform: translate(-50%, -50%) !important;
}

body.is-mobile .cooking-action-visual.method-deep_fry {
    width: 222px !important;
    height: auto !important;
    top: 43% !important;
    left: 54% !important;
    transform: translate(-50%, -50%) !important;
    opacity: 1 !important;
}

body.is-mobile .cooking-effect-overlay {
    width: 87px !important;
    height: auto !important;
    top: 16% !important;
    left: 52% !important;
    transform: translate(-50%, -50%) !important;
}

/* 7. Fixed Result Images (Specific User Request for Mobile - WITH NEW CLASS) */
body.is-mobile #fixed-results-container {
    /* User Snippet: top: -13px; right: 119px; */
    width: auto !important;
    /* Wrapper determines width */
    right: 119px !important;
    top: -13px !important;
}

/* Target the wrapper using the NEW CLASS */
body.is-mobile .mobile-fixed-result-override {
    width: 250px !important;
    height: 250px !important;
}

/* Bowl Image inside the new wrapper */
/* Bowl Image inside the new wrapper */
/* Bowl Image inside the new wrapper - FINAL USER CONFIRMED SNIPPET */
body.is-mobile .mobile-fixed-result-override .fixed-result-img:not(.scene1-result) {
    width: 74% !important;
    height: auto !important;
    position: absolute !important;
    top: 0px !important;
    left: 112px !important;
    z-index: 1 !important;
}

/* Inner Result (Scene 1 Result) inside the new wrapper */
body.is-mobile .mobile-fixed-result-override .scene1-result {
    width: 55% !important;
    height: auto !important;
    position: absolute !important;
    top: 5% !important;
    left: 137px !important;
    z-index: 2 !important;
    right: auto !important;
}

/* 8. Scene 4 Visuals (Mobile: 70% Size) */
body.is-mobile .wood-plate-center {
    width: 315px !important;
    /* 450 * 0.7 */
}

body.is-mobile .scene4-tl-wrapper {
    width: 175px !important;
    /* 250 * 0.7 */
    height: 175px !important;
}

body.is-mobile .scene4-tr-wrapper {
    width: 170px !important;
    /* 243 * 0.7 = 170.1 */
    height: 108px !important;
    /* 154 * 0.7 = 107.8 */
}

/* Center Dough & Overlays & Final Shape (Scene 4) - Kept at 174px */
body.is-mobile .shape-target-dough,
body.is-mobile .filling-overlay-one,
body.is-mobile .final-shape-visual {
    width: 174px !important;
}

/* Scene 5 Center Visuals - Reduced another 30% (from 174px -> 122px) */
body.is-mobile .scene5-center-visual {
    width: 174px !important;
}

.modal-btn:hover {
    background-color: #ff9f43;
    color: #fff;
}

@keyframes popIn {
    to {
        transform: scale(1);
    }
}

/* ===========================
   PERSISTENT UI ELEMENTS
   =========================== */
#scene-root {
    flex: 1;
    display: flex;
    flex-direction: column;
    width: 100%;
    position: relative;
    overflow: hidden;
    /* Handle scene overflow internally */
}

.youtube-link {
    position: absolute;
    top: 15px;
    right: 15px;
    z-index: 9999;
    /* Always on top */
    transition: transform 0.2s ease;
}

.youtube-link:hover {
    transform: scale(1.1);
}

.youtube-profile-img {
    width: 55px;
    height: 55px;
    border-radius: 50%;
    /* border: 3px solid #fff; */
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
    object-fit: cover;
    display: block;
}