﻿
@media screen and (max-width:1900px) {
    .image-side {
        flex: 0 0 40%;
    }
}


@media screen and (max-width:768px) {
    .content-side {
        flex: 1;
        padding: 0px;
        padding-top: 15px;
        padding-bottom: 20px;
        display: flex;
        flex-direction: column;
        justify-content: initial;
    }
    .main-number {
        font-size: 110px;
        font-weight: 900;
        color: var(--primary-blue);
        line-height: 118px;
        letter-spacing: -8px;
        padding-right: 10px;
    }
    .header-section {
        margin: auto;
        margin-bottom: 30px;
        width: 90%;
    }
    .main-title {
        font-size: 27px;
        font-weight: 800;
        color: var(--dark-blue);
        line-height: 28px;
        text-transform: uppercase;
        letter-spacing: -1px;
        padding-top: 4px;
    }
    .stats-grid {
        margin: auto;
        display: flex;
        align-items: center;
        gap: 0px;
        margin-bottom: 30px;
        max-width: 700px;
        width: 90%;
    }
    .stat-box {
        display: flex;
        width:33.3%;
        flex-direction: column;
        align-items: center;
        text-align: left;
        flex: 0 0 auto;
        background-image: url(../images/line.svg);
        background-repeat: repeat-y;
        background-position: right top;
        padding-left: 20px;
        padding-right: initial;
        padding-bottom: 10px;
    }
    .stage-map-img, .stage-profile-img {
        padding-left: 15px;
        padding-right: 15px;
        padding-bottom: 10px;
    }
    .stat-value {
        width: 100%;
        font-size: 55px;
        line-height: 55px;
        font-weight: 800;
        color: var(--dark-blue);
        letter-spacing: -1px;
    }

    .subtitle {
        font-size: 24px;
        color: var(--dark-blue);
        max-width: 500px;
        line-height: 30px;
        font-weight: 600;
    }

    .stage-meta-row {
        display: table;
        width: 100%;
        position: relative;
        top: initial;
        left: initial;
        z-index: 10;
    }

    .select-wrapper {
        width: 95%;
        max-width: initial;
        margin:auto;
    }

    .stage-title {
        font-size: 30px;
        line-height: 32px;
        font-weight: 800;
        color: var(--dark-blue);
        text-transform: uppercase;
        margin: 25px 0 5px 0px;
        letter-spacing: -1px;
        text-align:left;
    }
    .secondary-jerseys-scroll {
        padding-bottom: 35px;
    }

    .stage-info-sidebar {
        align-items: center;
        width: 90%;
        margin:auto;
    }

    .stage-times {
        font-size: 20px;
        line-height: 20px;
        letter-spacing: -1px;
        font-weight: 700;
        color: var(--dark-blue);
        margin: 0px 0 0px 0px;
        text-align: left;
    }

    .etapas-title {
        width: 90%;
        margin: auto;
        margin-bottom: 15px;
    }

    .media-scroll-container {
        margin-top:20px;
    }

    .stage-distance-display {
        font-size: 60px;
        line-height: 60px;
        font-weight: 800;
        color: var(--dark-blue);
        text-align: center;
        margin: 10px 0 20px 0;
        letter-spacing: -2px;
    }

    .image-side {
        display: table;
        flex: initial;
        height: 350px;
         position: relative; 
        top: 0;
        z-index: 2;
        background-image: url(../images/2151500658.jpg);
        background-repeat: no-repeat;
        background-position: center;
        background-size: cover;
        border-bottom-right-radius: 100px;
    }

    .bt {
        margin: auto;
        margin-top: 40px;
        font-size: 18px;
        line-height: 18px;
        
    }
    .camisolas-title {
        width: 90%;
        margin: auto;
        margin-bottom: 35px;
    }

    .camisolas-section {
        width: 100%;
        margin: auto;
        padding-top: 50px;
    }

    .main-jersey-text-top {
        padding-top: 0px;
        width: 90%;
        max-width:250px;
        margin: auto;
        margin-bottom: 30px;
    }
    .camisolas-container {
        flex-direction: column;
        align-items: center;
        gap: 15px;
    }

    .jersey-card {
        flex: 0 0 200px;
        align-items: center;
        text-align: center;
    }

    .equipas-section {
        width: 100%;
        margin: auto;
        padding-top: 50px;
    }

    .equipas-section-title {
        width: 90%;
        margin: auto;
        margin-bottom: 30px;
    }

    .equipas-scroll-container {
        width: 100%;
        margin: auto;
        overflow-x: scroll;
        -webkit-overflow-scrolling: touch;
        padding-bottom: 15px;
        cursor: grab;
    }

    .team-info h5 {
        font-size: 16px;
        line-height: 18px;
        font-weight: 600;
        color: var(--dark-blue);
        margin-bottom: 2px;
        text-transform: uppercase;
        letter-spacing: -0.5px;
        max-width: 130px;
        word-wrap: break-word;
    }

    .main-jersey-text-top h3 {
        font-size: 22px;
        letter-spacing: 0px;
        margin-bottom: 0px;
    }
    .main-jersey-text-top p {
        font-size: 20px;
        line-height: 26px;
        letter-spacing: 0px;
        color: var(--dark-blue);
        font-weight: 400;
    }

    .jersey-text-small h4 {
        font-size: 20px;
        line-height: 26px;
        font-weight: 700;
        color: var(--dark-blue);
        margin-bottom: 0px;
        letter-spacing: -0.5px;
    }

    .jersey-text-small p {
        font-size: 20px;
        line-height: 26px;
        color: var(--dark-blue);
        font-weight: 400;
    }

    .equipas-wrapper {
        display: flex;
        gap: 35px;
        width: max-content;
        min-width: 100%;
        padding-left: 0px;
    }
        .equipas-wrapper::after {
            content: '';
            display: block;
            /* Cria um bloco vazio com 1px para forçar o navegador a renderizar o padding-right anterior */
            padding-right: 1px;
        }
    .team-jersey-wrapper {
        max-width: 125px;
    }

    .secondary-jerseys-wrapper::after {
        content: '';
        display: block;
        /* Cria um bloco vazio com 1px para forçar o navegador a renderizar o padding-right anterior */
        padding-right: 1px;
    }
}




