﻿body {
    /*  background-color: #EEEFF0;*/
    background-image: url('../pictures/4857390.jpg');
    background-size: cover; /* Hace que la imagen cubra toda la pantalla */
    background-position: center center; /* Centra la imagen */
    background-attachment: fixed; /* Hace que la imagen no se desplace al hacer scroll */
    height: 100vh; /* Asegura que el fondo cubra toda la altura de la ventana */
    margin: 0; /* Elimina los márgenes predeterminados */
    overflow: hidden;
}

.container {
    align-items: center;
    display: flex;
    flex-direction: column;
    justify-content: start;
    height: 100vh;
    z-index: 5;
    position: relative;
    .logo

{
    margin: 0 auto;
    margin-bottom: 10vw;
    max-width: 100px;
    background: rgba(255, 255, 255, 0.3);
    backdrop-filter: blur(10px);
    border-radius: 100%;

{
    width: 100%;
}

}
}

$primary: rgb(182,157,230);
html, body {
    height: 100vh;
    width: 100vw;
    margin: 0 0;
    display: flex;
    align-items: flex-start;
    justify-content: flex-start;
    background: #f3f2f2;
}

h5 {
    font-size: 24px;
    font-weight: 600;
    color: #000;
    opacity: .85;
}

label {
    font-size: 12.5px;
    color: #000;
    opacity: .8;
    font-weight: 400;
}

form {
    padding: 40px 30px;
    background-color: #f8f8ff;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    padding-bottom: 20px;
    width: 300px;
    height: auto;
    h4

{
    margin-bottom: 20px;
    color: rgba(#000, .5);
    span

{
    color: rgba(#000, 1);
    font-weight: 700;
}

}

p {
    line-height: 155%;
    margin-bottom: 5px;
    font-size: 14px;
    color: #000;
    opacity: .65;
    font-weight: 400;
    max-width: 200px;
    margin-bottom: 40px;
}

}

a.discrete {
    color: rgba(#000, .4);
    font-size: 14px;
    border-bottom: solid 1px rgba(#000, .0);
    padding-bottom: 4px;
    margin-left: auto;
    font-weight: 300;
    transition: all .3s ease;
    margin-top: 40px;
    &:hover

{
    border-bottom: solid 1px rgba(#000, .2);
}

}

button {
    -webkit-appearance: none;
    width: auto;
    min-width: 100px;
    border-radius: 24px;
    text-align: center;
    padding: 8px 38px;
    margin-top: 5px;
    background-color: #07AEBB;
    color: white;
    font-size: 14px;
    margin-left: auto;
    font-weight: 500;
    box-shadow: 0px 2px 6px -1px rgba(0,0,0,.13);
    border: none;
    transition: all .3s ease;
    outline: 0;
    &:hover

{
    transform: translateY(-3px);
    box-shadow: 0 2px 6px -1px rgba($primary, .65);
    &:active

{
    transform: scale(.99);
}

}
}

input {
    font-size: 12px;
    padding: 20px 3px;
    height: 56px;
    border: none;
    border-bottom: solid 1px rgba(0,0,0,.1);
    background-color: #f8f8ff;
    width: 280px;
    box-sizing: border-box;
    transition: all .3s linear;
    color: #000;
    font-weight: 400;
    -webkit-appearance: none;
    &:focus

{
    border-bottom: solid 1px $primary;
    outline: 0;
    box-shadow: 0 2px 6px -8px rgba($primary, .45);
}

}

.floating-label {
    position: relative;
    margin-bottom: 10px;
    width: 100%;
    label

{
    position: absolute;
    top: calc(50% - 7px);
    left: 0;
    opacity: 0;
    transition: all .3s ease;
    padding-left: 44px;
}

input {
    width: calc(100% - 44px);
    margin-left: auto;
    display: flex;
}

.icon {
    position: absolute;
    top: 0;
    left: 0;
    height: 56px;
    width: 44px;
    display: flex;
    svg

{
    height: 30px;
    width: 30px;
    margin: auto;
    opacity: .15;
    transition: all .3s ease;
    path

{
    transition: all .3s ease;
}

}
}

input:not(:placeholder-shown) {
    padding: 28px 0px 12px 0px;
}

    input:not(:placeholder-shown) + label {
        transform: translateY(-10px);
        opacity: .7;
    }

input:valid:not(:placeholder-shown) + label + .icon {
    svg

{
    opacity: 1;
    path

{
    fill: $primary;
}

}
}

input:not(:valid):not(:focus) + label + .icon {
    animation-name: shake-shake;
    animation-duration: .3s;
}

}

$displacement: 3px;
@keyframes shake-shake {
    0%

{
    transform: translateX(-$displacement);
}

20% {
    transform: translateX($displacement);
}

40% {
    transform: translateX(-$displacement);
}

60% {
    transform: translateX($displacement);
}

80% {
    transform: translateX(-$displacement);
}

100% {
    transform: translateX(0px);
}

}

.session {
    display: flex;
    flex-direction: row;
    height: auto;
    margin: 90px auto;
    border-radius: 4px;
    box-shadow: 0px 2px 6px -1px rgba(0,0,0,.12);
}

.left {
    width: 200px;
    height: auto;
    min-height: 100%;
    position: relative;
    background-image: url('../pictures/camiones-carretera-montana-al-atardecer-4-2048x1364.jpg');
    background-size: cover;
    border-top-left-radius: 4px;
    border-bottom-left-radius: 4px;
    svg

{
    height: 40px;
    width: auto;
    margin: 20px;
}
}



* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: "Poppins", sans-serif;
}