/* width */
::-webkit-scrollbar {
    width: 10px;
}

/* Track */
::-webkit-scrollbar-track {
    background: rgb(0, 0, 0);
}

/* Handle */
::-webkit-scrollbar-thumb {
    background: #373eff7c;
}

/* Handle on hover */
::-webkit-scrollbar-thumb:hover {
    background: #373FFF;
}

.content {
    background-color: #000000;
    /* background-image: url('/images/metaverso/header-background.webp');
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    background-attachment: fixed; */
    overflow-x: hidden;
}

#video {
    width: 100vw;
    height: 100vh;
    object-fit: cover;
    position: fixed;
    z-index: 0;
}

.overlay {
    position: fixed;
    height: 100%;
    width: 100%;
    opacity: 0.45;
    left: 0;
    top: 0;
    background: linear-gradient(0deg, #000000 40%, transparent 100%);
    z-index: 1;
}

.nav-bar {
    z-index: 3;
    background: linear-gradient(180deg, rgba(0, 0, 0, 0.8) 0%, rgba(0, 0, 0, 0) 100%);
}

.sidebar-wrapper {
    position: fixed;
    z-index: 4;
    right: 0;
    width: 300px;
    height: 195%;
    transition: all 0.4s ease 0s;
    transform: translateX(300px);
    background: #F65BCB;
    border-left: 1px solid rgba(255, 255, 255, 0.1);
    background-image: linear-gradient(to bottom, #502259 0%, #000 132%);
    transition: top 1s linear;
}

.sidebar-nav {
    position: absolute;
    top: 0;
    width: 300px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.sidebar-nav li.sidebar-nav-item {
    border-bottom: 1px solid #fff;
}

.sidebar-nav li.sidebar-nav-item a {
    display: block;
    text-decoration: none;
    color: #fff;
    padding: 15px;
}

.sidebar-nav li a:hover {
    text-decoration: none;
    color: #F65BCB;
    background: #fff;
}

.sidebar-nav li a.aimg:hover {
    background: none;
}

.sidebar-nav li a.aimg {
    color: transparent
}

.sidebar-nav li a:active,
.sidebar-nav li a:focus {
    text-decoration: none;
}

.sidebar-nav>.sidebar-brand {
    font-size: 1.2rem;
    background: rgba(52, 58, 64, 0.1);
    height: 80px;
    line-height: 50px;
    padding-top: 15px;
    padding-bottom: 15px;
    padding-left: 15px;
}

.sidebar-nav>.sidebar-brand a {
    color: #fff;
}

.sidebar-nav>.sidebar-brand a:hover {
    color: #fff;
    background: none;
}

.sidebar-wrapper.active {
    right: 300px;
    width: 300px;
    transition: all 0.4s ease 0s;
}

.menu-toggle {
    position: fixed;
    right: 15px;
    top: 15px;
    width: 50px;
    height: 50px;
    text-align: center;
    color: #fff;
    background: rgb(52 58 64 / 0%);
    line-height: 50px;
    z-index: 999;
}

.menu-toggle:focus,
.menu-toggle:hover {
    color: #fff;
}

.menu-toggle:hover {
    background: #343a4000;
}

@media screen and (max-width: 480px) {
    .sidebar-nav {
        width: 100%;
    }

    .sidebar-wrapper.active {
        width: 100%;
    }
}

@keyframes opacityone {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

.display-4-animation-zero {
    animation: opacityzero 0.1s normal forwards;
}

@keyframes opacityzero {
    from {
        opacity: 1;
    }

    to {
        opacity: 0;
    }
}

#spirale-contenitore {
    position: fixed;
    left: 49.5%;
    top: 50%;
    transform: translateY(-50%);
    transform-origin: center center;
}

#spirale {
    z-index: 10;
    transform-origin: center center;
    opacity: 0.4;
}

.spirale-contenitore-animation {
    animation: wrapperspiraledue 2.2s normal forwards ease-in-out;
}

@keyframes wrapperspiraledue {
    to {
        transform: translateX(-128%) translateY(-50%);
    }
}

.spirale-animation {
    animation: move 1.5s normal forwards ease-in-out,
        rotate 0.8s ease-in-out 2.7s forwards;
    scale: (5);
    left: 45%;
    opacity: 0.4;
    z-index: 97;
}


@keyframes move {
    from {
        transform: rotate(0deg) scale(1);
        opacity: 1;
    }

    to {
        transform: rotate(-75deg) scale(6);
        opacity: 0.3;
    }
}

@keyframes rotate {
    from {
        transform: rotate(-75deg) scale(6);
    }

    to {
        transform: rotate(-90deg) scale(6);
    }
}

.spirale-animation-due {
    animation: antirotate 2.1s normal forwards ease-in-out,
        antirotatedue 1s ease-in-out 2.3s forwards;
    transform: translateY(-50%);
}

@keyframes antirotate {
    0% {
        transform: rotate(-90deg) scale(6);
    }

    100% {
        transform: rotate(15deg) scale(6);
    }
}

@keyframes antirotatedue {
    from {
        transform: rotate(15deg) scale(6);
    }

    to {
        transform: rotate(30deg) scale(6);
    }
}

.display-4 {
    color: #FFFFFF !important;
    font-family: 'Montserrat', sans-serif;
    font-style: ExtraBold !important;
    font-weight: 800 !important;
    font-size: 3.5vw;
    line-height: 170%;
    z-index: 11;
    position: relative;
}

.container-due {
    color: #fffdfd;
    background-color: black;
    height: 720px;
}

p,
.p-class-due {
    font-family: 'Lato';
    font-style: normal;
    font-weight: 900;
    font-size: 1.75vw;
    line-height: 136%;
    color: #FFFFFF;
}

#p-uno {
    padding-right: 15%;
}

.p-class-due {
    padding: 0 22% 0 0 !important;
}

.p-animation,
.h1-animation {
    animation: opacityone 5s normal forwards ease-in-out
}

.card {
    position: relative;
    outline-width: 0px;
    background-color: #ffffff00 !important;
    border: 0px solid rgba(0, 0, 0, .125) !important;
    border-radius: 0.00rem !important;
    z-index: 99;
    width: 450px;
    overflow: hidden !important;
}

#card-text-due {
    margin-right: 25%;
    margin-left: 5%;
    margin-top: 44.4%;
}

.card-animation {
    animation: opacityone 2.4s normal forwards ease-in-out;
    animation-delay: 1.1s;
}

.card-detail-row {
    height: 107vh;
    position: relative;
    z-index: 1;
}

.card-detail h1,
.card-text h1,
#row-sei h1 {
    font-family: 'Montserrat', sans-serif;
    font-style: normal;
    font-weight: 800;
    font-style: ExtraBold;
    font-size: 51px;
    line-height: 170%;
    color: #fff;
}

.card-detail p,
.card-text p {
    font-family: 'Lato';
    font-style: normal;
    font-weight: 400;
    font-size: 18px;
    line-height: 31px;
}

.card-detail-link {
    font-family: 'Montserrat', sans-serif;
    font-style: normal;
    font-weight: 400;
    font-size: 28px;
    line-height: 38px;
    color: #FFFFFF;
    text-decoration: none;
    text-align: center;
    padding-bottom: 15px;
    border-bottom: 5px solid transparent;
    border-image: linear-gradient(270deg, #F65BCB 0%, #373FFF 100%);
    border-image-slice: 1;
    width: 100%;
}

.card-detail-link::after {
    content: url('https://i.ibb.co/Fmmckw5/arrow-forward.webp');
    padding-left: 10px;
}

.card-detail-link:hover {
    color: #373fff;
}

.card-detail-img {
    position: relative;
    z-index: 2;
}

@keyframes opacityone {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}


@keyframes opacityzero {
    0% {
        opacity: 1;
    }

    100% {
        opacity: 0;
    }
}

.card-img,
.card-img-top {
    border-top-left-radius: calc(0rem - 0px) !important;
    border-top-right-radius: calc(0rem - 0px) !important;
    z-index: 11;
}

.bar-wrapper, .bar-wrapper-2 {
    transform: translateX(-42%);
    background-image: linear-gradient(to left, #F65BCB 5%, #373FFF 50%);
    width: 100%;
    height: 1.8vh;
    z-index: 10;
}

.bar-fixed, .bar-fixed-2 {
    transform: translateX(-27%);
    background-image: linear-gradient(to left, #F65BCB 5%, #373FFF 50%);
    width: 60%;
    height: 1.8vh;
}

.bar-wrapper-animation {
    animation: leftUpBarWrapper 3s normal forwards ease-in-out;
    display: block;
}

@keyframes leftUpBarWrapper {
    from {
        width: 146%;
    }

    to {
        transform: translateX(0.15%);
        width: 290%;
    }
}

.bar-fixed-animation {
    animation: leftUpBarFixed 3s normal forwards ease-in-out;
    display: block;
}

@keyframes leftUpBarFixed {
    from {
        margin-top: 3.17%;
        width: 60%;
    }

    to {
        transform: translateX(13.4%);
        margin-top: -5.68%;
        width: 98%;
    }
}

.bar-fixed-animation-due {
    animation: leftBarFixedDue 1.2s normal forwards ease-in-out;
}

@keyframes leftBarFixedDue {
    from {
        transform: translateX(13.4%);
        width: 98%;
    }

    to {
        transform: translateX(-76%);
        width: 190%;
    }
}

.bar-fixed-animation-tre {
    animation: centerBarFixedTre 1s normal forwards ease-in-out;
}

@keyframes centerBarFixedTre {
    from {
        transform: translateX(-14.5%);
        margin-top: -5.68%;
        width: 98%;
    }

    to {
        transform: translateX(0%);
        margin-top: -0.5%;
        width: 100%;
    }
}

.bar-fixed-animation-quattro {
    animation: BarFixedQuattro 1s normal forwards ease-in-out;
    width: 110vw;
}

@keyframes BarFixedQuattro {
    from {
        transform: translate(-100px, -70px);
    }

    to {
        transform: translate(-100px, 0px);
    }
}

.card-text-animation {
    animation: UpCardText 3s normal forwards ease-in-out;
}

@keyframes UpCardText {
    from {
        margin-top: 37%;
    }

    to {
        margin-top: 0.6%;
    }
}

.button {
    position: absolute;
    bottom: 0;
    background-color: rgba(231, 231, 231, 0.118);
    backdrop-filter: blur(5px);
    font-family: 'Montserrat', sans-serif;
    font-style: normal;
    font-weight: 400;
    font-size: 28px;
    border: none !important;
    z-index: 85;
    width: 100%;
    height: 18%;
    display: flex;
    align-items: center;
    justify-content: flex-end;
}

.card:hover .button {
    background-color: transparent;
    z-index: 100;
    padding-left: 5%;
    justify-content: flex-start;
}

.card:hover .arrow {
    display: inline-block;
    padding-left: 8px
}

.button.clicked {
    border: none !important;
    background-color: transparent;
}

.btn-primary:focus,
.btn:focus {
    box-shadow: 0 0 0 0 rgb(13 110 253 / 0%) !important;
}

.card:hover .additional-card,
.card:hover .additional-card-tre {
    display: flex;
    pointer-events: auto;
}

.additional-card,
.additional-card-tre {
    flex-direction: column;
    align-content: center;
    align-items: center;
    justify-content: center;
    display: none;
    position: absolute;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: #F65BCB;
    z-index: 90;
}

.fade-in-bottom {
    opacity: 0;
    transform: translateY(200px);
    animation: fadeInBottom 0.4s ease-out forwards;
}

@keyframes fadeInBottom {
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

.img-top {
    width: 60%;
}

.translateY-7 {
    transform: translateY(-7%);
}

#row-uno,
#row-due,
#row-tre,
#row-quattro,
#row-cinque,
#row-sei {
    height: 100vh;
    z-index: 2;
    position: relative
}

#row-quattro {
    color: #fff;
}

.row-tre-left h1,
.row-tre-right h1 {
    line-height: 67px;
}

.row-due-animation {
    animation: opacityone 0.2s 0.2s ease-in-out forwards;
}

.arrow {
    display: none;
}

.box {
    height: 30vh;
    width: auto;
    display: flex;
    justify-content: flex-end;
    align-items: stretch;
    flex-direction: column;
    text-decoration: none;
}

.box-1 {
    background: url('/images/metaverso/metahq.webp') no-repeat;
    background-size: cover;
    background-position: center;
}

.box-2 {
    background: url('/images/metaverso/metarecruit.webp') no-repeat;
    background-size: cover;
    background-position: center;
}

.box-3 {
    background: url('/images/metaverso/metaracing.webp') no-repeat;
    background-size: cover;
    background-position: center;
}

.box-4 {
    background: url('/images/metaverso/metacomo.webp') no-repeat;
    background-size: cover;
    background-position: center;
}

.box-5 {
    background: url('/images/metaverso/hp.webp') no-repeat;
    background-size: cover;
    background-position: center;
}

.box-6 {
    background: url('/images/metaverso/pirates.webp') no-repeat;
    background-size: cover;
    background-position: center;
}

.box-7 {
    background: url('/images/metaverso/b2f.webp') no-repeat;
    background-size: cover;
    background-position: center;
}

.box span {
    height: 26%;
    padding: 0 24px;
    background: rgba(246, 91, 203, 0.1);
    backdrop-filter: blur(12px);
    font-family: 'Montserrat', sans-serif;
    font-style: normal;
    font-weight: 400;
    font-size: 17px;
    color: #ffffff;
    display: flex;
    justify-content: flex-end;
    align-items: center;
}

.box:hover {
    background: rgb(246, 91, 202) url('/images/metaverso/subtract.svg') center 20% no-repeat;
}

.box:hover span {
    justify-content: flex-start;
    background-color: transparent;
    backdrop-filter: blur(0px);
}

.box:hover span:after {
    content: url('https://i.ibb.co/Fmmckw5/arrow-forward.webp');
    padding-left: 10px;
    padding-top: 4px;
}

/*
@keyframes backgroundopacity {
    0% {
        opacity: 1;
    }

    30% {
        opacity: 0;
    }

    31% {
        opacity: 0;
        background: rgb(246, 91, 202) url('/images/metaverso/subtract.svg') center 20% no-repeat;
    }

    100% {
        opacity: 1;
        background: rgb(246, 91, 202) url('/images/metaverso/subtract.svg') center 20% no-repeat;
    }
} */

footer li {
    font-family: 'Lato';
    font-style: normal;
    font-weight: 500;
    font-size: 14px;
    line-height: 17px;
    text-decoration-line: underline;
    list-style-type: none;
    padding: 8px 0;
}

footer p {
    font-family: 'Lato';
    font-weight: 500;
    font-size: 12px;
    line-height: 21px;
}

footer h5 {
    color: #fff;
}

.border-left {
    border-left: 1px solid rgba(255, 255, 255, 0.2);
}

.footer-border {
    border: 1px solid rgba(255, 255, 255, 0.2);
    position: absolute;
    z-index: 2;
    bottom: -50px;
}

.footer-info-company {
    color: #fff
}

#contacts {
    position: relative;
    z-index: 2;
}

textarea {
    resize: none;
}

.form-control {
    color: #fff;
    background-color: rgb(0 0 0 / 60%);
    border-radius: none;
    border: 1px solid transparent;
}

.form-control:focus {
    background-color: rgb(0 0 0 / 60%);
    border-radius: none;
    box-shadow: none;
    color: #fff;
    border: 1px solid #fff
}

a {
    color: #fff
}

.grecaptcha-badge {
    visibility: collapse !important;
}

#cookie-bar p {
    font-size: initial;
    font-weight: 300;
}

@media only screen and (min-width: 1200px) {

    .spirale-contenitore-animation {
        animation: wrapperspiraledue3 2.2s normal forwards ease-in-out;
    }

    @keyframes wrapperspiraledue3 {
        to {
            transform: translateX(-123%) translateY(-50%);
        }
    }

}

@media only screen and (min-width: 1900px) {

    .spirale-contenitore-animation {
        animation: wrapperspiraleduemobile 2.2s normal forwards ease-in-out;
    }

    @keyframes wrapperspiraleduemobile {
        to {
            transform: translateX(-145%) translateY(-50%);
        }
    }

}

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

    .card-detail-row {
        height: auto;
    }

    .card-detail h1,
    .card-text h1 {
        font-size: 27px;
    }

    .card-detail p,
    .card-text p {
        font-size: 16px;
        line-height: 23px;
    }


    .card-text {
        padding-top: 32px;
        padding-bottom: 32px;
    }

    .button {
        line-height: 24px;
        font-size: 18px;
    }


    .box {
        height: 23vh;
    }

    .row-tre-left h1,
    .row-tre-right h1 {
        line-height: 32px;
    }

    .bar-fixed-animation-quattro {
        animation: BarFixedQuattro 1s normal forwards ease-in-out;
        width: 110vw;
    }

    @keyframes BarFixedQuattro {
        from {
            transform: translate(-50px, -50px);
        }

        to {
            transform: translate(-50px, 160px);
        }
    }
}

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

    #row-uno,
    #row-due,
    #row-tre,
    #row-quattro,
    #row-cinque,
    #row-sei {
        margin-top: 100px;
        height: auto;
    }

    .box span {
        font-size: 12px;
        padding: 0 10px;
    }

    .nav-bar {
        background: linear-gradient(180deg, rgba(0, 0, 0, 0.8) 0%, rgba(55, 63, 255, 0) 100%);
        left: 0;
    }

    .card {
        margin: 0 auto;
        width: 100%;
    }

    .card-detail-img {
        width: 100%;
    }

    #spirale-contenitore {
        transform: scale(0.5) translateX(-100%);
        z-index: 2;
        top: auto;
    }

    #p-uno {
        padding-right: 0;
    }

    .p-class-due {
        padding: 0 !important;
    }

    .card-detail h1,
    .card-text h1,
    #row-sei h1 {
        font-size: 27px;
        line-height: 150%;
    }

    .footer-border {
        border: 1px solid rgba(255, 255, 255, 0.2);
        position: relative;
        z-index: 2;
        bottom: auto;
    }

}

.spirale-footer-animation {
    animation: rotation1 0.9s 0.1s ease-in-out forwards;
}

@keyframes rotation1 {
    from {
        scale: (0.1);
        opacity: 0;
    }

    to {
        scale: (1);
        transform: rotate(360deg);
        opacity: 1;
    }
}
