/* 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));          
    }
   
    #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-member {
        width: 150px;
        height: 200px;
        max-width: 150px;
        padding: 5px;
    }
    
    div.team-member-info {
        width: 150px;
        height: 200px;
        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);
    }

    /* span.patron::before {} */

    .protagonista-hover {
        display: none;
    }

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

    .partner-logo {
        width: 100px !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));          
    }

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

}