@media (min-width: 720px) {
    body {
        align-items: center;
    }

    header h1, h2 {
        margin-top: 10px;
    }

    main {
        width: 85%;
        justify-content: center;
        margin-top: 30px;
    }

    header {
        margin-bottom: 0;
    }

   #imag-header img {
    border-radius: 50%;
    object-fit: contain;
}
    #icones-header {
        margin-top: 30px;
    }

    #icones-header img:hover {
    transition: 0.8s;
    width: 3.2em;
}

    #links-uteis {
        display: grid;
        grid-template-columns: repeat(1fr, 1fr);
        gap: 1vw;
        align-items: start;
    }

    #icones-header img {
        width: 35px;
        height: 35px;
        margin: 12px 10px;
    }

    #icones-header img:hover {
    filter: invert(39%) sepia(98%) saturate(749%) hue-rotate(358deg) brightness(103%) contrast(101%);
    opacity: 1;
    transition: 0.8s;
    width: 40px;
    height: 38px;
}

    footer { height: 40px; }


}

@media (min-width: 900px) {

    /*----------------Sobre mim----------------*/

    
#sobre-mim{
    display: flex;
    flex-flow: row-reverse;
    width: 100%;
    text-align: center;
    align-items: center;
    margin-bottom: 20%;
}

#sobre-mim h1{
    font-size: 2em;
    padding-bottom: 5px;
}

#sobre-mim h2{
    padding-bottom: 10px;
}

#sobre-mim h3{
    font-family: 'Playfair Display', serif;
    font-size: 1.5em;
    padding-bottom: 5px;
  
}

#sobre-mim p{
    font-family: 'Courier New', Courier, monospace;
    margin: 20px 0;
    line-height: 1.6em;
    border-top: 3px dashed var(--cinza-claro);
}

#sobre-mim h5{
    font-family: 'rubik', sans-serif;
    opacity: 0.7;
}

/*------------------------Soft Skills---------------------------------*/


#soft-skills {
  position: relative; /* precisa disso pra posicionar o card dentro */
  display: grid;
  grid-template-columns: repeat(3, 1fr); /* 2 colunas */
  grid-template-rows: repeat(9, 1fr);    /* 3 linhas */
  gap: 50px;
  height: 100vh;
  border-radius: 12px;
  cursor: pointer;
  color: #FF6B00;
  font-weight: bold;
  font-size: .6em;
  padding-top: 10px;
}

#minha-skill {
  position: relative; /* precisa disso pra posicionar o card dentro */
  display: inline-block;
  width: 300px;
  height: 120px;
  border-radius: 12px;
  cursor: pointer;
  background-color: #ff6a0064;
  color: #BDBDBD;
  font-weight: bold;
  font-size: 2em;
  padding-top: 10px;
}

/* Card inicialmente escondido */
#card-skill {
  width: 400px;
  height: 150px;
  background-color: var(--cinza-escuro);
  border: 1px solid var(--laranja);
  padding-top: 10px;
  opacity: 0;
  visibility: hidden;
  position: absolute;
  top: -40vw;
  left: -50vw;
  z-index: 10;
  border-radius: 12px;
  border: 2px solid var(--laranja);
  transition: all 0.4s ease; /* transição suave */
}

#minha-skill:hover #card-skill {
  opacity: 1;
  visibility: visible;
  top: 0px;
  left: -60px;
}

#card-skill h1 {
    font-size: 1.5em;
}

#card-skill p {
    font-size: .7em;
    margin-top: 10px;
}

/*----------------------Hard Skills-------------------------*/

#hard-skills {
    width: 100%;
    height: 100vh;
    display: grid;
    grid-template-columns: repeat(2, 1fr); /* 2 colunas */
    grid-template-rows: repeat(9, 1fr);    /* 3 linhas */
    gap:0px; /* espaço entre os itens */
    place-items: center; /* centraliza os itens */
}

#habilidades {
    width: 150px;
    height: 150px;
    border-radius: 12px;
    cursor: pointer;
}

/*----------------------Oque posso fazer-------------------------*/


#oquepossofazer {
    width: 90%;
    height: auto;
   margin-bottom: 100px;
  
   flex-direction: row wrap;
    align-items: center;
    margin: auto;
    margin-bottom: 100px;
}

#cards-oque {
    display: grid;
    grid-template-columns: repeat(2, 1fr); /* 3 colunas */
    grid-template-rows: repeat(3, 1fr);    
    gap: 20px;
    place-items: center; 
}


/*----------------------Projetos-------------------------*/

#meus-projetos .card-projeto {
    width: 90vw;
    height: 530px;
    background-color: var(--cinza-escuro);
    border-radius: 12px;
    text-align: center;
    display: flex;
    flex-flow: column nowrap;
    align-items: center;
    margin: 10px;
    border: 1px solid var(--laranja);
}

.card-projeto h2 {
    font-size: 2em;
    margin-top: 20px;
}
.card-projeto p {
    font-size: 1.2em;
    margin-top: 10px;
}

.cel-pc {
    width: 100%;
    height: 400px;
    display: flex;
    flex-flow: row nowrap;
    justify-content: center;
    align-items: center;
    margin-top: 0px;
}

.celular {
    width: 150px;
    height: 300px;
    border: 10px solid var(--laranja);
    border-radius: 12px;
}

.pc {
    width: 400px;
    height: 250px;
    border: 10px solid var(--laranja);
    border-radius: 12px;
    margin: 0px 20px;
}

.botao-projeto button{
    margin: -20px 0px;
}

/*----------------------Contatos-------------------------*/
#contatos {
  width: 100%;
  height: auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
  margin-top: 100px;
}

#contatos h1 {
  color: var(--laranja);
  font-size: 2em;
  margin-bottom: 0px;
}

#contato {
  width: 100vw;
  height: 200px;
  background-color: var(--laranja);
  border-radius: 12px;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  gap: 40px;
}

#contato a img {
  width: 100px;
  height: 100px;
  filter: invert(100%);
  opacity: 0.7;
  cursor: pointer;
  transition: 0.8s;
}

#contato a img:hover {
  filter: invert(9%) sepia(98%) saturate(749%) hue-rotate(358deg) brightness(103%) contrast(101%);
  opacity: 1;
  width: 105px;
}


}




