/*CSS da capa*/

body{
    background-image: linear-gradient(to right, rgba(255,0,0,0), rgb(65, 60, 60));
    margin: 0px;
    font-family: Georgia, serif;
}
figure{
  height: 350px;
  width: 100%;
}
#imgCapa{
    height: 100%;
    width: 100%;
    opacity: 0.5;
    border-style: double;
    position: sticky; 
}
ul li img {
    width: 80px;  
    height: 80px; 
    border-radius: 50%;
}
a{
    color: black;
    text-decoration: none;
}
ul{
    margin: 10px;
    padding: 0px;
}
.Projeto1{
    list-style: none;
    float: left;
}
.Projeto2{
  margin: 10px;
  list-style: none;
  float: left;
}
.TopFacu{
}
.Projeto3{
  margin: 10px;
  list-style: none;
  float: left;
}
.container{
    display: grid;
}
h1{
    margin: 20px;
    align-items: center;
    text-shadow: 2px 2px 5px rgb(247, 244, 244);
    text-align: center; /* Centraliza o texto dentro do h1 */

}
footer {
    background-color: #424242;
    color: #fff;
    position: absolute; 
    bottom: 0;
    width: 100%; 
}

.link-hover:hover {
    color: rgb(0, 111, 139); 
    text-decoration: none;
}
.social-list {
    list-style-type: none;
    display: flex; 
    justify-content: center; 
    align-items: center; 
}

.social-list li {
    display: inline-block;
    padding: 20px;
}

.social-list li a {
    color: #fff;
}

/*Sobre*/
p {
    line-height: 1.5;
    margin: 20px;
}
.certificados {
  display: flex;
  flex-wrap: wrap;            /* Quebra linha em telas menores */
  justify-content: center;    /* Centraliza horizontalmente */
  gap: 20px;                  /* Espaço entre as imagens */
  padding: 20px;
  background-color: #fdf7f7;  /* Cor de fundo suave */
  border-radius: 10px;
}

.certificados .Certif {
  width: 250px;               /* Tamanho fixo para os certificados */
  max-width: 100%;
  height: auto;               /* Mantém proporção da imagem */
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);  /* Sombra suave */
  border-radius: 8px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  object-fit: cover;
}

/* Efeito ao passar o mouse */
.certificados .Certif:hover {
  transform: scale(1.03);
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.2);
}
  /*Facudade*/
 .button2 {
    background-color:#e7e7e7;
    color: black;
    padding: 15px 32px;
    text-align: center;
    display: inline-block;
    font-size: 10px;
    margin: 4px 2px;
    cursor: pointer;
    border-radius: 8px;
    transition-duration: 0.4s;
  }
  .button2:hover {
    background-color: #73cbd1; 
    color:black;
  }
   .Topicoh1{
        text-align: center;
        text-transform: uppercase;
        text-shadow: 2px 2px 5px rgb(247, 244, 244);
        display: block;
        margin-top: 60px;
      }
      /*CSS de Estudo T.I.*/
      .estudosection{
        background-color: #73cbd1; 
        border-radius: 5px;
        padding: 10px 0px 10px 10px;
    }
    .container {
        width: 100%;
        display: flex;
        flex-wrap: wrap;
        justify-content: space-between;
      }
      
      .printsfa { 
        width: 90%; 
        background-color: #424242;
       }
      .clearfix::after {
        content: "";
        clear: both;
        display: table;
      }
      .listad{
        display: inline-block;
        padding: 20px;
        border-radius: 10px;
     }
    /*tabela*/
    table {
            width: 100%;
            margin: 20px auto;
            border-collapse: collapse;
            box-shadow: 0 2px 5px rgba(0,0,0,0.1);
        }
        th, td {
            border: 1px solid #ddd;
            padding: 12px;
            text-align: left;
        }
        th {
            background-color:#73cbd1;
            color: white;
        }
        tr{
            background-color: #f2f2f2;
        }
        tr:hover {
            background-color: #ddd;
        }
        caption {
            caption-side: bottom;
            padding: 10px;
            font-size: 0.9em;
            color: #555;
        }
       
/*Projeto - Lampada*/
#turnOff {
    width: 80px;
}
#turnOn {
  width: 80px;
}
/*Projeto - Calculadora*/

#maincalculadora{
    display: flex;
    width: 100%;
    height: 100%;
    justify-content: center;
    align-items: center;
  
  }
  
  #content{
    display: flex;
    flex-direction: column;
    background: rgb(9, 157, 194); 
    width: 100%;
    height: 100%;
    align-items: center;
    justify-content: space-evenly;
    border-radius: 20px;
    box-shadow: 0 0 10px black;
    padding: 14px;
  }
  
  .title{
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    height: 50%;
    font: bold 2.5rem serif;
    border-bottom: solid 5px black;
    margin-bottom: 5px;
  }
  
  .input {
    display: flex;
    width: 100%;
    height: 100%;
    justify-content: space-between;
    align-items: center;
  }
  .input input {
    width: 80%;
    height: 50%;
    border-radius: 5px;
    border:none;
    outline: 0;
    font: bold 1.5rem serif;
    text-align: center;
  }
  
  .input label {
    font: bold 1.5rem serif;
  }
  .result{
    display: flex;
    margin-top: 20px;
    align-items: center;
    width: 100%;
    height: 100%;
    border-radius: 5px;
    font: italic 1.5rem serif;
    box-shadow: 0px 0px 10px black;
    background: #000;
    color: rgb(255,198,0);
    padding: 20px;
    box-sizing: border-box;
    user-select: none;
  }

/* Estilo pasta projeto */

main{

  max-width: 1200px;
  margin: 0 auto;
  padding: 20px;
}
header nav .navbar {
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px;
}

.button {
  background-color:#424242;
  color: white;
  padding: 15px 32px;
  text-align: center;
  display: inline-block;
  font-size: 10px;
  margin: 4px 2px;
  cursor: pointer;
  border-radius: 8px;
}
.button:hover {
  box-shadow: 0 12px 16px 0 rgba(24, 190, 240, 0.24), 0 17px 50px 0 rgba(24, 1, 1, 0.19);
}


/* Título */
h1 {
  text-align: center;
  margin-top: 40px;
  color: #333;
}

/* Seção dos projetos */
.projects {
  display: flex;
  margin-top: 70px;
  height: 400px;
  flex-wrap: wrap;            /* Quebra linha em telas menores */
  justify-content: center;    /* Centraliza horizontalmente */
  gap: 50px;                  /* Espaço entre as imagens */
  padding: 20px;
}

.proj {
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.05);
  transition: transform 0.2s ease-in-out;
  width: 250px;               /* Tamanho fixo para os certificados */
  max-width: 100%;
  height: auto;               /* Mantém proporção da imagem */
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);  /* Sombra suave */
  border-radius: 8px;
  object-fit: cover;

}

.imgproj{
    height: 100%;
    width: 100%;
    border-style: double;
    position: sticky; 
}