
@font-face {
    font-family: "Sanus";
    src: url("./Sansus.ttf");
}
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}
html {
    height: 100%;
    font-family: "Inter";
}
body {
    display: flex;
    flex-direction: row;
}
.container {
    background: rgb(59, 59, 59);
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100vh;
    width: 50vw;
}

.student-card {
    transform: scale(1.1);
    border-radius: 10px;
    width: 300px;
    height: 400px;
    background-color: rgb(223, 223, 223);
    display: flex;
    align-items: center;
    flex-direction: column;
    border: 4px solid white;
    position: relative;
    background-image: url("./iuh-2.png");
    background-size: 69%;
    background-repeat: no-repeat;
    background-position: 50%;
    z-index: 1;
}
.background1 {
    position: absolute;
    background: url("./Test_Background4.png");
    clip-path: polygon(0 0, 100% 0, 98% 14%, 70% 39%, 20% 64%, 0 100%);
    width: 100%;
    height: 33%;
    z-index: 0;
    border-radius: 10px 10px 0 0;
}

.background2 {
    position: absolute;
    bottom: 0;
    background: url("./Test_Background4.png");
    border-radius: 3px;
    clip-path: polygon(54% 73%, 85% 57%, 100% 21%, 100% 100%, 0 100%, 20% 86%);

    width: 100%;
    height: 33%;
    z-index: 0;
    border-radius: 0 0 10px 0;
}
.top-part {
    background-size: 12%;
    background-position: 50%;
    border-radius: 10px 10px 0px 0px;
    height: 33%;
    width: 100%;
    padding-top: 4px;
    position: relative;
    z-index: 0;
}
.logo {
    font-family: "Sanus";
    font-size: 10px;
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    gap: 4px;
    position: relative;
    letter-spacing: 2px;
    color: white;
}
.icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 110px;
    height: 110px;
    border-radius: 10px solid white;
    border-radius: 50%;
    background-color: white;
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    top: 45%;
    background-size: cover;
}
.profile {
    background-image: url("./profile.png");
    width: 90%;
    height: 90%;
    background-size: cover;
    border-radius: 50%;
}

.bottom-part {
    z-index: 0;
    height: 70%;
    width: 95%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-evenly;
    margin-top: 35px;
}
.header-info {
    display: flex;
    gap: 0px;
    flex-direction: column;
    text-align: center;

    .name {
        font-family: "Sanus";
        letter-spacing: 2px;
        font-size: 25px;
        display: flex;
        justify-content: center;
        gap: 0px;
        flex-direction: column;
        color: rgb(61, 103, 255);

        .role {
            color: black;
            text-align: center;
            font-family: "Sanus";
            font-size: 15px;
            letter-spacing: 2px;  
        }
    }

    .id {
        font-size: 13px;
        letter-spacing: 1px;
        font-weight: 600;
    }
}

.other-info {
    font-size: 12px;
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 5px    ;
    .label {
        display: inline-block;
        width: 70px;
        font-size: 12px;
        font-weight: bold;
    }
    .text {
        display: inline;
    }
}

.qr {
    display: flex;
    align-items: end;
    justify-content: end;
    margin-top: 15px;
    gap: 5px;
    filter: invert(1);
    .date {
        font-size: 7px;
        font-weight: bold;
        color: #000000c2;
    }
}

.product-card {
    width: 300px;
    height: 400px;
    display: flex;
    flex-direction: column;
    background-color: rgb(204, 204, 204);
    border-radius: 10px;
    align-items: center;
    border: 5px solid white;
    transform: scale(1.1);

    .product-info {
        display: flex;
        flex-direction: column;
        gap: 30%;
        width: 95%;
        padding: 0 5px;

        .top-part {
            text-align: center;
            display: flex;
            flex-direction: column;
            gap: 5px;

            .name {
                font-size: 25px;
                font-weight: bold;
                color: rgb(49, 112, 175);
                font-family: "Sanus";
                letter-spacing: 1px;
            }

            .poster {
                font-size: 12px;
                color: rgba(0, 0, 0, 0.742);
                margin-bottom: 0px;
            }

            .description {
                font-size: 13px;
                font-weight: bold;
                color: rgba(0, 0, 0, 0.815);
                text-align: left;

                .text {
                    line-height: 15px;
                    margin-top: 5px;
                    font-size: 11px;
                    text-align: justify;
                    color: rgba(42, 42, 42, 0.595);
                }
            }

            .review {
                font-size: 11px;
                font-weight: bold;
                color: rgb(60, 60, 60);
                margin-bottom: 5px;
            }
        }

        .bottom-part {
            display: flex;
            flex-direction: row;
            height: min-content;
            width: 100%;
            height: 60px;
            justify-content: space-between;
            flex-wrap: wrap;
            column-gap: 10px;

            .prices {
                font-size: 13px;
                color: rgb(38, 38, 38);

                .sales {
                    font-size: 17px;
                    font-weight: bold;
                    color: rgb(49, 112, 175);

                }

                .original {
                    font-size: 12px;
                    text-decoration: line-through;
                    color: rgb(68, 68, 68);
                }
            }

            .buy {
                padding: 5px 15px;
                text-align: center;
                color: rgb(49, 112, 175);
                font-family: "Sanus";
                background-color: transparent;
                border: 2px solid rgb(49, 112, 175);
                border-radius: 5px;
                padding: 4px 16px;
                font-size: 13px;
                cursor: pointer;
                transition: 0.25s;
            }
            .buy:hover {
                background-color: rgb(49, 112, 175);
                color: azure;
            }

            .ultils {
                display: flex;
                flex-direction: row;
                gap: 5px;
                font-size: 11px;
                width: 100%;
                justify-content: space-between;

                .report {
                    color: red;
                    font-weight: bold;
                    text-decoration: underline;
                    cursor: pointer;
                }

                .feedback {
                    font-weight: bold;
                    text-decoration: underline;
                    cursor: pointer;
                }
            }
        }
    }
}

.product-image {
    border-radius: 5px 5px 2px 2px ;
    width: 100%;
    height: 40%;
    background: url(./used-notebook.png), #31588caf;
    background-repeat: no-repeat;
    background-size: 65%;
    background-position: 50%;
}