
/* Styles for MOBILE VERY TINY devices */
@media only screen and (max-width: 385px) {
    /* Add your mobile-specific styles here */

    header{
        position: fixed;
        z-index: 10;
        top:-100px;
        left:2.5%;
        display: flex;
        justify-content: space-between;
        width:95%;
        height:75px;
        pointer-events: none;
        overflow: hidden;
        transition: top 0.1s ease-in;
    }
    header-logo .main-logo p{
        font-size: 18px;
    }
    header-logo-subpages .main-logo p{
        font-size: 18px;
    }
    menu-icon{
        position: fixed;
        right:20px;
        top:20px;
        width: 50px;
        height:10px;
        z-index: 16;
        display: flex;
        justify-content: space-between;
        transition: top 0.1s ease-in;

    }
    menu-icon:hover{
        cursor: pointer;
    }
    menu-icon div.dot{
        width: 10px;
        height: 10px;
        border-radius: 5px;
        background-color: black;
        pointer-events: none;
        transition: background-color 0.1s ease-in-out;
    }

    #my-cal-inline{
        width:100%; height:80%;overflow:scroll;
    }
    .general-info .lead-text, .slide .lead-text{
        color: #000;
        font-family: Lora;
        font-size: 18px;
        font-style: normal;
        font-weight: 400;
        line-height: normal;
        margin:0;
        letter-spacing: -0.52px;
        max-width: 900px;
    }
    .slide  .lead-text.highlight{
        font-size:22px;
    }
    .plain-text{
        color: #000;
        font-family: Lora;
        font-size: 18px;
        font-style: normal;
        font-weight: 400;
        line-height: 22px;
        margin:0;
        letter-spacing: -0.36px;
    }

    .slide .lead-title{
        position:absolute;
        text-align: left;
        width:100%;
        font-family: Lora ;
        left:20px;
        top:60px;
        font-size:24px;
        font-weight: 700;
    }
    .arrow {
        position: absolute;
        top: 50%; 
        border: solid black;
        border-width: 0 2px 2px 0;
        transform: translate(0, -50%);
        z-index: 1; 
    }

    .left,.right{
        width: 12px;
        height:12px;
    }
    .left {
        left: 4px;
        transform: rotate(135deg);
        transition: left 0.1s ease-in;
    }
    .right {
        right: 4px;
        transform: rotate(-45deg);
        transition: right 0.1s ease-in;
    }

    .hidden-l{
        left: -50px;
    }
    .hidden-r{
        right:-50px;
    }
    .slide {
        overflow: hidden;
        position: relative;
        font-weight: 700;
        flex: 0 0 auto;
        display: flex;
        align-items: center;
        justify-content: center;
        margin:0;
        padding-top:40px;
        padding-bottom:40px;
        padding-left:20px;
        padding-right:20px;
        width: calc(100% - 40px);
        height: calc(100% - 80px);

    }
    .slide#partners {
        position: relative;
        font-weight: 700;
        flex: 0 0 auto;
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        margin:0;
        padding-top:40px;
        padding-bottom:40px;
        padding-left:20px;
        padding-right:20px;
        width: calc(100% - 40px);
        height: calc(100% - 80px);

    }
    .slide#partners .title{
        color: #000;
        font-family: Lora;
        font-size: 24px;
        font-style: normal;
        font-weight: 700;
        line-height: 24px;
        margin:0;
        position: absolute;
        top:60px;
        left:20px;
        z-index: 10;
    }
    #partners .lead-section .plain-text{
        font-size: 15px;
        line-height: normal;
    }
    .section .title{
        color: #000;
        font-family: Lora;
        font-size: 24px;
        font-style: normal;
        font-weight: 700;
        line-height: 24px;
        margin:0;
        position: absolute;
        top:45px;
        left:20px;
        z-index: 10;
    }

    .lead-section-title {
        font-family: Lora;
        font-size: 20px;
        font-weight: 700;
        margin:0;
        line-height: 30px;
    }
    .lead-section{
        width: 100%;
        height:auto;
        margin-top: 40px;
        max-width:525px;
    }

    /* project card */
    .project-card{
        position:relative;
        height: calc(100vh - 180px);
        max-height: 450px;
        width: calc(100% - 30px);
        margin: 15px;
        margin-top: 80px;
        background-color: white;
        border-radius: 8px;
        box-shadow: 0 3px 10px rgba(0, 0, 0, 0.08);
        overflow: hidden;
        display: flex;
        flex-direction: column;
    }
    .project-img-wrapper{
        width:100%; 
        height: 66.66%;
        margin: 0;
        padding:0;
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        overflow: hidden;
    }

    .img-mask{
        width:100%;
        height: 100%;
        position: relative;
        cursor:pointer;
        overflow: hidden;
    }
    h3.project-title{
        font-size: 16px;
        line-height: 20px;
        margin: 0 0 6px 0;
        font-family: Lora, serif;
        font-weight: 600;
        color: black;
        word-wrap: break-word;
        overflow-wrap: break-word;
        hyphens: auto;
        overflow: hidden;
        text-overflow: ellipsis;
        display: -webkit-box;
        -webkit-line-clamp: 2;
        line-clamp: 2;
        -webkit-box-orient: vertical;
    }
    .project-content-wrapper .plain-text{
        margin: 0;
        font-size:14px;
        line-height: 16px;
        color: #333;
        flex-grow: 1;
        word-wrap: break-word;
        overflow-wrap: break-word;
        hyphens: auto;
        overflow: hidden;
        text-overflow: ellipsis;
        display: -webkit-box;
        -webkit-line-clamp: 2;
        line-clamp: 2;
        -webkit-box-orient: vertical;
        max-width: 100%;
        white-space: normal;
    }
    
    .project-content-wrapper{
        position: relative;
        width:100%;
        height: 33.33%;
        padding: 24px;
        box-sizing: border-box;
        display: flex;
        flex-direction: column;
        justify-content: flex-start;
        background-color: white;
        overflow: hidden;
    }

    .project-explore-button{
        width: 160px;
        height: 40px;
        border-radius: 22px;
        border:solid 2px black;
        background-color: black;
        color:white;
        position:absolute;
        bottom:12px;
        left:calc(50% - 80px);
        display: flex;
        transition: background-color 0.1s ease-in;
    }
    .project-explore-button p{
        color: #FFF;
        font-family: Lora;
        font-size: 14px;
        font-style: normal;
        font-weight: 400;
        line-height: 0;
        text-align: center;
        margin:auto;
        pointer-events: none;
        transition: color 0.1s ease-in;
    }

    .cta-button{
        width: 220px;
        height: 54px;
        border-radius: 28px;
        border:solid 2px black;
        background-color: black;
        color:white;
        position:absolute;
        bottom:25px;
        left:calc(50% - 110px);
        display: flex;
        transition: background-color 0.1s ease-in;
    }
    .cta-button.focus{
        bottom:50px;
        left:calc(50% - 110px);

    }

    .cta-button p{
        color: #FFF;
        font-family: Lora;
        font-size: 18px;
        font-style: normal;
        font-weight: 400;
        line-height: 0;
        text-align: center;
        margin:auto;
        pointer-events: none;
        transition: color 0.1s ease-in;
    }

    .project-credits p{
        margin:0;
        line-height: 18px;
    }

    .project-popup h2{
        font-family: Lora,serif;
        text-align: left;
        font-size:32px;
        line-height: 32px;
        font-weight: 700;
        max-width: calc(100% - 75px);
        margin-left:20px;
        margin-top:50px;
    }
    .project-popup p{
        font-family: Lora,serif;
        text-align: left;
        max-width: calc(100% - 40px);
        font-size:18px;
        line-height: 22px;
        margin-left:20px;
        font-weight: 400;
    }
    .project-text-container{
        position:relative;
        width: 100%;
        height: auto;
        margin: 0;
        left:0;
    }

    .project-popup{
        position:fixed;
        overflow-y:scroll;
        overflow-x:hidden;
        width: 100%;
        height: 100%;
        background-color:white;
        color:black;
        z-index: 10;
        left:-100%;
        top:0;
        opacity: 0;
        transition: left 0.15s ease-in, opacity 0.15s ease-in;
    }
    
    .project-popup-open{
        left:0%;
        opacity:1;
    }
    

    /* THREE-D Carousel */
    .carousel {
        perspective: 1000px;
        position:relative;
        margin-top: -180px;
        margin-bottom:300px;
    }

    .project-popup div.close-project-button{
        position:fixed;
        z-index: 16;
        right:25px;
        top:65px;
        width: auto;
        height: auto;
        /* font-family: Lora, serif; */
        /* font-size:32px; */
        margin:0;
        /* line-height: 0; */
    }
    .close-project-button:hover{
        cursor:pointer;
    }
    .close {
        position: fixed;
        right:25px;
        top:65px;
        width:30px;
        height:auto;
        z-index:110;
    }
    .carousel-viewport {
        width: 240px;
        height: 240px;
        position: relative;
        margin: 0 auto;
        transform-style: preserve-3d;
    }

    .carousel-image {
        position: absolute;
        width: 100%;
        height: 240px;
        line-height: 300px;
        color: white;
        text-align: center;
        font-size: 3em;
        opacity: 1.0;
        border-radius: 12px;
        transition: transform 0.25s ease-in-out;
        overflow: hidden;
    }
    .car3d-controls{
        position: relative;
        width : 100%;
        /* width: 75px; */
        height: 20px;
        margin: auto;
        margin-bottom: 50px;
        top:-185px;
    }

    .previous {
        position: absolute;
        /* top: 50%;
        left: calc(50% - 6px);
        transform: translate(-50%, -50%) rotate(135deg); */
        top: 0;
        left : 20px;
        transform: translate(0%, 0%) rotate(135deg);
        width: 12px;
        height: 12px;
        border: solid black;
        border-width: 0 2px 2px 0;
        text-align: center;
        margin: 0;
        z-index: 500;
        cursor: pointer;
        -webkit-tap-highlight-color: transparent;
    }
    
    .next {
        position: absolute;
        /* top: 50%;
        left: calc(50% + 6px);
        transform: translate(-50%, -50%) rotate(-45deg); */
        top: 0;
        right : 20px;
        transform: translate(0%, 0%) rotate(-45deg);
        width: 12px;
        height: 12px;
        border: solid black;
        border-width: 0 2px 2px 0;
        text-align: center;
        margin: 0;
        z-index: 500;
        cursor: pointer;
        -webkit-tap-highlight-color: transparent;
    }

    .open-menu{
        width:100%;
    }

    menu-overlay a, menu-overlay p{
        text-decoration: none;
        color:#FFF;
        font-family: Lora, serif;
        font-weight: 400;
        font-size:32px;
        pointer-events: auto;
        margin-left:120px;
    }

    menu-overlay a:hover{
        background-color: #E7FFF9;
        color: black;
        padding: 6px 12px;
        border-radius: 6px;
        transition: all 0.2s ease;
    }
    
    /* contact */

    .contact-card{
        position: absolute;
        left:20px;
        top:150px;
    }
    .contact-card p.lead-text{
        font-size:32px;
        line-height: normal;
    }
    /* footer */

    .general-info{
        position: relative;
        display: flex;
        flex-direction: column;
        align-items: flex-start;
        justify-content: center;
        width: 80%;
    }
    
    .general-info .copyright,
    .general-info .location-card,
    .general-info .social-links{
        position:relative;
        margin-left:20px;
        margin-top: 20px;
    }
    
    .copyright .lead-title{
        font-family: Lora ;
        font-size:18px;
        line-height: 18px;
        margin: 0;
        font-weight: 700;
    }
    .social-links{
        height:auto;
        overflow: hidden;
        width: auto;
        margin:0;
    }
    /* pricing section */
    .price-card{
        position: relative;
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-content: center;
    }
    .price-card div:nth-child(1){
        /* width: 30%; */
        width: auto;
        height:auto;
        margin: auto auto 15px auto;
        /* max-width:425px; */
        /* margin: auto 25px auto 0; */
    }
    
    .price-card div:nth-child(2){
        width: auto;
        height:auto;
        margin: auto;
        /* background-color: red; */
    }
    
    .price-card div:nth-child(2) .plain-text{
        font-size: 22px;
        line-height: normal;
    }
    .price-text.big{
        font-size: 48px;
        line-height: 48px;
    }
    
    .price-text{
        font-size: 28px;
        line-height:28px;
        margin:6px;
        text-align: center;
        font-family: Lora, serif;
    }
    .price-conditions-text{
        color: #000;
        font-family: Lora;
        font-size: 18px;
        font-style: normal;
        font-weight: 400;
        line-height: 24px;
        margin:0;
        letter-spacing: -0.36px;
    }
}