:root {
    --main-bg: #FCFCFC;
    --black-color:  #011710;
    --gren-color: #B3E5BE;
    --blue-color: #DCEBF0;
  }

main{
    margin-top: 120px;
}

.container-card-project{
    width: 95%;
    margin: auto;
    display: flex;
    justify-content: space-between;
    margin-bottom: 240px;
    gap: 16px;
    opacity: 0;
    margin-top: -3%;
    animation: slidedown cubic-bezier(0.23, 0.75, 0.31, 0.98) 700ms forwards;
}

.card-project{
    width: 100%;
    min-width: 330px;
    height: 600px;
    padding: 32px 24px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    transition: transform .6s cubic-bezier(0.23, 0.75, 0.31, 0.98);
    transform-style: preserve-3d;
    overflow: hidden;
    cursor: pointer;
    border: 4px solid var(--black-color);
}

@keyframes slidedown {
    0% {
        transform: scale(0.85);
        margin-top: -3% !important;
        opacity: 0;
    }

    100%{
        transform: scale(1);
        margin-top: 0 !important;
        opacity: 1;
    }
  }

.card-project:hover{
    transition: transform .6s cubic-bezier(0.23, 1, 0.32, 1), box-shadow .2s;
    box-shadow: 0px 0px 80px -45px rgba(0, 0, 0, 0.15);
}

#ux-card{
    background-color: var(--black-color);
    color: var(--main-bg);
}

#crea-card{
    background-color: var(--main-bg);
}

h3{
    text-transform: uppercase;
    font-size: 40px;
    white-space: nowrap;
}

.container-content-title{
    align-items: flex-start;
    height: auto;
    margin: 0;
    gap: 16px;
}

.container-info-card{
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.txt-card-project{
    height: auto;
    opacity: 0;
}

#txt-card-project-first{
    animation: fade cubic-bezier(0, 0.17, 0.28, 1.01) 0.5s forwards;
    animation-delay: 0.4s;
}

#txt-card-project-second{
    animation: fade cubic-bezier(0, 0.17, 0.28, 1.01) 0.5s forwards;
    animation-delay: 0.9s;
}

.txt-card-project > p{
    font-size: 20px;
}

@keyframes fade {
    0% {
        opacity: 0;
    }

    100% {
        opacity: 1;
    }
}

.container-img-card-project{
    width: 100%;
    height: auto;
    position: relative;
}

.img-card-project{
    opacity: 1;
    top: -20px;
    left: -20px;
    width: 100%;
    max-width: 100%;
    height: 350px;
    animation: width-animation cubic-bezier(0.23, 0.75, 0.31, 0.98) 450ms forwards;
    opacity: 0;
}

@keyframes width-animation {
    0% {
        width: 0%;
        opacity: 0;
    }

    100%{
        width: 100%;
        opacity: 1;
    }
}

.img-card-project_1{
    background: center/cover no-repeat url(./img/travisps.jpg);
    animation-delay: 550ms;
}

.img-card-project_2{
    background: center/cover no-repeat url(./img/BusinessCard.jpg);
    animation-delay: 1000ms;
}


/************** RESPONSIVE ************/


@media screen and (max-width: 890px) {
    .card-project {
        height: auto !important;
        padding: 16px 16px;
        min-width: auto;
    }

    .container-card-project{
        flex-wrap: wrap;
    }
}
