@import url('https://fonts.googleapis.com/css2?family=Lato:wght@400;700&family=Roboto&display=swap');

/* Animated Cards Section*/

.container-main {
    display: grid;
    gap: 60px;
    max-width: 1200px;
    margin: 20px auto;
}

.container-main .card {
    transition: 0.5s;
    background-color: rgb(0, 0, 0);
    margin: 0 !important;
    max-width: 400px;
    height: auto;
}

#animated-cards {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    margin-bottom: 100px;
}

#animated-cards .card {
    position: relative;
    min-width: 320px;
    height: 440px;
    margin: 30px;
    transition: 0.5s;
    background-color: black;
}

#animated-cards .card .box {
    position: absolute;
    top: 20px;
    left: 20px;
    right: 20px;
    bottom: 20px;
    background: #17202a;
    border-radius: 15px;
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: hidden;
    transition: 0.5s;
}

#animated-cards .card .box:hover {
    transform: translateY(-50px);
}

#animated-cards.card .box:before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 50%;
    height: 100%;
    background: rgba(255, 255, 255, 0.03);
}

#animated-cards .card .box .content {
    padding: 20px;
    text-align: center;
}

#animated-cards .card .box .content h2 {
    position: absolute;
    top: -10px;
    right: 20px;
    font-family: "Lato", sans-serif;
    font-size: 3.2rem;
    font-weight: 700;    
    color: hwb(0 100% 0% / 0.1);
}

#animated-cards .card .box .content h3 {
    font-family: "Lato", sans-serif;
    font-size: 36px;
    font-weight: 700;
    color: #FBFBFB;
    z-index: 1;
    transition: 0.5s;
    margin-bottom: 20px;
}

#animated-cards .card .box .content p {
    font-family: 'Roboto', sans-serif;
    font-size: 18px;
    font-weight: 400;
    color: #FBFBFB;
    z-index: 1;
    transition: 0.5s;
    line-height: 1.5;
}