﻿:root {
    --clr-bg: #E5E5E5;
    --clr: #1d1d1b;
    --clr__card-bg: rgba(255, 255, 255, 0.95);
    --crd__minh: 450px;
    --clr-error: rgb(222,43,53);
    --clr-success: rgb(25,128,56);
    --clr-bg-view: #f8f8f8;
}

* {
    margin: 0;
    padding: 0;
    outline: 0;
    appearance: none;
    border: 0;
    text-decoration: none;
    list-style: none;
    box-sizing: border-box;
    font-family: 'Roboto', sans-serif;
}



html {
    font-size: 14px;
}

body {
    width: 100vw;
    height: 100vh;
    background: var(--clr-bg);
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    -o-user-select: none;
    user-select: none;
    overflow-x: hidden;
    color: var(--clr);
}

main {
    width: 100vw;
    height: 100vh;
}

a {
    color: #000;
    transition: 500ms;
}

.wrapper {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    width: 100%;
    height: 100%;
}

    .wrapper .card #content {
        background: var(--clr__card-bg);
        min-width: 550px;
        max-width: 650px;
        /*min-height: var(--crd__minh);*/
        max-height: 700px;
        border-radius: 8px;
        padding: 2rem;
        /*box-shadow: 0px 4px 16px rgba(0, 0, 0, 0.05);*/
        box-shadow: 0px 4px 4px rgba(0, 0, 0, 0.1);
        position: relative;
    }

#content .logo--header {
    position: absolute;
    top: -4rem;
    left: 0;
    right: 0;
    display: flex;
    justify-content: center;
}

    #content .logo--header .logo--container {
        width: 80px;
    }


.backstep--container {
    height: 20px;
}

#content section {
    position: relative;
    display: flex;
    flex-direction: column;
    width: 500px;
}

#content .header {
    justify-content: center;
    align-items: center;
    margin: 1rem 0;
}

    #content .header h1 {
        font-size: 28px;
        font-weight: bold;
        line-height: 3.5rem;
    }

    #content .header h3 {
        font-size: 16px;
        font-weight: bold;
    }

#content .footer {
    justify-content: center;
    align-items: center;
    margin: 3rem 0;
}



.icon {
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 0 0 3rem 0;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    color: var(--clr__card-bg);
    font-size: 1.7rem;
}

.icon-success {
    background: var(--clr-success);
}

.icon-error {
    background: var(--clr-error);
}


#main-view {
    background-color: var(--clr-bg-view);
}


.home-content {
    text-align: center;
    /*height: 592px;*/
}

    .home-content a {
        text-decoration: underline;
    }

.home-header {
    /*margin-bottom: 40px;*/
}

    .home-header h1 {
        font-size: 38px;
        font-weight: 900;
        line-height: 45px;
        margin-bottom: 15px;
    }

        .home-header h1 a {
            text-decoration: none;
            display: inline-flex;
            justify-content: center;
            -webkit-align-items: inherit;
            align-items: inherit;
        }

        .home-header h1 img {
            width: 38px;
            height: 38px;
        }

    .home-header h2 {
        font-size: 26px;
        font-weight: 600;
        margin-bottom: 48px;
        line-height: 30px;
    }

@media screen and (max-width:720px) {
    .home-header h1 {
        margin-bottom: 4px;
        font-size: 26px;
        line-height: 38px;
    }

    .home-header h2 {
        margin-bottom: 16px;
        font-size: 20px;
    }
}

.home-element {
    width: 100%;
    text-align: center;
    margin-bottom: 30px;
    font-size: 18px;
    font-weight: 400;
    line-height: 21px;
}

.tile-container {
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
}

.tile {
    max-width: 280px;
    height: 172px;
    border-radius: 12px;
    padding: 20px 15px 20px 15px;
    text-align: center;
    flex-grow: 1;
    box-shadow: 0px 4px 4px rgba(0, 0, 0, 0.1);
    margin: 13px 20px;
    flex-basis: 100%;
}

    .tile.tile-store {
        box-shadow: none;
        padding: 0;
        max-width: 200px;
        height: 60px;
    }

.tile-store img {
    height: 60px;
}

@media screen and (max-width:720px) {
    .tile {
        margin: 13px 10px;
        padding: 10px 15px 10px 15px;
    }

    .tile-store img {
        height: 40px;
    }

    .tile.tile-store {
        max-width: 120px;
    }
}

@media screen and (orientation:landscape) and (max-height:500px) {
    .tile {
        margin: 13px 10px;
        padding: 10px 15px 10px 15px;
    }

    .tile-store img {
        height: 40px;
    }

    .tile.tile-store {
        max-width: 120px;
    }
}

.tile > .tile-icon {
    width: 80px;
    height: 80px;
    display: inline-block;
    justify-content: center;
    align-items: center;
    border-radius: 50%;
    font-size: 4rem;
}

.tile > .tile-text {
    display: block;
    font-weight: 600;
    font-size: 18px;
}

.tile > .tile-image {
    display: inline-block;
    justify-content: center;
    align-items: center;
    border-radius: 50%;
}

    .tile > .tile-image img {
        width: 100px;
        height: 100px;
    }


.privacy {
    max-height: 500px;
    overflow-y: auto;
    text-align: justify;
    max-width: 600px;
    padding: 10px;
}

@media screen and (max-width:720px) {
    .privacy {
        max-width: 99vw;
        max-height: 60vh;
    }
}

@media screen and (orientation:landscape) and (max-height:500px) {
    .privacy {
        max-width: 99vw;
    }
}

/* width */
.privacy::-webkit-scrollbar {
    width: 10px;
}

/* Track */
.privacy::-webkit-scrollbar-track {
    background: #f1f1f1;
    border-radius: 8px;
}

/* Handle */
.privacy::-webkit-scrollbar-thumb {
    background: #888;
    border-radius: 8px;
}

    /* Handle on hover */
    .privacy::-webkit-scrollbar-thumb:hover {
        background: #555;
    }

.privacy p, .privacy ol.ol-number {
    margin-bottom: 1rem;
    margin-top: 1rem;
}


    .privacy .privacy-paragraph .privacy-paragraph-title {
        font-weight: bold;
        font-size:1.2rem;
        margin-bottom: 1rem;
        color: #c20e1a;
        text-transform:uppercase;
    }

    .li-content{
        flex:1;
    }

ol.ol-number {
    counter-reset: item; /* inizializza il contatore "item" per il livello corrente */
}

    ol.ol-number > li {
        counter-increment: item;
    }

        ol.ol-number > li::before {
            content: counters(item, ".") " ";
            font-weight: bold;
            margin-bottom: 1rem;
            font-size: 1.2rem;
            color: #c20e1a;
        }

    ol.ol-number ol.ol-number {
        counter-reset: item;
    }

        ol.ol-number ol.ol-number > li {
            display: flex;
            align-items: flex-start;
        }

        ol.ol-number ol.ol-number > li::before {
            font-weight: bold;
            font-size: 1rem;
            color: black;
            padding-right: 0.05rem;
            flex: 0 0 3rem;
        }

ol.ol-number > li:not(:last-child) {
    padding-bottom: 1rem;
}

    ol.ol-alpha > li {
        list-style-type: lower-alpha;
    }

ul {
    padding-left: 1.1rem;
}

    ul > li {
        list-style-type: disc;

    }

    ul > li::before {
        text-align:left;
    }


#footer {
    font-size: 0.88rem;
    display: flex;
    justify-content: center;
    padding: 1rem 0;
    position: absolute;
    bottom: 0;
    width: 100%;
    left: 0;
    color: #000;
    color: #000;
}

    #footer span:not(:last-child) {
        margin-right: 5px;
    }

        #footer span:not(:last-child)::after {
            content: '|';
            margin-left: 5px;
        }

    #footer a {
        text-decoration: underline;
    }

    #footer .logo--header {
        position: absolute;
        top: -2rem;
        left: 0;
        right: 0;
        display: flex;
        justify-content: center;
    }

        #footer .logo--header .logo--container {
            width: 95px;
        }

@media screen and (max-width:720px) {
    #footer {
        font-size: 0.80rem;
    }
}
