﻿@media (min-width: 1920px) {
    .container {
        max-width: 1920px;
    }
}

#canvas-container-capitolo-1 {
    background-image: url('../img/percorsi-di-vite/capitolo-1/cantine.png');
    background-size: cover;
}



#canvas-container-capitolo-2-a {
    background-image: url('../img/percorsi-di-vite/capitolo-2/cantine.png');
    background-size: cover;
}

#canvas-container-capitolo-2 {
    background-image: url('../img/percorsi-di-vite/capitolo-2/campo-2.png');
    background-size: auto;
}


#canvas-container-capitolo-3 {
    background-image: url('../img/percorsi-di-vite/capitolo-3/cucina.png');
    background-size: cover;
}

#canvas-container-capitolo-3-b {
    background-image: url('../img/percorsi-di-vite/capitolo-3/prato.png');
    background-size: cover;
}

#canvas-container-capitolo-4 {
    background-image: url('../img/percorsi-di-vite/capitolo-4/vigneto.png');
    background-size: cover;
}

#canvas-container-capitolo-4-b {
    background-image: url('../img/percorsi-di-vite/capitolo-4/prato.png');
    background-size: cover;
}

#canvas-container-capitolo-5 {
    background-image: url('../img/percorsi-di-vite/capitolo-5/libreria.png');
    background-size: cover;
}

#canvas-container-capitolo-5-b {
    background-image: url('../img/percorsi-di-vite/capitolo-5/vigneto.png');
    background-size: cover;
}

#canvas-container-capitolo-6 {
    background-image: url('../img/percorsi-di-vite/capitolo-6/vigneto.png');
    background-size: cover;
}

#canvas-container-capitolo-6-b {
    background-image: url('../img/percorsi-di-vite/capitolo-6/vigneto_per_raccolta.png');
    background-size: cover;
}

.progress .progress-bar {
    animation-name: animateBar;
    animation-iteration-count: 1;
    animation-timing-function: ease-in;
    animation-duration: 120s;
}

@keyframes animateBar {
    0% {
        transform: translateX(-100%);
    }

    100% {
        transform: translateX(0);
    }
}

#svuota {
    height: 100px;
    bottom: 200;
    left: 0;
    position: absolute;
    width: 100%;
    z-index: 99999;
}

#check {
    height: 100px;
    bottom: 80px;
    left: 0px;
    position: absolute;
    width: 50%;
    z-index: 99999;
}

.card {
    display: flex;
    align-items: center;
    justify-content: top;
    flex-direction: column;
    background-color: #ffffff;
    margin: 0 20px;
    width: 280px;
    height: 450px;
    border-radius: 5px;
    box-shadow: 0 10px 20px -10px rgba(0, 0, 0, 0.2);
    position: absolute;
    bottom: 0;
    left: 1400px;
}

    .card .percent {
        position: relative;
        margin-top: 20px
    }

    .card svg {
        position: relative;
        width: 210px;
        height: 210px;
        transform: rotate(-90deg);
    }

        .card svg circle {
            width: 100%;
            height: 100%;
            fill: none;
            stroke: #f0f0f0;
            stroke-width: 10;
            stroke-linecap: round;
        }

            .card svg circle:last-of-type {
                stroke-dasharray: 625px;
                stroke-dashoffset: calc(625px - (625px * var(--percent)) / 100);
                stroke: #3498db;
            }

    .card .number {
        position: absolute;
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%);
    }

        .card .number h3 {
            font-weight: 200;
            font-size: 3.5rem;
        }

            .card .number h3 span {
                font-size: 2rem;
            }

    .card .title h2 {
        margin: 25px 0 0;
    }

    .card:nth-child(1) svg circle:last-of-type {
        stroke: #f39c12;
    }

    .card:nth-child(2) svg circle:last-of-type {
        stroke: #2ecc71;
    }

.punteggio {
    position: absolute;
    background-color: white;
    padding-left: 20px;
    padding-right: 20px;
    border-radius: 10px;
    top: 80px;
}

.border {
    border: 5px solid #dee2e6 !important;
}

.classificaList {
    overflow-y: scroll;
    overflow-x: hidden;
    max-height: 250px;
}

.fireworks-cinghiali{
    height: 900px;
    position: absolute;
    width: 100%;
}


.background-sidepanel {
    background-size: cover;
    position: absolute;
    width: 1025px;
    height: 815px;
    z-index: 9999;
    left: 500px;
    top:100px;
    display:none;
}

.open-panel {
    background-image: url(../img/percorsi-di-vite/icone-libro/libro.svg);
    cursor: pointer;
    background-size: cover;
    position: absolute;
    width: 150px;
    height: 150px;
    z-index: 9999;
    left: 23px;
    top: 900px;
}

.close-panel {
    background-image: url(../img/percorsi-di-vite/icone-libro/close.svg);
    cursor: pointer;
    background-size: cover;
    position: absolute;
    width: 100px;
    height: 100px;
    z-index: 9999;
    left: 1500px;
    top: 50px;
    display: none;
}

.next-panel {
    background-image: url(../img/percorsi-di-vite/icone-libro/next.svg);
    cursor: pointer;
    background-size: cover;
    position: absolute;
    width: 100px;
    height: 100px;
    z-index: 9999;
    left: 1525px;
    top: 800px;
    display: none;
}

.back-panel {
    background-image: url(../img/percorsi-di-vite/icone-libro/back.svg);
    cursor: pointer;
    background-size: cover;
    position: absolute;
    width: 100px;
    height: 100px;
    z-index: 9999;
    left: 400px;
    top: 800px;
    display: none;
}