
@import url('https://fonts.googleapis.com/css2?family=Roboto:ital,wght@0,100;0,300;0,400;0,500;0,700;0,900;1,100;1,300;1,400;1,500;1,700;1,900&display=swap');

*{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root{

}

a{
    text-decoration: none !important;
    font-size: 16px;
    line-height: 1;
    color: #000;
}

ul{
    margin: 0;
    padding: 0;
    list-style: none;
}

p{
    margin: 0;
}

body{
    font-family: "Roboto", sans-serif;
    font-style: normal;
    font-size: 16px;
}

h1,h2,h3,h4,h5,h6{
    color: #000;
    margin: 0;
}

section{
    overflow: hidden;
}

.card_list{
    display: flex;
    width: 100%;
    height: 100vh;
    /* justify-content: space-between; */
    gap: 5px;
    overflow: hidden;
    background: #000;
}

.card_list .card_new{
    width: 50%;
    height: calc(100% - 38px);
    position: relative;
}

.card{
    cursor: pointer;
    width: 100%;
    display: flex;
    flex-direction: column;
    /* justify-content: center; */
    padding: 20px;
    text-align: center;
    align-items: center;
    position: relative;
    z-index: 2;
    transition: 0.5s;
    padding-top: 8%;
    background: #fff;
    height: 100%;
}

/* .card:hover{
    width: 50%;
    flex: 0 0 auto;
} */

.card::before{
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    background: #fff;
    left: 0;
    top: 0;
    z-index: -1;
    opacity: 0.5;
}

.card::after{
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    background: var(--background--) no-repeat;
    left: 0;
    top: 0;
    z-index: -2;
    /* opacity: 0.9; */
    background-size: contain;
    background-position: bottom center;
}

.card img{
    width: 100%;
    max-width: 120px;
    /* max-height: 200px; */
    object-fit: contain;
    transition: 0.5s;
}

.card:hover img{
    transition-delay: 0.5s;
    /* transform: translateY(-80px); */
}

.card .content{
    width: 90%;
    /* max-width: 800px; */
    margin-top: 10px;
    /* height: 0; */
    /* transform: scale(0); */
    /* visibility: hidden; */
    transition: 0.5s;
    /* position: absolute;
    top: 50%;
    transform: translateY(-50%); */
    /* opacity: 0; */
}

.card:hover .content{
    /* transform: scale(1); */
    transition-delay: 0.6s;
    opacity: 1;
    /* transform: translateY(10px); */
}

.card .content p{
    font-size: 48px;
    font-weight: 800;
    margin-bottom: 10px
}

.discover_btn{
    display: inline-block;
    padding: 10px 20px;
    border-radius: 10px;
    background: #31BC7C;
    font-size: 18px;
    color: #fff;
    /* border-bottom: 1px solid #000; */
    /* padding-bottom: 5px; */
    transition: 0.3s;
}

.discover_btn i{
    font-size: 14px;
}

.discover_btn:hover{
    transform: scale(1.1);
    background: #ff9f1c;
}


.menu ul{
    display: flex;
    gap: 20px;
}

.card .menu{
    position: absolute;
    bottom: 4%;
    transform: translateY(80px);
    opacity: 0;
    transition: 0.5s;
    border-top: 1px solid #dedede;
    padding-top: 20px;
}

.card:hover .menu{
    transition-delay: 0.7s;
    transform: translateY(0);
    opacity: 1;
}

.card_list footer{
    position: fixed;
    width: 100%;
    left: 0;
    bottom: 0;
    padding: 10px 10px;
    background: #eee;
    z-index: 8;
}

.card_list footer ul{
    display: flex;
    justify-content: flex-end;
    gap: 20px;
}

.card_list footer ul li a:hover{
    color: #31BC7C;
}