
a{
    text-decoration: none;
    color: inherit;
}

/*a[title]:hover::after {
    content: attr(title);
    position: absolute;
    top: -100%;
    left: 0;
    color: #1c1c1c;
  }*/


h3{
    padding: 0;
    margin: 0;
}

h4{
    padding: 0;
    margin: 0;
    
}

#where{
    border-bottom: 1px solid  #fab907;
    padding: 1px;
}

p{
    margin: 0;
    padding: 1px;
    font-size: 16px;
    
}

.headerNews{
    margin-bottom: 15px;
}

.flex-events{
    display: flex;
    align-items: center;
    flex-direction: row;
    margin: 10px;
}

.flex-nextDates{
    text-align: center;
     display: flex;
     align-items: center;
     justify-content: center;
     flex-direction: column;
     
}

.back{
    background: url(../images/white-abstract-background.jpg) 50% 50% / cover;
}

.event-cont{
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    width: 320px;
    height: 250px;
    border: 0.5px solid #1c1c1c;
    border-radius: 10px;
    padding: 20px;
    margin: 15px;
    box-shadow: 0px 10px 30px #1c1c1c31;
}



.event-cont:focus,
.event-cont:hover{
    box-shadow: 0 8px 16px 0 rgba(0, 0, 0, 0.2);
    transform: scale(1.1);
    transition: all .2s linear;
}

.footerNews{
    margin-top: 15px;
}




/*tablet*/
@media only screen and (min-width: 768px) and (max-width: 959px){
  
 .flex-events{
     flex-direction: column;
 }

 .event-cont{
    width: 350px;
    height: 250px;
 }

  .event-cont p{
      font-size: 17px;
  }
  
.back{
    background-image: none;
}
 
    
}




/*Media query*/

@media only screen and (max-width: 767px) {
	.flex-events{
        flex-direction: column;
    }

  .back{
      background-image: none;
  }

    
	}
