body {
    font-family: 'Roboto', sans-serif;
    background: transparent;
    color: #f5f5f5;
    text-align: center;
    padding: 20px;
}

#dropdownMenuButton.btn.btn-secondary.dropdown-toggle {
    color: #483D8B;
    Font: 16px Roboto, sans-serif;
    background: #F0FFFF;
    padding: 6px 12px;
}

/* Foto de perfil */
.profile-photo {
    width: 150px;
    height: 150px;
    border-radius: 50%;
    border: 3px solid #f5f5f5;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

h1 {
    font-size: 2.5rem;
    margin-bottom: 20px;
    color: #eaeaea;
}

p {
    font-size: 24px;
    line-height: 1.8;
    color: #d1d1d1;
}


#menu-toggle {
    color: #F5F5F5;
    font-size: 15px;
    font-family: 'Roboto', sans-serif;
    padding: 10px 20px;
    background: darkslateblue;
    border: none;

}

button:hover {
    color: #ffce00;
}

.lugrasimo-regular {
  font-family: "Lugrasimo", serif;
  font-style: normal;
}

.description {
  font-size: 16px;
  color: #fff;
  text-align: center;
}

/* Ajustes para dispositivos móveis */
@media (max-width: 768px) {
  .description {
    /* Garanta que a descrição seja visível e tenha um tamanho adequado */
    display: block;
    font-size: 14px;
  }
}

main {
    min-height: auto;
}

#home {
    background: #f2f2f2;
    color: #f0f0f0;
    text-align: center;
    padding: 50px 20px;
}

#home img {
    border-radius: 50%;
    border: 3px solid #90caf9;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
    margin-bottom: 20px;
}

#home h1 {
    font-family: 'Arial', sans-serif;
    margin-bottom: 10px;
    font-size: 40px;
    font-weight: revert;
}

#home p {
    font-size: 24px;
    line-height: 1.6;
    max-width: 600px;
    margin: 0 auto;
    font-weight: 400;
}
/* Seção Home */
/* #home {
    padding: 50px 20px;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 30px;
    background-color: #212529;
    min-height: 100vh;
}
*/
/*
#projects {
   background-color: #1e1e1e;
}
*/
/* Melhorias na seção Projetos */
#projects {
    background: radial-gradient(transparent, gray);
    color: #f0f0f0;
    text-align: center;
    padding: 50px 20px;
}

#projects h2 {
    margin-bottom: 20px;
    font-size: 40px;
    font-weight: revert;
    color: lightgrey;
}

#projects .dropdown {
    margin: 20px auto;
    width: 250px;
}

#projects .carousel-inner {
    margin-top: 30px;
    padding: 20px;
    border-radius: 10px;
    background: #F2F2F2;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.5);
}

#projects .carousel-caption {
    background:  radial-gradient(black, transparent);
    padding: 10px 20px;
    border-radius: 5px;
}

#projects .carousel-caption p {
    font-size: 0.9em;
    line-height: 1.4;
    background: radial-gradient(transparent, gray);
        color: #fff;
}

#projects .carousel-caption a {
    display: inline-block;
    margin-top: 10px;
    font-size: 0.8em;
    padding: 5px 10px;
    background: radial-gradient(transparent, gray);
    color: #fff;
    text-decoration: none;
    border-radius: 4px;
    transition: background 0.3s;
}

#projects .carousel-caption a:hover {
    background: #45a049;
}

#about {
    background-color: #F2F2F2;
    color: darkslategray;
    padding: 50px 20px;
    margin: 0 auto;
    text-align: center;
}

#about .section-title {
    font-size: 40px;
    margin: 0px 0px 20px;
    color: lightgrey; 
    font-weight: revert;
}

#about .section-description {
    color: #483D8B;
    font-size: 24px;
    margin: 0px 76px 30px;
    font-weight: 400;
}

#about .skills-icons {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 20px;
}

#about .icon {
    width: 60px;
    height: 60px;
    transition: transform 0.3s ease;
}

#about .icon:hover {
    transform: scale(1.1);
    cursor: pointer;
}

/* Menu fullscreen */
#fullscreen-menu {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.9); /* Fundo escuro transparente */
    color: #fff;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    z-index: 999;
    transition: opacity 0.3s ease, visibility 0.3s ease;
    opacity: 0;
    visibility: hidden;
}

/* Menu visível */
#fullscreen-menu.visible {
    opacity: 1;
    visibility: visible;
}

/* Botão de fechar menu */
#menu-close {
    position: absolute;
    top: 20px;
    right: 20px;
    font-size: 1.5rem;
    background: none;
    border: none;
    color: #fff;
    cursor: pointer;
}

/* Links do menu */
#fullscreen-menu ul {
    list-style: none;
    text-align: center;
}

#fullscreen-menu li {
    margin: 20px 0;
}

#fullscreen-menu a {
    color: #fff;
    text-decoration: none;
    font-size: 2rem;
    transition: color 0.3s;
}

#fullscreen-menu a:hover {
    color: #f39c12;
}

/* Descrição na Home */
.home-description {
    max-width: 600px;
}

.home-description h1 {
    font-size: 24px;
    margin-bottom: 20px;
    color: lightgrey;
    font-weight: bold;
}

.home-description p {
    font-size: 24px;
    line-height: 1.6;
    color: darkslateblue;
    font-weight: 400;
}

/* Seções genéricas */
section {
    padding: 50px 20px;
    text-align: center;
    visibility: hidden; 
    opacity: 0; 
    transition: opacity 0.3s ease;
}

section.content-section {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

section.content-section.visible {
     visibility: visible; 
     opacity: 1;
}

section h2 {
    font-size: 1.8rem;
    margin-bottom: 20px;
    color: #555;
    font-weight: revert;

}

section p {
    font-size: 18px;
    line-height: 1.6;
    color: #f2f2f2;
    max-width: 600px;
    margin: auto;
    font-weight: 400;    
}

header, footer, section {
    background-color: #1e1e1e; /* Fundo escuro para as seções */
}

a {
    color: #bb86fc; /* Cor dos links em roxo */
}

.dropdown {
  color: #fff;
  padding: 10px;
}
.dropdown-item {
  padding: 5px 10px;
}
.dropdown-item:hover {
  background-color: darkslateblue;
  color: white;
    
}

.carousel-inner {
    background: #F2F2F2;
    margin: 30px 0px 0 px;
    padding: 20px;
}

/*
.carousel-control-prev, .carousel-control-next {
    background-color: #333; 
    color: white;
}

.carousel-control-prev-icon, .carousel-control-next-icon {
    background-color: #fff;
}


.carousel-item img {
    transform: scale(0.35); 
    object-fit: cover; 
    margin: 0 auto; 
    display: block; 
}

.carousel-control-prev-icon, .carousel-control-next-icon {
    background-color: #121212;
}

.carousel-control-prev, .carousel-control-next{
     background-color: #121212;
}
*/
    
.title-project {
  font-size: 24px;
  font-weight: bold;
  text-align: center;
}

.description-project {
  font-size: 40px;
  color: #f2f2f2;
  text-align: center;
}

.social-links {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-bottom: 20px;
}

.social-icon {
    width: 40px;
    height: 40px;
    transition: transform 0.3s;
}

.social-icon:hover {
    transform: scale(1.2);
}

.email-form {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
}

.email-form label {
    font-size: 1rem;
    color: #fff;
}

.email-form input {
    padding: 10px;
    border: 1px solid #444;
    border-radius: 5px;
    background-color: #222;
    color: #fff;
    width: 80%;
}

.email-form input::placeholder {
    color: #aaa;
}

.contato-description {
    text-align: center;
    color: #F2F2F2;
    max-width: 600px;    
}

#contato button {
    color: darkslateblue;
    font: 16px Roboto, sans-serif;
    background: #F2F2F2;
    padding: 10px 20px;
    cursor: pointer;
    border: none;
}

html {
    scroll-behavior: smooth;
}

.skills-container {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-top: 20px;
}

.skills-list {
    list-style: none;
    padding: 0;
    text-align: left;
}

.skills-list li {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 10px;
    font-size: 1.2rem;
}

.skills-list img {
    width: 30px;
    height: 30px;
}

.btn-sm {
    font-size: 0.8rem;
    padding: 5px 10px;
    background: darkslateblue;
}

#contact {
  text-align: center;
  padding: 50px;
  background: radial-gradient(gray, transparent);
}

#contact h2 {
  display: flex;
  align-items: center;
  justify-content: center;
  color: lightgrey;
  font-size: 40px;
  font-weight: revert;
}

#contact p {
  font-family: 'Roboto', sans-serif;
  color: #F2F2F2;
  font-size: 24px;
  font-weight: 400;
}

.social-icons a {
  margin: 0 10px;
  color: #333;
  font-size: 24px;
}

form {
  margin-top: 20px;
}

input[type="email"] {
  padding: 10px;
  width: 250px;
}

button, input, optgroup, select, textarea {
    margin: 0;
    font-family: inherit;
    /* font-size: inherit; */
    line-height: inherit;
}

/* Ajustes específicos para telas pequenas */
/* @media (max-width: 768px) {
    .description {
        bottom: 20px; /* Eleva a legenda na tela */
/*        font-size: 12px; /* Reduz o tamanho da fonte */
 /*   } */
/* } */
img {
  height: 50vh;
}
*/
section.content-section.text-center.visible {
    color: #F2F2F2;
    font: 24px Roboto, sans-serif;
    padding: 50px 20px;
    font-weight: 400;
}

section {
  margin: 50px auto;
  max-width: 100%;
  padding: 20px;
  opacity: 0; /* Inicialmente invisível */
  transform: scaleX(0); /* Reduzido verticalmente */
  transform-origin: top;
  transition: opacity 1.9s ease, transform 1.9s ease; /* Transição suave */
}

section.visible {
  opacity: 1; /* Visível */
  transform: scaleX(1); /* Expandido para o tamanho original */
}

button#menu-toggle {
  background: radial-gradient(gray, transparent);
  color:  #F5F5F5;
  border: none;
  padding: 0.5rem 1rem;
  font-size: 1.2rem;
  cursor: pointer;
  margin-top: 1rem;
  opacity: 0; /* Inicialmente invisível */
  transform: translateY(-20px); /* Deslocado para cima */
  transition: opacity 1.9s ease, transform 1.9s ease; /* Animação suave */
}

button#menu-toggle.visible {
  opacity: 1; /* Visível */
  transform: translateX(0); /* Posição original */
}

.about-container {
    display: flex;
    justify-content: space-around;
    flex-wrap: wrap;
    gap: 20px;
    max-width: 90%;
    margin: 0 auto;
}

.about-list {
    background: radial-gradient(gray, transparent); /* darkslateblue transparente */
    border-radius: 10px;
    width: 30%;
    min-width: 250px;
    text-align: left;
    backdrop-filter: blur(10px); /* Suaviza o fundo */
    transition: transform 0.3s ease, background 0.3s ease;
}

.about-list:hover {
    background: rgba(72, 61, 139, 0.4);
    transform: translateY(-5px);
}

.about-list.desafios {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
   /* min-height: 50px; */
    height: 100%;
    padding: 20px;
    transition: height 0.5s ease-in-out;
    background: radial-gradient(gray, transparent);
    border-radius: 10px;
    color: darkslateblue;
}

.about-list.desafios:hover {
    background: rgba(72, 61, 139, 0.4);
    transform: translateY(-5px);
}

h3 {
    color: darkslateblue;
    text-align: center;
}

p {
    color: darkslategray;
}

.skills-icons {
    display: flex;
    justify-content: center;
    gap: 15px;
    flex-wrap: wrap;
}

.icon {
    width: 50px;
    transition: transform 0.3s ease, filter 0.3s ease;
}

.icon:hover {
    transform: scale(1.1);
    filter: brightness(1.3);
}
section p {
    color: darkslategray;
}

@media (max-width: 768px) {
    .about-container {
        flex-direction: column;
        align-items: center;
    }

    .about-list {
        max-width: 100%;
        margin-bottom: 20px;
    }
}

.project {
    color: #F2F2F2;
}

.btn-download {
  background: radial-gradient(gray, transparent);
  color: white;
  padding: 10px 32px;
  text-align: center;
  text-decoration: none;
  display: inline-block;
  font-size: 16px;
}

@media (max-width: 768px) {
  #about {
    padding: 10px;
  }
  #about h2 {
    font-size: 24px;
  }
}
/*
@media (min-width: 768px) {
    .about-container {
        flex-direction: row;
        align-items: center;
    }
*/ 
.section-container {
  display: flex; /* Transforma o container em um flex container */
  justify-content: space-around; /* Distribui os itens de forma uniforme */
  align-items: center; /* Centraliza os itens verticalmente */
}

.section-title {
  text-align: center; /* Centraliza o texto do título */
}

#footer {
    line-height: 1.8;
    color: #F2F2F2;
    background: radial-gradient(gray, transparent);
    font-weight: 400;
}

.diplomas-section {
  padding: 40px 20px;
  text-align: center;
  background-color: #f9f9f9;
}

.diplomas-container {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 20px;
  margin-top: 20px;
}

.diploma-card {
  background-color: #fff;
  border-radius: 8px;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
  padding: 15px; /* Reduzi um pouco o padding para acomodar a imagem */
  width: 300px;
  text-align: center; /* Centralizar o conteúdo */
  transition: transform 0.3s ease-in-out, box-shadow 0.3s ease-in-out; /* Transição suave para a animação */
}

.diploma-imagem {
  max-width: 100%; /* A imagem não deve ultrapassar a largura do card */
  height: auto;
  margin-bottom: 10px;
  border-radius: 4px; /* Opcional: arredondar um pouco as bordas da imagem */
}

.diploma-card h3 {
  margin-top: 0;
  color: #333;
  font-size: 1.1em;
}

.diploma-card p {
  color: #666;
  font-size: 0.9em;
  margin-bottom: 8px;
}

.diploma-card .instituicao {
  font-style: italic;
}

.diploma-card .data {
  font-size: 0.8em;
  color: #888;
}

/* Animação ao passar o mouse */
.diploma-card:hover {
  transform: translateY(-5px) scale(1.02); /* Levemente para cima e um pequeno zoom */
  box-shadow: 0 8px 12px rgba(0, 0, 0, 0.15); /* Sombra mais pronunciada */
}

.diploma-card a {
  text-decoration: none; 
}

.diploma-card a:hover {
  cursor: pointer;
}

/*
#flex{
    display: flex;
    flex-direction: column-reverse;
}
*/
