/* Mobile CSS of TEDxLakeComo.com
(c) 2020 TEDxLakeComo.com. All rights reserved. */

:root {
    /* Mobile Variables */
    --main-header-logo-width-mobile: 80vw;
    --iOS-bottom-nav: 110px;
}

@media (max-width: 768px) {
    html, body {
        font-size: 60%;
    }

    header {    
        /* height: calc(100vh - var(--iOS-bottom-nav) - var(--navbar-height));           */
        height: 177.8vw;
    }

    #header-video {
        display: none;
    }
    
    #header-video-mobile {
        display: block;
        /* transform:rotate(90deg); */
        /* width: 179%; */
    }
   
    #header-logo-container {
        width: var(--main-header-logo-width-mobile);
        max-width: var(--main-header-logo-width-mobile);
    }

    #header-logo {
        margin-bottom: 1.5rem;
    }
    
    #header-venue {
        width: var(--main-header-logo-width-mobile);
    }

    #header-venue span {
        font-size: 2rem;
    }

    #cover-copyright {
        width: calc(100% - 15px);
        color: white;
        font-size: 1.5rem;
    }

    .button {
        font-size: 1.8rem;
        padding: 1rem 1.5rem;
    }

    #btn-acquista,  #btn-acquista div  {
        margin: 0;
        padding: 0;
    }

    #btn-acquista div {
        margin: 0 15px;
        margin-top: 15px;
        padding: 2rem 0;
    }

    .panoramic-box .grid-item {
        width: 100% !important;
    }

    section > h2:first-child {
        padding-left: 6rem;
    }

    section#team {
        background-attachment: scroll;
    }

    div.team {
        /* justify-content: space-between; */
    }

    div.team-member {
        width: 160px;
        height: 160px;
        max-width: 160px;
        padding: 10px;
        margin: 0;
    }
    
    div.team-member-info {
        width: 160px;
        height: 160px;
        text-shadow: 2px 2px 2px #333 !important;
    }

    h3.nome-team-member {
        font-size: 2rem;
    }

    .flex-container {
        justify-content: center;
    }

    .about-ted-container div {
        width: 100% !important;
    }

    .maximize-width-on-mobile {
        width: 100%;
    }

    #newsletter-email {
        width: 100%;
        line-height: 3;
    }
    
    #newsletter-button {
        margin-top: 1rem;
        width: 100%;
    }

    span.patron {
        /* border: 0px !important; */
        /* width: 100%; */
        margin: .5rem 0;
        padding: 0 .5rem;
        font-size: 1.4rem;
        border-left: 1px solid var(--ted-red);
    }
    
    .protagonista-hover {
        display: none;
    }

    .container-video {
        max-width: calc(100% - 40px) !important;
        width: calc(100% - 40px) !important;
    }

    .flip-card-back {
        font-size: 10px !important;
    }

    .flip-card, .partner-logo {
        width: 100px !important;
        height: 100px !important;
    }

    .flip-card:hover .flip-card-inner {
        /* transform: none !important; */
    }

    div#eventbrite-widget-container-64132653493 {
        height: 800px !important;
    }
}

@media (min-width: 768px) and (max-width: 900px) {

    /* CSS for YouTube Video Thumbnails */

    .container-video {
        max-width: 50% !important;
        width: 50% !important;
    }
}

@media screen and (orientation:landscape) and (max-width: 768px){

    header {    
        /* height: calc(100vh - var(--navbar-height));           */
        height: 56.25vw;   
    }

    #header-logo {
        padding-top: 0px !important;
        margin-top: -10px !important;
    }        

}