@media only screen and (max-width:  767px) {
    .newsletter-popup {
        z-index: 10000;
        background-color: rgb(255, 255, 255);
    }
    .newsletter-popup__content {
        z-index: 99;
        padding: 40px !important;
    }
    .newsletter-popup .newsletter-popup__content input {
        width: 100%;
    }
    .closePopupNewsletter {
        right: 1rem;
        position: absolute;
        top: 1rem;
    }    
}

@media screen and (max-width: 1024px) {
    .cursor { display: none; }
    * { cursor: pointer }

    h1 { font-size: 24px; line-height: 30px; }
    h3 { font-size: 22px; line-height: 28px; }

    * {
        cursor: initial !important;
    }
    
    .slideshow {
        height: auto;
    }

    .side-element {
        position: initial;
        max-width: 100%;
    }

    footer {
        font-size: 14px;
        padding-left: 1rem;
        padding-right: 1rem;
    }

    #newsletter .circle {
        height: 120px;
        width: 120px;
    }
    #newsletter .text {
        font-size: 24px;
        line-height: 24px;
    }

    .text-lila { font-size: 12px; }
    .text-lila.text-lead, .text-lead { font-size: 19px; }
    .page-title.text-lila { font-size: 18px; }
    #custom-cursor {
        display: none;
    }

    .border-animate {
        position: fixed;
        top: 0;
        height: 100%;
    }
    .page-menu {
        margin-bottom: 30px;
    }
    .page-menu:before, .page-menu:after {
        left: 0;
    }
    .page-menu:before {
        height: 12px;
    }
    .page-menu:after {
        bottom: -6px;
        height: 10px;
    }
    .page-menu .categories {
        padding-top: 10px;
        font-size: 18px;
    }

    .page-content {
        margin-top: 0;
    }

    .page-content .page-content__title {
        font-size: 24px;
        font-family: 'Salamanazar-Regular', sans-serif;
        color: #330956;
        text-align: center;
        display: block;
        margin-bottom: 2rem;
    }


    /* Project */
    .project-detail {
        position: fixed;
    }
    .project-container__header .project-container__header-close {
        position: fixed;
    }
    .project-container__header--logo {
        max-height: 26px;
        margin-top: .8rem;
    }
    
    .border-line {
        display: none;
    }
    .border-line--bottom {
        display: inline-block;
    }

    #home.container {
        display: inline-block;
        height: 100%;
        width: 100%;
        padding-left: 0;
        padding-right: 0;
        padding-top: 150px;
    }
    #home.container .projects-item {
        position: relative;
        width: 100%;
        display: inline-block;
        /* margin-bottom: 20px; */
    }
    #home.container .projects-item.projects-item--text {
        padding-left: 1rem;
        padding-right: 1rem;
        margin-top: 10px;        
        margin-bottom: 30px;
    }
    
    /* Menu */
    .openMenu {
        height: 39px;
        width: auto;
        margin-top: -14px;
    }
    header {
        position: fixed;
    }
    header .menu {
        top: -100vh;
    }
    header.is-active {
        height: 100vh;
        top: 0 !important;
    }
    header.is-active .menu {
        background-color: #1e0831;
        height:100%;
    }
    header .logo img {
        max-height: 30px;
        transition: all 0.3s ease;
    }
    header .logo--menu {
        display: none;
    }
    header .logo--content.logo--content-start-home {
        width: 100%;
        padding-top: 40px;
    }
    header .logo--content.logo--content-start-home.is-small {
        padding-top: 20px;
    }
    header .logo--content.logo--content-start-home img {
        width: 100% !important;
        max-height: 44px;
    }
    header .logo--content.logo--content-start-home.is-small img {
        max-height: 36px;
    }    

    header .menu-item, header .language {
        font-size: 19px;
        text-align: left;
        padding-left: 2rem;
        margin-bottom: 12px;
    }
    header .language {
        padding-left: 2.5rem;
        margin-top: -12px;
    }
    .main-menu {
        padding-top: 8rem;
        font-family: 'Cofo-Regular';
    }
    .main-menu .menu-item:nth-child(1) {
        margin-bottom: 0;
    }

    .subnavigation a {
        text-transform: lowercase; 
        display: block;
        padding-left: 3rem;
        margin-bottom: 0;
    }
    .subnavigation {
        margin-bottom: 12px;
    }
    header .language {
        position: relative;
    }    
}
