*{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    color: rgba(0, 255, 166, 0.64);
    text-decoration: none;
}
body{
    background: url(../fundo-escuro.jpg);
    background-color: RGB(4, 47, 86);
    background-repeat: no-repeat;
    background-size: cover;
    background-attachment: fixed;
}
.projetos{
    height: 160vh;
}
.projetos h2{
    margin-top: 1em;
    font-size: 3em;
    margin-bottom: 1em;
    display: flex;
    align-items: center;
    justify-content: center;
}
.projetos ul li h2{
    font-size: 2em;
}
.projetos ul{
    display: grid;
    grid-gap: 3em;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    justify-content: center;
}
.projetos li{
    margin: 10px auto;
    border-radius: 20px;
    background-color: rgba(0, 0, 0, 0.516);
    display: flex;
    flex-direction: column;
    justify-content: space-around;
    align-items: center;
    height: 23em;
    width: 24em;
}
p{
    font-size: 1.2em;
    align-items: center;
    max-width: 20em;
}
img{
    margin: 10px 0 10px 0;
    border-radius: 10px;
    margin: 0;
    max-width: 20em;
    max-height: 14em;
}
.btn{
    border-radius: 10px;
    background-color: rgba(0, 255, 166, 0.64);
    margin: 10px;
}
a{
    padding: 1em;
    font-weight: bold;
    margin: 10px 0 10px 0;
    color: black;
    text-decoration: none;
}
a:hover{
    color: white;
}



@media(max-width:1320px){
    .projetos{
        height: 240vh;
    }
}

@media(max-width:862px){
    .projetos li{
        margin: 10px auto;
        border-radius: 20px;
        background-color: rgba(0, 0, 0, 0.516);
        display: flex;
        flex-direction: column;
        justify-content: space-around;
        align-items: center;

    }
    .projetos ul{
        display: grid;
        justify-content: center;
        align-items: center;
    }
}
@media(max-width:610px){
    .projetos li{
        border-radius: 20px;
        background-color: rgba(0, 0, 0, 0.516);
        display: flex;
        flex-direction: column;
        justify-content: space-around;
        align-items: center;
        height: 19em;
        width: 22em;

    }
    img{
        border-radius: 10px;
        margin: 0;
        max-width: 16em;
        max-height: 14em;
    }
}