/*MOBILE*/
@media screen and (max-width: 767px) {
    html, body {
        padding:0; margin:0;
        font-size: 14px;
    }
    main {
        width: 100%;
        overflow: hidden;
    }

/*TEXT MOBILE*/
    h1 {
        font-size: 3rem;
    } 
    
    h2 {
        font-size: 2rem;
    } 
    
    h3 {
        font-size: 1rem;
    } 

    .statement {
    line-height: 3rem;
    }
    
/*NAV HEADER*/

    .nav__header {
        flex-direction:column;
        align-items: center;
        justify-content: flex-start;
        position:relative;
        gap:0;
    }

    .brand {
        padding:1rem 0;
        margin:0;
        width: 100%;
        display: flex;
        align-items: center;
        justify-content: center;
    }

    .logo {
        top: 1.5rem;
        left:1rem;
        position: absolute;
        z-index:9998;
        height: 4rem;
    }

    .menu-btn {
        width: 30px;
        height: 30px;
        top: 3rem;
        right:2rem;
        position: absolute;
        z-index:9999;
        overflow: hidden;
    }
    
    .menu-btn .bar {
        width: 30px;
        height: 4px;
        position: absolute;
        top: 50%;
        left: 50%;
        border-radius: 4px;
        transform: translate(-50%, -50%);
        background-color: var(--sun);
        transition: all 0.3s ease-in-out;
    }  
    .menu-btn .bar:nth-of-type(2) {
        top: calc(50% - 9px);
    }
    .menu-btn .bar:nth-of-type(3) {
        top: calc(50% + 9px);
    }

    .menu-btn.active .bar:nth-of-type(1) {
        display: none;
      }
      .menu-btn.active .bar:nth-of-type(2) {
        top: 50%;
        transform: translate(-50%, 0%) rotate(45deg);  
      }
      .menu-btn.active .bar:nth-of-type(3) {
        top: 50%;
        transform: translate(-50%, 0%) rotate(-45deg); 
      }
      
    .nav__list {
    background-color: var(--ocean);
    width: 100vw; height:100vh;
    margin:0; padding:2rem 0;
    display: flex;
    flex-direction: column;
    gap:3rem;
    justify-content: center;
    align-items: center;
    z-index:9998;
    position: absolute;
	top: 0; left: 0;
    transform: translateX(100%);
	transition: transform 0.5s; 
    }
    .nav__link, #btn-lang {
        font-size: 1.2rem;
        padding:0.5rem 2rem;
    }
    .nav__list.active {
        transform: translateX(0);
    }

    #btn-lang {
        background-color: var(--sun) !important;
        color:var(--ocean)!important;
    }
/*FOOTER*/

    .nav__footer {
        padding: 2rem 2rem;
        gap:2rem;
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        text-align: center;
        font-size: 1rem;
    }
    .footer__list {
       display: none;
    }

/*PAGE HEADER*/
   
    .page__header {
        max-width: 100%;
        padding:4rem 2rem;
        flex-direction: column;
        justify-content: center;
    }    
    .header__info {
        width:100%;
    }

    .text-icon {
        display: flex;
        width: 100%;
        justify-content: flex-start;
        align-items: left;
        gap:0.25rem;
        flex-wrap:wrap;
    }
    
    .icon {
        width: 3rem;
    }

    /*SECTION*/
    .page__section {
        padding:4rem 2rem;
        margin:1rem 0;
    }

    .section__header {
        align-items: center;
        justify-content: center;
    }
    
    .section__title {
        width: 100%;
        font-size:2rem;
    }
    .section__description {
        font-size: 1.1rem; 
        line-height: 1.5;
    }
    
    /*PROJECT*/
    .projects__list {
        max-width:100%;
        gap:2rem;
        margin:2rem 2rem;
    }

    .project__info {
        width:100%;
        padding:1rem 1rem;
        align-items: center;
        flex-direction: column;
        gap:0.8rem;
        border-radius: 30px;
    }

    .project__link {
        padding:0; margin:0;
        width: 100%;
        font-size:1.5rem;
        font-weight: 600;
        text-align: center;
        white-space: wrap; }
    
    .project_tags__list {
        padding:0;
        margin:0;
        flex-wrap: wrap;
        justify-content: left;
    }
    .project__tag { font-size: 1rem;}

    .project__wrap {
        display: flex;
        flex-direction: column;
        align-items: center;
        gap:1rem;
    }
    .project__pop_up {
        display: block;
        width: 100%;
        position: relative;
        z-index: 0;
    }

    .project__info:hover {
        color: #fff !important;
        border-color:#fff;
        background-color: var(--ocean);
        transition: all ease-in-out 0.5s;
    }
    
    .project__info:hover  .project__pop_up {
        transform: none;
        display: block;
        transition: all ease-in-out 0.5s;
    }
    
    
    /*EXPERIENCES PAGE*/
    .experiences__list {
        flex-direction: column;
        gap: 2rem;
        width: 100%;
    }
    .experience {
        font-family: 'Manrope',Sans-serif;
        display: flex;
        width:100%;
        height:100%;
        flex-direction: column;
        transition: all ease-in-out 0.5s;
        gap:1rem 0;
    }

    /*PROJECTS PAGE*/
    p.tag {
        font-size: 1.2rem;
    }
    .project__text {
        padding: 2rem 0;
        margin:0 2rem;
        width: calc(100vw - 4rem);
    }

    .project__img-grid, .project__text-grid {
        width: 100%;
        flex-direction: column;
        align-items: center;}
    
    .col__title {
            font-size: 1.5rem;
            text-align: left;
    }
    .col__number {
            font-size: 3rem;
            text-align: left; 
            text-decoration-thickness: 5px;    
        }

    .curved-tr {
        border-top-right-radius: 8vw;
        overflow: hidden;
        }
    
            .curved-bl{
        border-bottom-left-radius: 8vw;
        overflow: hidden;
        }

    /*CONTACT*/
    .contact {
    min-width: 300px;
    gap:0rem;
    }

    .jotForm {
    padding-top: 0rem;
    }

    /*BUTTON*/
    .primary__button {
        font-size: 1.2rem;
        margin-top:1rem;
    }

    

    /*ANIMATION*/

    .text-icon {
        display: flex;
        width: fit-content;
        max-width: 100vw;
        justify-content: flex-start;
        align-items: left;
        gap: 0 0.5rem;
        flex-wrap:nowrap;
    }
    
    .icon {
        width: 4rem;
    }

    
    .marquee {
        display: none;
    }
    

}