@media (max-width: 1440px) {
    .titles>h1 {
        font-size: 90px;
    }
    
    .titles>h2 {
        font-size: 28px;
    }

    .sobremi>h2, .proyectos>h2, .contacto>h2{
        font-size: 32px;
    }

    .cardIcons {
        flex-direction: column;
        padding: 50px 30px 50px 30px;
    }

    .cardIcons>div:first-child{
        margin-bottom: 32px;
    }

    form{
        width: 450px;
    }

    form>input, form>textarea{
        width: 430px;
    }
}

@media (max-width: 1100px) {
    .titles>h1 {
        font-size: 70px;
        margin: 0px 20px 20px 20px;
    }
    
    .titles>h2 {
        font-size: 24px;
        margin: 0px 20px 0px 20px;
    }

    .arrow>div{
        width: 40px;
        height: 40px;
    }

    .sobremi>h2, .proyectos>h2, .contacto>h2{
        font-size: 28px;
    }

    .infoPage-content>h2{
        font-size: 32px;
    }

    .sobremi>h3, .cardIcons h3, .download{
        font-size: 22px;
    }

    .scroll>div{
        width: 2210px;
    }

    .proyecto{
        width: 350px;
        height: 250px;
    }

    .proyecto>img, .imagen{
        width: 350px;
        height: 250px;
    }

    .infoPage-content>div{
        width: 90%;
    }

    .content{
        max-width: 450px;
    }

    .infoPage-content>div>img{
        width: 350px;
        height: 420px;
    }
    
}

@media (max-width: 768px) {
   .navbg>.pc {
        display: none;
    }

    .navbg>.movil{
        display: flex;
        width: 80%;
        justify-content: flex-start;
    }

    /*overlay que muestra el menú en la versión para tablets y móviles*/
    .overlay{
        display: flex;
        height: 100vh;
        width: 0%;
        overflow: hidden;
        position: fixed;
        z-index: 999;
        top: 0;
        right: 0;
        background-color: rgba(0, 0, 0, 0.9);
        transition: 0.5s;
    }
    
    .overlay-content {
        position: relative;
        top: 35%;
        height: 220px;
        width: 100%;
        text-align: center;
    }
    
    .overlay a {
        padding: 8px;
        text-decoration: none;
        font-size: 28px;
        color: #F4F5FB;
        display: block;
        transition: 0.3s;
    }
    
    .overlay a:hover, .overlay a:focus {
        color: #1874ED;
    }
    
    .overlay .closebtn {
        position: absolute;
        top: 20px;
        right: 45px;
        font-size: 60px;
    }
    /*----------*/

    .alertForm{
        display: none;
    }

    .titles>h1 {
        font-size: 60px;
        letter-spacing: 10px;
        width: 280px;
        margin: 0px 0px 20px 10px;
    }
    
    .titles>h2 {
        font-size: 20px;
        width: 250px;
        line-height: 32px;
        margin: 0px;
    }

    .icons{
        width: 220px;
    }

    .icons>img{
        width: 46px;
        height: 46px;
        margin: 4px;
    }

    .download {
        padding: 10px 0px 10px 0px;
    }

    .scroll{
        width: 90%;
        display: flex;
        align-items: center;
        justify-content: center;
    }
    
    .scroll>div{
        width: 320px;
        flex-direction: column;
        justify-content: center;
    }

    .scroll::-webkit-scrollbar {
        display: none;
    }
    
    .scroll::-webkit-scrollbar-thumb {
        display: none;
    }

    .proyecto{
        width: 320px;
        height: 250px;
        margin: 10px 0px 10px 0px;
    }
    .proyecto:first-child{
        margin-top: 0px;
    }
    .proyecto:last-child{
        margin-bottom: 0px;
    }
    
    .proyecto>img, .imagen{
        width: 350px;
        height: 250px;
        position: absolute;
    }

    .infoPage-content{
        padding-bottom: 0px;
    }

    .infoPage-content>h2{
        font-size: 28px;
        margin-bottom: 44px;
    }

    .infoPage-content>div{
        flex-direction: column;
    }

    .infoPage-content>div>img{
        display: none;
    }

    .content{
        max-width: 100%;
        margin-right: 0px;
        align-items: center;
    }

    .leng>div{
        flex-direction: column;
        align-items: center;
    }

    .leng>div>div{
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    .frontend{
        margin-right: 0px;
    }

    .closePage, .closebtn{
        right: 25px;
    }

    .leng, .links{
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    .links{
        margin-bottom: 64px;
    }

    .lastSection, #particles-js2{
        height:85vh;
    }

    form{
        width: 320px;
    }

    form>input, form>textarea{
        width: 300px;
    }

    form>textarea{
        height: 200px;
    }
}

@media (max-width: 435px) {
    .arrow {
        margin-bottom: 120px;
    }

    .cardIcons{
        width: 70%;
    }

    .download {
        width: 80%;
    }

    .proyecto, .imagen{
        width: 250px;
        height: 300px;
    }

    .imagen{
        display: flex;
        align-items: center;
        justify-content: left;
    }

    .proyecto>img{
        width: 420px;
        height: 320px;
    }
    .proyecto:nth-child(3){
        justify-content: flex-start;
    }

    .infoPage-content {
        top: 13%;
    }

    .closePage, .closebtn{
        right: 10px;
    }

    .infoPage-content>h2{
        margin-bottom: 36px;
    }

    .leng, .links{
        margin-top: 32px;
    }

    .leng>div{
        flex-direction: column;
        align-items: center;
    }

    .leng>div>div{
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    .frontend{
        margin-right: 0px;
    }

    form{
        width: 80%;
    }

    form>input, form>textarea{
        width: 92%;
    }

    .linkedin{
        margin: 0px 44px 0px 44px;
    }
}

@media (max-height:850px){
    form>textarea{
        height: 200px;
    }

    .infoPage-content {
        top: 110px;
    }

    .lastSection, .contact, #particles-js2{
        height: 700px;
    }
}

@media (max-height: 567px){
    .overlay-content{
        top: 25%;
        display: flex;
        align-items: center;
        justify-content: center;
        flex-wrap: wrap;
        align-content: center;
    }

    .overlay-content>a{
        margin: 0px 10px 0px 10px;
    }

    header, .inicio, #particles-js {
        height: 550px;
    }
}