@media (max-width: 1200px) {

    .projetos {
        grid-template-columns: repeat(2, 1fr);
        grid-template-rows: auto;
        gap: 20px;
        margin-left: 50px;
    }

    .skills {
        flex-wrap: wrap;
        gap: 50px;
        margin-left: 50px;
    }

    .sobre {
        margin: 50px 20px 100px 20px;
    }

    .sobre h1 {
        font-size: 70px;
    }

    .sobre p {
        width: 100%;
        font-size: 40px;
        line-height: 45px;
    }

    .instituicao {
        flex-direction: column;
        gap: 50px;
    }
}

@media (max-width: 900px) {

    .projetos {
        grid-template-columns: 2fr;
        grid-template-rows: auto;
        margin-left: 20px;
        gap: 20px;
    }

    .sobre h1 {
        font-size: 50px;
    }

    .sobre p {
        font-size: 30px;
        line-height: 35px;
    }

    .list {
        flex-direction: column;
        gap: 10px;
        padding: 10px;
    }

    .home h1 {
        font-size: 30px;
    }

    .projetos {
        width: 500px;
    }
}


@media (max-width: 560px) {

    body {
        padding: 10px;
        text-align: center;
        overflow-x: hidden;
    }

    .home {
        padding: 30px;
    }

    .sobre {
        text-align: center;
    }

    .btn {
        margin:  100px 0 0 30px;
    }

    .projetos div {
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        opacity: 0;
        transform: translateY(40px);
        transition: all 0.6s ease-out;
    }

    .projetos {
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        gap: 30px;
        margin: 0 auto;
        width: 100%;
    }

    .projetos .reveal {
        display: flex;
        flex-direction: column;
        align-items: center;
        text-align: center;
        width: 90%;
        max-width: 350px;
    }

    .projetos .reveal img {
        width: 80%;
        height: auto;
        border-radius: 12px;
    }

    .title-projetos {
        text-align: center;
        margin-bottom: 30px;
    }

    .skills {
        display: flex;
        flex-direction: column;
        gap: 20px;
        align-items: center;
    }

    .instituicao {
        flex-direction: column;
        gap: 30px;
        align-items: center;
        justify-content: center;
        margin: 0 auto;
    }

    .instituicao p {
        margin-top: 30px;
        width: 100%;
        font-size: 25px;
    }

    .instituicao img {
        width: 70%;
        height: auto;
    }

    .list {
        display: none;
        gap: 50px;
        padding: 80px;
        min-width: 90vw;
        position: absolute;
        margin: 450px 0 0;
        z-index: 10;
        background-color: blueviolet;
        opacity: 0;
        pointer-events: none;
        animation-duration: 0.5s;
        animation-fill-mode: forwards
    }

    @keyframes menuEntrando {
        from {
            opacity: 0;
            transform: translate(30px);
        }

        to {
            opacity: 1;
            transform: translate(0);
        }
    }

    .hamburger.active span:nth-child(1) {
        transform: rotate(45deg) translate(5px, 5px);
        transition: 0.3s;
    }

    .hamburger.active span:nth-child(2) {
        opacity: 0;
    }

    .hamburger.active span:nth-child(3) {
        transform: rotate(-45deg) translate(6px, -6px);
        transition: 0.3s;
    }

    .list.active {
        display: flex;
        pointer-events: auto;
        animation-name: menuEntrando
    }

    .hamburger {
        display: flex;
    }

    @keyframes scrollSkills {
    0% {
        transform: translateX(110%);
    }
    100% {
        transform: translateX(-100%);
    }
}
}