@import url("https://fonts.googleapis.com/css?family=Montserrat:400,600,700|Work+Sans:300,400,700,900");

* {
    outline-width: 0;
    font-family: "Montserrat" !important;
}

#container {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100vh;
    margin: 0;
    padding: 0;
    width: 100%;
    background-size: cover !important;
    z-index: 3;
}

#inviteContainer {
    display: flex;
    overflow: hidden;
    position: relative;
    border-radius: 5px;
    z-index: 3;

    .acceptContainer {
        padding: 45px 30px;
        box-sizing: border-box;
        width: 400px;
        margin-left: -400px;
        overflow: hidden;
        height: 0;
        opacity: 0;

        &.loadIn {
            opacity: 1;
            margin-left: 0;
            transition: 0.5s ease;
        }

        &:before {
            content: "";
            background-size: cover !important;
            box-shadow: inset 0 0 0 3000px rgba(40, 43, 48, 0.75);
            filter: blur(10px);
            position: absolute;
            width: 150%;
            height: 150%;
            top: -50px;
            left: -50px;
        }
    }
}

form {
    position: relative;
    text-align: center;
    height: 100%;
    z-index: 3;

    h1 {
        margin: 0 0 15px 0;
        font-family: "Work Sans" !important;
        font-weight: 700;
        font-size: 20px;
        color: #fff;
        user-select: none;
        opacity: 0;
        left: -30px;
        position: relative;
        transition: 0.5s ease;

        &.loadIn {
            left: 0;
            opacity: 1;
        }
    }
}

.formContainer {
    text-align: left;
    z-index: 3;

    .formDiv {
        margin-bottom: 30px;
        left: -25px;
        opacity: 0;
        transition: 0.5s ease;
        position: relative;

        &.loadIn {
            opacity: 1;
            left: 0;
        }

        &:last-child {
            padding-top: 10px;
            margin-bottom: 0;
        }
    }

    p {
        margin: 0;
        font-weight: 700;
        color: #aaa;
        font-size: 10px;
        user-select: none;
    }

    .formato-login {
        background: transparent;
        border: none;
        box-shadow: inset 0 -1px 0 rgba(255, 255, 255, 0.15);
        padding: 15px 0;
        box-sizing: border-box;
        color: #fff;
        width: 100%;

        &:focus {
            box-shadow: inset 0 -2px 0 #fff;
        }
    }
}

.logoContainer {
    z-index: 3;
    padding: 25px 15px;
    box-sizing: border-box;
    position: relative;
    z-index: 2;
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    transform: scale(0, 0);

    img {
        width: 290px;
        margin-bottom: -5px;
        display: block;
        position: relative;

        &:first-child {
            width: 290px;
        }
    }

    .text {
        padding: 25px 0 10px 0;
        margin-top: -70px;
        opacity: 0;

        &.loadIn {
            margin-top: 0;
            opacity: 1;
            transition: 0.8s ease;
        }
    }

    .logo {
        position: relative;
        top: -20px;
        opacity: 0;

        &.loadIn {
            top: 0;
            opacity: 1;
            transition: 0.8s ease;
        }
    }

    &:before {
        content: "";
        background-size: cover !important;
        position: absolute;
        top: -50px;
        left: -50px;
        width: 150%;
        height: 150%;
        filter: blur(10px);
        box-shadow: inset 0 0 0 3000px rgba(255, 255, 255, 0.95);
    }
}

.forgotPas {
    color: #aaa;
    opacity: 0.8;
    text-decoration: none;
    font-weight: 700;
    font-size: 10px;
    margin-top: 15px;
    display: block;
    transition: 0.2s ease;
    z-index: 3;

    &:hover {
        opacity: 1;
        color: #fff;
    }
}

.acceptBtn {
    z-index: 3;
    width: 100%;
    box-sizing: border-box;
    background: #7289da;
    border: none;
    color: #fff;
    padding: 20px 0;
    border-radius: 3px;
    cursor: pointer;
    transition: 0.2s ease;
    user-select: none;

    &:hover {
        background: #6b7fc5;
    }
}

.register {
    z-index: 3;
    color: #aaa;
    font-size: 12px;
    padding-top: 15px;
    display: block;

    a {
        color: #fff;
        text-decoration: none;
        margin-left: 5px;
        box-shadow: inset 0 -2px 0 transparent;
        padding-bottom: 5px;
        user-select: none;

        &:hover {
            box-shadow: inset 0 -2px 0 #fff;
        }
    }
}

#particles {
    position: fixed;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    z-index: 1;
    background: #0071b6;
    background: -webkit-linear-gradient(-135deg, #0071b6, #4158d0);
    background: -o-linear-gradient(-135deg, #0071b6, #4158d0);
    background: -moz-linear-gradient(-135deg, #0071b6, #4158d0);
    background: linear-gradient(-135deg, #0071b6, #4158d0);
    font-family: 'Montserrat', sans-serif;
    color: #fff;
    line-height: 1.3;
    -webkit-font-smoothing: antialiased;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;

}

#intro {
    position: absolute;
    left: 0;
    top: 50%;
    padding: 0 20px;
    width: 100%;
    text-align: center;
    z-index: 2;
}

#sign-in-button-wrapper {
    opacity: 1;
    pointer-events: all;
    transform: translate(-50%, -40px);
}

#sign-in-button-wrapper {
    bottom: 65px;
    left: 50%;


    position: absolute;

    transition: opacity 250ms, transform 250ms;
    z-index: 2;
}

.new_sing-in {
    transform: translate(-50%, 115px) !important;
    pointer-events: none !important;

}

#sign-in-button-wrapper #sign-in-button:not(:hover) {
    animation: bounce 3s infinite;
    animation-delay: 3s;
}

.user-status-button {
    width: 60px;
}

.user-status-button {
    cursor: pointer;
    margin-top: 10px;
    outline: none;
    padding: 10px;
    width: 100px;
}

.user-status-button i {
    color: whitesmoke;
    font-size: 1.25em;
}

.clear-button {
    backdrop-filter: blur(3px);
    background-color: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 100px;
    box-shadow: 2px 2px 2px rgba(0, 0, 0, 0.1);
    cursor: pointer;
}

.clear-button:hover {
    background-color: rgba(255, 255, 255, 0.2);
    border: 1px solid rgba(255, 255, 255, 0.3);
}

@media (max-width: 1300px) {
    #sign-in-button-wrapper {
        transform: translate(-40px, 0px);
    }

    #sign-in-button-wrapper {
        bottom: 40px;
        left: auto;
        right: 60px;
        transform: translate(40px, 0px);
    }
}

#app-info {
    margin-left: 40px;
    opacity: 1;
    transform: translateX(0%);
}

#app-info {
    bottom: 20px;
    left: 50px;
    margin: 40px;
    margin-left: 0px;

    position: absolute;

    transition: margin 250ms, opacity 250ms, transform 250ms;
    z-index: 4;
}

.new_infor {
    transform: translateX(-125%) !important;
}

.info {
    align-items: flex-end;
    display: flex;
}

.info .time {
    color: whitesmoke;
    font-size: 6em;
    height: 80px;
    line-height: 80px;
    text-shadow: 2px 2px 2px rgba(0, 0, 0, 0.1);
}

.info .weather {
    display: inline-flex;
    height: 20px;
    margin-bottom: 6px;
    margin-left: 5px;
}

.info .weather i,
.info .weather span {
    align-items: center;
    display: inline-flex;
}

.info .weather i {
    color: #fdd835;
    font-size: 0.9em;
}

.info .weather span {
    color: white;
}

.info .weather .weather-type {
    height: 20px;
}

.info .weather .weather-temperature-value {
    font-size: 1.5em;
    height: 20px;
    margin-left: 5px;
}

.info .weather .weather-temperature-unit {
    align-items: flex-start;
    font-size: 0.8em;
    margin-left: 3px;
}

#logo_princ {
    position: absolute;
    top: 20% !important;

}

#logo_princ img {
    width: 400px !important;
}

@media (max-width: 600px) {
    .info .time {
        font-size: 4em;
        height: 60px;
        line-height: 60px;
    }

    #app-info {
        bottom: 69% !important;
        top: 8% !important;
        left: 33% !important;
    }

    .new_infor {
        transform: translateX(-200%) !important;
    }

    #logo_princ {
        position: absolute;
        top: 35% !important;
        left: 63px;
        margin: 30px;
    }

    #logo_princ img {
        width: 80% !important;
    }

    .new_vistamovil {
        transform: translateY(-20%) !important;
    }

    #inviteContainer {
        flex-direction: column;
        align-items: center;
    }

    .logoContainer img {
        order: 1;
    
}
   .logoContainer img {
        width: 190px;
        height: 100px;
    }
    

    .acceptContainer {
        order: 2;
        width: 100% !important;
        /* O el ancho que desees para el formulario */
        margin-left: 0;
        /* Añade estilos adicionales si es necesario */
    }
}

.img_princil_hidden {
    background-color: #f8f8f8;
    opacity: 0;
    transition: all 1s;
    -webkit-transition: all 1s;
}

.acceptContainer {
    padding: 45px 30px;
    box-sizing: border-box;
    /* width: 400px;        elimina esta línea */
    /* margin-left: -400px; elimina esta línea */
    width: 100%;
    max-width: 400px;
    /* mantiene overflow, height, opacity, etc. */
}



@media (min-width: 601px) and (max-width: 1024px) {
    #inviteContainer {
        /* en tablets, apilamos los bloques verticalmente o ajustamos proporciones */
        flex-direction: row;      /* puedes usar column si prefieres formulario encima del logo */
        align-items: flex-start;
        justify-content: center;
        max-width: 90%;           /* deja márgenes laterales */
        margin: 0 auto;
        z-index: 0;
    }

    .logoContainer {
        transform: scale(1);
        padding: 20px;
        flex: 1;             
    }
    .logoContainer img {
        width: 220px;             /* un tamaño intermedio para tablet */
        height: auto;
    }

    .acceptContainer {
        margin: 0 20px;           /* separa del logo */
        flex: 1;                  /* ocupa el resto del espacio */
        opacity: 1 !important;    /* si tienes animaciones, asegúrate que se vean */
    }

    /* Ajustes rápidos para info y logo principal en tablet */
    #logo_princ img {
        width: 60% !important;
    }
    .info .time {
        font-size: 5em;
        line-height: 1;
    }
    #app-info {
        left: 50% !important;
        transform: translateX(-50%);
    }
}