@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300&display=swap');

*{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Poppins', sans-serif;
}

body{
    height: auto;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    background-color: #f4f4f4;
    color: #fff;
}

a{
    text-decoration: none;
    color: #fff;
}

/* h1 */

h1{
    color: #000000;
    margin-bottom: 50px;
    text-align: center;
}

/* card */

.card{
    background-color: #ffffff;
    width: 50rem;
    height: 30rem;
    border-radius: 8px;
    background-color: #000000;
    background-image: url("data:image/svg+xml,%3Csvg width='180' height='180' viewBox='0 0 180 180' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M81.28 88H68.413l19.298 19.298L81.28 88zm2.107 0h13.226L90 107.838 83.387 88zm15.334 0h12.866l-19.298 19.298L98.72 88zm-32.927-2.207L73.586 78h32.827l.5.5 7.294 7.293L115.414 87l-24.707 24.707-.707.707L64.586 87l1.207-1.207zm2.62.207L74 80.414 79.586 86H68.414zm16 0L90 80.414 95.586 86H84.414zm16 0L106 80.414 111.586 86h-11.172zm-8-6h11.173L98 85.586 92.414 80zM82 85.586L87.586 80H76.414L82 85.586zM17.414 0L.707 16.707 0 17.414V0h17.414zM4.28 0L0 12.838V0h4.28zm10.306 0L2.288 12.298 6.388 0h8.198zM180 17.414L162.586 0H180v17.414zM165.414 0l12.298 12.298L173.612 0h-8.198zM180 12.838L175.72 0H180v12.838zM0 163h16.413l.5.5 7.294 7.293L25.414 172l-8 8H0v-17zm0 10h6.613l-2.334 7H0v-7zm14.586 7l7-7H8.72l-2.333 7h8.2zM0 165.414L5.586 171H0v-5.586zM10.414 171L16 165.414 21.586 171H10.414zm-8-6h11.172L8 170.586 2.414 165zM180 163h-16.413l-7.794 7.793-1.207 1.207 8 8H180v-17zm-14.586 17l-7-7h12.865l2.333 7h-8.2zM180 173h-6.613l2.334 7H180v-7zm-21.586-2l5.586-5.586 5.586 5.586h-11.172zM180 165.414L174.414 171H180v-5.586zm-8 5.172l5.586-5.586h-11.172l5.586 5.586zM152.933 25.653l1.414 1.414-33.94 33.942-1.416-1.416 33.943-33.94zm1.414 127.28l-1.414 1.414-33.942-33.94 1.416-1.416 33.94 33.943zm-127.28 1.414l-1.414-1.414 33.94-33.942 1.416 1.416-33.943 33.94zm-1.414-127.28l1.414-1.414 33.942 33.94-1.416 1.416-33.94-33.943zM0 85c2.21 0 4 1.79 4 4s-1.79 4-4 4v-8zm180 0c-2.21 0-4 1.79-4 4s1.79 4 4 4v-8zM94 0c0 2.21-1.79 4-4 4s-4-1.79-4-4h8zm0 180c0-2.21-1.79-4-4-4s-4 1.79-4 4h8z' fill='%23ffffff' fill-opacity='0.4' fill-rule='evenodd'/%3E%3C/svg%3E");
}

/* card up side */

.card>.up{
    height: 60%;
    border-bottom: 2px solid yellowgreen;
    display: flex;
    justify-content: space-between;
}

/* card up side left */

.card>.up>.left{
    width: 80%;
    display: flex;
    justify-content: center;
    border-right: 2px solid #ccc;
}

/* card up side left up left */

.card>.up>.left>.up-left{
    width: 30%;
}

.up-left>.img{
    margin-left: 20px;
    margin-top: 20px;
}

.up-left>.img>img{
    width: 150px;
    border-radius: 50%;
    border: 5px solid #f7f7fa;
}

/* card up side left up right */

.card>.up>.left>.up-right{
    width: 70%;
    margin-top: 20px;
}

.up-right>h2{
    margin-top: 10px;
    font-weight: 400;
}

.up-right>.rating{
    margin-top: 10px;
    display: flex;
}

.up-right>.rating>i{
    color: #ecd90f;
}

.up-right>p{
    margin-top: 10px;
}

.up-right>p>i{
    color: #ccc;
}

.up-right>.btns{
    margin-top: 20px;
}

.up-right>.btns>a{
    text-decoration: none;
    color: #fff;
    padding: 10px;
    background-color: #2ecc71;
    border-radius: 8px;
}

.up-right>.btns>a:nth-child(2){
    background-color: #1abc9c;
}

/* card up side right */

.card>.up>.right{
    width: 20%;
}

.right>p{
    margin-top: 20px;
    margin-left: 10px;
    position: relative;
}

.right>p>span:nth-child(1){
    margin-right: 10px;
}

.right>p>span:nth-child(1)>i:nth-child(2){
    position: absolute;
    top: 5px;
    left: 80px;
    color: #ecd90f;
}

.right>p>span:nth-child(2)>i:nth-child(2){
    position: absolute;
    top: 4px;
    left: 110px;
    color: #ecd90f;
}

.right>.btns{
    display: flex;
    flex-direction: column;
    margin-top: 20px;
    margin-left: 10px;
}

.right>.btns>.n-btn{
    width: 90%;
    text-align: center;
    background-color: #626262;
    margin-bottom: 10px;
    padding: 7px;
    border-radius: 3px;
    font-weight: 600;
    text-transform: uppercase;
    font-size: 12px;
}

/* card down side */

.card>.down{
    height: 40%;
    display: flex;
    justify-content: space-between;
    padding: 20px;
}

/* card down side left side */

.down>.do-left {
    width: 70%;
    display: flex;
    justify-content: space-between;
    flex-direction: column;
}

.down>.do-left>.sharing-system {
    margin-right: 50px;
    margin-bottom: 30px;
}

/* card down side right side */

.down>.do-right{
    width: 40%;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
}

.do-right>p{
    text-transform: capitalize;
    margin-bottom: 10px;
}

.do-right>.text{
    background-color: #7dbcfa;
    padding: 5px;
    text-transform: none;
    text-align: center;
    color: #000000;
}

.div-two{
    margin-top: 20px;
    display: flex;
    width: 200px;
    height: 50px;
    gap: .4rem;
}

a.logo-a>img.logo-img{
    width: 50px;
    height: 50px;
    border-radius: 50%;
    border: 7px double #c29638;
    padding: 0;
}

.ss-btn{
    background-color: #1abc9c;
    padding: 15px;
    border-radius: 50%;
}

a.ss-btn > i {
    margin-top: .1rem;
}

.ss-btn:nth-child(2){
    background-color: #0866ff;
}

.ss-btn:nth-child(3){
    background-color: #fff;
    color: #000000;
}

.sm-card{
    display: none;
}

.useful-btn{
    display: flex;
    justify-content: space-between;
}

.complain-btn{
    width: 100%;
    background-color: orange;
    padding: 8px;
    border-radius: 8px;
    margin-right: 5px;

    animation: rotateIn infinite;
    animation-duration: 2.5s;
}

.complain-btn:nth-child(2){
    background-color: #fff;
    color: blue;
}

.complain-btn:nth-child(3){
    background-color: green;
}

.comment-box{
    width: 50rem;
    height: 25rem;
    border-radius: 8px;
    background-color: #000000;
    margin-top: 50px;
    color: #fff;
    padding: 10px;
}

.comment{
    margin-left: 10px;
    padding: 10px;
}

.comment>.details{
    display: flex;
    justify-content: left;
}

.comment>.details>.img>img{
    border-radius: 50%;
    width: 35px;
}

.comment>.details>.name{
    text-align: center;
    justify-content: center;
}

.list-inline{
    display: flex;
    margin-right: 50px;
}

.list-inline>li{
    list-style: none;
}

@media (max-width: 820px) {
    .sm-card{
        display: block;
        width: 40rem;
        background-color: #000000;
        background-image: url("data:image/svg+xml,%3Csvg width='180' height='180' viewBox='0 0 180 180' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M81.28 88H68.413l19.298 19.298L81.28 88zm2.107 0h13.226L90 107.838 83.387 88zm15.334 0h12.866l-19.298 19.298L98.72 88zm-32.927-2.207L73.586 78h32.827l.5.5 7.294 7.293L115.414 87l-24.707 24.707-.707.707L64.586 87l1.207-1.207zm2.62.207L74 80.414 79.586 86H68.414zm16 0L90 80.414 95.586 86H84.414zm16 0L106 80.414 111.586 86h-11.172zm-8-6h11.173L98 85.586 92.414 80zM82 85.586L87.586 80H76.414L82 85.586zM17.414 0L.707 16.707 0 17.414V0h17.414zM4.28 0L0 12.838V0h4.28zm10.306 0L2.288 12.298 6.388 0h8.198zM180 17.414L162.586 0H180v17.414zM165.414 0l12.298 12.298L173.612 0h-8.198zM180 12.838L175.72 0H180v12.838zM0 163h16.413l.5.5 7.294 7.293L25.414 172l-8 8H0v-17zm0 10h6.613l-2.334 7H0v-7zm14.586 7l7-7H8.72l-2.333 7h8.2zM0 165.414L5.586 171H0v-5.586zM10.414 171L16 165.414 21.586 171H10.414zm-8-6h11.172L8 170.586 2.414 165zM180 163h-16.413l-7.794 7.793-1.207 1.207 8 8H180v-17zm-14.586 17l-7-7h12.865l2.333 7h-8.2zM180 173h-6.613l2.334 7H180v-7zm-21.586-2l5.586-5.586 5.586 5.586h-11.172zM180 165.414L174.414 171H180v-5.586zm-8 5.172l5.586-5.586h-11.172l5.586 5.586zM152.933 25.653l1.414 1.414-33.94 33.942-1.416-1.416 33.943-33.94zm1.414 127.28l-1.414 1.414-33.942-33.94 1.416-1.416 33.94 33.943zm-127.28 1.414l-1.414-1.414 33.94-33.942 1.416 1.416-33.943 33.94zm-1.414-127.28l1.414-1.414 33.942 33.94-1.416 1.416-33.94-33.943zM0 85c2.21 0 4 1.79 4 4s-1.79 4-4 4v-8zm180 0c-2.21 0-4 1.79-4 4s1.79 4 4 4v-8zM94 0c0 2.21-1.79 4-4 4s-4-1.79-4-4h8zm0 180c0-2.21-1.79-4-4-4s-4 1.79-4 4h8z' fill='%23ffffff' fill-opacity='0.4' fill-rule='evenodd'/%3E%3C/svg%3E");
        height: 60rem;
        border-radius: 20px;
    }

    .sm-card-box{
        display: flex;
        justify-content: center;
        align-items: center;
        flex-direction: column;
    }

    .sm-card-box>.do-left{
        display: flex;
        flex-direction: column;
        margin-bottom: 20px;
        width: 80%;
    }

    .sm-card-box>.do-left>.div-one{
        margin-left: 50px;
    }

    .sm-card-box>.do-right{
        display: flex;
        flex-direction: column;
        width: 70%;
    }

    .card{
        display: none;
    }

    .sm-card-box>.do-left>.div-two{
        display: flex;
        justify-content: center;
        align-items: center;
    }

    .comment-box{
        width: 40rem;
    }
}

@media (max-width: 790px){
    .do-left{
        width: 100%;
    }

    .do-right{
        width: 100%;
    }

    .comment-box{
        width: 30rem;
    }
}

@media (max-width: 640px){
    .sm-card{
        width: 30rem;
    }
}

@media (max-width: 480px){
    .sm-card{
        width: 27rem;
    }

    .comment-box{
        width: 20rem;
    }
}

@media (max-width: 430px){
    .sm-card{
        width: 25rem;
    }
}

@media (max-width: 400px){
    .sm-card{
        width: auto;
        height: auto;
        padding: 8px;
    }

    .up>.right{
        display: flex;
        justify-content: center;
        align-items: center;
        flex-direction: column;
    }

    .up>.right>.btns{
        width: 50%;
    }
}