/* -------------------------------------------------------------------------------- */
/* ! Impostazioni BASE */
/* -------------------------------------------------------------------------------- */

/* Tavolozza colore */
:root {
    --primary: #000000;
    --light: #ffffff;
    --accent: #d63384;
    --dark: #000379;

    /* Animazioni micro */
    --micro: 0.3s cubic-bezier(.24, 1.09, .78, .06)
}

/* reset */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

a {
    text-decoration: none;
}

li {
    list-style-type: none;
}

/* Utility */

html {
    scroll-behavior: smooth;
}

.res {
    width: 100%;
    min-width: 180px;
    margin: 5px;
    margin-left: 10px;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
}

/* Tipografia */
body {
    font-family: "Atkinson", sans-serif;
    font-size: 1.4em;
    background: #000379;
    color: #ffffff;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: silicone, sans-serif;
    font-weight: 300;
    font-style: normal;
}

h1 {
    color: var(--light);
    font-family: silicone, sans-serif;
    font-weight: 900;
    font-style: normal;
    -webkit-text-stroke-width: 3px;
    -webkit-text-stroke-color: var(--accent);

}

h2 {
    color: var(--accent);
    font-family: silicone, sans-serif;
    font-weight: 600;
    font-style: normal;
    font-size: 1.9em;
}

h3 {
    font-size: 1.2em;
    font-weight: 600;
    color: #000379;
}

h4 {
    font-size: 1.4em;
    font-weight: 600;
    color: #000379;
}


p {
    font-family: informapro, sans-serif;
    font-weight: 300;
    font-style: normal;
    font-size: 1.2em;
    margin-bottom: 15px;
}

p.leading {
    font-size: 1.3em;
    margin-top: 20px;
}

/* Header */
header.header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 20px;
    margin-bottom: 10px;
    height: 100px;
    box-sizing: border-box;
}

.fixed {
    position: fixed;
    width: 100%;
    z-index: 2;
    background-color: var(--dark);
}

/* Provvisorio */

.header__logo {
    width: 130px;
}

/* .header__logo img {
    
} */

.header__menu .site-nav>li {
    display: inline-block;
}


header.header a {
    color: var(--light);
    font-family: silicone, sans-serif;
    font-weight: 400;
    font-style: normal;
    font-size: 1.1em;
    margin-right: 20px;
}

.header__menu a:hover {
    color: #d63384;
}

.header__icon {
    /* visibility: hidden; */
    display: none;
}

/* Hero */
.hero {
    background: url(../img/The_real_game.gif) no-repeat center center;
    height: 100vh;
    background-size: cover;
    display: flex;
    align-items: center;
    width: 100%;
}

.gify {
    background: url(..//img/gif\ palybig.gif) no-repeat center center;
    height: 35vh;
    display: flex;
    align-items: center;
    width: 100%;
}


/* .hero h1:hover {
    font-weight: bolder;
} */


.hero::before {
    content: ' ';
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0;
    left: 0;
    background: var(--primary);
    opacity: 0.7;
}

.hero__content {
    z-index: 1;
    color: var(--light);
    padding: 20px;
    text-align: center;
}

.hero__content h1 {
    font-size: 7em;
    margin-bottom: 1px;
}

.hero__content h2 {
    font-size: 3em;
    margin-bottom: 10px;
}

.hero__content p {
    font-size: 1.3em;
    line-height: 1.2em;
}

.hashtag {
    font-size: 2em;
    color: #d63384;
    font-family: silicone;
    font-weight: 700;
    margin-bottom: 50px;
}

h6 {
    color: var(--light);
    font-family: silicone, sans-serif;
    font-weight: 500;
    font-style: normal;
    font-size: 1.8em;
    text-align: center;
    margin-top: 10px;
    margin: 5px;
}

.Title {
    margin-top: 60px;
    margin-bottom: 25px;
}

/* CAROSELLO */

.wrapper {
    max-height: 1000px;
    display: flex;
    overflow-x: auto;
    margin-top: 60px;
    margin-bottom: 80px;
    width: 100%;
}

.wrapper::-webkit-scrollbar {
    width: 0;

}

.wrapper .item {
    min-width: 400px;
    height: 400px;
    line-height: 55px;
    text-align: center;
    background-size: cover;
    background-position: center;
}

/* HOVER IMMAGINI CAROSELLO */

.itemInfo {
    width: 100%;
    height: 100%;
    background: linear-gradient(0deg, #ffffff40 0%, rgba(0, 0, 0, 0) 30%);
    display: flex;
    align-items: center;
    justify-content: flex-end;
    flex-direction: column;
    opacity: 0;
    transition: opacity 0.2s ease-in-out;
}

.itemInfo:hover {
    opacity: 1;
}

.itemInfo:hover,
.itemText,
.itemInfo:hover .itemButton {
    transform: translateY(0);
}

.itemText {
    color: #ffffff;
    font-family: silicone, sans-serif;
    font-weight: 400;
    font-style: normal;
    font-size: 25px;
    margin: 0;
    width: 100%;
    text-align: center;
    transition: all 0.2s ease-in-out;
    transform: translateY(-20px);
    max-height: 20px;
}




.itemButton a {
    width: fit-content;
    padding: 7px 20px;
    margin: 50px auto;
    border: solid var(--light) 1.5px;
    color: var(--light);
    font-family: silicone, sans-serif;
    font-weight: 400;
    font-style: normal;
    font-size: 15px;
    transition: all 0.2s ease-in-out;
    transform: translateY(-20px);
    border-radius: 20px;
}

.itemButton a:hover {
    border: solid var(--light) 1.5px;
    color: var(--light);
    background-color: rgba(255, 255, 255, 0.277);
}

a {
    text-decoration: none;
}


/* TASTO NEWSLETTER */

.cta-group {
    font-family: silicone, sans-serif;
    font-weight: lighter;
    font-style: normal;
    font-size: 1.2em;
    display: flex;
    gap: 25px;
    flex-wrap: wrap;
    margin-top: 25px;

}

.cta__primary,
.cta__secondary {
    padding: 15px 30px;
    margin-top: 20px;
    margin-bottom: 20px;
    margin-right: 10px;
    margin-left: 10px;
    border-radius: 50px;
    font-weight: 600;
    transition: all 0.18s ease-in-out 0s;
    background-color: #d63384;
    color: #ffffff;
}


.cta__primary:hover {
    background: rgba(255, 255, 255, 0.385);
    color: var(--light)
}

.cta__secondary {

    color: var(--accent);
}

.cta__secondary:hover {
    background: var(--primary);
    border: 3px solid var(--primary);
    color: var(--light)
}

/* Popup */
.content__newsletter {
    display: flex;
    justify-content: center;
}

button {
    display: block;
    width: fit-content;
    border: 0;
    cursor: pointer;
}


.popup-wrapper {
    background: #000279c0;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: none;
    z-index: 1;
}

.popup {
    background: var(--accent);
    color: var(--light);
    width: 100%;
    max-width: 600px;
    margin: 5% auto;
    padding: 15px;
    z-index: 2;
    position: relative;
    margin-top: 130px;
}

.popup__close {
    position: absolute;
    top: 8px;
    right: 8px;
    cursor: pointer;
}

/* FOOTER */

footer {
    color: var(--light);
    padding: 30px;
    margin-bottom: 50px;

}

footer .container {
    display: flex;
    justify-content: space-between;
    flex-direction: row;
    gap: 40px;
    text-align: center;

}

footer h5 {
    text-transform: uppercase;
    font-family: silicone, sans-serif;
    font-weight: 500;
    font-style: normal;
    font-size: 1.3em;
    padding-bottom: 20px;
    padding-top: 20px;
}

footer .flogo {
    margin-right: 80px;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
}

.flogo img {
    width: 100%;
    /* min-width: 400px; */
}


.social a {
    color: var(--light);
    font-family: informapro, sans-serif;
    font-weight: 300;
    font-style: normal;
    font-size: 1.2em;
    font-size: 1em;
    line-height: 1.4em;
    display: inline;
    justify-content: space-between;
    margin: 7px;
}

.Anagrafica p {
    color: var(--light);
    font-family: informapro, sans-serif;
    font-weight: 300;
    font-style: normal;
    font-size: 1.2em;
    font-size: 1em;
    line-height: 1.2em;
    display: block;
}

hr {
    width: 90%;
    border: 0;
    border-bottom: 2px solid var(--light);
    margin: 20px auto;
}

.copyright {
    text-align: center;
    font-size: 1em;
    color: #ffffff;
    justify-content: space-between 20px;
}

.copyright a {
    color: #ffffff;

}



/* Section */

section {
    scroll-margin-top: 80px;
    margin-bottom: 130px;
    margin-top: 150px;
    padding: 15px;
    text-align: center;
}

/*!Mailchip */
/* MailChimp Form Embed Code - Classic - 12/17/2015 v10.7 */

#mc_embed_signup form {
    display: block;
    position: relative;
    text-align: left;
    margin: 20px
}

#mc_embed_signup h2 {
    font-weight: bold;
    padding: 0;
    margin: 15px 0;
    font-size: 1.4em;
}

#mc_embed_signup input {
    border: 1px solid #ABB0B2;
    -webkit-border-radius: 3px;
    -moz-border-radius: 3px;
    border-radius: 3px;
}

#mc_embed_signup input[type=checkbox] {
    appearance: checkbox;
}

#mc_embed_signup input[type=radio] {
    appearance: radio;
}

#mc_embed_signup input:focus {
    border-color: #333;
}

#mc_embed_signup .button {
    clear: both;
    background-color: var(--light);
    border: 0 none;
    border-radius: 4px;
    transition: all 0.18s ease-in-out 0s;
    color: var(--primary);
    cursor: pointer;
    display: inline-block;
    font-size: 15px;
    font-weight: normal;
    height: 32px;
    line-height: 32px;
    margin: 0 5px 10px 0;
    padding: 0 22px;
    text-align: center;
    text-decoration: none;
    vertical-align: top;
    white-space: nowrap;
    width: fit-content;
    width: -moz-fit-content;
}

p.iscrizione {
    font-size: 1em;
}

#mc_embed_signup .button:hover {
    background-color: var(--dark);
    color: var(--light);
}

#mc_embed_signup .small-meta {
    font-size: 11px;
}

#mc_embed_signup .nowrap {
    white-space: nowrap;
}

#mc_embed_signup .mc-field-group {
    clear: left;
    position: relative;
    width: 96%;
    padding-bottom: 3%;
    min-height: 50px;
    display: grid;
}

#mc_embed_signup .size1of2 {
    clear: none;
    float: none;
    display: inline-block;
    width: 46%;
    margin-right: 4%;
}

* html #mc_embed_signup .size1of2 {
    margin-right: 2%;
    /* Fix for IE6 double margins. */
}

#mc_embed_signup .mc-field-group label {
    display: block;
    margin-bottom: 3px;
}

#mc_embed_signup .mc-field-group input {
    display: block;
    width: 100%;
    padding: 8px 0;
    text-indent: 2%;
}

#mc_embed_signup .mc-field-group select {
    display: inline-block;
    width: 99%;
    padding: 5px 0;
    margin-bottom: 2px;
}

#mc_embed_signup .mc-address-fields-group {
    display: flex;
    flex-direction: row;
    justify-content: space-evenly;
    width: 96%;
    gap: 15px;
}

#mc_embed_signup .mc-sms-phone-group {
    display: flex;
    flex-direction: row;
    justify-content: space-evenly;
    width: 96%;
    gap: 15px;
    padding-top: 5px;
}

#mc_embed_signup .datefield,
#mc_embed_signup .phonefield-us {
    padding: 5px 0;
}

#mc_embed_signup .datefield input,
#mc_embed_signup .phonefield-us input {
    display: inline;
    width: 60px;
    margin: 0 2px;
    letter-spacing: 1px;
    text-align: center;
    padding: 5px 0 2px 0;
}

#mc_embed_signup .phonefield-us .phonearea input,
#mc_embed_signup .phonefield-us .phonedetail1 input {
    width: 40px;
}

#mc_embed_signup .datefield .monthfield input,
#mc_embed_signup .datefield .dayfield input {
    width: 30px;
}

#mc_embed_signup .datefield label,
#mc_embed_signup .phonefield-us label {
    display: none;
}

#mc_embed_signup .indicates-required {
    text-align: right;
    font-size: 11px;
    margin-right: 4%;
}

#mc_embed_signup .asterisk {
    color: var(--dark);
    font-size: 150%;
    font-weight: normal;
    position: relative;
    top: 5px;
}

#mc_embed_signup .clear {
    clear: both;
}

#mc_embed_signup .foot {
    display: grid;
    grid-template-columns: 3fr 1fr;
    width: 96%;
    align-items: center;
}

@media screen and (max-width:400px) {
    #mc_embed_signup .foot {
        display: grid;
        grid-template-columns: 1fr;
        width: 100%;
        align-items: center;
    }
}

@media screen and (max-width:400px) {
    #mc_embed_signup .referralBadge {
        width: 50%;
    }
}

#mc_embed_signup .brandingLogo {
    justify-self: right;
}

@media screen and (max-width:400px) {
    #mc_embed_signup .brandingLogo {
        justify-self: left;
    }
}

#mc_embed_signup .mc-field-group.input-group ul {
    margin: 0;
    padding: 5px 0;
    list-style: none;
}

#mc_embed_signup .mc-field-group.input-group ul li {
    display: block;
    padding: 3px 0;
    margin: 0;
}

#mc_embed_signup .mc-field-group.input-group label {
    display: inline;
}

#mc_embed_signup .mc-field-group.input-group input {
    display: inline;
    width: auto;
    border: none;
}

#mc_embed_signup div#mce-responses {
    float: left;
    top: -1.4em;
    padding: 0em .5em 0em .5em;
    overflow: hidden;
    width: 90%;
    margin: 0 5%;
    clear: both;
}

#mc_embed_signup div.response {
    margin: 1em 0;
    padding: 1em .5em .5em 0;
    font-weight: bold;
    float: left;
    top: -1.5em;
    z-index: 1;
    width: 80%;
}

#mc_embed_signup #mce-error-response {
    display: none;
}

#mc_embed_signup #mce-success-response {
    color: #529214;
    display: none;
}

#mc_embed_signup label.error {
    display: block;
    float: none;
    width: auto;
    margin-left: 1.05em;
    text-align: left;
    padding: .5em 0;
}

#mc_embed_signup .helper_text {
    color: #8d8985;
    margin-top: 2px;
    display: inline-block;
    padding: 3px;
    background-color: rgba(255, 255, 255, 0.85);
    -webkit-border-radius: 3px;
    -moz-border-radius: 3px;
    border-radius: 3px;
    font-size: 14px;
    font-weight: normal;
    z-index: 1;
}

#mc-embedded-subscribe {
    clear: both;
    width: auto;
    display: block;
    margin: 1em 0 1em 5%;
}

#mc_embed_signup #num-subscribers {
    font-size: 1.1em;
}

#mc_embed_signup #num-subscribers span {
    padding: .5em;
    border: 1px solid #ccc;
    margin-right: .5em;
    font-weight: bold;
}

#mc_embed_signup #mc-embedded-subscribe-form div.mce_inline_error {
    display: inline-block;
    margin: 2px 0 1em 0;
    padding: 3px;
    background-color: rgba(255, 255, 255, 0.85);
    -webkit-border-radius: 3px;
    -moz-border-radius: 3px;
    border-radius: 3px;
    font-size: 14px;
    font-weight: normal;
    z-index: 1;
    color: #e85c41;
}

#mc_embed_signup #mc-embedded-subscribe-form input.mce_inline_error {
    border: 2px solid #e85c41;
}

#mc-embedded-subscribe-form input[type=checkbox] {
    display: inline;
    width: auto;
    margin-right: 10px;
}

#mergeRow-gdpr {
    margin-top: 20px;
}

#mergeRow-gdpr fieldset label {
    font-weight: normal;
}

#mc-embedded-subscribe-form .mc_fieldset {
    border: none;
    min-height: 0px;
    padding-bottom: 0px;
}

/* -------------------------------------------------------------------------------- */
/* ! Media query medium */
/* -------------------------------------------------------------------------------- */

@media(max-width: 768px) {
    .header__icon {
        display: block;
        color: var(--light);
        text-align: center;
        z-index: 3;
    }

    /* Hamburger */

    .icon-hamburger {
        cursor: pointer;
        height: 20px;
        width: 40px;
        position: relative;
        transition: var(--micro);
        margin: 5px;
        margin-right: 10px;
    }

    .icon-hamburger span {
        background: var(--light);
        height: 2px;
        width: 100%;
        position: absolute;
        left: 0;
        border-radius: 20px;
        transition: var(--micro);
    }

    .icon-hamburger span:nth-child(1) {
        top: 0;
        width: 90%;
        opacity: 1;
    }

    .icon-hamburger span:nth-child(2),
    .icon-hamburger span:nth-child(3) {
        top: 10px;
        width: 70%;
    }

    .icon-hamburger span:nth-child(4) {
        top: 20px;
        width: 90%;
        opacity: 1;
    }

    /* Hamburger in open */

    .open .icon-hamburger {
        transform: rotate(180deg);
    }

    .open .icon-hamburger span:nth-child(1) {
        width: 0;
        opacity: 0;
    }

    .open .icon-hamburger span:nth-child(2) {
        transform: rotate(45deg);
        width: 100%;
    }

    .open .icon-hamburger span:nth-child(3) {
        transform: rotate(-45deg);
        width: 100%;
    }

    .open .icon-hamburger span:nth-child(4) {
        width: 0;
        opacity: 0;
    }


    .header__menu {
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background: var(--dark);
        transform: translateY(-100%);
        transition: var(--micro);
        display: flex;
        align-items: center;
        justify-content: center;
    }

    .site-nav {
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        gap: 25px;
        padding: 25px;
        font-size: 1.8em;

    }

    .gify {
        display: none;
    }

    /* Richiamo la classe in base al click */
    .open .header__menu {
        transform: translateY(0);
    }

}

/* -------------------------------------------------------------------------------- */
/* ! Dispositivi small */
/* -------------------------------------------------------------------------------- */

@media (max-width: 480px) {

    .hero__content h1 {
        font-size: 3em;
    }

    .hero__content h2 {
        font-size: 2em;
    }

    .hero__content p {
        font-size: 1.3em;
    }

    footer .container {
        display: flex;
        justify-content: space-between;
        flex-direction: column;
        gap: 40px;
    }

    header.header {
        display: flex;
        justify-content: space-between;
        align-items: center;
        margin-top: 20px;
        margin-bottom: 10px;
        height: 60px;
        box-sizing: border-box;
    }

    .fixed {
        position: fixed;
        width: 100%;
        z-index: 2;
        background-color: var(--dark);
    }

    footer .container {
        align-items: center;
        text-align: center;
    }

    .gify {
        display: none;
    }

    h3 {
        font-size: 0.8em;
        font-weight: 600;
        color: #000379;
    }

    h4 {
        font-size: 1.2em;
        font-weight: 600;
        color: #000379;
    }

    .immagine__gif {
        width: 100%;
        display: flex;
        justify-content: center;
    }

    .popup {
        background: var(--accent);
        color: var(--light);
        width: 100%;
        max-width: 600px;
        margin: 5% auto;
        padding: 15px;
        z-index: 2;
        position: relative;
        margin-top: 90px;
    }

}