/* Importing Poppins font from Google Fonts */
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@400;500;600;700&display=swap');

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Poppins', sans-serif;
}

body {
    background: #db3485;
}

.main-box {
    height: 550px;
    width: 400px;
    position: absolute;
    left: 50%;
    top: 52%;
    transform: translate(-50%, -50%);
    /* background: blue; */
    text-align: center;
}

.main-box .content {
    position: relative;
    height: 100%;
    width: 100%;
    /* background: gray; */
}

.content .box {
    position: absolute;
    /* background: red; */
    height: 50px;
    width: 100%;
    left: 0;
    bottom: 0;
    border-radius: 25px;
    cursor: pointer;
}

.content .box .share,
.cancel {
    position: absolute;
    height: 100%;
    width: 100%;
    left: 0;
    top: 0;
    line-height: 50px;
    font-size: 20px;
    font-weight: 600;
    color: #db3485;
    background: #fff;
    letter-spacing: 1px;
    border-radius: 25px;
    opacity: 0;
    transition: all 0.3s ease;
}

.content .box .share {
    opacity: 1;
}

#check:checked ~ .box .share {
    opacity: 0;
}

#check:checked ~ .box .cancel {
    opacity: 1;
}


.content .image-box {
    position: absolute;
    height: 450px;
    width: 100%;
    border-radius: 25px;
    background: #000;
    padding: 8px;
    left: 0;
    bottom: 130px;
    transition: all 0.4s ease;
}

#check:checked ~ .image-box {
    bottom: 80px;
}

#check {
    /* position: absolute;
    z-index: 13; */
    display: none;
}


.content .image-box::before {
    content: '';
    position: absolute;
    height: 30px;
    width: 30px;
    background: #000;
    left: 47%;
    bottom: -30px;
    transform: translateY(-50%) rotate(45deg);
    z-index: -1;
}

.content .image-box img {
    height: 100%;
    width: 100%;
    object-fit: cover;
    border-radius: 25px;
}

.image-box .about {
    position: absolute;
    background: rgba(0, 0, 0, 0.25);
    left: 0;
    top: 0;
    height: 100%;
    width: 100%;
    padding: 20px;
    border-radius: 25px;
    opacity: 0;
    transition: all 0.3s ease;
}

#check:checked ~ .image-box .about {
    opacity: 1;
}

.about .details {
    position: absolute;
    /* background: #fff; */
    width: 100%;
    left: 0;
    bottom: 10px;
}

.details .name,
.details .job {
    font-size: 18px;
    font-weight: 500;
    color: #fff;
}

.details .name {
    font-size: 22px;
}

.details .icons i {
    font-size: 20px;
    color: #fff;
    /* background: red; */
    height: 45px;
    width: 45px;
    border-radius: 50%;
    border: 2px solid #fff;
    line-height: 45px;
    margin: 14px 5px;
    transition: all 0.3s ease;
}

.details .icons i:hover {
    background: #fff;
    color: #000;
}