section#header-nanosito{
    height: 330px;
}

div#nanosite-logo {
    min-height: 400px;
}

#nanosite-logo .img-fluid {
    top: 90px;
    right: 0px;
    width: 250px;
    height: 250px;
}

.nanosite-title {

}

#contatti-nanosito {
    padding-bottom: 80px;
    border-radius: 60px;
}

#contenuto-nanosito {
    height: 160px;
}

#nanosite-content {
    margin: 30px;
}

.nanosite-title {
    padding: 45px 20px 0 20px;
}

#button-game.btn-outline-success {
    font-size: 45px!important;
    line-height: 1.5;
    border-radius: 0.3rem;
    text-transform: uppercase;
    font-weight: bold;
    color: #fff;
    transition: 0.5s;
}

#button-game.btn-outline-success:hover{
    color: #123;
    border:1px solid #123!important;
}

#message_return {
    height: max-content;
    margin: -5px;
}

button#invio_richiesta {
    min-width: 100%;
}

.modal-open {
    overflow: auto;
}



@media (max-width: 575.98px) {

    .modal-content {
        min-width: 100%;
        min-height: 100vh;
    }

    .modal-dialog {
        margin: 0px;
    }

    section#header-nanosito {
        height: 100px;
    }

    #nanosite-logo .img-fluid {
        margin: 0px;
        width: 150px;
        height: 150px;
        border-radius: 120px!important;
        position: relative;
        top: -5px;
        box-shadow: none;
    }

    #header-nanosite {
        border-radius: 40px;
        box-shadow: 0px 5px 15px 1px;
        max-height: 200px;
        top: -40px;
        position: relative;
        margin: 0px;
        width: 100%;
    }
    #nanosite-logo {
        text-align: center;
        height: 0;
    }

    img#img-preview {
        border-radius: 30px 30px 0px 0px!important;
    }

    .nanosite-slogan {
        font-size: 14px;
        text-align: center;
        color: #fff;
    }
    .nanosite-title {
        font-size: 20px;
    }

    #nanosite-content {
        border-radius: 20px;
        padding: 20px;
        margin: 10px;
        box-shadow: inset 1px 1px 10px -2px #AFAFAF;
    }

    #nanosite-content p, li {
        font-size: 0.8rem;
        font-weight: 100;
        color: #AFAFAF;
    }

    #contenuto-nanosito {
        border-radius: 30px;
        height: 120px;
        -webkit-box-shadow: none;
        -moz-box-shadow: none;
        box-shadow: none;
        min-height: 54px;
    }

    .nanosite-contact-title {
        font-size: 16px;
        text-align: center;
        color: #fff;
        padding: 20px;
        border-radius: 0px;
    }

    #contatti-nanosito {
        padding-bottom: 30px;
        -webkit-border-radius: 30px;
        -moz-border-radius: 30px;
        border-radius: 30px;
        -webkit-box-shadow: none;
        -moz-box-shadow: none;
        box-shadow: none;
    }

    #nanosite-logo-mini .img-fluid {
        margin: 20px;
        width: 100px;
        height: 100px;
        border-radius: 150px!important;
        position: relative;
        top: -95px;
        right: -135px;
        box-shadow: 0px 0px 5px 1px #fff;
    }

    #button-game.btn-outline-success{
        font-size: 25px!important;
    }

    form#form_nano_sito{
        margin: 0px;
    }

    div#nanosite-logo-mini {
        height: 0;
    }

    #footer-nanosito {
        margin-top: 40px;
        margin-bottom: 40px;
        padding-bottom: 40px;
        padding-top: 40px;
        border-radius: 60px;
        box-shadow: 4px 4px 25px -4px #000;
        overflow: visible;
        height: 332px;
    }

    .nanosite-social-footer {
        margin-bottom: -140px;
        margin-top: 20px;
        /* padding-bottom: 20px; */
    }

    ul {
        list-style-type: none;
        padding: 0;
        margin: 0;
    }
    ul li {
        text-align: center;
        font-size: 16px;
        /* line-height: 1.75rem; */
    }

    #nanosite-copy {
        width: 100%;
        -webkit-box-shadow: none;
        -moz-box-shadow: none;
        box-shadow: none;
    }
}

/* Small devices (landscape phones, less than 768px)*/
@media (max-width: 767.98px) {

}

/* Medium devices (tablets, less than 992px)*/
@media (max-width: 991.98px) {

}

/* Large devices (desktops, less than 1200px)*/
@media (max-width: 1199.98px) {

}
