body {
    margin: 0;
    padding: 0;
    font-family: "Cormorant Garamond", serif;
    background-image: url('../img-vid/pexels-kelly-17311064.jpg');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
}

.loghi {
    position: fixed;
    top: 15px;
    left: 15px;
    z-index: 9999;
    display: flex;
    gap: 10px;
    align-items: center;
}

.logo {
    width: 60px;
    height: 60px;
    object-fit: contain;
    filter: drop-shadow(0 0 5px rgba(0, 0, 0, 0.4));
}

.btn-home {
    display: inline-block;
    margin-left: 15px; 
    padding: 10px 20px;
    background-color: #009fe3; 
    color: white;
    text-decoration: none;
    font-family: "Shadows Into Light", cursive;
    font-size: 1.2em;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0,0,0,0.2);
    transition: background-color 0.3s, transform 0.2s;
}

.btn-home:hover {
    background-color: #0073a7; 
    transform: translateY(-2px);
}

.box-centrale {
    max-width: 800px;
    width: 90%;
    margin: 50px auto;
    padding: 30px;
    background: #ffffff; 
    border-radius: 20px;
    box-shadow: 0 6px 25px rgba(0, 0, 0, 0.2);
    text-align: center;
}

h1 {
    font-family: "Dancing Script", cursive;
    color: #006fa7;
    font-size: 3rem;
    margin-bottom: 30px;
}

h2 {
    font-family: "Shadows Into Light", cursive;
    color: #009fe3;
    font-size: 2rem;
    margin-top: 25px;
    margin-bottom: 15px;
}

p {
    font-family: "Cormorant Garamond", serif;
    font-weight: 500;
    font-size: 1.4em;
    line-height: 1.7;
    margin-bottom: 25px;
    color: #333;
    text-align: justify;
    padding: 0 10px;
}

@media (max-width: 1024px) {
    
    h1 {
        font-size: 2.5rem; 
    }

    h2 {
        font-size: 1.8rem;
    }

    p {
        font-size: 1.3em;
    }
}

@media (max-width: 600px) {
    
    body {
        background-attachment: scroll; 
        display: block; 
    }

    .loghi {
        position: static;
        justify-content: center;
        width: 100%;
        padding: 10px 0;
        gap: 15px;
    }
    
    .logo {
        width: 45px;
        height: 45px;
    }
    
    .btn-home {
        padding: 8px 15px;
        font-size: 1em;
        margin-left: 0;
    }

    .box-centrale {
        width: 95%;
        margin: 20px auto;
        padding: 20px 15px;
        border-radius: 10px;
    }

    h1 {
        font-size: 2rem; 
        margin-bottom: 20px;
    }

    h2 {
        font-size: 1.5rem;
        margin-top: 15px;
    }

    p {
        font-size: 1.1em;
        line-height: 1.6;
        padding: 0;
    }
}