/* Stile base */

@font-face {
    font-family: minecraft;
    src: url('./../fonts/Minecraft.ttf');
}* {
    padding: 0;
    margin: 0;
    box-sizing: border-box;
    font-family: minecraft;
}


.container {
    background: red;
    width: 100vw;
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    gap: 5%;
    background-image: url('./../source/bg.png');
    background-position: center;
    background-repeat: repeat-x;
    background-size: contain;
}

.container video {
    width: 50%;
    height: 50%;
    background: black;
}

/* Media Queries */

/* Smartphone piccoli (max-width: 480px) */
@media (max-width: 480px) {
    .container {
        gap: 10%;
        background-size: cover;
    }

    .container video {
        width: 90%;
        height: auto; /* Mantieni il rapporto di aspetto */
    }
}

/* Smartphone medi (481px - 768px) */
@media (min-width: 481px) and (max-width: 768px) {
    .container {
        gap: 8%;
        background-size: cover;
    }

    .container video {
        width: 70%;
        height: auto;
    }
}

/* Tablet (769px - 1024px) */
@media (min-width: 769px) and (max-width: 1024px) {
    .container {
        gap: 6%;
    }

    .container video {
        width: 60%;
        height: auto;
    }
}

/* Laptop piccoli (1025px - 1440px) */
@media (min-width: 1025px) and (max-width: 1440px) {
    .container {
        gap: 5%;
    }

    .container video {
        width: 50%;
        height: auto;
    }
}

/* Laptop grandi e Desktop (1441px e oltre) */
@media (min-width: 1441px) {
    .container {
        gap: 4%;
    }

    .container video {
        width: 40%;
        height: auto;
    }
}
