@import url('https://fonts.googleapis.com/css?family=Work+Sans:100,200,300,400,500,600,700,800,900&display=swap&subset=latin-ext');
@import url('https://fonts.googleapis.com/css2?family=Lato:wght@100;300;400;700;900&display=swap');
*{
    font-family: 'Lato', sans-serif;
}
/*============================================================================================================================= */

.container{
  width: 100%;
  display: flex;
  justify-content: space-around;
}
.box{
  position: relative;
  width: 400px;
  height: 450px;
  background: #000;
  box-shadow: 0 30px 30px rgba(0,0,0,.5);
}
.box .imgBx{
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: 0.5s;
}
.box .imgBx img{
  position: absolute;
  top:0;
  left:0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: 0.5s;
}
.box:hover .imgBx img{
  opacity: 0;
}
.box .content{
  position: absolute;
  bottom: 30px;
  left: 5%;
  width: 90%;
  height: 30px;
  background: #fff;
  transition: 0.5s;
  overflow: hidden;
  padding: 2px;
  box-sizing: border-box;
}
.box:hover .content{
  width: 100%;
  height: 100%;
  bottom: 0;
  left: 0;
  background-color: grey;
  padding: 20px;
}
.box .content h3{
  margin: 0;
  padding: 0;
  font-size: 20px;
  text-align: center;
  font-weight: 600;
  background-color: white;
}
.box .content p{
  margin: 10px 0 0;
  padding: 0;
  opacity: 0;
  line-height: 1.2em;
  transition: 0.5s;
  text-align: justify;
  font-weight: 300;
  color: white;
  line-height: 1.5em;
}

.box .content ol li{
  color: white;
  font-weight: 300;
  line-height: 1em;
  margin-top:10px;
}

.box .content p span{
  color:white;
  font-style: italic;
  font-weight: 300;
  font-size: 1em;
  color: black;
}
.box .content .teljesitmeny{
  font-size: 15px;
}
.box:hover .content p{
  opacity: 1;
  transition-delay: 0.5s;
}
