﻿* {
    box-sizing: border-box;
}

html, body {
    width: 100%;
    height: 100%;
    margin: 0;
}

body {
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #242424;
    overflow: hidden;
}

img {
    max-width: 80vw;
    max-height: 60vh;
    height: auto;
    width: auto;
    display: block;
    opacity: 0;
    animation: fadeIn 1.4s ease-out forwards;
}

/* Desktop / schermi grandi */
@media (min-width: 768px) {
    img {
        max-width: 420px;
        max-height: 240px;
    }
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}