body {
    background-color: rgb(1, 1, 94);
    color: rgb(155, 169, 180);
    font-family: 'Courier New', monospace;
}

#nav {
    background-color: rgb(1, 1, 94);
}

#button {
    position: absolute;
}

/* Imagem redonda */
.img {
    border-radius: 50%;
    width: 150px;
    height: 150px;
    object-fit: cover;
}

/* Seção principal centralizada corretamente */
#section1 {
    background-color: rgb(1, 1, 94);
    max-width: 500px;
    width: 100%;
    margin: 0 auto;
    padding: 40px 20px;
}

/* Nome animado */
#MeuNome {
    width: 0;
    margin: 0 auto;
    color: rgb(155, 169, 180);
    font-size: 2rem;
    overflow: hidden;
    border-right: 2px solid rgb(155, 169, 180);
    white-space: nowrap;
    animation: typing 4s steps(20, end) infinite,
               blink 0.7s step-end infinite;
}

/* Animação de digitação */
@keyframes typing {
    from { width: 0 }
    to { width: 20ch }
}

/* Cursor piscando */
@keyframes blink {
    50% { border-color: transparent; }
}

/* Texto dos cards */
.card-subtitle {
    text-align: justify;
}

/* Cards menores */
.card-projeto {
    max-width: 220px;
    width: 100%;
    transition: 0.3s;
}

.card-projeto:hover {
    transform: translateY(-6px);
}

/* Imagem do card */
.card-img-top {
    height: 140px;
    object-fit: cover;
}
