.box {
    background-image: url('assets/img/news/new1.png');
    width: 200px;
    height: 300px;
    background-size: cover;
    background-repeat: no-repeat;
    box-shadow: 0 10px 20px #fff;
    border-radius: 8px;
    transition: transform 500ms ease;
}

.boximg {

    width: 200px;
    height: 300px;
    background-size: cover;
    background-repeat: no-repeat;
    box-shadow: 0 10px 20px #fff;
    border-radius: 8px;
    transition: transform 500ms ease;
}

.boxtwo {
    background-image: url(jatiluwih2.jpg);
    width: 200px;
    height: 300px;
    background-size: cover;
    background-repeat: no-repeat;
    box-shadow: 0 10px 20px #fff;
    border-radius: 8px;
    transition: transform 500ms ease;
}

.boxthree {
    background-image: url(jatiluwih3.jpg);
    width: 200px;
    height: 300px;
    background-size: cover;
    background-repeat: no-repeat;
    box-shadow: 0 10px 20px #fff;
    border-radius: 8px;
    transition: transform 500ms ease;
}

.box h5 {
    color: rgb(0, 0, 0);
    font-size: 20px;
}

.box p {
    color: rgb(0, 0, 0);
    font-size: 12px;
}

.box:hover {
    opacity: 1;
    transform: scale(1.05);

}

.boxtwo h5 {
    color: rgb(0, 0, 0);
    font-size: 20px;
}

.boxtwo p {
    color: rgb(0, 0, 0);
    font-size: 12px;
}

.boxtwo:hover {
    opacity: 1;
    transform: scale(1.05);
}

.boxthree h5 {
    color: rgb(0, 0, 0);
    font-size: 20px;
}

.boxthree p {
    color: white;
    font-size: 12px;
}

.boxthree:hover {
    opacity: 1;
    transform: scale(1.05);

}

.text {
    background-color: rgba(0, 0, 0, 0.4);
    opacity: 0;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    align-items: center;
    text-align: center;
    border-radius: 8px;
    transition: all .5s;
}

.text:hover {
    opacity: 1;
}

.card-wrapper {

    position: relative;
    width: 40px;
    height: 500px;
    margin-right: 2px auto;


}

.card {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 250px;
    height: 450px;
    align-items: center;
    justify-content: center;
    transform: translate(-50%, -50%);
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 5px 18px rgba(0, 0, 0, 0.6);
    cursor: pointer;
    transition: 0.5s;
}

.card .card-image {
    position: absolute;
    top: 0px;
    left: 0px;
    width: 100%;
    height: 100%;
    z-index: 2;
    background-color: #000;
    transition: 0.5s;
}

.card:hover img {
    opacity: 0.4;
    transition: 0.5s;
}

.card:hover .card-image {
    transform: translateY(-100px);
    transition: all 0.9s;
}

.card:hover li:nth-child(1) a {
    transition-delay: 0.1s;
}

.card:hover li:nth-child(2) a {
    transition-delay: 0.2s;
}

.card:hover li:nth-child(3) a {
    transition-delay: 0.3s;
}

.card:hover li:nth-child(4) a {
    transition-delay: 0.4s;
}

/**** Personal Details ****/
.details {
    position: absolute;
    bottom: 0;
    left: 0;
    background: #fff;
    width: 100%;
    height: 120px;
    z-index: 1;
    padding: 10px;
}

.details h5 {
    margin: 30px 0;
    padding: 0;
    text-align: center;
    color: black;
}

.details h5 .job-title {
    font-size: 1rem;
    line-height: 1rem;
    color: #333;
    font-weight: 300;
}


.clients {
    text-shadow: 1px 1px 3px rgb(0 0 0);
}

.con {
    gap: 1.5rem;
    grid-template-columns: repeat(2, 1fr);
}

.containerr {
    max-width: 900px;

    display: flex;

    justify-content: space-evenly;
    margin: 0 auto;
    grid-template-columns: repeat(2, 1fr);
}

@media (min-width: 300px) {
    .containerr {

        display: flex;
        gap: 1.5rem;
        justify-content: space-evenly;
        margin: 0 auto;
        grid-template-columns: repeat(2, 1fr);
    }
}



.profile-two .social-icons li a {
    border-radius: 50%;
}