
/* Selectores de elementos */

@import url('https://fonts.googleapis.com/css2?family=Barlow+Condensed:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&family=Bitter:ital,wght@0,100..900;1,100..900&display=swap');

body {

    background-image: url("img/textura_1.png");
    background-color: rgb(100, 72, 81);
    font-family: "Bitter", serif;

}

.imagen-hover {
      
      opacity: 1; 
      transition: opacity 0.3s ease; 
      cursor: pointer; 
        
    }

    .imagen-hover:hover {   
      opacity: 0.6;
        }   

h1, h3 {
    color: rgb(224, 224, 224);
    font-size: 40px;
    text-align: center;
    font-family: "Barlow Condensed", sans-serif;
}

h2 {
    color: rgb(0, 0, 0);
    font-size: 40px;
    text-align: center;
    font-family: "Barlow Condensed", sans-serif;
}

p {
    color: rgb(255, 255, 255);
    font-size: 20px;
    font-family: "Barlow Condensed", sans-serif;
    text-align: center;
    padding: 10px;
}

main {
    background-image: url("img/textura_2.jpg");
    border: 2px solid rgb(0, 0, 0);
    background-color: rgb(240, 234, 234); 
    width: 800px;
    max-width: 95%;
    margin: 0 auto;
}

header, footer {
    background-color: rgb(0, 0, 0);
    color: rgb(255, 255, 255);
    text-align: center;
    padding: 50px;
    
}

section {
  /*flex-direction:column;*/
    display: flex;
    gap: 20px;
    padding: 40px;
}

.centrado {
 display: block;
 margin: 0 auto; 
 width: 50%;   
}

.adaptable {
    display: block;
    width: 100%;
    border: 4px solid rgb(0, 0, 0);

}

     @media screen and (max-width: 600px) {
        header, footer {
            padding: 20px;

            section {
                display:block
            }
            
        }
    }
