body {
    background-color: #fff;
}

.home h1,
.home h1 h2,
.navbar-brand {
    font-family: "Orbitron", serif;
    font-weight: 600;
}

.navbar-expand-lg .navbar-nav .nav-link {
    padding-left: 1em;
    padding-right: 1em;
}

.btn-primary,
.btn-primary:hover,
.btn-primary:focus {
    background-color: #4f9fb6;
    border-color: #4f9fb6;
    padding-left: 1.5em;
    padding-right: 1.5em;
}

.btn-primary:hover,
.btn-primary:focus {
    opacity: .8;
}

.btn-rounded {
    border-radius: 25px;
}

#canvas-container {
    /*width: 100%; /* Adatta la dimensione 
    //height: 80vh;*/
    width: 100%;
    height: 60vh;

    &.disabled {
        cursor: pointer;
    }
}

footer {
    ul {
        list-style: none;
        padding: 1em 0;
    }

    a {
        color: #4f9fb6;
        text-decoration: none;
    }

    a:hover,
    a:focus {
        color: #4f9fb6;
        opacity: .9;
    }
}

.spacer {
    padding: 5em 0;
}

.heading {
    font-size: 4em;
    letter-spacing: -2pt;
    padding: 2em 0;
    text-align: center;

    &.inverse {
        padding: 3em 0 1em 0;
        color: #fff;
    }
}

.hw-list {
    list-style: none;
    padding-top: 3em;
    padding-left: 0;
    margin-left: 0;

    li {
        padding: 2em 0 3em 0;
        position: relative;

        ::after {
            content: "";
            background: -webkit-linear-gradient(left,
                    rgba(0, 0, 0, 0) 0%,
                    rgba(0, 0, 0, .05) 50%,
                    rgba(0, 0, 0, 0) 100%);
            display: block;
            height: 1px;
            /* max-width: 600px; */
            width: 100%;
            position: absolute;
            left: 0;
            bottom: 0;
        }

        &:last-child {

            ::after {
                display: none;
            }
        }

        .col-5 {
            padding-left: 2em;
        }
    }
}

.newsletter.epic {

    padding-bottom: 12em;
    color: #fff;

    input,
    button {
        font-size: 2em;
        padding: .5rem 2rem;
        border-radius: 5px;
        border-width: 1px;
    }

    button {
        margin-left: .2em;
        border-width: 1px;
        border-color: #4f9fb6;
        /* padding: 0 2rem; */
    }
}

#newsletter-subscriber {
    .response {
        max-width: 728px;
        margin: 1.5em auto;
    }
}

.switch {
    position: relative;
    display: inline-block;
    width: 60px;
    height: 34px;
}

.switch input {
    opacity: 0;
    width: 0;
    height: 0;
}

.slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: #ccc;
    -webkit-transition: .4s;
    transition: .4s;
}

.slider:before {
    position: absolute;
    content: "";
    height: 26px;
    width: 26px;
    left: 4px;
    bottom: 4px;
    background-color: white;
    -webkit-transition: .4s;
    transition: .4s;
}

input:checked+.slider {
    background-color: #4f9fb6;
}

input:focus+.slider {
    box-shadow: 0 0 1px #4f9fb6;
}

input:checked+.slider:before {
    -webkit-transform: translateX(26px);
    -ms-transform: translateX(26px);
    transform: translateX(26px);
}

/* Rounded sliders */
.slider.round {
    border-radius: 34px;
}

.slider.round:before {
    border-radius: 50%;
}


#click-for-3d {
    position: absolute;
    width: 160px;
    bottom: 0;
    right: 40%;
    /* transform: rotate(-14deg); */
    opacity: 0;
    transition: opacity 1.5s ease-in-out;

    &.animated {
        animation: shake 1.5s;
        animation-iteration-count: infinite;
        opacity: 1;
    }
}

@keyframes shake {
    0% {
        transform: rotate(0deg);
    }

    4% {
        transform: rotate(2deg);
    }

    8% {
        transform: rotate(-2deg);
    }

    12% {
        transform: rotate(-2deg);
    }

    16% {
        transform: rotate(2deg);
    }

    20% {
        transform: rotate(-2deg);
    }

    24% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(0deg);
    }
}

/* FOR IMAGE WITH MOUSE */
/* @keyframes shake {
    0% { transform: rotate(-14deg); }
    4% { transform: rotate(-16deg); }
    8% { transform: rotate(-12deg); }
    12% { transform: rotate(-16deg); }
    16% { transform: rotate(-12deg); }
    20% { transform: rotate(-16deg); }
    24% { transform: rotate(-14deg); }
    100% { transform: rotate(-14deg); }
  } */

.masonry-item {
    max-width: 20%;
    margin: 0;
    padding: 0;
    border-bottom: 4px solid #4f9fb6;
    border-right: 4px solid #4f9fb6;
}


.timeline-gallery {

    overflow-x: auto;
    white-space: nowrap;

    .timeline-img-preview {
        width: 70px;
        height: 50px;
        margin-right: 2px;
        background-position: center;
        background-size: cover;
        border-radius: 5px;
        overflow: hidden;
        display: inline-block;
    }

    .img-timeline {
        max-height: 50px;
        padding-right: 2px;
    }

    a:last-child {
        .img-timeline {
            padding-right: 0;
        }
    }
}


.card {
    &.with-dot {
        position: relative;

        &::after {
            content: "";
            display: block;
            position: absolute;
            left: -99px;
            width: 26px;
            height: 26px;
            background-color: #4f9fb6;
            border-radius: 26px;
            top: 16px;
            border: 4px solid #ccc;
        }
    }
}

.alpha-50 {
    opacity: .5;
}

.btn-community {
    background-color: #7032ff;
    border-radius: 20px;
    color: #fff;

    .fa-discord {
        color: yellow;
        font-size: 1.2rem;
        margin-left: 6px;
        /* display: inline-block; */
        transition: transform .2s ease-in-out;
    }

    &:hover,
    &:focus {
        color: #fff;
        opacity: .9;

        .fa-discord {
            transform: rotate(10deg);
        }
    }
}

.error.epic {
    min-height: 70vh;

    h1 {
        font-size: 10em;
    }
}

.page.epic {
    min-height: 50vh;

    h1 {
        font-size: 5em;
    }
}


a {
    color: #4f9fb6;
    text-decoration: none;

    &:focus,
    &:active {
        color: #4f9fb6;
    }

    &:hover {
        opacity: .8;
    }
}

.platforms {
    justify-content: space-between;
    flex-wrap: wrap;
    align-items: flex-start;
}

.platforms-item {
    border: 1px solid #efefef;
    border-radius: 15px;
    padding: 1em;
    margin: 1em 0;
    background-color: rgba(255, 255, 255, .8);
    box-shadow: 0 15px 20px -20px #ccc;
    /* color: #fff; */
    width: 24%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    font-size: .8rem;
    font-weight: 600;

    .platforms-logo {
        max-width: 60px;
        padding-bottom: 8px;
        display: block;
    }

}

#video1,
#video2 {
    position: relative;
    z-index: 0;
    min-width: 120%;
    margin: -6em 0 0 -2em;
    border-radius: 100%;
    box-shadow: 0 0 50px 50px #fff;
}

#video2 {
    display: none;
}


#connectivity {
    .img-fluid {
        margin-left: 2em;
        opacity: .8;
    }

    ul {
        list-style: none;
        margin-top: 2em;
        margin-left: .5em;
    }

}

.spec-icon {
    font-size: 3em;
}

#social-links {
    width: 680px;
    margin: 1.5em auto;
    font-size: 3em;
}



footer {
    background-color: #111;
    color: #fff;
    padding-top: 4em;
    padding-bottom: 4em;
}

#cookie-bar {
    position: fixed;
    bottom: 20px;
    left: 20px;
    box-shadow: 5px 5px 20px -5px rgba(0,0,0,.5);
    border-radius: 10px;
    overflow: hidden;
    width: 25%;
    min-width: 300px;
    max-width: 300px;
    z-index: 2;

    .box {
        padding: 1em !important;

        span {
            padding: .5em 0 0 0;
            display: inline-block;
            font-size: .8rem;
        }    

        h4 {
            font-size: 1.1rem;
        }

        h6 {
            font-size: .8rem;
            text-transform: uppercase;
            border-bottom: 1px solid #efefef;
            padding-top: 10px;
            font-weight: bold;
            margin-bottom: 0;;
        }
    }

    .btn {
        text-transform: uppercase;
        font-size: .65rem;
        width: 100%;
        padding: 1em 0;

        &:first-child {
            margin-right: 4px;
        }

        &.btn-light:last-child {
            margin-left: 4px;
            border: 1px solid #bbb;
            color: #bbb;
        }

        &.btn-link {
            color: #323232;
            margin: 0 0 0px 0;
            display: flex;
            align-items: center;
            justify-content: center;
            text-decoration: none;

            .fa-solid {
                font-size: 1rem;
                margin-right: 5px;
            }
        }
    }
}

#exit-intent {
    position: fixed;
    top: 0;
    bottom:0;
    width: 100%;
    background: rgba(0,0,0,.7);
    color:#323232;
    padding: 4em 1em;
    text-align: center;
    z-index: 99999;
    font-size: 160%;
    border-top:2px solid #43cca1;
    /* display: flex;
    justify-content: center;
    align-items: center; */
    /* flex-direction: column; */
    backdrop-filter: blur(4px);
    overflow: auto;;
}

#cookie-bar .box,
#exit-intent .box {
    background: #fff;
    padding: 3em 4em;
    text-align: left;
    margin: auto;
    transition: max-width .8s ease-in-out;
    max-width: 9999px;
}

#cookie-bar .box.init,
#exit-intent .box.init {
    max-width: 730px;
}

#cookie-bar .box > span,
#exit-intent .box > span  {
    padding: .5em 0 1em 0;
    display: inline-block;
}

/* #cookie-bar button,
#cookie-bar button:active,
#cookie-bar button:focus,
#cookie-bar button:target {
    color: #121212;
    background: #54d8a8;
    border: 2px solid #43cca1;
	line-height: normal;
    font-size:20px;
    display: block;
    border-radius: 3px;
    font-weight: bold;
    cursor: pointer;
    margin-top: 1em;
} */

/* #cookie-bar button:hover {
    background: #fff !important;
	color: #54d8a8;
}

#cookie-bar button {
    display: block;
    margin-left:22px;
    font-size:18px;
    padding:6px 18px;
}

#cookie-bar .action-link {
    color: #00b5d6;
    font-size: 80%;
    margin-top: 1em;
} */
/* 
#cookie-bar .action-link:hover {
    text-decoration: underline;;
}

#cookie-bar a {
    color:#121212;    

}

#cookie-bar .logo-cookie-bar,
#exit-intent .logo-cookie-bar {
    max-height: 35px; 
    margin: auto; 
    display: block; 
    margin-bottom: 1.6em; 
} */

#accept-cookie-statement,
#reject-cookie-statement {
    padding: 6px 18px;
    display: inline-block;
    margin-top: 2em;
    /* margin-left: .5em; */
}

#cookie-bar #cookie-bar-selection {
    font-size: 70%;
    padding-bottom: 1em;
}

#cookie-bar #cookie-bar-selection label {
    cursor: pointer;
}

#discover {
    overflow: hidden !important;
}

#exploded {
    overflow: hidden !important;
}

#splash1 {

    .home {
        padding: 4em 0 2em 0;
        position: relative;
        z-index: 1;
    
        h1 {
            font-size: 4.6em;
        }
    
        h2 {
            font-size: 1.4em;
        }
    
    }
    
    #splash-img {
        margin: -10em auto 1.5em auto;
        position: relative; 
        top: 25px; 
        opacity: 0; 
        transition: opacity 1s ease-in-out, 
        top 1.5s ease-in-out; 
        max-width: 100%;
    }

    #splash-abstract {
        position: relative;
        z-index: 1;
        padding-bottom: 5em;
        .right {
            text-align: right;
        }
    }
}

#subscriber-fixed-wrapper {
    position: fixed;
    right: 1em;
    z-index: 1;
    /* transform: translate(-50%, 0); */
    background-color: #212322;
    bottom: -17em;
    padding: 2em;
    border-radius: 20px;
    transition: bottom .5s ease-in-out;
    max-width: 542px;
    margin-left: 1em;

    p b{
        font-size: 1.2rem;
        padding-bottom: .2em;
        display: inline-block;
        border-bottom: 1px solid #323232;
        width: 100%;
        margin-bottom: .4em;
        margin-top: -5px;
    }
    
    #subscriber-close-me {
        font-size: 1.8rem;
        margin: -15px -10px -1em 0;
        position: relative;
        z-index: 2;

        .fa-solid {
            cursor: pointer;
            color: #666;
        }

        :hover {
            color: #999;
        }
    }

    p, small {color: #fff; }
    p small, small, .response {
        font-size: .8rem;
    }


    .response {
        margin: 1em auto 0 auto;

        .alert {
            margin-bottom: 0;;
        }
    }

    input,
    button {
        font-size: 1.4em;
        padding: .5rem 1rem;
        border-radius: 5px;
        border-width: 1px;
    }

    button {
        margin-left: .2em;
        border-width: 1px;
        border-color: #4f9fb6;
        /* padding: 0 2rem; */
    }

    &.pop-in {
        bottom: 1em;
    }

    .fa-circle-up {
        display: none;
        margin-top: 8px;
    }

    &.closed {
        bottom: -11.5em;

        .fa-circle-up {
            display: block;
        }

        .fa-circle-xmark {
            display: none;
        }
    }
}


@media screen and (max-width: 1400px) {
    #splash1 {
        #splash-img {
            margin-top: -5em;
        }
    }
    #timeline {
        .with-dot::after {
            left: -89px;
        }
    }
}


@media screen and (max-width: 1200px) {
    #timeline {
        .with-dot::after {
            left: -79px;
        }
    }

    #splash1 {
        .btn-primary {
            font-size: 1.2rem;
        }

        #splash-img {
            margin-top: -5em;
        }
    }
}

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

    #splash1 { 
        #splash-img {
            margin-top: -4em;
        }

        .btn-primary {
            font-size: 1.1rem;
        }
    }

    #connectivity {
        .img-fluid {
            max-width: 200px;
            display: block;
            margin: 0 auto 1em auto;
        }
    }

    #timeline {

        .py-4,
        .py-3,
        .py-2,
        .col,
        .col-lg-8,
        .col-lg-3 {
            padding: 0 !important;
        }

        .col-lg-3>h4 {
            padding-top: 2em !important;
        }

        .with-dot::after {
            display: none;
        }
    }

    .spec-icon {
        font-size: 1.8em;
    }

    #newsletter-subscriber {
        /* padding-bottom: 4em; */

        input {
            width: 100%;
            font-size: 1.4rem;
            padding-left: .5em;
            padding-right: .5em;
        }

        .btn {
            font-size: 1.4rem;
        }
    }


    #social-links {
        width: 500px;
    }
}

@media screen and (max-width: 770px) {
    #specs {
        .spec-icon {
            display: block;
            margin: auto;
            text-align: center;
        }
    }

    #splash1 {
        overflow: hidden;
        min-height: 80vh;
        text-align: center;

        .home  {            
            h1 {
                font-size: 3.5em;
            }
            h2 {
                font-size: 1.2em;
            }
        }

        #splash-img {
            margin: -2em auto 2em auto;
            max-width: 96%;
        }

        #splash-abstract {
            margin-top: -1em;
            padding-bottom: 5em;

            .left {
                padding-bottom: 1em;
            }

            .left,
            .right {
                text-align: center;
            }
        }
        
    }

    #subscriber-fixed-wrapper {
        bottom: -15em;
        right: .5em;
        margin-left: .5em;
        padding: 2em 2em 1em 2em;

        input, 
        button {
            font-size: 1.1rem !important;
        }

        p b {
            font-size: .9rem;
            border-bottom: none;
            margin-top: -10px;
            margin-bottom: 0;
            padding: 0;
        }

        p small{ 
            display: none;
        }

        &.pop-in {
            bottom: .5em;
        }

        &.closed {
            bottom: -6em;
        }
    }
}

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


    .spec-icon {
        margin: auto;
    }

    body {
        font-size: .8rem;
    }


    .platforms-item {
        font-size: .6rem;

        .platforms-logo {
            max-width: 45px;
        }

    }

    #splash-img {
        margin: 2em 0 0 0;
        max-width: 96%;
    }

    #inside {
        .img-fluid {
            max-width: 150px;
            margin: auto;
            display: block;

            &:first-of-type {
                margin-bottom: 1.5em;
            }
        }
    }

    #connectivity {
        overflow: hidden;

        ul {
            margin-left: 0;
            padding-left: 0;
        }

    }

    #video1,
    #video2 {
        width: 100%;
        margin-top: -2em;
        /* margin: -6em 0 0 0; */
    }

    .heading {
        font-size: 2.2em;
        letter-spacing: -1pt;
        padding: 2.5em 0 .5em 0;

        &.inverse {
            padding: 2.5em 0 .5em 0;
        }
    }

    .container-fluid {
        overflow: hidden;
    }

    .video-wrapper {
        overflow-x: hidden;
        overflow-y: visible;
    }


    #click-for-3d { 
        right:0;
        bottom: 5em;
    }

    #newsletter-subscriber {
        /* padding-bottom: 4em; */

        input {
            width: 100%;
            font-size: 1.4rem;
            padding-left: .5em;
            padding-right: .5em;
        }

        .btn {
            font-size: 1.4rem;
        }
    }

    #subscriber-fixed-wrapper {
        &.closed {
            bottom: -7.5em;
        }
    }

    #social-links {
        width: 90%;
        font-size: 2.4em;
    }

    footer {
        .col-lg-2 {
            text-align: center;
        }
    }
}