﻿@import url('https://fonts.googleapis.com/css2?family=Dancing+Script&display=swap');


*{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Montserrat';
    scroll-behavior: smooth;
}

body
{
    position: relative;
    display: flex;
    min-height: 100vh;
    overflow-x: hidden;
}

.header{
    display: none;
}

input[name = 'list']{
    display: none;
}


header{
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: 0.6s;
    padding: 40px 100px;
    z-index: 100;
}

header .mobile{
    display: none;
}


.sticky{
    padding: 10px 100px;
    background: rgba(255, 255, 255, 0.5);
}


.sticky ul li a{
    color: #000;
}

header .logo{
    position: relative;
    font-weight: 700;
    text-decoration: none;
    font-size: 1.6em;
    color: #455fb0;
    text-transform: uppercase;
    letter-spacing: 2px;
    transition: 0.6s;
    font-family: 'Dancing Script';
}

header ul{
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
}

header ul li{
    position: relative;
    list-style: none;

}

header ul li a{
    position: relative;
    margin: 0 15px;
    text-decoration: none;
    color: #fff;
    letter-spacing: 2px;
    font-weight: 500;
    transition: 0.6s;
}

header ul li a:hover{
    letter-spacing: 5px;
    color: #455fb0;
}

.banner{
    position: absolute;
    display: flex;
    width: 100%;
    min-height: 100vh;
    top: 0;
    right: 0%;
    opacity: 1;
    z-index: 1;
    animation: backgroundImage 30s infinite;
}



@keyframes backgroundImage{
    0%, 10%{
        background: url('./images/pistaBowling.JPG');
        background-repeat: no-repeat;
        background-size: cover;
    }
    20%, 30%{
        background: url('./images/carambola2.JPG');
        background-repeat: no-repeat;
        background-size: cover;
    }
    40%, 50%{
        background: url('./images/salaGiochiAvanti1.JPG');
        background-repeat: no-repeat;
        background-size: cover;
    }
    60%, 70%{
        background: url('./images/pingPong.JPG');
        background-repeat: no-repeat;
        background-size: cover;
    }
    80%, 90%{
        background: url('./images/bar2.JPG');
        background-repeat: no-repeat;
        background-size: cover;
    }
    100%{
        background: url('./images/pistaBowling.JPG');
        background-repeat: no-repeat;
        background-size: cover;
    }
    
}


.banner::before{
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    background: linear-gradient(60deg, #29323c 0%, #485563 100%);
    opacity: 0.6;
    z-index: 10;
}

.write{
    position: absolute;
    top: 300px;
    left: 20%;
    z-index: 5;
}

.write .bowl{
    position: relative;
    margin-bottom: 10px;
}

.write .bowl h1{
    color: transparent;
    font-size: 7vw;
    left: 0;
    animation: text_Reveal 0.5s ease forwards;
    animation-delay: 0.8s;
}

.write .bowl h1 span{
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    width: 0%;
    background:#455fb0;
    animation: text_Reveal_box 1s ease;
    animation-delay: 0.3s;
}

.write .lineContainer{
    position: relative;
}

.write .lineContainer .line{
    width: 0%;
    height: 0.3vw;
    background:#455fb0;
    border: none;
    animation: line_Reveal 0.5s ease forwards;
    animation-delay: 1.2s;
}

.write .city{
    position: relative;
    margin-top: 10px;
    width: 50%;
}

.write .city h2{
    color: transparent;
    font-size: 3.5vw;
    animation: text_Reveal 0.5s ease forwards;
    animation-delay: 2.2s;
}

.write .city h2 span{
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    width: 0%;
    background:#455fb0;
    animation: text_Reveal_box 1s ease;
    animation-delay: 1.7s;
}

@keyframes text_Reveal_box{
    50%{
        width: 100%;
        left: 0;
    }
    100%{
        width: 0%;
        left: 100%;
    }

}

@keyframes text_Reveal{
    100%{
        color: #fff;
    }
}

@keyframes line_Reveal{
    0%{
        width: 0%;
    }
    100%{
        width: 100%;
    }
}

.background{
    top: 100%;
    position: absolute;
    width: 100%;
    background: #dedede;
    z-index: 10;
}



.section-title{
    font-size: 4em;
    font-weight: 300;
    color: black;
    margin-bottom: 10px;
    text-transform: uppercase;
    letter-spacing: 0.2rem;
    text-align: center;
}

.section-title span{
    color: #455fb0;
}


/*services*/

#services{
    transition: 1s ease;
}

#services .project{
    flex-direction: column;
    max-width: 1500px;
    margin: 0 auto;
    padding: 100px 0;
}

#services .project-header{
    margin-bottom: 50px;
}

#services .all-project{
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
}

#services .project-item{
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    width: 80%;
    margin: 20px auto;
    overflow: hidden;
    border-radius: 20px;
}

#services .project-info{
    padding: 30px;
    flex-basis: 50%;
    background: #fff;
    height: 100%;
    display: flex;
    align-items: flex-start;
    justify-content: center;
    flex-direction: column;
    background: linear-gradient(60deg, #455fb0, #7a8ecc);
    color: #fff;
}

#services .project-info h1{
    font-size: 3.5rem;
    font-weight: 500;
}

#services .project-info h2{
    font-size: 1.8rem;
    font-weight: 500;
    margin-top: 10px;
}

#services .project-info p{
    color: #fff;
    margin-top: 10px;
    text-align: justify;
}

#services .project-info p .mini{
    font-size: 0.7rem;
}

#services .project-img{
    flex-basis: 50%;
    overflow: hidden;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

#services .project-img:after{
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    height: 100%;
    width: 100%;
    background: linear-gradient(60deg, #29323c 0%, #485563 100%);
    opacity: 0.6;
}

#services .project-item .project-img img{
    transition: 0.5s ease transform;
    height: 110%;
    width: 100%;
}

#services .project-item:nth-child(1) .project-img img{
    content: url('./images/birilloRosso1.JPG');
}

#services .project-item:nth-child(2) .project-img img{
    content: url('./images/salaGiochiAvanti1.JPG');
}

#services .project-item:nth-child(3) .project-img img{
    content: url('./images/carambola2.JPG');
}

#services .project-item:nth-child(4) .project-img img{
    content: url('./images/pingPong.JPG');
}

#services .project-item:nth-child(5) .project-img img{
    content: url('./images/bar2.JPG');
}

#services .project-item:hover .project-img img{
    transform: scale(1.1);
}
/*end services*/



/*price*/

#price{
    transition: 1s ease;
}

#price .service{
    flex-direction: column;
    text-align: center;
    max-width: 1900px;
    margin: 0 auto;
    padding: 50px 0;
}


#price .service-top ul{
    display: flex;
    flex-direction: row;
    justify-content: center;
    margin-top: 25px;
}

#price .service-top ul li{
    list-style: none;
    margin: 0 25px;
    padding: 5px;
    border-left: 3px solid #455fb0;
}

#price .service-bottom{
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 50px;
}

#price .service-item{
    flex-basis: 80%;
    display: flex;
    justify-content: center;
    flex-direction: column;
    padding: 5px;
    border-radius: 20px;
    margin: 10px 5%;
    position: relative;
    z-index: 1;
    overflow: hidden;
    transition: 0.5s ease;
    background-position: center;
    background-size: 125%;
    background-repeat: no-repeat;
}


#price .service-item:nth-child(1){
    background: url(./images/pistaBowling.JPG);
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
}


#price .service-item:nth-child(2){
    background: url(./images/carambola2.JPG);
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
}

#price .service-item:nth-child(3){
    background: url(./images/pingPong.JPG);
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
}

#price .service-item::after{
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    width: 100%;
    background: linear-gradient(60deg, #29323c 0%, #485563 100%);
    opacity: 0.7;
    z-index: -1;
}

#price .service-bottom .icon{
    height: 80px;
    width: 80px;
    margin-bottom: 20px;
}

#price .service-bottom .icon ion-icon{
    font-size: 5em;
    color: #fff;
}

#price .service-bottom .icon img{
    width: 100%;
    height: 100%;
}

#price .service-item h2{
    text-align: left;
    font-size: 2rem;
    color: #fff;
    margin-bottom: 10px;
    text-transform: uppercase;
}

#price .service-item ul{
    color: #fff;
    font-size: 1rem;
    line-height: 1.9rem;
}

#price .service-item ul li{
    list-style: none;
    margin: 5px 0;
}

#price .service-item ul li h4{
    font-size: 1.5em;
}

#price .service-item ul li h4 span{
    font-size: 0.9rem;
}



#price .service-item ul li h5{
    font-size: 1em;
}


#price .service-bottom .service-item:nth-child(1) .all{
    color: #fff;
    font-size: 1rem;
    font-family: 'Montserrat';
    margin-bottom: 5px;
}



/*end price*/



/*place*/


#place{
    display: flex;
    position: relative;
    transition: 1s ease;
}

#place .place-container{
    display: flex;
    flex-direction: column;
    justify-content: center;
    max-width: 1900px;
    text-align: center;
    margin: 0 auto;
    padding: 30px 0;
}

#place .place-bottom{
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 50px;
    margin-left: 200px;
    transition: 1s ease;
}

#place .place-bottom p{
    position: relative;
    width: 200px;
    margin-right: 70px;
    z-index: 1;
    text-align: left;
    font-size: 1.3rem;
}

.mapouter{
    margin-top: 75px;
    border-radius: 20px;
    position: relative;
    width: 300px;
    z-index: 1;
}

iframe{
    border-radius: 20px;
}

.mapouter::after{
    content: '';
    position: absolute;
    top: -40px;
    left: -60px;
    width: 100%;
    height: 100%;
    border: 5px solid #455fb0;
    z-index: -5;
    border-radius: 20px;
}

/*end place*/



/*contact*/

#contact{
    transition: 1s ease;
}

#contact .contact{
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    max-width: 1200px;
    margin: 0 auto;
}

#contact .contact-items{
    width: 400px;
}

#contact .contact-items a{
    text-decoration: none;
    color: black;
}

#contact .contact-item{
    width: 80%;
    padding: 20px;
    text-align: center;
    border-radius: 20px;
    padding: 30px;
    margin: 30px;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    background: #fff;
    box-shadow: 15px 15px 18px 0 #0000002c;
    transition: 0.5s ease;
    cursor: pointer;
}

#contact .contact-item:hover{
    box-shadow: 0px 0px 5px 0 #0000002c;
}


#contact .icon{
    width: 70px;
    margin: 0 auto;
    margin-bottom: 10px;
}

#contact .icon ion-icon{
    font-size: 3rem;
    color: #455fb0;
}

#contact .contact-info span{
    color: #455fb0;
}

#contact .contact-info h1{
    font-size: 2.5rem;
    font-weight: 500;
    margin-bottom: 5px;

}

#contact .contact-info h2{
    font-size: 1.3rem;
    line-height: 2rem;
    font-weight: 500;
}

/*end contact*/

footer{
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    width: 100%;
    height: 400px;
    background: linear-gradient(60deg, #455fb0, #7a8ecc);
    color: white;
}

footer .info{
    position: relative;
    width: 80%;
    height: 80%;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
}

footer .info ul{
    display: flex;
    flex-direction: column;
    text-align: center;
}

footer .info ul li{
    list-style: none;
    margin: 10px 0;
}

footer .info ul li ion-icon{
    font-size: 1.3rem;
    margin-top: 5px;
}

footer .info ul li .icon a{
    text-decoration: none;
    font-size: 2rem;
    margin-top: 5px;
    color: white;
}

footer .info ul li .icon a ion-icon{
    font-size: 1.7em;
}

footer .info ul li .creator h5{
    margin: 10px 0;
}

footer .info ul li .creator h6 ion-icon{
    font-size: 1.4em;
    margin: 0 5px;
}









/*tablet*/
@media only screen and (min-width: 786px){


        #services .project-item{
            flex-direction: row;
        }

        #services .project-item:nth-child(even){
            flex-direction: row-reverse;
        }

        #services .project-item{
            height: 400px;
            margin: 0;
            width: 100%;
            border-radius: 0;
        }

        #project .all-project .project-info{
            height: 100%;
        }

        #project .all-project .project-img{
            height: 100%;
        }
        
        #price .service-bottom .service-item{
            flex-basis: 30%;
            height: 300px;
            margin: 2.5%;

        }

        #contact .contact{
            flex-direction: column;
            padding: 100px 0;
            align-items: center;
            justify-content: center;
            min-width: 20vh;
        }

        #contact .contact-items{
            width: 100%;
            display: flex;
            flex-direction: row;
        }

        #price .service-item{
            padding: 10px 10px;
        }

    

}


@media only screen and (max-width: 786px){


    header{
        padding-right: 30px;
    }

    .header{
        position: fixed;
        display: flex;
        top: 0;
        left: 100%;
        background: rgba(30, 30, 30, 0.95);
        justify-content: center;
        align-items: center;
        width: 100%;
        height: 100vh;
        z-index: 100;
        transition: 0.5s ease left;
        overflow: hidden;
    }

    .header ul{
        position: relative;
    }
    
    .header ul li{
        position: relative;
        list-style: none;
        margin: 50px 0px;
    }
    
    .header ul li a{
        position: relative;
        text-decoration: none;
        font-size: 1.5em;
        color: #fff;
        letter-spacing: 2px;
        font-weight: 500;
        transition: 0.5s;
    }

    .header ul li a::after{
        content: attr(data-after);
        position: absolute;
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%) scale(0);
        color: rgba(240, 248, 255, 0.04);
        font-size: 4rem;
        letter-spacing: 50px;
        z-index: 0;
        transition: 0.3s ease letter-spacing;
    }

    .header ul li:hover a::after{
        transform: translate(-50%, -50%) scale(1);
        letter-spacing: initial;
    }

    .header ul li a:hover {
        color: #455fb0;
    }


    .sticky{
        padding-right: 30px;
    }

    header ul{
        display: none;
    }

    header .mobile{
        position: relative;
        display: flex;
        width: 50px;
        height: 50px;
        background: #000;
        opacity: 0.6;
        border-radius: 50%;
        justify-content: center;
        align-items: center;
        cursor: pointer;
    }

    header .mobile:hover{
        filter: brightness(1.5);
    }

    header .mobile ion-icon{
        color: #fff;
        width: 30px;
        height: 30px;
    }
    
    #services .project-img img{
        height: 300px;
    }

    #services .project-img img{
        height: 300px;
    }


    .banner{
        min-height: 50vh;
    }

    .background{
        top: 50%;
        position: absolute;
        width: 100%;
        background-size: cover;
        background: #dedede;
        z-index: 10;
    }

    .write{
        position: absolute;
        top: 150px;
        left: 20%;
        z-index: 5;
    }
    
    

    #place .place-bottom{
        margin-left: 100px;
    }


    #price .service-top ul{
        flex-direction: column;
    }

    #price .service-top ul li{
        margin: 10px 0;
        border: none;
    }

    #services .project-item:nth-child(3) .project-info h1{
        font-size: 3rem;
    }





}