*{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body{
    display: block;
    margin-top: 2.5rem;
}

.title-projects{
    font-size: 3rem;
}

.projects{
    /* margin: auto; */
    width: 100vw;
    margin-top: 50px;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: row;
}

.project{
    width: 86vw;
    height: 500px;
    margin-top: 5rem;

    display: grid;
    grid-template-rows: auto auto;
    grid-auto-flow: column;
    justify-content: initial;

    scroll-snap-type: x mandatory;
    -webkit-transform-origin-x: initial;

    
    overflow: hidden;
}

div.content{
    display: block;
    width: 35rem;
    height: 23rem;
    margin: 1rem;
    padding: 2.5rem;
    border: solid 2px #4970EC;
    border-radius: 2rem;
}

a.github{
    display: block;
    width: 2.5rem;
    margin-bottom: 1rem;
    margin-left: 25rem;
    cursor: pointer;
}

.title-project{
    font-size: 2.5rem;
    font-weight: 600;
    line-height: 2.9rem;
    margin-bottom: 1.5rem;
}

.text-project{
    font-size: 1.5rem;
    line-height: 1.8rem;
    padding: 50px;
}

.content .language{
    margin-block: 1.5rem;
    margin-left: -1.5rem;
    color: #8892B0;
    text-align: justify;
}

.left, .right{
    width: 7rem;
    height: 10%;
    display: flex;
    flex-direction: row;
    cursor: pointer;
}

footer.copy{
    margin-top: 2.5rem;
}

@media (max-width: 415px){
    .navigator{
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
    }

    .title-projects{
        font-size: 2.2rem;
        margin: auto;
    }

    .projects{
        display: flex;
        flex-direction: row;
        align-items: center;
        justify-content: space-around;  
    }

    .project {
        display: grid;
        grid-template-columns: auto ;
        grid-auto-flow: row;
        justify-content: space-around;
        width: 90vw;
        height: 50%;
    }

    div.content{
        width: 70vw;
        height: 80%;
    }

    h4.title-project{
        font-size: 1.7rem;
    }

    .text-project{
        font-size: 1.1rem;
        padding: 20rem;
    }

    .content a.github{
        position: absolute;
        margin-left: 20rem;
        cursor: pointer;   
    }

    .left, .right{
        visibility: hidden;
        display: none;
    }
}

@media (min-width: 415px) and (max-width: 520px){
    body{
        display: block;
        margin-top: 1rem;
    }

    .navigator-sup{
        display: flex;
        flex-direction: row;
        align-items: center;
        margin-inline: 2rem;
    }

    .navigator{
        display: flex;
        flex-direction: row;
        align-items: center;
    }

    .title-projects{
        font-size: 2.2rem;
        margin: auto;
    }

    .projects{
        display: flex;
        flex-direction: row;
        align-items: center;
        justify-content: space-around;
    }

    .project {
        display: grid;
        grid-template-columns: auto ;
        grid-auto-flow: row;
        justify-content: space-around;
        width: 90vw;
        height: 50%;
    }

    div.content{
        width: 70vw;
        height: 80%;
    }

    h4.title-project{
        font-size: 1.7rem;
    }

    .text-project{
        font-size: 1.1rem;
        padding: 20rem;
    }

    .content a.github{
        margin-left: 20rem;
        cursor: pointer;
    }

    .left, .right{
        visibility: hidden;
        display: none;
    }
}

@media (min-width: 520px) and (max-width: 900px){
    ul.social-medias{
        margin: 0;
        margin-right: 2rem;
    }

    ul.social-medias li{
        width: 100%;
        margin: 0;
    }

    .project {
        display: grid;
        grid-template-columns: auto ;
        grid-auto-flow: row;
        width: 100vw;
        height: 100%;
        margin-bottom: 2rem;
    }

    div.content{
        width: 35rem;
        height: 95%;
        margin: auto;
    }

    .text-project{
        padding: 0;
    }

    a.github{
        margin-left: 0;
    }

    .left, .right{
        visibility: hidden;
    }
}


@media (min-width: 901px) and (max-width: 1366px){
    body{
        width: 100%;
    }

    .projects{
        width: 95%;
        margin: auto;
        margin-top: 5rem;
    }

    .project{
        margin-top: 2rem;
        padding: 0;
        width: 100%;
        height: auto;
    }

    .project .content{
        width: 35rem;
        height: 95%;
    }
}


@media (min-width: 1367px) and (max-width: 2085px){
    body{
        width: 100%;
    }

    .navigator-sup{
        margin-inline: 25rem;
    }

    .projects{
        width: 95%;
        margin: auto;
        margin-top: 1rem;
    }

    .project{
        margin-top: 2rem;
        padding: 0;
        width: 100%;
    }

    .project .content{
        width: 35rem;
        height: 95%;
    }

    a.github{
        margin-left: 0;
    }
}

@media (min-width: 2086px){
    .navigator-sup{
        margin-inline: 25rem;
    }
    
    .projects{
        width: 95%;
        margin: auto;
        margin-top: 1rem;
    }

    .project{
        margin-top: 2rem;
        padding: 0;
    }

    .content{
        width: 35rem;
        height: 95%;
        margin-inline: 0;
    }

    a.github{
        margin-left: 0;
    }

    .left, .right{
        visibility: hidden;
    }
}