:root {
    --width-perc-posizione: 78;
    --width-perc-bottoni: 78;
    --col_uno: #466071;
    --col_due: #fcbe00;
    --col_btn_stixel: rgb(182, 36, 0);
}

body {
    margin: 0;
    padding: 0;
    font-family: Arial, sans-serif;
    box-sizing: border-box;
    overflow: hidden;

    height:100vh;
    width: 100vw;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background-color: #000000;

}

.cover {
    background-image: url('img/009-01-sfondo+L.jpg');
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    /*
    width:100vw;
    height: calc(100vw * 9 / 16);*/
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

/*------------------PACCHI-----------------------*/

#container-pacchi{
    position:absolute;
    /*top: 0%;
    height:75%;
    width: calc(100%*var(--width-perc-posizione)/100);/*si modifica anche con js*/
    /*background-color: red;
    opacity: 0.5;*/
}

.pacco{
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    position: absolute;
    transition:all .5s ease;
}

#p1{
    background-image: url('img/011-p1.png');
    z-index: 1;
    
}

#p2{
    background-image: url('img/011-p2.png');
    z-index: 2;
}

#p3{
    background-image: url('img/011-p3.png');
    z-index: 3;
}

#p4{
    background-image: url('img/011-p4.png');
    z-index: 4;
}

/*------------------COMANDI----------------------*/

#container-comandi{
    height:75%;
    width: calc(100%*var(--width-perc-bottoni)/100);
    /*background-color: blue;
    opacity: .5;*/
    /*margin-top:-42%;*/

    display: flex;
    align-items: center;
    justify-content: center;
}

.column-wrapper {
    width: 33%;
    height: 100%;
    cursor: pointer; /* Aggiunto per indicare che è cliccabile*/ 
    z-index: 10;
    
}

.column-wrapper:hover{
    border: 2px dashed lawngreen;
}

/*-------------RUOTATO---------------------------*/

.ruotato {
    transform: rotate(90deg);
    /*width:100vh;
    height: calc(100vh * 9 / 16);*/
}

/*------------AVVISI---------------------*/
#avvisi {
    position: absolute;
    width:100vw;
    height:100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    color: white;
    z-index: 50;
    /*opacity:.2;*/
}

#messaggio {
    background-color: var(--col_uno);
    width:70vw;
    height:70vh;
    z-index: 50;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    border: solid white 5px;
    border-radius: 20px;
}

#avvisi h3 {
    /*display: inline;*/
    font-size: 1rem;
    font-weight:600;
    margin:3%;/*251219*/
}

#avvisi h2 {
    /*display: inline;*/
    font-size: 1.3em;
    font-weight:600;
    color: var(--col_due);
    text-decoration: underline;
    margin:5%;
}

/*-------251219-------------*/
#avvisi h4 {
    /*display: inline;*/
    font-size: 1.2em;
    font-weight:600;
    color: var(--col_due);
    text-decoration: underline;
    margin:0%;
}

/*-------251219-------------*/
#avvisi p {
    /*display: inline;*/
    font-size: .8em;
    margin-bottom:2px;
}

#avvisi button{
    background-color: var(--col_due);
    border: none;
    border-radius: 20px;
    color: darkblue;
    padding:15px 32px;
    text-align: center;
    text-decoration: none;
    display: inline-block;
    font-size: 15px;
    font-weight: bold;
    margin:8px 8px;
    cursor:pointer;
}

/*----------251219--------*/

#avvisi .form-mail input[type=text] {
    margin:5px;
    margin-top:2px;
    padding:10px;
    border: none;
    border-radius: 10px;
    border-bottom: 1px solid var(--clr-gray-lt-alfa);
    background-color:white;/*rgba(255,255,255,.8);*/
    box-shadow: none;
    
}

/*----------251219--------*/

#avvisi #bottoneinvia{
    background-color: var(--col_due);
    /*background-image: linear-gradient(to top right, var(--col_due),var(--col_uno),var(--col_due));*/
    /*background-image: radial-gradient(var(--col_uno),var(--col_due));*/
    border: 2px solid var(--col_btn_stixel);
    border-radius: 20px;
    color: var(--col_btn_stixel);
    /*text-transform: uppercase;*/
    padding:5px;
    text-align: center;
    text-decoration: none;
    display: inline-block;
    font-size: 15px;
    font-weight: bold;
    margin:8px 8px;
    cursor:pointer;
}

#logoavvisi{
    /*position: relative;*/
    
    width: 100%;
    height:100%;
    max-width:30vw;
    max-height: 30vh;
}

.duecolonne {
    display: flex;
    flex-direction: row !important;
    justify-content: space-around !important;
}

.logosubottoni {
    margin-right: 5%;
    display: flex;
    flex-direction: column;
    justify-content: space-around;
}

.logosubottoni >*{
    margin-top: 5%;
    margin-bottom: 5%;
}

/*------------CONTEGGIO-------------------*/
#conteggio {
    position:fixed;
    height:5%;
    width:25%;
    bottom:5%;
    right:5%;
    /*background-color: red;*/
    color: white;
    text-align: right;
    font-size:1.5rem;
}

#conteggio h3 {
    margin-top: 0px;
}

/*------------NOTIFICA 251219-------------------*/
#notifica {
    position:fixed;
    height:5%;
    width:100%;
    bottom:5%;
    /*right:40%;*/
    /*background-color: red;*/
    color: red;
    text-align: center;
    font-size:1.4rem;
    z-index: 10;
}

#notifica p {
    margin-top: 0px;
}

/*-----------XCHIUSURA----------------*/
.xchiusura {
    position:fixed;
    height:5%;
    width:5%;
    /*right:5%;*/
    /*background-color: red;*/
    color: rgb(65, 65, 65);
    text-align: center;
    font-size:1.5rem;

    top:5%;
}

#btn-x {
    
    right:5%;
}

#btn-reload{
    
    right:10%;
}

.ruotato #btn-x {
    
    right:5%;
}

.ruotato #btn-reload {
    
    right:10%;
}

#xchiusura h3 {
    margin-top: 0px;
    cursor:pointer;
}
