*, *::before, *::after {
    box-sizing: border-box;
}

html, body {
    width: 100%;
    margin: 0;
    padding: 0;
    overflow-x: hidden;
}

body {
    font-family: 'Roboto', sans-serif;
}

.cc-window {
    border-radius: 8px !important;
    box-shadow: 0 8px 25px rgba(0,0,0,0.15) !important;
    font-family: "Helvetica","Arial",sans-serif !important;
    padding: 18px 20px !important;
    max-width: 360px !important;
}

.cc-message {
    font-size: 14px !important;
    line-height: 1.45 !important;
    color: #555 !important;
}

.cc-btn {
    border-radius: 4px !important;
    padding: 8px 14px !important;
    font-size: 13px !important;
    font-weight: 600 !important;
    text-transform: none !important;
}

.cc-btn.cc-dismiss {
    background-color: #4b81e8 !important;
    color: #fff !important;
}

.cc-btn.cc-dismiss:hover {
    background-color: #3b6ccd !important;
}

.cc-link {
    color: #4b81e8 !important;
    text-decoration: underline !important;
}

.cc-link:hover {
    color: #3466c9 !important;
}

.cc-deny {
    background-color: #999 !important;
    color: #fff !important;
}

.cc-deny:hover {
    background-color: #777 !important;
}

.cc-window.cc-bottom.cc-right {
    bottom: 20px !important;
    right: 20px !important;
}

.header {
    background-color: #ffffff;
    display: flex;
    align-items: center;
    height: 100px;
}

.header-container {
    width: 80%;
    margin: 0 auto;

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

.header img {
    max-height: 80px;
    width: auto;
}

.section-1 {
    background-image: url('../img/sfondo-sezione-1.jpg');
    background-size: cover;
    background-position: top;
    width: 100%;
    color: #000;
    min-height: 970px;
}

.section-1-content {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    max-width: 1400px;
    margin: 0 auto;
    gap: 40px;
    flex-wrap: wrap;
}

.left-block {
    flex: 1;
    position: relative;
    top: 50px;
    padding-right: 110px;
}

.title {
    font-size: 48px;
    line-height: 1.2;
    margin-bottom: 20px;
}

.title-black {
    color: #fff;
    background-color: #000;
    padding: 5px 10px;
    font-size: 80px;
}

.title-red {
    color: #d11417;
    display: block;
    margin-top: 5px;
    font-size: 80px;
    text-shadow: 0 0 24px rgba(255,255,255,0.9);
}

.description {
    color: #000;
    font-size: 37px;
    margin-top: 18px;
    line-height: 45px;
    text-shadow: 0 0 24px rgba(255,255,255,0.9);
}

.right-block {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-top: 50px;
}

.pin-image {
    width: 190px;
    max-width: 100%;
    height: auto;
    margin: 0 auto;
}

.red-badge, .black-badge {
    font-weight: bold;
    font-size: 35px;
    background-color: #fff;
    padding: 20px 30px;
    border-radius: 30px;
    text-align: center;
}

.red-badge {
    color: #d11417;
    margin-top: 0;
}

.black-badge {
    color: #000;
    position: relative;
    top: -50px;
}

.bottom-image {
    text-align: center;
    position: relative;
    max-width: 1200px;
    margin: 0 auto;
    top: 60px;
}

.bottom-image img {
    max-width: 100%;
    height: auto;
}

.section-2 {
    background-color: #f0f0f0;
    padding: 80px 0 0 0;
    text-align: center;
    color: #000;
}

.section-2-title h2 {
    font-size: 50px;
    line-height: 1.2;
    max-width: 900px;
    margin: 0 auto;
}

.red-text {
    color: #d11417;
}

.black-text {
    color: #000;
}

.section-2-images {
    display: flex;
    justify-content: center;
    align-items: flex-start;
    gap: 20px;
    margin: 100px 0 40px 0;
    flex-wrap: wrap;
}

.main-image {
    max-width: 900px;
    width: 100%;
    height: auto;
}

.side-image {
    width: auto;
    max-width: 100%;
    height: 230px;
}

.section-2-description {
    max-width: 1000px;
    margin: 0 auto 40px auto;
    text-align: center;
    font-size: 30px;
}

.section-2-bottom img {
    max-width: 100%;
    height: auto;
    margin-bottom: -100px;
}

.section-3 {
    background-color: #fff;
    padding: 200px 0 0 0;
    color: #000;
    text-align: center;
    margin-bottom: -5px !important;
}

.section-3-title h2 {
    font-size: 50px;
    margin-bottom: 10px;
    line-height: 1.2;
}

.section-3 .bold-text {
    font-size: 35px;
}

.section-3-block, .section-3-block-mobile {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
    margin: 100px 0 40px 0;
    flex-wrap: wrap;
    font-size: 30px;
    font-weight: 500;
}

.block-image, .block-image-1, .block-image-2, .block-image-3 {
    width: 100%;
    height: auto;
}

.block-image {
    max-width: 400px;
}

.block-image-1 {
    max-width: 900px;
}

.block-image-2 {
    max-width: 600px;
}

.block-image-3 {
    max-width: 700px;
}

.block-text {
    max-width: 500px;
    text-align: left;
}

.red-button, .white-button {
    display: inline-block;
    padding: 10px 20px;
    font-weight: bold;
    text-transform: uppercase;
    border: none;
    width: 290px;
    cursor: pointer;
    margin: 0 auto;
    position: relative;
    height: 70px;
    font-size: 25px;
}

.red-button {
    background-color: #d11417;
    color: #fff;
}

.red-button:hover {
    background-color: #a9201e;
}

.white-button {
    background-color: #fff;
    color: #d11417;
}

.white-button:hover {
    background-color: #dedede;
}

.section-3-bottom img {
    width: 100%;
    height: auto;
    margin-top: 100px;
}

.section-4 {
    width: 100%;
    text-align: center;
    color: #000;
}

.section-4-top {
    background-color: #f0f0f0;
    padding: 80px 20px 0 20px;
    z-index: 10;
}

.panini-logo {
    max-width: 200px;
    width: 100%;
    margin-bottom: 20px;
}

.section-4-title {
    font-size: 50px;
    margin-bottom: 10px;
}

.section-4-subtitle {
    font-size: 35px;
    margin-bottom: 40px;
}

.evernext-image {
    max-width: 600px;
    width: 100%;
    height: auto;
    margin-bottom: 0;
    position: relative;
    z-index: 9999;
}

.section-4-bottom {
    background-color: #000;
    color: #fff;
    padding: 60px 0 100px 0;
    position: relative;
    z-index: 1;
    margin-top: -140px;
}

.section-4-content {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
    padding-top: 80px;
}

.section-4-content p {
    margin-bottom: 15px;
    line-height: 1.4em;
    font-size: 30px;
}

.section-4-bottom-image img {
    width: 100%;
    height: auto;
    margin-top: 200px;
}

.footer {
    height: 100px;
    background-color: #1a1a1a;
    display: flex;
    align-items: center;
    justify-content: center;
}

.footer p, .footer a {
    color: #fff;
    margin: 0;
    font-size: 16px;
}

.footer a {
    text-decoration: underline;
}

@media (max-width: 768px) {

    .header img {
        max-height: 50px;
        width: auto;
    }

    .header-container {
        padding: 0 0 0 0;
    }

    .logo-left {
        margin-left: -15px;
        margin-right: 15px;
    }

    .title-black {
        font-size: 45px;
    }

    .title-red {
        font-size: 50px;
        text-shadow: 0 0 10px rgb(255 255 255);
    }

    .description {
        font-size: 22px;
        line-height: 37px;
        text-shadow: 0 0 5px rgba(255, 255, 255, 1);
        background: rgba(255, 255, 255, 0.7);
        padding-left: 20px;
        padding-right: 20px;
    }

    .pin-image {
        width: 80px;
    }

    .red-badge {
        font-size: 25px;
        padding: 10px 20px;
    }

    .black-badge {
        top: -35px;
        font-size: 25px;
        padding: 10px 20px;
    }

    .section-1 {
        background-image: url(../img/sfondo-sezione-1-mobile.jpg);
        background-size: cover;
        background-position: top right;
        width: 100%;
        color: #000;
        min-height: auto;
    }

    .left-block {
        padding-right: 0;
    }

    .title {
        margin-left: 20px;
    }

    .right-block {
        margin-top: 20px;
    }

    .bottom-image img {
        max-width: 97%;
    }

    .bottom-image {
        top: 0px;
    }

    .section-2-title h2 {
        font-size: 30px;
        width: 300px;
    }

    .main-image {
        max-width: 95%;
    }

    .section-2-images {
        margin: 40px 0 0px 0;
        flex-wrap: wrap;
    }

    .side-image {
        height: 90px;
        position: absolute;
        right: 50px;
        margin-top: -20px;
    }

    .section-2-description {
        max-width: 85%;
        font-size: 22px;
        margin: 0 auto 0 auto;
    }

    .section-2-bottom img {
        margin-bottom: -20px;
    }

    .section-3 {
        padding: 40px 0 0 0;
    }

    .section-3-title h2 {
        font-size: 35px;
        width: 95%;
        margin: 0 auto;
    }

    .section-3 .bold-text {
        font-size: 25px;
        width: 85%;
        margin-top: 20px;
    }

    section-3-block-mobile .bold-text {
        font-size: 25px;
        width: 85%;
        margin-top: 20px;
    }

    .section-3-block, .section-3-block-mobile {
        margin: 30px 0 30px 0;
    }

    .section-3-block-mobile {
        background-color: #ececec;
        padding-top: 20px;
    }

    .block-image-1 {
        max-width: 95%;
    }

    .block-text {
        max-width: 90%;
        text-align: center;
        font-size: 25px;
        margin: 0 auto;
    }

    .section-3-block {
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 20px;
        margin: 30px 0 30px 0;
        flex-wrap: wrap;
        font-size: 30px;
        font-weight: 500;
        background-color: #e4e4e4;
    }

    .block-image-3 {
        max-width: 700px;
        padding-top: 30px;
    }

    .section-3-bottom img {
        margin-top: 70px;
    }

    .section-4-top {
        padding: 50px 20px 0 20px;
    }

    .section-4-title {
        font-size: 35px;
    }

    .section-4-subtitle {
        font-size: 25px;
        width: 90%;
        margin: 0 auto;
        margin-bottom: 40px;
        margin-top: 10px;
    }

    .evernext-image {
        max-width: 98%;
        margin-bottom: 50px;
    }

    .section-4-content p {
        margin-bottom: 15px;
        line-height: 1.4em;
        font-size: 22px;
        width: 90%;
        margin: 0 auto;
    }

    .section-4-bottom-image img {
        margin-top: 90px;
    }

    .footer {
        height: 50px;
    }

    .section-4-bottom-image img {
        margin-top: 80px;
    }
}
