@font-face {
    font-family: 'Poppins';
    src: url('../fonts/Poppins-Bold.woff2') format('woff2'),
        url('../fonts/Poppins-Bold.woff') format('woff');
    font-weight: bold;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Poppins';
    src: url('../fonts/Poppins-Medium.woff2') format('woff2'),
        url('Poppins-Medium.woff') format('woff');
    font-weight: 500;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Poppins';
    src: url('../fonts/Poppins-Regular.woff2') format('woff2'),
        url('../fonts/Poppins-Regular.woff') format('woff');
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}



body{
	font-family: 'Poppins', sans-serif;
	background: #21292f;
    min-height: 100vh;
}
.languages-box{
	text-align: right;
	padding: 0px;
}
.languages-box h2 {
    text-transform: capitalize;
    z-index: -1;
    position: absolute;
    text-align: center;
    width: 100%;
    left: 0;
    color: #FFF;
    top: 20px;
    font-size: 20px;
    letter-spacing: 1px;
}
.languages{
	background: #a6e455;
        margin: 30px 0;
    padding: 12px 15px;
    line-height: 20px;
    list-style: none;
    display: inline-flex;
    color: #FFF;
}

.languages li a {
    text-decoration: none !important;
    color: #FFF;
    padding: 0 5px;
    opacity: 0.5
}
li.active a {
    opacity: 1;
}
.main-box{
display: contents;
text-align: center;
width: fit-content;
margin: 20px auto 0;
}


.main-box:hover .card{
    opacity: 0.2;
}
.main-box:hover .card:hover {
    opacity: 1;
    -webkit-box-shadow: 0px 0px 66px 0px rgba(0,0,0,0.39);
	-moz-box-shadow: 0px 0px 66px 0px rgba(0,0,0,0.39);
	box-shadow: 0px 0px 66px 0px rgba(0,0,0,0.39);
}
.card {
    text-align: left;
        margin: 25px 10px 25px;
        display: inline-block;
	cursor: pointer;
	position: relative;
    background: #FFF;
    /*border-radius: 25px;*/
    width: 300px;
    height: 460px;
    overflow: hidden;
    -webkit-transition: all 0.2s ease;
    -moz-transition: all 0.2s ease;
    -o-transition: all 0.2s ease;
}

.overlay{
    position: absolute;
    width: 100%;
    height: 100%;
    bottom: 0px;
	background: rgba(0,0,0,0);
background: -moz-linear-gradient(top, rgba(0,0,0,0) 0%, rgba(0,0,0,1) 100%);
background: -webkit-gradient(left top, left bottom, color-stop(0%, rgba(0,0,0,0)), color-stop(100%, rgba(0,0,0,1)));
background: -webkit-linear-gradient(top, rgba(0,0,0,0) 0%, rgba(0,0,0,1) 100%);
background: -o-linear-gradient(top, rgba(0,0,0,0) 0%, rgba(0,0,0,1) 100%);
background: -ms-linear-gradient(top, rgba(0,0,0,0) 0%, rgba(0,0,0,1) 100%);
background: linear-gradient(to bottom, rgba(0,0,0,0) 0%, rgba(0,0,0,1) 100%);
filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#000000', endColorstr='#000000', GradientType=0 );
}

.overlay:hover{

}

.content {
    z-index: 2;
	padding: 25px;
    position: absolute;
    bottom: 50px;
}

.overlay img{
	margin-bottom: 15px;
	width: 60%; 
}
.overlay h1 {
    color: #FFF;
    font-weight: 600;
    letter-spacing: 4px;
    line-height: 45px;
    text-transform: uppercase;
}

.overlay p {
    color: #FFF;
    letter-spacing: 1px;
    font-size: 12px;
    line-height: 24px;
    margin-bottom: 20px;
    min-height: 50px;
}



.en{
	display: none;
}

footer {
    margin-top: 15px;
    color: #FFF;
    text-align: center;
    letter-spacing: 1px;
    font-size: 11px;
    width: 100%;
    bottom: 0;
    border-top: 1px solid rgb(255 255 255 / 8%);
    padding: 15px 0 5px;
    background: #21292f;
    line-height: 12px;
}


.card svg {
    opacity: 0;
    z-index: 1;
    position: absolute;
    top: 0;
    left: 0;
}
.card svg:hover{
    opacity: 1
}
.card:hover svg{
opacity: 1
}

.card svg line {
    stroke-width: 8;
    stroke: #a6e455;
    fill: none;
    -webkit-transition: all .8s ease-in-out;
    transition: all .8s ease-in-out;
}

.card:hover svg line {
    -webkit-transition-delay: 0.1s;
    transition-delay: 0.1s;
}

.card svg line.top,
.card svg line.bottom {
    stroke-dasharray: 330 240; 
}

.card svg line.left,
.card svg line.right {
    stroke-dasharray: 490 400;
}

.card:hover svg line.top {
    -webkit-transform: translateX(-600px);
    transform: translateX(-600px);
}

.card:hover svg line.bottom {
    -webkit-transform: translateX(600px);
    transform: translateX(600px);
}

.card:hover svg line.left {
    -webkit-transform: translateY(920px);
    transform: translateY(920px);
}

.card:hover svg line.right {
    -webkit-transform: translateY(-920px);
    transform: translateY(-920px);
}

.bottom.mobile{
    display: none
}


.overlay a { 
    font-weight: 500;
    opacity: 0;
    margin-bottom: -110px;
    background: transparent;
    padding: 13px 20px;
    color: #FFF;
    text-decoration: none !important;
    text-transform: uppercase;
    letter-spacing: 2px;
    font-size: 12px;
    -webkit-transition: all 0.4s;
    -moz-transition: all 0.4s;
    transition: all 0.4s;
    width: 130px;
    text-align: center;
    border: 2px solid #f7941e;
}
.overlay a.hu{

    display: block;
}
.card:hover .overlay a{
opacity: 1;
margin-bottom: -40px;

}

.overlay a:hover{background: #f7941e;}


@media (max-width: 767px){
.card svg {
    opacity: 1;
}
footer {
       position: static;
}
.overlay p{
    min-height: auto;
}
.desktop{
    display: none;
}
.mobile{
    display: block !important;
}
.card {
    height: 300px;
}
}

@media (max-width: 450px){
.languages{
    margin-bottom: 0px;
}
.languages-box h2{
        margin: 10px 0 30px;
    position: relative;
}
}