@import url('https://fonts.googleapis.com/css2?family=Roboto&display=swap');
/* font-family: 'Roboto', sans-serif; */
@import url('https://fonts.googleapis.com/css2?family=Poppins:ital,wght@1,300&display=swap');
/* font-family: 'Poppins', sans-serif; */

body {
    font-family: sans-serif;
    margin: 0;
    padding: 0;
}

h3 {
    text-align: center;
    font-size: 280%;
}

.sessao-um {
    margin-top: 20px;
    width: 100%;
    display: flex;
    height: 22%;
    justify-content: center;
}

.rede-social {
    background: #fff;
    font-weight: bold;
    box-shadow: 0 4px 24px 0 rgba(32,48,189,0.18), 0 1.5px 4px 0 rgba(32,48,189,0.10);
    transition: background 0.3s, color 0.3s, transform 0.2s, box-shadow 0.3s;
    outline: none;
    border-radius: 40px;
    width: fit-content;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: 3%;
    padding: 0 10px;
    border: none;
}

.rede-social:hover {
    color: #fff;
    transform: scale(1.05);
}

.rede-social a {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100%;
}

.rede-social img {
    width: 35px;
    height: 35px;
    margin: 8px 4px;
    border-radius: 10px;
    transition: transform 0.2s;
}

.rede-social img:hover {
    transform: scale(1.2);
}

#eu {
    margin: 2% 5% 2% 5%;
    height: 250px;
}

#eu2 {
    display: none;
}

.sobre-mim, .mensagem, .rede-social{
    margin-top: 3%;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 150px;
    height: 40px;  
    border-radius: 40px;
    padding: 10px;
    font-family: 'Roboto', sans-serif;
    font-size: 30px;
}

.sobre-mim {
    cursor: pointer;
    background: #fff;
    color: #2030bd;
    font-weight: bold;
    box-shadow: 0 4px 24px 0 rgba(32,48,189,0.18), 0 1.5px 4px 0 rgba(32,48,189,0.10);
    transition: background 0.3s, color 0.3s, transform 0.2s, box-shadow 0.3s;
    outline: none;
    font-size: 1.1rem;
    letter-spacing: 1px;
    justify-content: center;
    align-items: center;
    display: flex;
    border: none;
}

.sobre-mim:hover {
    background: #2030bd;
    color: #fff;
    transform: scale(1.05);
}

.mensagem {
    margin-top: 2%;
    background: #fff;
    color: #2030bd;
    font-weight: bold;
    box-shadow: 0 4px 24px 0 rgba(32,48,189,0.18), 0 1.5px 4px 0 rgba(32,48,189,0.10);
    transition: background 0.3s, color 0.3s, transform 0.2s, box-shadow 0.3s;
    cursor: pointer;
    font-size: 1.1rem;
    justify-content: center;
    align-items: center;
    display: flex;
    border: none;
}

.mensagem:hover {
    background: #2030bd;
    color: #fff;
    transform: scale(1.05);
}

.content-about-me {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background-color: #fff;
    padding: 20px;
    max-width: 600px;
    text-align: center;
    border-radius: 8px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.3);
}

.content-about-me p {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    font-size: large;
}

.sessao-dois{
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
}

.mensagem a {
    text-decoration: none;
    color: #000000;
}

.modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5); 
    z-index: 2; /* Adicione esta linha */
  }
  
.modal img {
    width: 100%;
    border-radius: 10px;
    border: solid 1px #c0c0c0;
}

#video{
    width: 100%; 
    height: 500px;
}

  .modal-content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background-color: #fff;
    padding: 20px;
    max-width: 900px;
    text-align: center;
    border-radius: 8px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.3);
  }
  
  
  .fechar {
    position: absolute;
    top: 10px;
    right: 10px;
    font-size: 20px;
    cursor: pointer;
    background-color: #a53f3f;
    padding: 5px 10px 5px 10px;
    border-radius: 5px;
    color: #ffffff;
  }
  
  
  .modal-content a {
    background-color: #4caf50;
    color: white;
    padding: 10px 15px;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    margin-top: 10px;
    text-decoration: none;
    margin: 0px 10px 0px 10px;
  }

  #modalRepositorio{
    background-color: #2030bd
  }
  
  /* Efeito de hover para o botão "Ver Online" */
  .modal-content a:hover {
    background-color: #45a049;
  }
  

nav{
    margin-top: 50px;
}

.navbar{
    display: flex;
    justify-content: space-around;
    align-items: center;
    height: 125px;
}

.projetos, .certificados, .tecnologias {
    margin-top: 20px;
    flex-wrap: wrap;
    display: flex;
    justify-content: center;
}

#botao1:hover, #botao2:hover, #botao3:hover{
  transform: scale(1.10);
}

#botao1, #botao2, #botao3{
  transition: transform 0.2s;
}

.certificate{
    margin-left: 50px;
    margin-right: 50px;
}

.project {
    width: 420px;
    height: 240px;
    margin: 30px 30px 10px 30px;
    display: flex;
    flex-direction: column;
    background: #f8f8fa;
    border-radius: 12px 12px 10px 10px;
    box-shadow: 0 2px 8px rgba(32,48,189,0.10);
    overflow: hidden;
    border: 1.5px solid #e0e0e0;
    position: relative;
    transition: transform 0.3s, box-shadow 0.3s;
}

.project:hover {
    transform: scale(1.04);
    box-shadow: 0 8px 24px rgba(32,48,189,0.18);
}

.project-mac-header {
    height: 32px;
    background: linear-gradient(90deg, #e0e0e0 60%, #f8f8fa 100%);
    display: flex;
    align-items: center;
    justify-content: flex-start;
    padding: 0 0px;
    border-radius: 12px 12px 0 0;
    border-bottom: 1px solid #e0e0e0;
    gap: 0;
    position: relative;
}
.project-mac-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    display: inline-block;
    margin-left: 0;
    margin-right: 0;
    z-index: 1;
    flex-shrink: 0;
    box-shadow: 0 0 0 1px #bbb;
}
.project-mac-dot.red { background: #ff5f56; margin-left: 16px; border: 1px solid #e0443e; }
.project-mac-dot.yellow { background: #ffbd2e; margin-left: 6px; border: 1px solid #dea123; }
.project-mac-dot.green { background: #27c93f; margin-left: 6px; border: 1px solid #13a10e; }
.project-mac-title {
    position: absolute;
    left: 0; right: 0;
    top: 0; bottom: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    font-size: 1.1rem;
    font-weight: 600;
    color: #222;
    letter-spacing: 0.5px;
    pointer-events: none;
    z-index: 1;
}

.project-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: stretch;
    justify-content: center;
    padding: 0;
    cursor: pointer;
}
.project-content img {
    width: 100%;
    height: 208px;
    object-fit: cover;
    border-radius: 0 0 10px 10px;
    margin: 0;
    box-shadow: none;
}
.project-content h2 {
    font-size: 1.2rem;
    margin: 0 0 6px 0;
    color: #222;
    font-weight: 600;
    text-align: center;
}

.certificados {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    padding: 20px;
    max-width: 1200px;
    margin: 0 auto;
}

.degree {
    width: 100%;
    margin: 0;
    background: #f8f8fa;
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(32,48,189,0.10);
    overflow: hidden;
    border: 1.5px solid #e0e0e0;
    transition: transform 0.3s, box-shadow 0.3s;
}

.degree:hover {
    transform: scale(1.04);
    box-shadow: 0 8px 24px rgba(32,48,189,0.18);
}

.degree img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 12px;
}

.tecnologias {
    display: grid;
    grid-template-columns: repeat(auto-fit, 250px);
    gap: 25px;
    padding: 20px;
    max-width: 1200px;
    margin: 0 auto;
    justify-content: center;
}

.tech {
    background: #f8f8fa;
    border-radius: 12px;
    padding: 20px;
    box-shadow: 0 2px 8px rgba(32,48,189,0.10);
    border: 1.5px solid #e0e0e0;
    transition: transform 0.3s, box-shadow 0.3s;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 250px;
    height: 250px;
}

.tech:hover {
    transform: scale(1.04);
    box-shadow: 0 8px 24px rgba(32,48,189,0.18);
}

.tech .info {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 15px;
    width: 100%;
}

.tech .info img {
    width: auto;
    height: 80px;
    object-fit: contain;
    transition: transform 0.3s;
}

.tech:hover .info img {
    transform: scale(1.1);
}

.tech .info h1 {
    font-size: 1.1rem;
    margin: 10px 0 0 0;
    color: #222;
    font-weight: 600;
    text-align: center;
}

#eu3 {
    display: none;
}

@media only screen and (max-width: 600px) {

    #profile {
        display: block;
        height: 260px;
        width: 260px;
        margin: auto;
    }
    #eu {
        display: none;
    }

    #eu3 {
        display: block;
    }

    .certificados {
        grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
        gap: 15px;
        padding: 10px;
    }

    .tecnologias {
        grid-template-columns: repeat(auto-fit, 150px);
        gap: 15px;
        padding: 10px;
    }

    .degree {
        height: auto;
    }

    .tech {
        padding: 40px;
        width: 120px;
        height: 120px;
    }

    .tech .info img {
        height: 50px;
    }

    .tech .info h1 {
        font-size: 0.9rem;
    }
}
