@import url("https://fonts.googleapis.com/css2?family=Poppins:wght@100;200;300;400;500;600;700;800&amp;display=swap");
@import "sidebar.css";
@import "progress.css";
@import "dropdownmenu.css";

.card-img-top {
    width: 100%;
    height: 20vw;
    object-fit: cover;
}

@media print {
    @page {
        margin-top: 0;
        margin-bottom: 0;
    }
    body {
        padding-top: 72px;
        padding-bottom: 72px;
    }
}
.d-none {
    display: none;
}

body {
    background: #f9f8f8;
    font-size: 14px;
    font-family: "Poppins", sans-serif !important;
}
h1,
h2,
h3,
h4,
h5,
h6,
button,
input,
textarea {
    font-family: "Poppins", sans-serif !important;
}
.center-screen {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    min-height: 85vh;
}

p {
    font-size: 14px;
    font-family: "Poppins", sans-serif !important;
}
a {
    color: inherit;
    text-decoration: none;
    cursor: pointer;
    font-family: "Poppins", sans-serif !important;
}
a:hover {
    color: inherit;
    text-decoration: none;
    cursor: pointer;
}

.swal2-styled:focus {
    box-shadow: none !important;
}

/* card  */

.card {
    position: relative;
    overflow: hidden;
}
.my-card .card {
    border: 2px solid #f0f0f0;
}
.my-card .card:hover {
    border: 2px solid #ddd;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    border-radius: 8px;
    transition: 0.5s;
}
.card-img {
    height: 300px;
    width: 100%;
}
.my-card a {
    width: 100%;
    margin-top: 15px;
    font-size: 14px;
}
.my-card {
    padding-bottom: 100px; /* Adjust based on image height */
}
.my-card .card-text .one {
    background: #6fd943;
    padding: 5px 10px;
    border-radius: 20px;
    color: #ffffff;
}
.my-card .btn {
    background-color: #101828;
    padding: 15px;
}
.my-card .card-text .two {
    background: #ff8c4b;
    margin-left: 10px;
    padding: 5px 10px;
    border-radius: 25px;
    color: #ffffff;
}

.my-card .exam {
    background: #eaecf0;
    padding: 5px 10px;
    border-radius: 20px;
    color: #101828;
}
.my-card .time {
    background: #70d94349;
    padding: 5px 10px;
    border-radius: 20px;
    color: #101828;
}
.my-card .question {
    padding: 8px;
}
