html {
  font-size: 14px;
}

@media (min-width: 768px) {
  html {
    font-size: 16px;
  }
}

.btn:focus, .btn:active:focus, .btn-link.nav-link:focus, .form-control:focus, .form-check-input:focus {
  box-shadow: 0 0 0 0.1rem white, 0 0 0 0.25rem #258cfb;
}

* {
    box-sizing: border-box;
}

html, body {
    margin: 0;
    font-family: Arial, 'Helvetica Neue', Helvetica, sans-serif;
    color: #fff;
    background: #333;
}

.landing {
    position: relative;
    width: 100%;
    height: 100vh;
    overflow: hidden;
}

.bg-video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 1;
}

    .bg-video img {
        display: none;
    }

/* Overlay contenuto */
.landing-inner {
    position: relative;
    z-index: 2;
    background: rgba(0, 0, 0, 0.5);
    width: 100%;
    height: 100%;
    text-align: center;
    padding-top: 60px;
}

.landing h1 {
    font-size: 50px;
    margin-bottom: 30px;
}

.landing p {
    font-size: 20px;
    margin-bottom: 20px;
}
/*
.countdown {
    font-size: 70px;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    text-align: center;
    gap: 10px;
}

    .countdown div {
        padding: 20px;
        border: 1px #fff solid;
        border-radius: 15px;
        background: #000;
        opacity: 0.7;
    }

        .countdown div:first-child {
            background: #17a2b8;
        }

    .countdown span {
        display: block;
        font-size: 25px;
    }
*/
@media (max-width: 650px) {
    .landing h1 {
        font-size: 36px;
    }

   /* .countdown {
        font-size: 30px;
        flex-direction: column;
    }

        .countdown div {
            display: none;
        }

            .countdown div:first-child {
                display: block;
                width: 80%;
                padding: 15px;
            }*/
}

.created-by {
    text-align: center;
    padding: 40px 0;
    background-color: #111;
    color: #fff;
}

    .created-by p {
        font-size: 0.95rem;
        text-align:justify-all;
    }

.logo-group {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 30px;
    flex-wrap: wrap;
}

    .logo-group img {
        max-height: 80px;
        opacity: 1;
        transition: opacity 0.3s;
    }

        .logo-group img:hover {
            opacity: 1;
        }

/* Countdown + Newsletter Styles */
* {
    font-family: "montserrat", sans-serif;
}

.page {
    background: #f1f1f1;
    display: flex;
    flex-wrap: wrap;
}

.col {
    flex: 1;
    height: 100vh;
    position: relative;
}

.countdown-col {
    background: url("/asset/TM.png") no-repeat center;
    background-size: cover;
}

.time {
    color: #fff;
    text-transform: uppercase;
    width: 90%;
    display: flex;
    justify-content: center;
}

.middle {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%,-50%);
    text-align: center;
}

.time span {
    padding: 0 14px;
    font-size: 10px;
}

    .time span div {
        font-size: 40px;
    }

.newsletter {
    width: 90%;
}

    .newsletter h4 {
        font-style: italic;
        font-size: 12px;
    }

    .newsletter input {
        display: block;
        margin: 12px auto;
        width: 100%;
        max-width: 400px;
        box-sizing: border-box;
        padding: 14px 20px;
        border-radius: 30px;
        border: 1px solid #ddd;
        outline: none;
    }

.newsletter-btn {
    background: linear-gradient(125deg,#3498db,#34495e);
    color: #fff;
    cursor: pointer;
    transition: 0.4s;
}

    .newsletter-btn:hover {
        opacity: .7;
    }

@media screen and (max-width :900px) {
    .col {
        flex: 100%;
    }
}

.landing-logo {
    width:20%;
}

@media (max-width: 650px) {
    .landing-logo {
        width:50%;
    }
}
/* Animazioni */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: scale(0.95);
    }

    to {
        opacity: 1;
        transform: scale(1);
    }
}

@keyframes slideIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.animated-fade {
    animation: fadeIn 1.2s ease-out;
}

.animated-slide {
    animation: slideIn 1s ease-out;
}

.slogan {
    font-size: 1.2rem;
    color: #ddd;
    margin-bottom: 20px;
    animation: fadeIn 2s ease-in;
}

/* Glassmorphism countdown */
/*.countdown.glass {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(6px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 15px;
    padding: 15px 25px;
    box-shadow: 0 8px 32px rgba(0,0,0,0.25);
    transition: all 0.3s ease-in-out;
}*/

    /* Hover effect soft */
    /*.countdown.glass:hover {
        transform: scale(1.02);
    }*/

created-by {
    padding: 40px 20px;
    background-color: #111;
    color: #fff;
}

.created-by-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1000px;
    margin: auto;
    flex-wrap: wrap;
    gap: 30px;
}

.left-logo img {
    max-height: 70px;
}

.right-info {
    max-width: 500px;
    font-size: 0.5rem;
}

    .right-info p {
        margin: 6px 0;
    }

    .right-info i {
        margin-right: 8px;
        color: #17a2b8;
    }

    .right-info a {
        color: #fff;
        text-decoration: underline;
    }

@media (max-width: 768px) {
    .created-by-content {
        flex-direction: column;
        text-align: center;
    }

    .left-logo img {
        max-height: 60px;
    }
}
@keyframes tooltipFade {
    from {
        opacity: 0;
        transform: translateY(5px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}
/* Nascondi entrambi inizialmente per sicurezza */
.desktop-video,
.mobile-video {
    display: none;
}

/* Mostra video desktop sopra i 768px */
@media (min-width: 768px) {
    .desktop-video {
        display: block;
    }
}

/* Mostra video mobile sotto i 768px */
@media (max-width: 767px) {
    .mobile-video {
        display: block;
    }
}
