@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700;800;900&display=swap');

/* === Transições Globais === */
body { transition: background-color 0.3s ease, color 0.3s ease; }
.jumbotron { padding:  4rem 2rem 1rem 2rem; }

/* === Sublinhado === */
u {
    text-decoration: underline;
    text-decoration-color: rgb(191, 253, 147);
    text-decoration-style: wavy;
}

.carta {
    font-family: 'Poppins', sans-serif;
}
/* === Cards de Redes Sociais === */
.social-card {
    text-decoration: none;
    display: block;
    transition: transform 0.3s ease, filter 0.3s ease;
}
.social-card:hover { transform: scale(1.1); z-index: 1; }
.social-card:not(:hover) { filter: brightness(0.7); }

.social-card .card {
    color: #fff;
    font-size: 1.2rem;
    background-size: cover;
    background-position: center;
    border: none;
    height: 0;
    padding-bottom: 100%;
    position: relative;
    overflow: hidden;
}
.social-card .card-body {
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
}


/* === Botões do Modal === */
.btn-theme {
    width: 100px;
    padding: 10px;
    font-size: 16px;
}
.modal-body { display: flex; justify-content: space-around; gap: 10px; }

/* === Portfólio === */
.portfolio-card {
    text-decoration: none;
    display: block;
    transition: transform 0.3s ease;
}
.portfolio-card:hover { transform: scale(1.05); z-index: 1; }

.portfolio-item {
    display: flex;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    transition: box-shadow 0.3s ease;
}
.portfolio-item:hover { box-shadow: 0 8px 12px rgba(0, 0, 0, 0.2); }

.image-container {
    position: relative;
    width: 60%;
    overflow: hidden;
}
.image-container img { width: 100%; height: auto; display: block; }

.overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.5);
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}
.image-container:hover .overlay { opacity: 1; }
.overlay-text { color: #fff; font-weight: bold; font-size: 1.2rem; text-align: center; }

.description {
    width: 40%;
    padding: 0 16px;
    display: flex;
    align-items: center;
    font-size: 1rem;
}

/* === Links e Botões === */
main a { color: inherit; text-decoration: none; }
main a:hover { color: inherit; }

.opaco {
    opacity: 0.8;
    transition: opacity 0.3s ease;
}
.opaco:hover {
    opacity: 1;
    text-decoration: underline;
    text-decoration-color: rgb(191, 253, 147);
    text-decoration-style: wavy;
}

/* === Animações === */
@keyframes appear {
    from { opacity: 0; scale: 0; }
    to { opacity: 1; scale: 1; }
}

.bloco {
    animation: appear linear;
    animation-timeline: view();
    animation-range: entry 0% cover 30%;
}

/* === Responsividade === */
@media (max-width: 768px) {
    .portfolio-item { flex-direction: column; }
    .image-container, .description { width: 100%; }
    .description { padding: 16px; text-align: center; }
}