@import url(https://fonts.googleapis.com/css?family=Open+Sans);
@import url(http://weloveiconfonts.com/api/?family=fontawesome|typicons);
[class*="fontawesome-"]:before {
  font-family: 'FontAwesome', sans-serif;
}

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


}

body {
    font-family: 'Open Sans', sans-serif;

}



.contenedor {
    width: 98%;
    margin: auto;

}
h1,h2 {

    display: inline;
    float: inherit;
}
h1 {
   
    font-size: 10px;
    color: #8bb40b;

}
h2 {
   
    font-size: 12px;

}


header .contenedor {
    display: table;
}


#menu-bar {
    display: none;
}

header label {
    float: right;
    font-size: 28px;
    margin: 6px 0;
    cursor: pointer;
}


.menu a {
    display: block;
    color: #fff;
    height: 50px;
    text-decoration: none;
    padding: 15px;
    border-bottom: 1px solid rgba(255,255,255,0.3);
}
.menu a:hover {
    background: rgba(255,255,255,0.3);
}
#menu-bar:checked ~ .menu {
    transform: translateX(0%);
}

section {
    width: 100%;
    margin-bottom: 25px;
}



footer .contenedor {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    padding-bottom: 25px;
}



#banner {
    margin-top: 0px;
    position: relative;
}

#banner img {
    
    width: 100%;
    height: 100%;
}
#info img {
     margin-top: 0px;
    width: 100%;
    height: 100%;
}

#draws img {
    width: 100%;
    height: 100%;
}


#bienvenidos h5 {
    margin-top: 10px;
    font-size: 20px;
    text-align: center;
}
#bienvenidos h2 {
   
    font-size: 30px;
    color: #8bb40b;

}


#bienvenidos p {
    text-align: justify;
    font-size: 14px;
    }

   


.button {
  display: inline-block;
  border-radius: 4px;
  background-color: #f4511e;
  border: none;
  color: #FFFFFF;
  text-align: center;
  font-size: 28px;
  padding: 20px;
  width: 200px;
   
  transition: all 0.5s;
  cursor: pointer;
  margin: 5px;
}

.button span {
  cursor: pointer;
  display: inline-block;
  position: relative;
  transition: 0.5s;
}

.button span:after {
  content: '\00bb';
  position: absolute;
  opacity: 0;
  top: 0;
  right: -20px;
  transition: 0.5s;
}

.button:hover span {
  padding-right: 25px;
}

.button:hover span:after {
  opacity: 1;
  right: 0;
}

#boton .contenedor{
   display: flex;
    flex-wrap: wrap;
    justify-content: center;
}
#boton article {
    margin: 20px;
}

       #boton .contenedor{
   display: flex;
    flex-wrap: wrap;
    justify-content: center;
        width: 100%;
    }
    #boton img {
     margin: 5px;
    border: 1px solid #fff;
    width: 280px;
   
    height: 210px;
         object-fit: cover;
    }

  

.button2 {
  display: inline-block;
  border-radius: 4px;
  background-color:#8bb40b;
  border: none;
  color: #FFFFFF;
  text-align: center;
  font-size: 28px;
  padding: 20px;
  width: 300px;
   
  transition: all 0.5s;
  cursor: pointer;
  margin: 5px;
}

.button2 span {
  cursor: pointer;
  display: inline-block;
  position: relative;
  transition: 0.5s;
}

.button2 span:after {
  content: '\00bb';
  position: absolute;
  opacity: 0;
  top: 0;
  right: -20px;
  transition: 0.5s;
}

.button2:hover span {
  padding-right: 25px;
}

.button2:hover span:after {
  opacity: 1;
  right: 0;
}  


@media (min-width:1024px) {
    .menu {
        position: static;
        width: auto;
        height: auto;
        transform: translateX(0%);
        float: right;
        display: flex;
    }
    
    .menu a {
        border: none;
    }
    
    header label { 
        display: none;
    }
   


    .contenedor {
        width: 1000px;
    }
    h1 {
   
    font-size: 16px;
    color: #8bb40b;

        }
        h2 {

            font-size: 22px;

        }
    
    
    

    
    #bienvenidos h5 {
    font-size: 40px;
    text-align: center;
}
    #bienvenidos p {
    text-align: justify;
    font-size: 22px;
    }
    
     
    
     #banner {
       
        overflow: hidden;
        
    }
    #banner img {
        width: 50%;

        
    }
    #info img {
    
    width: 100%;
    height: 100%;
}
   
   
    
    

    
.button {
  display: inline-block;
  border-radius: 4px;
  background-color: #f4511e;
  border: none;
  color: #FFFFFF;
  text-align: center;
  font-size: 28px;
  padding: 20px;
  width: 200px;
   
  transition: all 0.5s;
  cursor: pointer;
  margin: 5px;
}

.button span {
  cursor: pointer;
  display: inline-block;
  position: relative;
  transition: 0.5s;
}

.button span:after {
  content: '\00bb';
  position: absolute;
  opacity: 0;
  top: 0;
  right: -20px;
  transition: 0.5s;
}

.button:hover span {
  padding-right: 25px;
}

.button:hover span:after {
  opacity: 1;
  right: 0;
}  
    
    #info {
   
    text-align: center;
   
    
}

#info .contenedor {
   
    flex-wrap: wrap;
    justify-content: center;
}

#info p {
 font-size: 30px;   
}

.info-pet {
   
    margin-top: 20px;
        width: 1000px;
        height: 357px;
        border: 3px solid ;
       
        background-size: 100% 100%;
        
        animation: info-pet 15s infinite;
        animation-direction: alternate;
        
        
    }
    

    @keyframes info-pet{
       
        0% {
            background-image: url(t1.jpg);
            
        }
        20%{
            background-image: url(t2.jpg);
        }
        40%{
            background-image: url(t3.jpg);
        }
        60%{
            background-image: url(t4.jpg);
        }
        80%{
            background-image: url(t5.jpg);
        }
        100%{
            background-image: url(t6.jpg);
        }
    }
    
 .info-pet_a {
   
    margin-top: 20px;
        width: 1000px;
        height: 478px;
        border: 3px solid ;
       
        background-size: 100% 100%;
        
        animation: info-pet_a 15s infinite;
        animation-direction: alternate;
        
        
    }
    

    @keyframes info-pet_a{
       
        0% {
            background-image: url(av.jpg);
            
        }
        50%{
            background-image: url(av2.jpg);
        }
        100%{
            background-image: url(av3.jpg);
        }
        
    }   

    .info-pet_b {
   
    margin-top: 20px;
        width: 1000px;
        height: 478px;
        border: 3px solid ;
       
        background-size: 100% 100%;
        
        animation: info-pet_b 15s infinite;
        animation-direction: alternate;
        
        
    }
    

    @keyframes info-pet_b{
       
        0% {
            background-image: url(bv.jpg);
            
        }
        50%{
            background-image: url(bv2.jpg);
        }
        100%{
            background-image: url(bv3.jpg);
        }
        
    }   
    
    .button2 {
  display: inline-block;
  border-radius: 4px;
  background-color:#8bb40b;
  border: none;
  color: #FFFFFF;
  text-align: center;
  font-size: 28px;
  padding: 20px;
  width: 500px;
   
  transition: all 0.5s;
  cursor: pointer;
  margin: 5px;
}

.button2 span {
  cursor: pointer;
  display: inline-block;
  position: relative;
  transition: 0.5s;
}

.button2 span:after {
  content: '\00bb';
  position: absolute;
  opacity: 0;
  top: 0;
  right: -20px;
  transition: 0.5s;
}

.button2:hover span {
  padding-right: 25px;
}

.button2:hover span:after {
  opacity: 1;
  right: 0;
}  
    
    #bienvenidos article {
    margin: 15px;
}

#bienvenidos img {
    width: 280px;
    height: auto;
}
    #bienvenidos .contenedor{
   display: flex;
    flex-wrap: wrap;
    justify-content: center;
    
    
}
    .fotos img {

                margin-top: -130px;
                    width: 100%;
                    height: 600px;
    }
    
    
    #boton .contenedor{
   display: flex;
    flex-wrap: wrap;
    justify-content: center;
        width: 100%;
    }
    #boton img {
     margin: 5px;
    border: 1px solid #fff;
    width: 280px;
   
    height: 210px;
         object-fit: cover;
    }
    
}











