/* stylesheet with mobile layout rules
    imported from styles.css */

@media only screen and (max-width: 768px) {
    html {
        overflow: hidden visible;
    }

    /* hiding elements */
    .nav-menu {
        display: none;
    }

    /* monte BG */

    body {
        background-position: 30% 25vh;
        background-size: 250%
    }

    /* Quem Somos */
    #quem-somos {
        flex-direction: column;
        margin-top: 60px;
    }

    .shasta-heading {
        font-size: 13vw;
    }

    .heading-name {
        font-size: 16vw;
    }

    #heading-carousel {
        margin-top: 60px;
        margin-left: 0;
        font-weight: bold;
    }

    #heading-carousel .heading-inner {
        text-align: left;
        margin-left: 0;
        height: 120px;
        overflow: visible;
    }

    #heading-indicators {
        margin-left: 0;
        justify-content: start;
    }

    #heading-indicators li {
        margin-left:0;
        margin-right: 10px;
    }

    /* Serviços */
    #servicos { 
        grid-template: auto / 1fr;
        gap: 16px;
        background-color: transparent;
    }

    .services-column {
        background-color: black;
        margin: 0;
        padding: 8%;
    }

    .services-title {
        font-size: 10vw;
    }

    .services-tagline {
        color: white;
    }

    .services-text {
        font-weight: bold;
    }

    /* Cases */

    #cases {
        grid-template: auto / 100%;
        gap: 0;
    }

    .case-column {
        background-color: #FFB100;
        width: 100vw;
        margin-left: calc(50% - 50vw);
    }

    .case-column:nth-child(2n) {
        background-color: #FFC400; 
    }

    .case-column svg {
        fill: black;
    }

    .case-link { 
        font-weight: bold;
    }

    /* Modal Cases */

    .modal-content {
        grid-template-columns: 1fr;
    }

    .modal-column {
        padding: 20px;
    }

    .modal-dialog {
        height: auto;
    }

    .modal-description {
        background-size: 250%;
    }

    .modal-description > svg {
        width: 40px;
    }

    .modal-description .shasta-heading {
        font-size: 13.5vw;
    }

    .modal-text {
        color: white;
    }

    .spot-row {
        flex-wrap: wrap;
    }

    .spot-title, .spot-row > svg {
        break-after: always;
    }

    .spot-row > svg {
        height: 28px;
        min-width: 0;
    }

    .spot-title {
        margin-left: 0;
        margin-bottom: 15px;
    }

    .spot-row .player {
        margin-left: 0;
    }

    /* Clientes */

    #clientes {
        grid-template-columns: repeat(2,1fr);
    }

    /* Depoimentos */
    .depoimento {
        max-width: 90%;
    }

    .depoimento-background {
        left: 0;
        width: 100%;
    }

    .depoimento-texto {
        margin: 6%;
    }

    #depoimento-carousel .carousel-control-prev, 
    #depoimento-carousel .carousel-control-next {
        width: 5%;
    } 

    /* Equipe */

    #time {
        display: grid;
        grid-template-columns: repeat(2, 50%);
        
        place-items: center;
    }

    .time-membro {
        width: 100%;
        height: calc(4*45vw/3)
    }

    /* Footer */

    .footer-content {
        flex-direction: column;
        place-items: center;
        margin: 40px auto;
        text-align: center;
    }

    .footer-item {
        flex: 1;
        margin: 15px auto;
    }

    #footer-logo, #footer-social {
        margin-left: inherit;
        margin-right: inherit;
    }

}