:root{
    --blue: #0F282C;
    --azure: #1E5058;
    --red: #EF4508;
    --rose: #F4835A;
    --beige: #F9C1AC;
}

body {
    margin: 0;
    padding: 0;
    font-family: 'Arial', sans-serif;
}

.container {
    display: flex;
    flex-direction: horizontal;
    overflow-x: scroll;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch; /* Abilita il touch scroll su Safari/iOS */
}

.page {
    display: grid;
    overflow-wrap: anywhere;
    align-content: center;
    flex: 0 0 100%;
    height: 100vh;
    scroll-snap-align: start;
    box-sizing: border-box;
    padding: 30px;
    font-size: 24px;
    border-bottom: 1px solid #ddd;
    font-family: 'Kanit', sans-serif;
    min-width: 380px;
}

.hidden{
display: none;
}

.page h1{
margin: 0;
}

.page.light {
color: var(--blue);
background-color: var(--beige);
}

.page.dark {
color: var(--beige);
background-color: var(--blue);
}

/* Media query per schermi di larghezza pari o superiore a 600px (tablet) */
@media (min-width: 600px) {
    .container {
    flex-direction: column; /* Torna al layout orizzontale per schermi più larghi */
    }
    .page {
    height: 100vh; /* Altezza automatica per adattarsi al contenuto */
    flex: 0 0 auto;
    width: 100%;
    }
}

p {
text-align: center;
}

video {
width: 100%;
}

div {
text-align: center;
}

table{
    margin: auto;
    width: 100%;
    max-width: 480px;
}