@charset "UTF-8";
@import url('https://fonts.googleapis.com/css2?family=Dancing+Script:wght@400..700&display=swap');

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: Arial, sans-serif;
    background-color: #f5f5f5;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

nav.principal {
    display: flex;
    align-items: center;
    justify-content: space-between; /* Nome no canto esquerdo e links ao centro */
    background-color: #282B22;
    color: aliceblue;
    padding: 0 20px;
    height: 50px;
}

nav.principal .name {
    color: aliceblue;
    font-size: 2rem;
    font-weight: bold; /* Pode ser ajustado para 400 ou 700 conforme necessário */
    margin-right: 50px; /* Distância entre o nome e os links */
    font-family: 'Dancing Script', cursive; /* Adicionando a fonte personalizada */
}

nav.principal .links {
    display: flex;
    justify-content: center; /* Centraliza os links horizontalmente */
    align-items: center; /* Centraliza os links verticalmente */
    gap: 20px; /* Espaçamento uniforme entre os links */
}

nav.principal .links a {
    color: aliceblue;
    text-decoration: none;
    font-weight: bolder;
}

.sobre, .projetos {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin: 40px auto;
    width: 90%;
    max-width: 900px;
}

.sobre h1, .projetos h1 {
    font-size: 2rem;
    margin-bottom: 20px;
}

.notificacao {
    display: flex;
    align-items: center;
    background-color: #ffffff;
    border: 1px solid #ddd;
    border-radius: 10px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    padding: 20px;
    gap: 20px;
    margin-bottom: 20px;
}

.foto {
    width: 20vw; /* 20% da largura da viewport */
    height: 20vw; /* Altura igual para manter o círculo */
    border-radius: 50%;
    object-fit: cover;
    object-position: center;
    /*border: 2px solid #282B22;*/
}

.conteudo h2 {
    font-size: 1.5rem;
    color: #282B22;
}

.conteudo p {
    color: #555;
    line-height: 1.5;
}

.projetos-container {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 20px;
    width: 100%;
    margin-top: 20px;
}

.projeto-card {
    background-color: #fff;
    border-radius: 10px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    transition: transform 0.3s ease-in-out;
}

.projeto-card:hover {
    transform: scale(1.05);
}

.foto-projeto {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-bottom: 2px solid #ddd;
}

.conteudo-projeto {
    padding: 15px;
}

.conteudo-projeto h2 {
    font-size: 1.2rem;
    margin-bottom: 10px;
    color: #282B22;
}

.conteudo-projeto p {
    color: #555;
    font-size: 0.95rem;
    line-height: 1.4;
}

.botao-repositorio {
    display: inline-block;
    background-color: #030303;
    color: white;
    text-decoration: none;
    padding: 10px 20px;
    border-radius: 5px;
    font-weight: bold;
    margin-top: 15px;
    text-align: center;
    transition: background-color 0.3s ease;
}

.botao-repositorio:hover {
    background-color: #1b1c1d;
}
