/*
Click nbfs://nbhost/SystemFileSystem/Templates/Licenses/license-default.txt to change this license
Click nbfs://nbhost/SystemFileSystem/Templates/ClientSide/css.css to edit this template
*/
/* 
    Created on : 18 ott 2023, 11:16:55
    Author     : loris
*/


@import url('https://fonts.googleapis.com/css?family=Montserrat:400,800');
:root {
    --input-bg-color: #ffb55b;
    --input-text-color: black;
    --h1-text-color: white;
    --input-shadow-color: 1000px #ffb55b inset;
    --colore-aziendale: #db5227;
    --colore-body: black;
    --colore-bottoni: black;
    --placeholder-color: black;
}
* {
    box-sizing: border-box;
}

body {
    background: var(--colore-body);
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    font-family: 'Montserrat', sans-serif;
}

h1 {
    font-weight: bold;
    margin: 30px;
    color: var(--h1-text-color);
    margin-top: 0;
}

h2 {
    text-align: center;
}

p {
    font-size: 14px;
    font-weight: 100;
    line-height: 20px;
    letter-spacing: 0.5px;
    margin: 20px 0 30px;
}

span {
    font-size: 12px;
}

a {
    color: var(--input-text-color);
    font-size: 14px;
    text-decoration: none;
    margin: 15px 0;
}

button {
    border-radius: 20px;
    border: 1px solid #FF4B2B;
    background-color: var(--colore-bottoni);
    color: #FFFFFF;
    font-size: 12px;
    font-weight: bold;
    padding: 12px 24px;
    letter-spacing: 1px;
    text-transform: uppercase;
    transition: transform 80ms ease-in;
    width: 138px;
    cursor: pointer;
}

button:active {
    transform: scale(0.95);
}

button:focus {
    outline: none;
}

button.ghost {
    background-color: transparent;
    border-color: #FFFFFF;
}

form {
    background-color: var(--colore-aziendale);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    padding: 0 50px;
    height: 65%;
    text-align: center;
}

input {
    background: var(--input-bg-color) !important;
    color: var(--input-text-color) !important;
    border: none;
    padding: 12px 15px;
    margin: 8px 0;
    width: 100%;
}

.smart-text-box input {
    font-size: large !important;
    text-align: left !important;
    margin: 0px !important;
    padding: 12px 15px !important;
    width: 100% !important; 
}

.smart-text-box {
    height: 50px !important;
}

.smart-combo-box input {
    text-align: left;
    margin: 0px;
    padding: 12px 15px;
    width: 100%;
}

.smart-combo-box {
    height: 50px;
}

.container {
    background-color: var(--colore-aziendale);
    border-radius: 10px;
    box-shadow: 0 14px 28px rgba(255, 170, 0, 0.227),
        0 10px 10px rgba(246, 136, 2, 0.305);
    position: relative;
    overflow: hidden;
    width: 630px;
    max-width: 100%;
    min-height: 480px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    height: 90vh;
    margin-top: 2%;
}

.form-container {
    position: absolute;
    top: 0;
    height: 100%;
    transition: all 0.6s ease-in-out;
}

@keyframes show {

    0%,
    49.99% {
        opacity: 0;
        z-index: 1;
    }

    50%,
    100% {
        opacity: 1;
        z-index: 5;
    }
}

.overlay-container {
    position: absolute;
    top: 0;
    left: 50%;
    width: 50%;
    height: 100%;
    overflow: hidden;
    transition: transform 0.6s ease-in-out;
    z-index: 100;
}

.snowflakes {
    position: fixed;
    top: 0;
    left: 0;
    pointer-events: none;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.snowflake {
    position: absolute;
    background: #fff;
    border: 1px solid #ddd;
    border-radius: 50%;
    box-shadow: 0 0 5px rgba(0, 0, 0, 0.3);
    width: 10px;
    /* Aumenta la larghezza */
    height: 10px;
    /* Aumenta l'altezza */
    z-index: 99999;
    animation: falling linear infinite;
}

@keyframes falling {
    0% {
        transform: translateY(-100vh);
    }

    100% {
        transform: translateY(100vh);
    }
}

.form-group {
    height: 70px;
}

input:-webkit-autofill,
input:-webkit-autofill:hover,
input:-webkit-autofill:focus,
input:-webkit-autofill:active {
    -webkit-box-shadow: 0 0 0px var(--input-shadow-color) !important;
    box-shadow: 0 0 0px var(--input-shadow-color) !important;
    background-color: var(--input-bg-color) !important;
    color: var(--input-text-color) !important;
}

/* Per Firefox */
input:-moz-autofill,
input:-moz-autofill:hover,
input:-moz-autofill:focus,
input:-moz-autofill:active {
    box-shadow: 0 0 0px var(--input-shadow-color) !important;
    background-color: var(--input-bg-color) !important;
    color: var(--input-text-color) !important;
}

/* Per Edge e IE */
input:-ms-autofill,
input:-ms-autofill:hover,
input:-ms-autofill:focus,
input:-ms-autofill:active {
    box-shadow: 0 0 0px var(--input-shadow-color) !important;
    background-color: var(--input-bg-color) !important;
    color: var(--input-text-color) !important;
}

/* Per altri browser moderni */
input:autofill,
input:autofill:hover,
input:autofill:focus,
input:autofill:active {
    box-shadow: 0 0 0px var(--input-shadow-color) !important;
    background-color: var(--input-bg-color) !important;
    color: var(--input-text-color) !important;
}
input::placeholder {
    color: var(--placeholder-color) !important;
}