@font-face {
    font-family: 'PP NeueBit';
    src: url('./fonts/ppneuebit-bold.woff2') format('woff2');
    font-weight: 700;
    font-display: block;
}


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

html {
    font-size: 16px;
}

body {
    min-height: 100vh;
    background-color: #000000;
    font-family: 'PP NeueBit', monospace;
    overflow-x: hidden;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 2rem;
}

.container {
    width: 100%;
    max-width: 120rem;
    aspect-ratio: 16 / 9;
    position: relative;
    background-color: #000000;
}

.main-frame {
    width: 100%;
    height: 100%;
    background-color: #FFFFFF;
    position: relative;
    padding: 2rem;
}

.block-top-left {
    position: absolute;
    left: 0.8%;
    top: 1.45%;
    width: 58.1%;
    height: 52.9%;
    background-color: #000000;
    border: 2px solid #000000;
    display: flex;
    align-items: center;
    justify-content: center;
}

.block-top-right {
    position: absolute;
    left: 59.65%;
    top: 1.45%;
    width: 28.45%;
    height: 52.9%;
    background-color: #B0DEF3;
    border: 2px solid #000000;
    display: flex;
    align-items: center;
    justify-content: center;
}

.block-bottom-left {
    position: absolute;
    left: 0.8%;
    top: 55.8%;
    width: 49.5%;
    height: 42.75%;
    background-color: #FFFFFF;
    border: 2px solid #000000;
    display: flex;
    align-items: center;
    justify-content: center;
}

.block-bottom-right {
    position: absolute;
    left: 51.1%;
    top: 55.8%;
    width: 37.0%;
    height: 42.75%;
    background-color: #DDB8CA;
    border: 2px solid #000000;
    display: flex;
    align-items: center;
    justify-content: center;
}

.text-white {
    color: #FFFFFF;
    font-size: clamp(3rem, 8vw, 9rem);
    font-weight: 700;
    line-height: 0.714111328125;
    text-align: center;
    font-family: 'PP NeueBit', monospace;
    user-select: none;
}

.text-black {
    color: #000000;
    font-size: clamp(3rem, 8vw, 9rem);
    font-weight: 700;
    line-height: 0.714111328125;
    text-align: center;
    font-family: 'PP NeueBit', monospace;
    user-select: none;
}

.logo {
    width: clamp(80px, 10vw, 122px);
    height: clamp(68px, 8.5vw, 105px);
    flex-shrink: 0;
}

.block-small-top {
    position: absolute;
    left: 88.9%;
    top: 55.8%;
    width: 10.3%;
    height: 5.7%;
    background-color: #FFFFFF;
    border: 2px solid #000000;
    display: flex;
    align-items: center;
    justify-content: center;
}

.block-small-bottom {
    position: absolute;
    left: 88.9%;
    top: 63.0%;
    width: 10.3%;
    height: 5.7%;
    background-color: #FFFFFF;
    border: 2px solid #000000;
    display: flex;
    align-items: center;
    justify-content: center;
}

.text-small {
    color: #000000;
    font-size: clamp(0.6rem, 1.5vw, 1.875rem);
    font-weight: 700;
    line-height: 0.714111328125;
    text-align: center;
    font-family: 'PP NeueBit', monospace;
    user-select: none;
    text-decoration: none;
}

a.text-small:hover {
    text-decoration: underline;
}

/* Tablet landscape and smaller desktops */
@media screen and (max-width: 1024px) {
    body {
        padding: 1.5rem;
    }
    
    .main-frame {
        padding: 1.5rem;
    }
    
    .text-white,
    .text-black {
        font-size: clamp(2rem, 6vw, 5rem);
    }
}

/* Tablet portrait */
@media screen and (max-width: 768px) {
    body {
        padding: 1rem;
        align-items: flex-start;
        padding-top: 2rem;
    }
    
    .container {
        width: 100%;
        max-width: none;
        aspect-ratio: auto;
        min-height: calc(100vh - 4rem);
    }
    
    .main-frame {
        padding: 1rem;
        height: auto;
        min-height: calc(100vh - 6rem);
    }
    
    .block-top-left {
        position: static;
        width: 100%;
        height: 120px;
        margin-bottom: 1rem;
    }
    
    .block-top-right {
        position: static;
        width: 100%;
        height: 120px;
        margin-bottom: 1rem;
    }
    
    .block-bottom-left {
        position: static;
        width: 100%;
        height: 100px;
        margin-bottom: 1rem;
    }
    
    .block-bottom-right {
        position: static;
        width: 100%;
        height: 100px;
        margin-bottom: 1rem;
    }
    
    .block-small-top,
    .block-small-bottom {
        position: static;
        width: 100%;
        height: 60px;
        margin-bottom: 0.5rem;
    }
    
    .text-white,
    .text-black {
        font-size: clamp(1.5rem, 8vw, 3rem);
    }
    
    .text-small {
        font-size: clamp(0.8rem, 4vw, 1.2rem);
    }
}

/* Mobile */
@media screen and (max-width: 480px) {
    body {
        padding: 0.5rem;
    }
    
    .main-frame {
        padding: 0.5rem;
    }
    
    .block-top-left,
    .block-top-right,
    .block-bottom-left,
    .block-bottom-right {
        height: 80px;
        margin-bottom: 0.5rem;
    }
    
    .block-small-top,
    .block-small-bottom {
        height: 50px;
        margin-bottom: 0.3rem;
    }
    
    .text-white,
    .text-black {
        font-size: clamp(1rem, 6vw, 2rem);
    }
    
    .text-small {
        font-size: clamp(0.6rem, 3vw, 1rem);
    }
    
    .logo {
        width: clamp(40px, 8vw, 80px);
        height: clamp(34px, 6.8vw, 68px);
    }
}

/* Very large screens */
@media screen and (min-width: 1920px) {
    .container {
        max-width: 120rem;
    }
}

