/* ! Reset */
body,
html {
    font-family: 'Space Grotesk', Arial, Helvetica, sans-serif;
    font-size: 16px;
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

*,
*:before,
*:after {
    box-sizing: border-box;
}

h1,
h2,
h3,
h4,
h5,
h6,
p,
ol,
ul {
    margin: 0 0 1rem 0;
    padding: 0;
}

ol,
ul {
    list-style-type: none;
}

img {
    height: auto;
}

h1 {
    font-size: 4rem;
}

h2 {
    font-size: 3rem;
}

h3 {
    font-size: 2rem;
}

h4 {
    font-size: 1rem;
}

h5 {
    font-size: 0.8rem;
}

h6 {
    font-size: 0.6rem;
}

a {
    text-decoration: none
}

body,
html {
    background-color: #15161D;
    color: #FCF8F5;
}

/* Menu */
:root {
    --menu-bg: #15161D;
    --menu-color: #FCF8F5;
    --primo-color: #F776E9;
    --secondo-color: #15161D;
    --terzo-color: #FCF8F5;
}

.desktop {
    display: block;
}

.mobile {
    display: none;
}

/* ScrollBar */
/* ===== Scrollbar CSS ===== */
/* Firefox */
* {
    scrollbar-width: auto;
    scrollbar-color: #f776e9 #15161d;
}

/* Chrome, Edge, and Safari */
*::-webkit-scrollbar {
    width: 10px;
}

*::-webkit-scrollbar-track {
    background: #15161d;
}

*::-webkit-scrollbar-thumb {
    background-color: #f776e9;
    border-radius: 5px;
    border: 0px solid #ffffff;
}

.header {
    background-color: var(--menu-bg);
    position: fixed;
    top: 0;
    left: 0;
    z-index: 9999;
    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 {
    display: flex;
    align-items: center;
    color: var(--menu-color)
}

.header__menu {
    padding: 0;
    margin: 0;
}

.header__menu li {
    display: inline-block;
}

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

@media (max-width: 768px) {
    .desktop {
        display: none;
    }

    .mobile {
        display: block;
    }

    .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(.215, .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;
        width: 40px;
        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 0.2s cubic-bezier(.215, .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 */
.cover {
    text-align: center;
    padding: 10px;
    margin: 0px;
    height: 100vh;
    width: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    background-position: center center;
    background-size: cover;
}

.cover * {
    color: var(--terzo-color)
}

/* ! Grid System */
.grid {
    margin: 0 auto;
    padding: 0 15px;
    max-width: 1250px;
    display: flex;
    flex-flow: row;
    flex-wrap: wrap;
}

.grid--center {
    justify-content: center;
}

.col {
    flex: 1;
}

[class*='col-'] {
    position: relative;
    padding: 0 15px;
}

.grid .grid [class*='col-'] {
    padding: 0px;
}

.col-20 {
    width: 20%;
}

.col-25 {
    width: 25%;
}

.col-30 {
    width: 30%;
}

.col-33 {
    width: 33.33%;
}

.col-50 {
    width: 50%;
}

.col-70 {
    width: 70%;
}

.col-80 {
    width: 80%;
}

.col-100 {
    width: 100%;
}

@media (max-width: 991px) {
    .tab-20 {
        width: 20%;
    }

    .tab-25 {
        width: 25%;
    }

    .tab-33 {
        width: 33.33%;
    }

    .tab-50 {
        width: 50%;
    }

    .tab-100 {
        width: 100%;
    }
}

@media (max-width: 768px) {
    [class*='col-'] {
        width: 100%;
    }

    .sma-20 {
        width: 20%;
    }

    .sma-25 {
        width: 25%;
    }

    .sma-33 {
        width: 33.33%;
    }

    .sma-50 {
        width: 50%;
    }

    .sma-100 {
        width: 100%;
    }
}

/* ! Helpers  */
.mt-0 {
    margin-top: 0
}

.mt-1 {
    margin-top: 10px
}

.mt-2 {
    margin-top: 20px
}

.mt-3 {
    margin-top: 40px
}

.mt-4 {
    margin-top: 100px
}

.mb-0 {
    margin-bottom: 0
}

.mb-1 {
    margin-bottom: 10px
}

.mb-2 {
    margin-bottom: 20px
}

.mb-3 {
    margin-bottom: 40px
}

.mb-4 {
    margin-bottom: 100px
}

.p-0 {
    padding: 0
}

.p-1 {
    padding: 10px
}

.p-2 {
    padding: 20px
}

.p-3 {
    padding: 40px
}

.p-4 {
    padding: 100px
}

.pt-1 {
    padding-top: 10px;
}

.pt-3 {
    padding-top: 20px;
}

.pt-3 {
    padding-top: 40px;
}

.pt-4 {
    padding-top: 15vh;
}

.pb-1 {
    padding-bottom: 10px;
}

.pb-2 {
    padding-bottom: 20px;
}

.pb-3 {
    padding-bottom: 40px;
}

.pb-4 {
    padding-bottom: 15vh;
}

.text-center {
    text-align: center;
}

.text-right {
    text-align: right;
}

.text-left {
    text-align: left;
}

.img-res {
    width: 100%;
    height: auto;
    margin-bottom: 20px;
    vertical-align: middle;
}

/* ! Card */
.card {
    padding: 20px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, .1);
    border-radius: 10px;
    overflow: hidden;
    margin: 0 15px 30px 15px;
    min-height: 450px
}

.card__img {
    height: 100%;
    display: block;
    background-position: center center;
    background-size: cover;
    margin: -20px -20px 20px -20px;
}

.card__img__true {
    min-height: 250px;
    display: block;
    background-position: center center;
    background-size: cover;
    margin: -20px -20px 20px -20px;
    height: 30vh;
    border-radius: 10px;
}







/* Custom CSS*/
h1,
h2 {
    font-weight: lighter;
}

h2 {
    font-size: 1.5rem;
}

p {
    font-size: 1.2rem;
    z-index: 100;
    padding: 100px;
    font-weight: lighter;
}

.header__logo img {
    max-height: 50px;
}

.current_page {
    color: var(--primo-color) !important;
}

.img_servizi {
    width: fit-content;
    max-height: 30vh;
    margin: 0 auto;
    border-radius: 25%;
    max-width: 80vw;
}

.d-flex-center {
    display: flex;
    align-items: center;
}

.btn {
    background-color: var(--primo-color);
    padding: 5px 15px;
    border-radius: 15px;
    color: var(--secondo-color);
    border: 1px solid var(--primo-color);
    transition: all 1s cubic-bezier(.215, .61, .355, 1);
}

.btn:hover {
    color: var(--primo-color);
    background-color: var(--secondo-color);
    border: 1px solid var(--primo-color);
    border-radius: 5px;
}

.btn:hover::after,
.header__logo:hover::after {
    content: "";
    width: 0;
    height: 1px;
    position: absolute;
    transition: all 0.2s linear;
    background: var(--primo-color);
}

.header__menu a {
    border-bottom: 1px solid #fcf8f500;
    transition: all 1s cubic-bezier(.215, .61, .355, 1);
}

/* Hover Link */
a {
    position: relative;
    background: none;
    border: none;
}

a::after {
    content: "";
    width: 0;
    height: 1px;
    position: absolute;
    transition: all 0.2s linear;
    background: var(--primo-color);
}

a:hover {
    color: var(--primo-color) !important;
}

a:hover::after {
    width: 100%;
}

a::after {
    right: 0;
    bottom: 10px;
    transition-duration: 0.4s;
}

.blob-bg {
    max-height: 70vh;
    position: fixed;
    top: 0;
    opacity: 0.6;
    z-index: 1;
}

.blob-bg-2 {
    max-height: 50vh;
    position: fixed;
    bottom: 0;
    right: 0;
    opacity: 0.6;
    z-index: 1;
}

.zindex-main {
    position: relative;
    z-index: 100;
}

h1 {
    max-width: 100vw;
    overflow-wrap: break-word;
}


@media (max-width: 991px) {
    p {
        padding: 50px;
    }

    .blob-bg {
        left: -75vw;
        opacity: 0.4;
    }

    .blob-bg-2 {
        opacity: 0.2;
        right: -20vh;
    }
}

@media (max-width: 768px) {
    p {
        padding: 0;
    }
}

.header__menu li a {
    font-size: 1.3rem;
}

footer {
    background-color: transparent;
}

footer h4 {
    font-size: 2rem;
}

footer p {
    padding: 0;
}

footer a {
    color: var(--primo-color);
}

footer a::after {
    bottom: -5px;
}

footer a:hover::after {
    bottom: -5px;
}

footer #social ul {
    position: relative;
    display: flex;
}

footer #social ul li {
    position: relative;
    list-style: none;
    margin: 0 20px;
    cursor: pointer;
}

footer #social ul li a {
    color: var(--menu-color);
    text-decoration: none;
}

footer #social ul li a:hover {
    color: var(--menu-color) !important;
}

footer #social ul li a .fa-brands {
    font-size: 6rem;
}

footer #social ul li a::before {
    font-family: "FontAwesome";
    position: absolute;
    left: 0;
    font-size: 6rem;
    height: 0;
    overflow: hidden;
    transition: 0.5s ease-in-out;
}

footer #social ul li:nth-child(1) a::before {
    content: "\f16d";
    background-image: linear-gradient(45deg,
            #f09433 0%,
            #e6683c 25%,
            #dc2743 50%,
            #cc2366 75%,
            #bc1888 100%);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    border-bottom: 4px solid #dc2743;
}

footer #social ul li:nth-child(2) a::before {
    content: "\f39e";
    color: #3b5998;
    border-bottom: 4px solid #3b5998;
}

footer #social ul li:hover a::before {
    height: 6rem;
}

footer #social ul li a:hover::after,
footer #social ul li a::after {
    background-color: transparent;
}


/* -------------------------------------------------------------------------------- */
/* ! Pagina registrazione */
/* -------------------------------------------------------------------------------- */
.d-flex {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

#registrazione_p .cover__content {
    align-self: center;
}

#registrazione_p p {
    max-width: 70vw;
    margin: 0 auto;
}

@media (max-width: 768px) {
    #registrazione_p_head h1 {
        font-size: 3rem;
    }
}



/* Animazione img Glitch*/
.glitch {
    position: relative;
    overflow: hidden;
    width: fit-content;
    display: inline-flex;
}

.glitch img {
    position: relative;
    z-index: 1;
    display: block;
    max-height: 50vh;
    max-width: 80vw;
}

.glitch__layers {
    position: absolute;
    z-index: 2;
    left: 0;
    right: 0;
    top: 0;
    bottom: 0;
}

.glitch__layer,
.glitch__layer_mix,
.glitch__layer_beat {
    position: absolute;
    left: 0;
    right: 0;
    top: 0;
    bottom: 0;
    background-size: cover;
    background-repeat: no-repeat;
    background-position: 0 0;
    max-height: 50vh;
}

.glitch__layer {
    background-image: url("../img/recording.webp");
}

.glitch__layer_mix {
    background-image: url("../img/mix-master.webp");
}

.glitch__layer_beat {
    background-image: url("../img/beat-p.webp");
}

.glitch__layer:nth-child(1),
.glitch__layer_mix:nth-child(1),
.glitch__layer_beat:nth-child(1) {
    transform: translateX(-5%);
    animation: glitch-anim-1 2s infinite linear alternate;
}

.glitch__layer:nth-child(2),
.glitch__layer_mix:nth-child(2),
.glitch__layer_beat:nth-child(2) {
    transform: translateX(3%) translateY(3%);
    animation: glitch-anim-2 2.3s -.8s infinite linear alternate;
}

.glitch__layer:nth-child(3),
.glitch__layer_mix:nth-child(3),
.glitch__layer_beat:nth-child(3) {
    transform: translateX(5%);
    animation: glitch-anim-flash 1s infinite linear;
}

@keyframes glitch-anim-1 {
    0% {
        clip-path: polygon(0 0%, 100% 0%, 100% 5%, 0 5%);
    }

    10% {
        clip-path: polygon(0 15%, 100% 15%, 100% 15%, 0 15%);
    }

    20% {
        clip-path: polygon(0 10%, 100% 10%, 100% 20%, 0 20%);
    }

    30% {
        clip-path: polygon(0 1%, 100% 1%, 100% 2%, 0 2%);
    }

    40% {
        clip-path: polygon(0 35%, 100% 35%, 100% 35%, 0 35%);
    }

    50% {
        clip-path: polygon(0 45%, 100% 45%, 100% 46%, 0 46%);
    }

    60% {
        clip-path: polygon(0 50%, 100% 50%, 100% 70%, 0 70%);
    }

    70% {
        clip-path: polygon(0 70%, 100% 70%, 100% 70%, 0 70%);
    }

    80% {
        clip-path: polygon(0 80%, 100% 80%, 100% 80%, 0 80%);
    }

    90% {
        clip-path: polygon(0 50%, 100% 50%, 100% 55%, 0 55%);
    }

    100% {
        clip-path: polygon(0 60%, 100% 60%, 100% 70%, 0 70%);
    }
}

@keyframes glitch-anim-2 {
    0% {
        clip-path: polygon(0 15%, 100% 15%, 100% 30%, 0 30%);
    }

    15% {
        clip-path: polygon(0 3%, 100% 3%, 100% 3%, 0 3%);
    }

    25% {
        clip-path: polygon(0 8%, 100% 8%, 100% 20%, 0 20%);
    }

    30% {
        clip-path: polygon(0 20%, 100% 20%, 100% 20%, 0 20%);
    }

    45% {
        clip-path: polygon(0 45%, 100% 45%, 100% 45%, 0 45%);
    }

    50% {
        clip-path: polygon(0 50%, 100% 50%, 100% 57%, 0 57%);
    }

    65% {
        clip-path: polygon(0 60%, 100% 60%, 100% 60%, 0 60%);
    }

    75% {
        clip-path: polygon(0 80%, 100% 80%, 100% 80%, 0 80%);
    }

    80% {
        clip-path: polygon(0 40%, 100% 40%, 100% 60%, 0 60%);
    }

    95% {
        clip-path: polygon(0 45%, 100% 45%, 100% 60%, 0 60%);
    }

    100% {
        clip-path: polygon(0 11%, 100% 11%, 100% 15%, 0 15%);
    }
}

@keyframes glitch-anim-flash {
    0% {
        opacity: .2;
    }

    30%,
    100% {
        opacity: 0;
    }
}

/*Pagina Chi siamo*/
#chiSiamo p {
    padding: 10px;
}

#chiSiamo h3 {
    padding: 10px;
}

#chiSiamo .card {
    background-color: var(--secondo-color);
}

#chiSiamo .social-card a {
    color: var(--terzo-color);
    padding: 10px;
    font-size: 1rem;
}

/* Pagina contatti */
.contatti .successSend {
    color: green;
}

.contatti .failSend {
    color: red;
}

.contatti input,
.contatti textarea {
    color: var(--primo-color);
    background-color: rgba(0, 0, 0, 0.5);
    max-width: 100%;
    border: 1px solid var(--primo-color);
    border-radius: 25px;
    padding: 15px;
    resize: none;
    display: block;
    margin: 30px auto;
}

.contatti input[type="submit"]{
    cursor: pointer;
}

.contatti form .formTesto{
    font-size: 0.8rem;
    padding: 0;
}

.contatti form .formTesto{
    padding: 10px;
}

::placeholder {
    /* Chrome, Firefox, Opera, Safari 10.1+ */
    color: var(--primo-color);
    opacity: 1;
    /* Firefox */
}

:-ms-input-placeholder {
    /* Internet Explorer 10-11 */
    color: var(--primo-color);
}

::-ms-input-placeholder {
    /* Microsoft Edge */
    color: var(--primo-color);
}

.zindex-main img {
    filter: saturate(0.4) brightness(0.7) !important;
}

#div_bonex{
    background-position: 0 -300px;
}

#div_ivan{
    background-position: 0 -127px;
}



@media (max-width: 768px) {
    #div_bonex, #div_ivan{
        background-position: center;
    }
}