* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

.footer{
  display: grid;
  grid-template-columns: 1fr;
  background-color: black;
  gap:10px;
}


.logo2:nth-child(1) img{
  width:100%;
  max-width: 300px;
  height: auto;
  grid-column: 1/1;
  grid-row: 1/1;

}


/*estilos de los divs de h2 e img de iconos*/

.phone:nth-child(2){

  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  grid-column: 1/1;
  grid-row: 2/2;
}

.phone:nth-child(2) h2{
  color: white;
  font-size: 2rem;
  padding-top: 2rem;
}
.iconos{
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: center;
  gap: 1rem;
}

.iconos img{
  width: 60px;
  height: auto;
}
/*fin*/

.derechos:nth-child(3){
  
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.derechos:nth-child(3) p{
  padding: .5rem 1rem;
  color: white;
  text-align: center;
  grid-column: 1/1;
  grid-row:3/3;

}


@media(min-width: 768px){


  .footer{
    display: grid;
    grid-template-columns: repeat(2,2fr);
    background-color: black;
    gap:10px;
  }


  .logo2:nth-child(1){
    display: flex;
    justify-content: center;
    align-items: center;
    grid-column: 1/1;
    grid-row: 1/1;


  }
  .logo2:nth-child(1) img{
    width:100%;
    max-width: 500px;
    height: auto;
  }


  .phone:nth-child(2){

    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    grid-column: 2/3;
    grid-row: 1/2;
  }
  
  .phone:nth-child(2) h2{
    color: white;
    font-size: 2rem;
    padding-top: 2rem;
  }
  .iconos{
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    gap: 1rem;
  }

  .iconos img{
    width: 60px;
    height: auto;
  }

  
.derechos:nth-child(3){
  
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  grid-column: 1/3;
  grid-row:2/2;
}

.derechos:nth-child(3) p{
  padding: .5rem 1rem;
  color: white;
  text-align: center;

}
}