@import 'colors.css';

section {
  width: 100%;
  margin: 0;
  padding: 0;
  box-sizing: border-box;

}

.fa-brands {
  overflow: hidden;
}

@media (min-width: 1920px) {

  .container-footer {
    display: flex;
    justify-content: flex-end;
    align-items: center;
    flex-direction: column;
    background-image: url(../media/footer_web.png);
    background-size: 100% 100%;
    background-repeat: no-repeat;
    background-position: top;
    width: 95%;
    height: 550px;
    margin-top: auto;
  }

  .ptdores {
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    width: 60%;
    gap: 2rem;
  }

  .pat-a {
    display: flex;
    justify-content: center;
    align-items: flex-end;
    width: 20%;
  }

  .redes {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    width: 80vw;
    margin-top: 50px;
    font-family: 'MiFuente';
    font-size: 26px;
  }

  .i-span-redes {
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    margin-bottom: 1.5rem;
    width: 75%;
  }

  .i-span-redes i {
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    color: var(--rojo);
    border: 1px solid var(--rojo);
    border-radius: 3px;
    width: 40px;
    height: 40px;
    margin: 0 10px 0 10px;
    cursor: pointer;
  }

  .email-whatt {
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    margin-left: 2rem;
  }

  .email-whatt a {
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    color: var(--rojo);
    text-decoration: none;
    font-size: 1.2rem;
  }

  .redes-social {
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    width: 20%;
  }

  .redes-social a {
    text-decoration: none;
  }

  .redes-abel {
    display: flex;
    justify-content: center;
    align-items: flex-end;
    margin-top: 2rem;
    width: 40%;
  }
}

@media (min-width: 1080px) and (max-width: 1919px) {

  .container-footer {
    display: flex;
    justify-content: flex-end;
    align-items: center;
    flex-direction: column;
    background-image: url(../media/footer_web.png);
    background-size: 90% 100%;
    background-repeat: no-repeat;
    background-position: top;
    width: 100%;
    height: 500px;
    margin-top: auto;
  }

  .ptdores {
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    width: 60%;
    gap: 2rem;
  }

  .pat-a {
    display: flex;
    justify-content: center;
    align-items: flex-end;
    width: 20%;
  }

  .redes {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    width: 80vw;
    margin-top: 50px;
    font-family: 'MiFuente';
    font-size: 26px;
  }

  .i-span-redes {
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    margin-bottom: 1.5rem;
    width: 80%;
  }

  .i-span-redes i {
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    color: var(--rojo);
    border: 1px solid var(--rojo);
    border-radius: 3px;
    width: 40px;
    height: 40px;
    margin: 0 10px 0 10px;
    cursor: pointer;
  }

  .email-whatt {
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
  }

  .email-whatt a {
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    color: var(--rojo);
    text-decoration: none;
    width: auto;
    font-size: 1.2rem;
  }

  .email-whatt a span{    
    width: auto;
  }

  .redes-social {
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    width: 30%;
  }

  .redes-social a {
    text-decoration: none;
  }



  .redes-abel {
    display: flex;
    justify-content: center;
    align-items: flex-end;
    margin: 1rem;
    width: 40%;
  }


}

@media (min-width: 600px) and (max-width:1079px) {

  .container-footer {
    display: flex;
    justify-content: center;
    align-items: center;
    background-image: url(../media/footer_web.png);
    background-size:90% 100%;
    background-repeat: no-repeat;
    width: 100%;
    height: auto;
    background-position: bottom;
    margin-top: auto;
    padding: 4rem 0 0 0;
    flex-direction: column;
  }

  .ptdores {
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    width: 55%; 
    margin: 1rem 1.5rem 0 0; 
  }

  .pat-a {
    display: flex;
    justify-content: center;
    align-items: center;
    width:10rem;   
  }
  .pat-a img {    
    padding: 2rem;
  }

  .redes {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    width: 80vw;   
    font-family: 'MiFuente';    
  }

  .i-span-redes {
    display: flex;
    flex-direction: row;
    justify-content: space-around;
    align-items: center;    
    width:60%;
    padding: 0 0 0 2rem;
  }

  .i-span-redes i {
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    color: var(--rojo);
    border: 1px solid var(--rojo);
    border-radius: 3px;    
    margin: 0 auto;
    cursor: pointer;
    padding: 1px;
    width: 20px;
    height: 20px;
  }

  .email-whatt {
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    width: 45%;
  }

  .email-whatt a {
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    color: var(--rojo);
    text-decoration: none;
    font-size: 14px;
    gap: 0.1rem;
  }

  .redes-social {
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    width: 20%;
    gap: 3px;
  }

  .redes-social a {
    text-decoration: none;
    font-size: 14px;
  }

  .redes-abel {
    display: flex;
    justify-content: center;
    align-items: flex-end;
    margin: 1rem 0 0 0 ;
    width:8rem;
  }

  #redes-email{
    display: none;
  }


}

@media (max-width: 599px) {

  .container-footer {
    display: flex;
    justify-content: center;
    align-items: center;
    background-image: url(../media/footer_web.png);
    background-size: contain;
    background-repeat: no-repeat;
    width: 100%;
    height: auto;
    background-position: bottom;
    margin-top: auto;
    padding: 4rem 0 0 0;
    flex-direction: column;
  }

  .ptdores {
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    width: 55%; 
    margin: 0 1.5rem 0 0; 
  }

  .pat-a {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 35%;
  }

  .redes {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    width: 80vw;   
    font-family: 'MiFuente';    
  }

  .i-span-redes {
    display: flex;
    flex-direction: row;
    justify-content: space-around;
    align-items: center;    
    width:80%;
  }

  .i-span-redes i {
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    color: var(--rojo);
    border: 1px solid var(--rojo);
    border-radius: 3px;    
    margin: 0 auto;
    cursor: pointer;
    padding: 1px;
    width: 20px;
    height: 20px;
  }

  .email-whatt {
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    width: 45%;
  }

  .email-whatt a {
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    color: var(--rojo);
    text-decoration: none;
    font-size: 14px;
    gap: 0.1rem;
  }

  .redes-social {
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    width: 30%;
    gap: 1px;
  }

  .redes-social a {
    text-decoration: none;    
  }

  .redes-abel {
    display: flex;
    justify-content: center;
    align-items: flex-end;
    margin: 3px;
    width: 50%;
  }

  #redes-email{
    display: none;
  }
}

/* Ajustes para cuando el dispositivo esté en modo horizontal */
@media (min-width: 600px) and (max-width:1079px) and (orientation: landscape) {

  .container-footer {
    display: flex;
    justify-content: flex-end;
    align-items: center;
    background-image: url(../media/footer_web.png);
    background-size: 100% 100%;
    background-repeat: no-repeat;
    width: 100%;
    height: 250px;
    background-position: bottom;
    margin-top: auto;    
    flex-direction: column;
  }

  .ptdores {
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    width: 40%; 
    margin:1rem 0.5rem 0.5rem 0;
    gap: 0.5rem; 
  }
  .pat-a img {
    padding: 0.5rem;
  }

  .pat-a {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 35%;
  }

  .redes {
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    align-items: center;
    width: 80vw;   
    font-family: 'MiFuente';        
  }

  .i-span-redes {
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: flex-start;    
    width:100%;
  }

  .i-span-redes i {
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    color: var(--rojo);
    border: 1px solid var(--rojo);
    border-radius: 3px;    
    margin: 0 auto;
    cursor: pointer;
    padding: 1px;
    width: 20px;
    height: 20px;
  }

  .email-whatt {
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    width: 75%;    
  }

  .email-whatt a {
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    color: var(--rojo);
    text-decoration: none;
    font-size: 14px;
    gap: 0.2rem;
    width: 30rem;
  }

  .redes-social {
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    width: 15%;
    gap: 1px;
  }

  .redes-social a {
    text-decoration: none;
    font-size: 14px;
  }

  .redes-abel {
    display: flex;
    justify-content: center;
    align-items: flex-end;
    margin: 0.5rem;
    width: 50%;
  }  

  #redes-email{
    display: flex;
    margin-right: 5px;
    width: 60rem;
  }
}