@import url("https://fonts.googleapis.com/css2?family=Raleway:wght@300;400;500;600;700;800&display=swap");

body {
    margin: 0;
}

#project-section {
    position: relative;
    min-height: auto;
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: hidden;
    background: #fff;
}

.project-container {
    width: 92%;
    height: 100%;
    padding-top: 50px;
}

.project-row {
    width: 100%;
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
}

.image {
    background: #f0f0f0;
    position: relative;
    flex: 1;
    width: 400px;
    height: 370px;
    margin: 20px;
    overflow: hidden;
    box-shadow: inset 0 -3em 3em rgba(0, 0, 0, 0.1), 0 0 0 0 rgb(255, 255, 255), 0.3em 0.3em 1em rgba(0, 0, 0, 0.3);
}

.image img {
    opacity: 0.8;
    position: relative;
    vertical-align: top;
    transition: 0.6s;
    transition-property: opacity;
    height: 100%;
    width: 100%;
}

.image:hover img {
    opacity: 1;
}

.image .details {
    z-index: 1;
    position: absolute;
    top: 0;
    right: 0;
    color: #fff;
    width: 100%;
    height: 100%;
}

.image .details h2 {
    text-align: center;
    font-size: 35px;
    text-transform: uppercase;
    font-weight: 300;
    margin-top: 70px;
    transition: 0.4s;
    transition-property: transform;
}

.image .details h2 span {
    font-weight: 900;
    font-size: 20px;
}

.image:hover .details h2 {
    transform: translateY(-30px);
}

.image .details p {
    margin: 30px 30px 0 30px;
    font-size: 18px;
    font-weight: 600;
    text-align: center;
    opacity: 0;
    transition: 0.6s;
    transition-property: opacity, transform;
}

.image:hover .details p {
    opacity: 1;
    transform: translateY(-40px);
}

.btn-live {
    position: absolute;
    background: rgba(255, 255, 255, 0.8);
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px;
    bottom: -60px;
    transition: 0.6s;
    transition-property: bottom;
}

.image:hover .btn-live {
    bottom: 0;
}

.btn-live .go-live {
    color: #000;
    text-decoration: none;
    font-size: 20px;
    font-weight: 500;
    text-transform: uppercase;
}

.btn-live .go-live span {
    font-weight: 900;
}

.btn-live .icon-links i {
    color: #000;
    font-size: 20px;
    margin-right: 24px;
}

.btn-live .icon-links a:not(:last-child) i {
    margin-right: 20px;
}

.btn-container {
    text-align: right;
    margin-top: 10px;
}

.btn-see {
    border: 1px solid #000;
    background: #000;
    padding: 10px 20px;
    font-size: 20px;
    cursor: pointer;
    margin: 10px;
    border-radius: 20px;
    font-weight: 600;
    color: azure;
}

.btn-see:hover {
    background: #fff;
    color: #000;
    transition: 1s;
}

/* Start Project Page*/
.project_container {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    margin: 40px 0;
}

.project_container .card {
    position: relative;
    width: 300px;
    height: 350px !important;
    margin: 20px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
    border-radius: 15px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.project_container .card .content {
    position: absolute;
    bottom: -160px;
    width: 100%;
    height: 120px;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 10;
    flex-direction: column;
    backdrop-filter: blur(15px);
    box-shadow: 0 -10px 10px rgba(0, 0, 0, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    transition: bottom 0.5s;
}

.project_container .card:hover .content {
    bottom: 0px;
}

.project_container .card .content .contentBx h3 {
    color: #000;
    text-transform: uppercase;
    letter-spacing: 2px;
    font-weight: 500;
    font-size: 18px;
    text-align: center;
    margin: 20px 0 15px;
    line-height: 1.1em;
    transition: 0.5s;
    opacity: 0;
    transform: translateY(-20px);
}

.project_container .card:hover .content .contentBx h3 {
    opacity: 1;
    transform: translateY(0px);
}

.project_container .card .content a {
    position: relative;
    display: inline-block;
    padding: 12px 36px;
    margin: 10px 0;
    color: #fff;
    text-decoration: none;
    text-transform: uppercase;
    font-size: 18px;
    letter-spacing: 2px;
    border-radius: 40px;
    background: linear-gradient(90deg, #cccccc, #313131);
}

.content a{
    cursor: pointer;
}

/* End Project Page*/


/* Responsive CSS */

@media (max-width: 1220px) {
    .project-container {
        width: 96%;
    }

    .image {
        flex: 100%;
        max-width: 45%;
        height: 305px;
    }

    .image .details p {
        margin: 50px 5px;
        font-size: 0.7rem;
    }

    .btn-container {
        text-align: center;
    }

    .project-row .cards-project {
        width: 35%;
    }
}

@media (max-width: 888px) {
    .btn-container {
        text-align: center;
    }
}

@media (max-width: 768px) {
    .image {
        max-width: 100%;
        height: 280px;
    }

    .image .details p {
        font-size: 16px;
    }

    .btn-live .go-live,
    .btn-live .icon-links a i {
        font-size: 18px;
    }

    .btn-container {
        text-align: center;
    }
}