﻿/* GOOGLE FONTS poppins*/
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@100..900&display=swap');

* {
    font-family: "Poppins", sans-serif;
    font-weight: 500;
}

/* Fullscreen layout foundation */
html,
body {
    margin: 0;
    padding: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    background-color: #FFF0EB;
}

/* Unity container MUST fill entire viewport */
#unity-container
{
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;

    height: 100vh; 
    height: 100dvh; 

    margin: 0;
    padding: 0;
    /* Support iPhone safe-area screens */
    padding-top: env(safe-area-inset-top);
    padding-bottom: env(safe-area-inset-bottom);
    padding-left: env(safe-area-inset-left);
    padding-right: env(safe-area-inset-right);
}

/* Unity canvas fills container */
#unity-canvas {
    width: 100% !important;
    height: 100% !important;
    touch-action: none;
}

/* -------------------------- */
/* YOUR LOADER (renamed class) */
/* -------------------------- */

.loader-container {
    display: flex;
    flex-direction: column;
    gap: 5vh;
    position: absolute;
    width: 100vw;

    height: 100vh;
    height: 100dvh;

    align-items: center;
    justify-content: center;
    background-color: #FFF0EB;
}

.loader {
    position: relative;
    width: 20vw;
    height: 20vw;
}

.image {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100%;
    height: auto;
    clip-path: inset(0 100% 0 0);
}

.mask {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100%;
    height: auto;
}

.wrapper {
    display: flex;
    gap: 0.2vw;
    align-items: center;
    transform: translateX(-10px);
}

.letter {
    width: 100%;
    height: 1.8vw;
    position: relative;
}
