/* lemon e legend possibili font*/
@font-face {
    font-family: Lemon;
    src: url(font/Lemon-Regular.ttf);
}

@font-face {
    font-family: Lexend;
    src: url(font/Lexend-VariableFont_wght.ttf);
}



@media screen and (max-width: 2600px) {

body{
    background-color: rgb(49, 49, 49);
    font-family: Lexend, sans-serif;
    font-size: 16px;
    background-image: url(immagini/sfondo_debba.jpg);
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    background-attachment: fixed;
    margin: 0 0 0 0;
}

img {
    max-width: 100%; 
    display: block;
    width: auto;
    object-fit: contain;
}

h1{
    font-family: Lemon, sans-serif;
    font-size: 2.5rem;
}

h2{
    font-family: Lemon, sans-serif;
    font-size: 2rem;
}


header{
    color: white;
    
    text-align: center;
    padding: 20px;
    height: fit-content;
    background-color: rgba(58, 58, 58, 0.8);
    box-shadow: inset 0 4px 8px rgba(0, 0, 0, 0.35);
}



#copertina {
    /* width: 430px;
    height: 510px; */

    height: fit-content;
    /* /* width: auto; */
    max-width: 90vw;
    max-height: 90vh;

    position: absolute;
    margin-top: 3.8vh ;
    margin-left: 50%;
    transform: translateX(-50%);

    box-shadow: 0 0 20px rgba(0, 0, 0, 0.45);
    border-color: black;
    border-style: solid;
    border-width: 1px;
}

#link_facebook {
    width: 4vw;
    height: 4vw;
    border-radius: 20px;
    margin: 10px;
    position: fixed;
    bottom: 5vh;
    right: 1.5vw;
    transition: transform 0.2s ease-in-out;

    z-index: 101;
}

#link_facebook:hover {
    transform: scale(1.05);
}

#link_instagram {
    width: 4vw;
    height: 4vw;
    border-radius:20px;
    margin: 10px;
    position: fixed;
    bottom: 15vh;
    right: 1.5vw;
    transition: transform 0.2s ease-in-out;

    z-index: 100;
}


#link_instagram:hover {
   transform: scale(1.05);
}

#copyright{
    background-color: rgba(58, 58, 58, 0.8) ;
    color: white;
    font-size: small;
    text-align: center;
    width: fit-content;
    height: fit-content;
    padding: 15px;
    border-radius: 0 3vh 0 0;

    position: fixed;
    bottom: 0;
    left: 0;
}
}

/* divisione per dispositivi assicurandosi che venga responsive */
@media screen and (max-width: 1025px) {
    #copertina {
        /* width: 72vw; */
        height: 65vh;
    }
    h1 {
        font-size: 4rem;
    }
    h2 {
        font-size: 3.5rem;
    }

    #link_facebook {
        width: 8vw;
        height: 8vw;
        border-radius: 2vw;
        position: fixed;
        bottom: 15vh;
        right: 1.5vw;
    }

    #link_instagram {
        width: 8vw;
        height: 8vw;
        border-radius: 2vw;
        position: fixed;
        bottom: 5vh;
        right: 1.5vw;
    }
}


@media screen and (max-width: 850px) {
    #copertina {
        /* width: 72vw; */
        height: 65vh;
    }
    h1 {
        font-size: 3rem;
    }
    h2 {
        font-size: 2.7rem;
    }

    #link_facebook {
        width: 8vw;
        height: 8vw;
        border-radius: 2vw;
        position: fixed;
        bottom: 15vh;
        right: 1.5vw;
    }

    #link_instagram {
        width: 8vw;
        height: 8vw;
        border-radius: 2vw;
        position: fixed;
        bottom: 5vh;
        right: 1.5vw;
    }
}

@media screen and (max-width: 480px) {
    #copertina {
        /* width: 88vw; */
        height: 55vh;
    }
    h1 {
        font-size: 1.8rem;
    }
    h2 {
        font-size: 1.5rem;
    }

     #link_facebook {
        width: 8vw;
        height: 8vw;
        border-radius: 2vw;
        position: fixed;
        bottom: 11vh;
        right: 1.5vw;
    }
}

@media screen and (max-width: 375px) {
    #copertina {
        /* width: 75vw; */
        height: 42vh;
    }
    h1 {
        font-size: 1.6rem;
    }
    h2 {
        font-size: 1rem;
    }

     #link_facebook {
        width: 12vw;
        height: 12vw;
        border-radius: 4vw;
        position: fixed;
        bottom: 10vh;
        right: 1.5vw;
    }

    #link_instagram {
        width: 12vw;
        height: 12vw;
        border-radius: 4vw;
        position: fixed;
        bottom: 3vh;
        right: 1.5vw;
    }
}