* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Satoshi', sans-serif;
  
    
}



html body {

    height: 100%;
    width: 100%;

}

body {
    background: #000000;


}

:root {
    --menu-bg: #fdf007;
    --menu-color: rgb(0, 0, 0);
}

/* menu e ottimizzazione*/
.header {
    background-color: var(--menu-bg);
    position: fixed;
    top: 0;
    left: 0;
    z-index: 999;
    width: 100%;
    padding: 10px 15px;
   
}

.header__content {
    max-width: 1200px;
    width: 100%;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;

}

.header__logo,
.header__quick {
    text-decoration: none;
    display: flex;
    align-items: center;
    color: var(--menu-color)
}
.header__quick a {
    color: rgb(0, 0, 0);
    text-decoration: none;}
.header__menu {
    padding: 0;
    margin: 0;
}

.header__menu li {
    display: inline-block;
    text-decoration: none;
}

.header__menu li a {
    color: var(--menu-color);
    opacity: 0.8;
    display: block;
    padding: 16px;
    font-size: 15px;
    text-decoration: none;
}

@media screen and (min-width: 769px) and (max-width: 1270px) {

    header .header__content {
        width: 80%;
    }
}

.icon-hamburger span:first-child {
    margin-top: 16px;
}

@media (max-width: 768px) {
    .header__menu {
        position: absolute;
        top: 60px;
        left: 0;
        background-color: var(--menu-bg);
        width: 100%;
        height: 100vh;
        height: 0vh;
        overflow: hidden;
        transition: all 1s cubic-bezier(.255, .61, .355, 1);
    }

    .header__menu li {
        width: 100%;
        border-bottom: 1px solid #444
        
    }

    .menu-open .header__menu {
        height: 100vh;
        padding: 3%;
    }

    .icon-hamburger {
        height: 50px;
       
        margin-left: 20px;
        padding-top: 5px;
    }

    .icon-hamburger span {
        height: 2px;
        width: 30px;
        background: var(--menu-color);
        position: relative;
        display: block;
        margin-top: 11px;
        transition: all 1s cubic-bezier(.255, .61, .355, 1);
    }

    .menu-open .icon-hamburger span:nth-child(1) {
        transform: rotate(45deg) translateY(9px);
    }

    .menu-open .icon-hamburger span:nth-child(2) {
        transform: rotate(-45deg) translateY(-9px);
    }

    .header__quick {
        display: flex;
        justify-content: flex-end;
        width: 50%;
    }
}

/* ///////////////////////COVER TIMER  ///////////////////////*/
.cover {
    height: 100%;
background-color: #000000;
    background-size: cover;
    -o-bacground-size: cover;
    -moz-background-size: cover;
    background-repeat: no-repeat;
    background-position: center center;
    margin: 0 auto;
  
   
   


}

.logo {
    text-align: center;
    padding-top: 100px;
}
.giochilogo {
    height: 20%;
    width: 20%;
}


#timer {
    font-size: 20px;
    font-weight: bold;
    text-align: center;
    padding-bottom: 20px;
    margin-top: 30px;
    color: rgb(0, 0, 0);
    margin-top: 0px;
    
}


.button {
    --border-radius: 5px;
    --border-width: 5px;
    appearance: none;
    position: relative;
    padding: 0.5em 1.3em;
    border: 0;
    background-color: transparent;
    margin-top: 20px;
    font-size: 18px;
    font-weight: 500;
    color: rgb(0, 0, 0);
    z-index: 2;
}

.button::after {
    --m-i: linear-gradient(#000, #000);
    --m-o: content-box, padding-box;
    content: "";
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    padding: var(--border-width);
    border-radius: var(--border-radius);
    background-image: conic-gradient(#488cfb,
            #29dbbc,
            #ddf505,
            #ff9f0e,
            #e440bb,
            #655adc,
            #488cfb);
    -webkit-mask-image: var(--m-i), var(--m-i);
    mask-image: var(--m-i), var(--m-i);
    -webkit-mask-origin: var(--m-o);
    mask-origin: var(--m-o);
    -webkit-mask-clip: var(--m-o);
    mask-composite: exclude;
    -webkit-mask-composite: destination-out;
    filter: hue-rotate(0);
    animation: rotate-hue linear 500ms infinite;
    animation-play-state: paused;
}

.button:hover::after {
    animation-play-state: running;
}

@keyframes rotate-hue {
    to {
        filter: hue-rotate(1turn);
    }
}

.button,
.button::after {
    box-sizing: border-box;
}

.button:active {
    --border-width: 5px;
}


/* ///////////////////////CARD ///////////////////////*/
.covercard {
    background-attachment: fixed;
    padding: 50px;
    height: 100%;
    background-image: url(img/sfondo.jpg);
    background-size: cover;
    -o-bacground-size: cover;
    -moz-background-size: cover;
    background-repeat: no-repeat;
    background-position: center center;
    margin: 0 auto;
}
.card_container {
   
    min-height: 300px;
    display: flex;
    position: relative;
    flex-direction: row;
vertical-align: middle;
    justify-content: center;
    align-items: center;
    margin: 0 auto;
}

.card {
  
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    margin: 0px 80px;
    
    box-shadow: 5px 9px 22px -12px rgba(150, 150, 150, 0.4)
}


.card img {
object-fit: cover;
}

.front {
    border: 2px solid white;
width: 100%;
    height: 100%;
}
.card .back {
    text-align: center;
    background-repeat: no-repeat;
    background-position: center;
    background-size: cover;
    object-fit: cover;
    position: absolute;
    top: 0;
    left: 0;
    opacity: 0;
    transition: opacity 0.5s ease-in-out;
    overflow: auto;
}


.card .back.active {
opacity: 1;
}

.card .back {
    width: 100%;
    height: 100%;
}

.backcontainer {
    border: 3px solid white;
    width: 100%;
    height: 100%;
    /* display: -webkit-box; */
    min-width: 100%;
    height: 100%;
    background-image: url(img/sfondoretro.jpg);
    background-size: cover;
    -o-bacground-size: cover;
    -moz-background-size: cover;
    background-repeat: no-repeat;
    background-position: center center;

}
.card p {
    z-index: 1;
}
.back {
    position: absolute;
    z-index: 0;
}

#blue-text {
    position: relative;
    color: #ffffff;
    margin-bottom: 50px;
    z-index: 1;
    font-size: 1.875em;
    font-weight: bold;
    margin: 0 auto;
}

#red-text {
    position: relative;
    color: aliceblue;
    margin-bottom: 50px;
    z-index: 1;
    font-size: 1.875em;
    font-weight: bold;
    margin: 0 auto;
}

#yellow-text {
    text-align: center;
    position: relative;
    color: #ffffff;
    margin-bottom: 50px;
    z-index: 1;
    font-size: 1.875em;
    font-weight: bold;
    margin: 0 auto;
}

.text-bold {
    margin-left: 20px;
    margin-right: 20px;
    color: #ffffff ;
    margin-top: 10px;
    font-weight: bold;
    font-size: 20px;
    margin: 0 auto;
}

.text-medium {
    font-weight: bold;
    font-size: 20px;
    margin: 0 auto;
}

.imgsimbolo {
    position: absolute;

    bottom: 0px;
    left: 35%;
    width: 100px;
    height: 100px;
}



/* ///////////////////////CINPUT RISPOSTE  ///////////////////////*/
#input {
    text-align: center;
   
    margin-top: 10px;
    margin-bottom: 30px;
    display: inline-block;
 
}

.input {
    text-align: center;
    color: #ffffff;
    border: 2px solid #8707ff;
    border-radius: 10px;
    padding: 10px 25px;
    background: transparent;
    max-width: 250px;
    margin-right: 0px;

}

.input:active {
    box-shadow: 2px 2px 15px #8707ff inset;
}

.button2{
    text-align: center;
        color: #ffffff;
        border: 2px solid #8707ff;
        border-radius: 10px;
        padding: 10px 25px;
        background: transparent;
        max-width: 200px;
        position: relative;
      
}

/* ///////////////////////CINPUT RISPOSTE  ///////////////////////*/

.banner-sfondo {
    border-top: 5px solid #ffff00;
    background-image: url(img/acquista.jpg);
    height: 100%; 
    background-size: cover;
    background-size: cover;
    -o-bacground-size: cover;
    -moz-background-size: cover;
    background-repeat: no-repeat;
    background-position: center center;
    position: relative;
}


.banner__copy {
    padding-top: 20px;
    color: #ffffff;
    padding-bottom: 50px;
    vertical-align: middle;
    text-align: center;
}
.banner__copy h1{
    font-size: 1.5rem;

}
.btn {
    margin-top: 20px;
    border-radius: 20PX;
    display: inline-block;
padding: 10px 20px;
    font-size: 16px;
    font-weight: 700;
    color: rgb(255, 255, 255);
    border: 3px solid rgb(255, 230, 0);
    cursor: pointer;
    position: relative;
    background-color: transparent;
    text-decoration: none;
    overflow: hidden;
    z-index: 1;
    font-family: inherit;
}
.btn a {
    color: #ffffff;
    text-decoration: none;
}
.btn::before {

    content: "";
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgb(255, 234, 0);
    transform: translateX(-100%);
    transition: all .3s;
    z-index: -1;
    color: #000000;
}

.btn:hover::before {
    transform: translateX(0);

}


@media screen and (max-width: 768px) {
    .cover {
        height: 100%;
        margin: auto;
    }

    .logo {
        text-align: center;
        padding-top: 80px;
    }

    .giochilogo {
        height: 20%;
        width: 20%;
    }





    .card_container {
        display: flex;
        flex-direction: column;
        padding-top: 0px;
        width: 100%;
        height: 100%;
        column-gap: 0px;
    }

    .card {
        min-width: 110%;

        margin-bottom: 20px;
    }

   
 .text-bold {
    margin-left: 20px;
    margin-right: 20px;
     margin-top: 20px;
     font-weight: bold;
     font-size: 1.5rem;
 }

 .text-medium {
    margin-left: 10px;
        margin-right: 10px;
     margin-top: 5px;
     font-size: 1.3rem;
 }

 .imgsimbolo {
     position: absolute;

     top: 80%;
     left: 50%;
     transform: translate(-50%, -50%);
     width: 100px;
     height: 100px;
 }
    #blue-text {
        margin-left: 10px;
        margin-right: 10px;
        position: relative;
        color: #ffffff;
        margin-bottom: 10px;
        z-index: 1;
        font-size: 3rem;
        font-weight: bold;
        margin: 0 auto;
    }

    #red-text {
        position: relative;
        color: aliceblue;
        margin-bottom: 50px;
        z-index: 1;
        font-size: 2rem;
        font-weight: bold;
        margin: 0 auto;

    }

    #yellow-text {
        text-align: justify;
        margin-left: 20px;
            margin-right: 20px;
        text-align: center;
        position: relative;
        color: #ffffff;
        
        z-index: 1;
        font-size: 1.5rem;
        font-weight: bold;
       
    }

        #input {
         text-align: right;
            margin-top: 10px;
          display: flex;
          flex-direction: column;
           
        }
        .input {
                    text-align: center;
                    color: #ffffff;
                    border: 2px solid #8707ff;
                    border-radius: 20px;
                    padding: 10px 5px;
                    margin: 15px;
                    background: transparent;
                   
                
        
                }
        
                .input:active {
                    box-shadow: 2px 2px 15px #8707ff inset;
                }
        
                .button2 {
                    text-align: center;
                    color: #000000;
                    border: 2px solid #8707ff;
                    border-radius: 10px;
                    padding: 10px 25px;
                background-color: #ffd900;
                    max-width: 200px;
                   
                }
}


/* ///////////////////////CARD-social ///////////////////////*/
.card-client {
    background: #fffb00;
    width: 100%;
    background-attachment: fixed;
    padding-top: 25px;
    padding-bottom: 25px;
    padding-left: 20px;
    padding-right: 20px;
    border-top: 5px solid #000000;
   
  
    text-align: center;
    color: rgb(4, 0, 0);
    font-family: 'Satoshi',
        sans-serif;
    transition: all 0.3s ease;
}

.card-client:hover {
    transform: translateY(-10px);
}

.user-picture {
    overflow: hidden;
    object-fit: cover;
    width: 6rem;
    height: 6rem;
    border: 4px solid #000000;
    border-radius: 999px;
    display: flex;
    justify-content: center;
    align-items: center;
    margin: auto;
}



.name-client {
    margin: 0;
    margin-top: 20px;
    font-weight: 600;
    font-size: 18px;
}

.name-client span {
    display: block;
    font-weight: 200;
    font-size: 16px;
}

.social-media:before {
    content: " ";
    display: block;
    width: 100%;
    height: 2px;
    margin: 20px 0;
    background: #000000;
}

.social-media a {
    position: relative;
    margin-right: 15px;
    text-decoration: none;
    color: inherit;
}

.social-media a:last-child {
    margin-right: 0;
}

.social-media a svg {
    width: 1.1rem;
    fill: currentColor;
}

/*-- Tooltip Social Media --*/
.tooltip-social {
    background: #262626;
    display: block;
    position: absolute;
    bottom: 0;
    left: 50%;
    padding: 0.5rem 0.4rem;
    border-radius: 5px;
    font-size: 0.8rem;
    font-weight: 600;
    opacity: 0;
    pointer-events: none;
    transform: translate(-50%, -90%);
    transition: all 0.2s ease;
    z-index: 1;
}

.tooltip-social:after {
    content: " ";
    position: absolute;
    bottom: 1px;
    left: 50%;
    border: solid;
    border-width: 10px 10px 0 10px;
    border-color: transparent;
    transform: translate(-50%, 100%);
}

.social-media a .tooltip-social:after {
    border-top-color: #262626;
}

.social-media a:hover .tooltip-social {
    opacity: 1;
    transform: translate(-50%, -130%);
}









.footer{
    background-color: #000000;

    color: #ffffff;
    text-align: center;
    font-size: 0.6rem;
    height: 10px;
 
   bottom: 0;
   width: 100%;

}
.footer p{
    display: flex;
    justify-content: center;
    align-items: center;
   padding: 5px;
   text-decoration: none;
}
.footer p a{
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 5px;
    text-decoration: none;
    color: #ffffff;
}

.footer p a:hover{
color: #eeff00;
}


.istruzioni{
    background-color: #fff700;
    display: flex;
    justify-content: center;
    align-items: center;
    justify-items: center;
    text-align: center;
    padding: 20px;
    height: 100%;
}
