﻿/*------------------------------------------------------------------
Project:  ComingSoon template
Version:  1.0
Last change:  2.07.2020
Assigned to:  Pawel Zuchowski
Primary use:  Free to use under Creative Commons
-------------------------------------------------------------------*/
body,
body * {
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
}

body,
.container,
.row {
    margin: 0;
    padding: 0;
    width: 100vw;
}

p\:not(.slogan),
.left,
.icon,
.icon-list,
h1,
.right,
.mainInfo {
    width: auto;
}

.container .row .left-wrap {
    padding-right: 0;
    padding-left: 0;
    -webkit-filter: drop-shadow(15px 0px 10px rgba(50, 50, 0, 0.5));
    filter: drop-shadow(15px 0px 10px rgba(50, 50, 0, 0.5));
}

    .container .row .left-wrap .left {
        background-image: url(../img/247.jpg);
        background-repeat: no-repeat;
        background-position: 50% 100%;
        height: 100vh;
        -webkit-box-align: center;
        -ms-flex-align: center;
        align-items: center;
        -webkit-clip-path: polygon(0 0, 100% 0%, 75% 100%, 0% 100%);
        clip-path: polygon(0 0, 100% 0%, 75% 100%, 0% 100%);
    }

@media screen and (max-width: 576px) {
    .container .row .left-wrap .left {
        -webkit-clip-path: polygon(0 0, 100% 0, 100% 95%, 0% 100%);
        clip-path: polygon(0 0, 100% 0, 100% 95%, 0% 100%);
        height: 50vh;
        -webkit-box-orient: vertical;
        -webkit-box-direction: normal;
        -ms-flex-flow: column wrap;
        flex-flow: column wrap;
    	padding-top: 100px
    }
}

.container .row .left-wrap .left p {
    font-family: "Muli", sans-serif;
    font-size: 3.5em;
    margin-right: 2em;
    font-weight: bold;
    color: white;
}

@media screen and (max-width: 576px) {
    .container .row .left-wrap .left p {
        font-size: 2em;
        margin: 0.5em 0 0.5em 0;
        -ms-flex-preferred-size: 10%;
        flex-basis: 10%;
    }
}

@media screen and (min-width: 576px) and (max-width: 768px) {
    .container .row .left-wrap .left p {
        font-size: 2.4em;
    }
}

.container .row .left-wrap .left p .small {
    vertical-align: text-top;
    font-size: 0.5em;
}

.container .right {
    -webkit-box-align: start;
    -ms-flex-align: start;
    align-items: flex-start;
}

@media screen and (max-width: 576px) {
    .container .right {
        height: 150;
        -webkit-box-align: center;
        -ms-flex-align: center;
        align-items: center;
    }
}

.container .right .mainInfo {
    -webkit-box-flex: 1;
    -ms-flex: 1;
    flex: 1;
}

@media screen and (max-width: 576px) {
    .container .right .mainInfo {
        text-align: center;
    }
}

.container .right .mainInfo h1 {
    font-size: 2em;
    margin-left: 1em;
}

@media screen and (max-width: 576px) {
    .container .right .mainInfo h1 {
        margin-left: 0;
    }
}

.container .right .mainInfo .slogan {
    width: 50vw;
    margin-top: 1.5em;
    color: #6d6464;
}

@media screen and (max-width: 576px) {
    .container .right .mainInfo .slogan {
        width: auto;
    }
}

.container .right .mainInfo .form-subscribe {
    margin-top: 0.5em;
}

@media screen and (max-width: 576px) {
    .container .right .mainInfo .form-subscribe {
        margin-left: 0;
    }
}

.container .right .mainInfo .form-subscribe .form {
    height: 40px;
    padding: 0;
    margin-right: -6px;
    border: 1px solid black;
    border-right: none;
    padding-left: 0.5em;
}

.container .right .mainInfo .form-subscribe button {
    width: 120px;
    height: 40px;
    border: 1px solid black;
    border-top: 2px solid black;
    border-radius: 0 25px 25px 0;
    padding: 0;
    color: white;
    background-color: black;
}

    /*@media screen and (max-width: 576px) {
    .container .right .mainInfo .form-subscribe button {
        width: 100px;
    }
}*/

    .container .right .mainInfo .form-subscribe button:hover {
        cursor: pointer;
    }

.container .right .icon-list {
    list-style: none;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center;
    -webkit-transform: translateY(-3em);
    transform: translateY(-3em);
}

    /*@media screen and (max-width: 576px) {
    .container .right .icon-list {
        -webkit-transform: translateY(-0.1em);
        transform: translateY(-0.1em);
        padding-left: 0;
    }
}*/

    .container .right .icon-list .icon {
        margin-right: 1em;
        font-size: 1.5em;
    }

        .container .right .icon-list .icon a {
            color: black;
            text-decoration: none;
        }

.right,
.mainInfo,
.left {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -ms-flex-direction: column;
    flex-direction: column;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center;
}

h1,
.slogan,
button,
.form {
    /*font-family: 'Libre Baskerville', serif;
    font-weight: 700;
    font-size: 1.3rem;
    color: #444;
    text-align: center;
    letter-spacing: 0.5px;*/
    font-family: 'Anton', sans-serif;
    font-weight: 700;
    font-size: 1.3rem;
    letter-spacing: 1px;
    color: #2c3e50;
}

.slogan,
.form-subscribe {
    margin-left: 2em;
}

@media screen and (max-width: 576px) {
    .slogan,
    .form-subscribe {
        margin-left: auto;
    }
}

.twitter::before {
    font-family: "Font Awesome 5 Brands";
    content: "\f099";
}

.facebook::before {
    font-family: "Font Awesome 5 Brands";
    content: "\f16d";
}

.instagram::before {
    font-family: "Font Awesome 5 Brands";
    content: "\f09a";
}

.event-title {
    font-family: 'Poppins', sans-serif;
    font-weight: 800;
    font-size: 3rem;
    color: #2c3e50;
    /*margin-bottom: 1.5rem;
    line-height: 1.4;*/
    text-align: center;
    letter-spacing: 1px; /* Spaziatura tra le lettere */
    text-transform: uppercase; /* Maiuscole per un effetto più forte */
    text-shadow: 3px 3px 5px rgba(0, 0, 0, 0.1); /* Ombra leggera */
    transition: all 0.3s ease;
}

    .event-title:hover {
        color: #e67e22; /* Cambia il colore al passaggio del mouse */
        transform: translateY(-5px); /* Effetto di spostamento al passaggio del mouse */
    }

.event-subtitle {
    font-family: 'Anton', sans-serif;
    font-weight: 300;
    font-size: 1.5rem;
    color: #7f8c8d;
    text-align: center;
    margin-bottom: 1rem;
    letter-spacing: 0.5px;
    transition: color 0.3s ease;
}

    .event-subtitle:hover {
        color: #6C3FB4; /* Cambia colore quando si passa il mouse */
    }

.event-tagline {
    font-family: 'Anton', sans-serif;
    font-style: italic;
    font-weight: 300;
    font-size: 1.1rem;
    color: #95a5a6;
    margin-top: 0.5rem;
    text-align: center;
    line-height: 1.6;
    letter-spacing: 0.5px;
    opacity: 0.8; /* Leggera trasparenza per un effetto elegante */
    transition: opacity 0.3s ease, color 0.3s ease;
}

    .event-tagline:hover {
        color: #e67e22; /* Cambia colore quando si passa il mouse */
        opacity: 1; /* Opacità completa quando viene evidenziato */
    }

.logo-centered {
    max-width: 200px;
    height: auto;
    margin-bottom: 2rem;
}

.right {
    height: 100vh;
}

@media (max-width: 576px) {
    .right {
        height: auto;
        padding-top: 2rem;
        padding-bottom: 2rem;
    }
}

.logo-fullscreen-wrapper {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    z-index: 9999;
    background-color: white; /* puoi mettere transparent se vuoi */
    display: flex;
    justify-content: center;
    align-items: center;
}

.logo-fullscreen {
    max-width: 200px;
    height: auto;
}

.logo-fixed-top {
    width: 100%;
    position: absolute;
    top: 0;
    z-index: 10;
    background-color: white;
}

/* Allinea countdown in colonna ordinata */
.container .row .left-wrap .left p {
    display: flex;
    align-items: baseline;
    justify-content: flex-start;
    gap: 0.3em;
    font-size: 2.5em;
    font-weight: bold;
    color: white;
    margin: 0.3em 1em;
}

    /* Etichette più piccole */
    .container .row .left-wrap .left p .small {
        font-size: 0.4em;
        margin-left: 0.2em;
    }

/* Centra tutto su mobile */
@media screen and (max-width: 576px) {
    .container .row .left-wrap .left {
        align-items: center;
        justify-content: center;
    }

        .container .row .left-wrap .left p {
            justify-content: center;
            font-size: 2em;
            margin: 0.2em 0;
        }

            /* Aggiungi un margin-top specifico per i giorni su mobile per separare meglio */
            .container .row .left-wrap .left p:first-child {
                margin-top: 1em; /* Regola questo valore per spostare ulteriormente verso il basso */
            }
}

/* Allinea countdown in colonna ordinata */
.container .row .left-wrap .left p {
    display: flex;
    align-items: baseline;
    justify-content: flex-start;
    gap: 0.3em;
    font-size: 2.5em;
    font-weight: bold;
    color: white;
    margin: 0.3em 1em;
}

    /* Etichette più piccole */
    .container .row .left-wrap .left p .small {
        font-size: 0.4em;
        margin-left: 0.2em;
    }

/* Centra tutto su mobile */
@media screen and (max-width: 576px) {
    .container .row .left-wrap .left {
        align-items: center;
        justify-content: center;
        height: 60vh; /* Aumentiamo l'altezza per far scendere di più la colonna */
    }

        .container .row .left-wrap .left p {
            justify-content: center;
            font-size: 2em;
            margin: 0.2em 0;
        }

            /* Aggiungi un margin-top specifico per i giorni su mobile per separare ancora meglio */
            .container .row .left-wrap .left p:first-child {
                margin-top: 1.5em; /* Aumentiamo per separare ancora i giorni */
            }

    /* Aggiungiamo un margine negativo per far scendere ulteriormente la colonna */
    .container .row .left-wrap {
        /* margin-top: 5em;*/ /* Regola questo valore per scendere ancora di più */
    }
}

/* --- SLIDER DESTRO --- */
.slider-wrapper {
    position: absolute;
    top: 0;
    right: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    overflow: hidden;
}

.slider {
    position: absolute;
    top: 0;
    right: 0;
    width: 100%;
    height: 100%;
    display: flex;
    animation: slideShow 15s infinite;
}

    .slider img {
        min-width: 100%;
        height: 100vh;
        object-fit: cover;
        flex-shrink: 0;
        transition: opacity 1s ease-in-out;
    }

@keyframes slideShow {
    0% {
        transform: translateX(0%);
    }

    33% {
        transform: translateX(-100%);
    }

    66% {
        transform: translateX(-200%);
    }

    100% {
        transform: translateX(0%);
    }
}

/* Assicura che il contenuto resti sopra lo slider */
.mainInfo {
    position: relative;
    z-index: 2;
    background: rgba(255, 255, 255, 0.8); /* opacità per leggibilità */
    padding: 1rem;
    border-radius: 15px;
}

#redirect-message h1 {
    animation: fadeInUp 1.2s ease-out;
}
@keyframes fadeInUp {
    0% { opacity: 0; transform: translateY(30px); }
    100% { opacity: 1; transform: translateY(0); }
}
