@import url("https://fonts.googleapis.com/css2?family=Poppins:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&display=swap");

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

body {
    background-color: rgb(16, 16, 16);
    color: white;
}

ul {
    list-style: none;
}

.background {
    position: absolute;
    font-size: 15rem;
    font-weight: 600;
    color: rgba(235, 235, 235, 0.04);
    user-select: none;
    z-index: 1;
}

.exit {
    cursor: pointer;
    position: absolute;
    right: 40px;
    top: 40px;
}

.logo {
    font-size: 2rem;
}

.home {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 50px;
}

.menu-div:hover {
    color: gray;
    cursor: crosshair;
    transition: all 0.2s ease-in-out;
}

.menu {
    opacity: 0.3;
    width: 100%;
    height: 100vh;
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    padding: 0 50px;
    position: fixed;
    top: -100%;
    align-items: center;
    background-color: rgb(39, 39, 39);
}

.nav {
    opacity: 0;
    margin-bottom: -20px;
}

.nav-link {
    color: white;
    text-decoration: none;
    font-size: 3rem;
    transition: all 0.2s ease-in-out;
}

.nav-link:hover {
    color: #dd7dff  ;
    transition: all 0.2s ease-in-out;
}

.small-number {
    font-family: "Poppins", sans-serif;
    font-size: 1.2rem;
}

.title {
    font-size: 2rem;
    font-family: "Poppins Light", sans-serif;
    color: #9d9c9c;
    text-shadow: -0.5px -0.5px 1px rgba(159, 159, 159, 0.45), 1px 1px 1px rgba(0, 0, 0, 0.77);
}

.right {
    padding-right: 100px;
}

.information {
    margin-bottom: 24px;
}

.menu-box {
    z-index: 3;
}

.social-medias > a {
    color: white;
    display: flex;
    text-decoration: none;
    text-transform: uppercase;
    font-size: 0.8rem;
    letter-spacing: 1.2px;
}

.social-medias > a:hover {
        color: #dd7dff;
}

/* Media Query */
@media screen and (max-width: 660px) {
    .menu {
        flex-direction: column;
        justify-content: center;
        transition:width 1s ease-in-out;
    }

    .right {
        display: none;
    }
}

.about-box {
    max-width: 800px;
    margin: 50px auto;
    padding: 20px;
    text-align: left;
    line-height: 1.8;
    color: #ddd;
}

.section {
    margin-bottom: 40px;
}

.section .title {
    font-size: 2rem;
    margin-bottom: 10px;
    color: #dd7dff;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
}

.section .description {
    font-size: 1rem;
    color: #b8b8b8;
}


.faculty {
    padding: 80px 50px;
    color: white;
    text-align: center;
}

.faculty-box {
    position: relative;
    z-index: 2;
}

.faculty-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
    margin-top: 30px;
}

.faculty-card {
    background-color: rgb(39, 39, 39);
    padding: 20px;
    border-radius: 10px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    text-align: left;
}

.faculty-card:hover {
    transform: translateY(-10px);
    box-shadow: 0px 4px 15px rgba(0, 0, 0, 0.5);
}

.professor-name {
    font-size: 1.8rem;
    color: #dd7dff;
    margin-bottom: 10px;
}

.professor-subjects {
    font-size: 1rem;
    line-height: 1.5;
    color: #ccc;
}

@media screen and (max-width: 768px) {
    .faculty {
        padding: 40px 20px;
    }
}

/* ID Card Styling */
#id-card {
    width: 300px;
    height: 400px;
    background: #f5f5f5;
    border: 2px solid #0056b3;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    overflow: hidden;
}

.id-card-header {
    background: #0056b3;
    color: white;
    padding: 10px;
    text-align: center;
}

.id-card-body {
    display: flex;
    flex-direction: column;
    padding: 15px;
}

.profile {
    text-align: center;
    margin-bottom: 15px;
}

.profile img {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    border: 2px solid #ccc;
    object-fit: cover;
}

.details {
    text-align: left;
    font-size: 14px;
    color: #333;
    line-height: 1.5;
}

/* Download Button */
.download-btn {
    margin-top: 15px;
    padding: 10px 15px;
    background-color: #0056b3;
    color: white;
    border: none;
    border-radius: 5px;
    font-size: 14px;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.download-btn:hover {
    background-color: #ffcc00;
}

/* Hidden Element */
.hidden {
    display: none;
}

.animate-text {
    opacity: 0;
    transform: translateY(50px);
}

.about-box {
    max-width: 800px;
    margin: 50px auto;
    padding: 20px;
    text-align: left;
    line-height: 1.8;
    color: #ddd;
}

.section {
    margin-bottom: 40px;
}

.section .title {
    font-size: 2rem;
    margin-bottom: 10px;
    color: #dd7dff;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
}

.section .description {
    font-size: 1rem;
    color: #b8b8b8;
}

