.project {
    display: flex;
    align-items: center;
    justify-content: center;
    /*flex-direction: column;*/
    position: relative;
    /*margin-right: 10%;*/
    /*margin-left: 10%;*/
    padding-right: 15px;
    padding-left: 15px;
}

.card {
    width: 30%;
    height: 600px;
    text-align: center;
    border-radius: 20px;
    background: #f5f5f5;
    position: relative;
    padding: 1.8rem;
    border: 2px solid #c3c6ce;
    transition: 0.5s ease-out;
    overflow: visible;
    margin-right: 30px;
    margin-bottom: 50px;
}

.card-details {
    color: white;
    height: 100%;
    gap: .5em;
    display: grid;
    place-content: center;
}

.img-project {
    background: #f5f5f5;
    width: 100%;
    height: 100%;
    border: solid 2px grey;
    border-radius: 5px;
    box-shadow: 5px 25px 70px rgba(0,0,0,.3);
    padding: 10px;
    margin-top: auto;
    margin-bottom: auto;
}

.img-project img {
    max-width: 100%;
    height: auto;
}

.card-button {
    transform: translate(-50%, 125%);
    width: 80%;
    border-radius: 1rem;
    border: none;
    background: linear-gradient(to right, darkblue, #5c5cd2 100%);
    color: #fff !important;
    font-size: 1rem;
    padding: .5rem 1rem;
    position: absolute;
    left: 50%;
    bottom: 0;
    opacity: 0;
    transition: 0.3s ease-out;
    cursor: pointer;
    text-align: center;
}

.card-button-i {
    margin-left: 5px;
}

.text-body {
    color: rgb(134, 134, 134);
}

/*Text*/
.text-title {
    font-size: 1.5em;
    font-weight: bold;
}

/*Hover*/
.card:hover {
    border-color: #5c5cd2;
    box-shadow: 0 4px 18px 0 rgba(0, 0, 0, 0.25);
}

.card:hover .card-button {
    transform: translate(-50%, 50%);
    opacity: 1;
}

.card-title {
    margin-top: 1%;
}

.card-header-project {
    display: flex;
    margin-top: 3%;
    padding: 3%;
    background: linear-gradient(to left, #1c0f2a, #363688, purple, darkmagenta);
    border-radius: 5px;
    border: 2px solid grey;
}

.card-header-project-text {
    background-color: #f6f5f5;
    text-align: left;
    margin-right: 3%;
    border: solid gray 2px;
    border-radius: 5px;
    padding: 1%;
}

.card-text-project {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: auto;
    background: linear-gradient(to left, #1c0f2a, #363688, purple, darkmagenta);
    border-radius: 5px;
    border: 2px solid grey;
    margin-top: 3%;
    padding: 3%;
}

.card-text-project-table {
    background-color: #f6f5f5;
    padding: 1%;
    border-radius: 5px;
    border: 2px solid grey;
}


.card-intro {
    width: 100%;
    border-collapse: collapse;
    color: #595959;
}

.card-intro th {
    background-color: #f7f7f7;
    border: 1px solid #ddd;
    padding: 12px;
    text-align: left;
    font-weight: bold;
    white-space: nowrap;
}

.card-intro td {
    border: 1px solid #ddd;
    padding: 12px;
    vertical-align: top;
    background-color: #fff;
}

.card-intro ul {
    margin: 0;
    padding-left: 18px;
    text-align: center;
}

.card-intro li {
    margin-bottom: 6px;
    line-height: 1.4em;
    text-align: left;
}




.illustration-img {
    max-width: 60%;
    height: auto;
    border: solid 2px grey;
    box-shadow: 5px 25px 70px rgba(0,0,0,.3);
    padding: 10px;
    margin: 3%;
}

#modal-1 {
    border: solid 4px grey;
}







.card-carousel-project {
    position: relative;
    overflow: hidden;
    margin-top: 3%;
    padding: 3%;
    background: linear-gradient(to left, #1c0f2a, #363688, purple, darkmagenta);
    border-radius: 5px;
    border: 2px solid grey;
}

.carousel {
    display: flex;
    transition: transform 0.5s ease-in-out;
}

.carousel-slide {
    min-width: 100%;
    transition: opacity 0.5s ease;
    display: none;
}

.carousel-slide.active {
    display: flex;
    justify-content: center;
}

.carousel-slide img {
    width: 80%;
    height: auto;
    display: block;
    background-color: #f6f5f5;
    padding: 1%;
    border-radius: 5px;
    border: 2px solid grey;
}

.carousel-img-phone {
    width: 20% !important;
}

.carousel-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background-color: rgba(0, 0, 0, 0.5);
    border: none;
    color: white;
    padding: 10px;
    cursor: pointer;
    font-size: 24px;
    z-index: 10;
    border-radius: 50%;
}

.carousel-btn.prev {
    left: 10px;
}

.carousel-btn.next {
    right: 10px;
}