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

html, body {
    height: 100%;
}

body {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100vh;
    width: 100vw;
    background-color: #ffffff;
    font-family: Arial, Helvetica, sans-serif;
    overflow: hidden;
}

h1 {
    flex: 0 0 auto;
    padding: 10px;
    text-align: center;
    color: #222222;
    font-size: clamp(16px, 2.5vw, 28px);
}

.grid {
    display: grid;
    grid-template-columns: repeat(30, 1fr);
    grid-template-rows: repeat(17, 1fr);
    aspect-ratio: 30 / 17;
    width: min(100vw, calc(100vh * 30 / 17));
    height: min(100vh, calc(100vw * 17 / 30));
    gap: 0px;
    background-color: #fff;
    padding: 2px;
}

.cuadro {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
    font-size: clamp(6px, 1vw, 12px);
    color: #222222;
    font-family: Arial, Helvetica, sans-serif;
    overflow: hidden;
}
