#navbar {
    background-color: #343a40;
    color: white;
    height: fit-content;
}

.nav-bar {
    margin-right: 1.3%;
    text-decoration: none;
    user-select: none;
}

.nav-bar:hover {
    cursor: pointer;
}

/* FOR TIMER */
#demo {
    color: black;
    background-color: lightgray;
    border-radius: 5px;
    width: fit-content;
    padding: 2%;
    margin-top: 20px;
}

#sec-event {
    color: black;
    background-color: lightgray;
    border-radius: 5px;
    width: fit-content;
    padding: 2%;
    margin-top: 20px;
}

/* OTHER */
.tline {
    color: white;
    background-color: black;
    border: white solid 2px;
    border-radius: 30px;
    padding: 1.5%;
    transition: 300ms;
    user-select: none;
}

.tline:hover {
    cursor: pointer;
    color: black;
    background-color: lightgrey;
    font-size: large;
}

.logo {
    display: inline-flex
}

.txt {
    display: inline-flex;
}

#banner {
    height: 20%;
}

#btn {
    color: white;
    background-color: black;
    border-radius: 50px;
    padding: 1.5%;
    border: white solid 2px;
    transition: 500ms;
    user-select: none;
}

#btn:hover {
    cursor: pointer;
    color: black;
    background-color: lightgrey;
    border: black solid 2px;
    font-size: large;
}

.potha {
    margin: 3%;

}

table {
    margin-top: 5%;
}

tr {
    border: none;
    margin: 1%;
    transition: 500ms;
    /* border: black solid 2px; */
}

td {
    border: none;
    margin-bottom: 5%;
    width: 30%;
    margin: 1%;
    /* border: solid black 2px; */
}

/* CARDS */

.cards {
    border: black dotted 2px;
    width: fit-content;
    margin-left: 2%;
    border: dashed 3px black;
    margin-bottom: 4%;
    width: 80%;
    padding: 2%;
    margin: 5%;
}

@media only screen and (min-width: 768px) {

    /*laptop*/
    .cards {
        width: 80%;
        height: 40%;
        padding: 2%;
        margin: 2%;
    }

    .mobile-view {
        display: none;
    }

    #banner {
        height: 60%;
        margin-top: 4%;
    }

    .home {
        width: 10%;
    }
}

/* OTHER */

.new {
    display: inline-flex;
}

.list-item {
    display: flex;
}

/*<-------------------------FOOTER--------------------------->*/
.footer {
    background: #262626;
    margin-top: 3%;
    padding: 30px 0px;
    font-family: 'Play', sans-serif;
}

.footer .row {
    margin: 2%;
    color: #fdffff;
    font-size: 0.8em;
    margin-bottom: 3%;
}

#icon {
    margin-left: 1.5%;
}

.footer .row a {
    text-decoration: none;
    color: gray;
    transition: 0.5s;
}

.footer .row a:hover {
    color: #fff;
}

.footer .row a i {
    font-size: 2em;
    margin: 0% 1%;
}

/*for mobile*/
@media (min-width:721px) and (max-width: 767px) {
    .cards {
        width: 80%;
        height: 40%;
        padding: 2%;
        margin: 2%;
    }

    .mobile-view {
        display: none;
    }

    #banner {
        height: 60%;
    }

    .home {
        width: 10%;
    }
}

@media (max-width:720px) {

    /*MOBILE*/
    .footer {
        text-align: left;
        padding: 5%;
    }

    #navbar {
        height: fit-content;
    }

    .home {
        width: 22%;
        margin-right: -3%;
    }

    .nav-bar {
        font-size: 0.8rem;
        margin-right: 5%;
    }

    #laptop-view {
        /*FOR DIFF DISPLAY IN SCREENS (LAPTOP VIEW KAREGA AND MOBILE MAI NHI)*/
        display: none;
    }

    #icon {
        margin-left: 3%;
    }
    .footer .row a i {
        margin: 0% 3%;
        display: block;
    }
}

/*<-------------------------MODAL--------------------------->*/
/* The Modal (background) */
.modal {
    display: none;
    /* Hidden by default */
    position: fixed;
    /* Stay in place */
    z-index: 1;
    /* Sit on top */
    left: 0;
    top: 0;
    width: 100%;
    /* Full width */
    height: 100%;
    /* Full height */
    overflow: auto;
    /* Enable scroll if needed */
    background-color: rgb(0, 0, 0);
    /* Fallback color */
    background-color: rgba(0, 0, 0, 0.4);
    /* Black w/ opacity */
    transition: 300ms;
}

/* Modal Content/Box */
.modal-content {
    background-color: white;
    margin: 15% auto;
    /* 15% from the top and centered */
    padding: 20px;
    border: 1px solid #888;
    width: 50%;
    /* Could be more or less, depending on screen size */
    height: 60%;
}

/* The Close Button */
.close {
    color: black;
    float: right;
    font-size: 28px;
    font-weight: bold;
}

.close:hover,
.close:focus {

    text-decoration: none;
    cursor: pointer;
}

/* PARTICIPATE */
.part {
    color: white;
    border-radius: 20px;
    padding: 2%;
    background-color: black;
    margin-bottom: 2%;
    transition: 300ms;
    user-select: none;
}

.part:hover {
    cursor: pointer;
    background-color: rgb(214, 214, 84);
    color: black;
    border: black solid 1px;
}

.rule {
    color: white;
    background-color: black;
    margin-top: 20px;
    width: fit-content;
    padding: 1.5%;
    border-radius: 20px;
}

/* for guest lectures */
.venue {
    color: black;
    background-color: lightgray;
    border-radius: 5px;
    width: fit-content;
    padding: 2%;
    margin-top: 20px;
}

/* -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------NEW START=========================================================================================================================================================================================================================================================================== */
.new-cards {
    border: black solid 4px;
    border-radius: 20px;
    width: fit-content;
    padding: 2%;
    margin: 3%;
    backdrop-filter: blur(5px);

}

.new-headings {
    width: 100%;
    background-color: black;
    color: white;
    border-top-left-radius: 20px;
    border-top-right-radius: 20px;
    margin-top: 0;
    padding: 0.7%;
}

.poster {
    border: 4px solid black;
    margin-bottom: 3%;
}

.new-part {
    padding: 2%;
    background-color: black;
    border-radius: 20px;
    color: white;
    margin-top: 2%;
    margin-bottom: 3%;
    padding-right: 17%;
    padding-left: 17%;
}

.new-demo {
    color: black;
    border-radius: 5px;
    width: 100%;
    padding: 1.5%;
    margin-top: 4%;
    background-color: #d6a384;
}

@media only screen and (min-width: 768px) {
    /*LAPTOP*/

}

@media (max-width:720px) {

    /*MOBILE*/
    .new-cards {
        margin: 5%;
    }

    .heading {
        padding: 2%;
        margin: 0;
    }
}

/*Landscape mode for some mobiles*/
@media (min-width:721px) and (max-width: 957px) {
    .new-part {
        padding-left: 12%;
        padding-right: 12%;
    }
}

.mob-heading {
    background-color: black;
    color: white;
    border-top-right-radius: 20px;
    border-top-left-radius: 20px;
    padding: 0.5%;
}

.mob-img {
    border: black solid 3px;
    margin-bottom: 3%;
}

.mob-part {
    color: white;
    background-color: black;
    border-radius: 20px;
    padding: 2%;
    padding-right: 7%;
    padding-left: 7%
}

.mob-demo {
    color: black;
    background-color: #d6a384;
    border-radius: 5px;
    width: 100%;
    margin-top: 5%;
}

/*======================== NAVBAR ============================ */
:root {
    --navbar-bg-color: hsl(0, 0%, 15%);
    --navbar-text-color: hsl(0, 0%, 85%);
    --navbar-text-color-focus: white;
    --navbar-bg-contrast: hsl(0, 0%, 25%);
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    height: 100vh;
    font-family: Arial, Helvetica, sans-serif;
    line-height: 1.6;
}

.container {
    max-width: 1000px;
    padding-left: 1.4rem;
    padding-right: 1.4rem;
    margin-left: auto;
    margin-right: auto;
}

#navbar {
    --navbar-height: 64px;
    position: fixed;
    height: var(--navbar-height);
    background-color: var(--navbar-bg-color);
    left: 0;
    right: 0;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.15);
    z-index: 999;
}

.navbar-container {
    display: flex;
    justify-content: space-between;
    height: 100%;
    align-items: center;
}

.navbar-item {
    margin: 0.4em;
    width: 100%;
}

.home-link,
.navbar-link {
    color: var(--navbar-text-color);
    text-decoration: none;
    display: flex;
    font-weight: 400;
    align-items: center;
}

.home-link:is(:focus, :hover) {
    color: var(--navbar-text-color-focus);
}

.navbar-link {
    justify-content: center;
    width: 100%;
    padding: 0.4em 0.8em;
    border-radius: 5px;
}

.navbar-link:is(:focus, :hover) {
    color: var(--navbar-text-color-focus);
    background-color: var(--navbar-bg-contrast);
}

.navbar-logo {
    background-image: url('Khanan\'23-logo.png');

}

#navbar-toggle {
    cursor: pointer;
    border: none;
    background-color: transparent;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
}

.icon-bar {
    display: block;
    width: 25px;
    height: 4px;
    margin: 2px;
    background-color: var(--navbar-text-color);
}

#navbar-toggle:is(:focus, :hover) .icon-bar {
    background-color: var(--navbar-text-color-focus);
}

#navbar-toggle[aria-expanded="true"] .icon-bar:is(:first-child, :last-child) {
    position: absolute;
    margin: 0;
    width: 30px;
}

#navbar-toggle[aria-expanded="true"] .icon-bar:first-child {
    transform: rotate(45deg);
}

#navbar-toggle[aria-expanded="true"] .icon-bar:nth-child(2) {
    opacity: 0;
}

#navbar-toggle[aria-expanded="true"] .icon-bar:last-child {
    transform: rotate(-45deg);
}

#navbar-menu {
    position: fixed;
    top: var(--navbar-height);
    bottom: 0;
    opacity: 0;
    visibility: hidden;
    left: 0;
    right: 0;
}

#navbar-toggle[aria-expanded="true"]+#navbar-menu {
    background-color: rgba(0, 0, 0, 0.4);
    opacity: 1;
    visibility: visible;
}

.navbar-links {
    list-style: none;
    position: absolute;
    background-color: var(--navbar-bg-color);
    display: flex;
    flex-direction: column;
    align-items: center;
    left: 0;
    right: 0;
    margin: 1.4rem;
    border-radius: 5px;
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.3);
}

#navbar-toggle[aria-expanded="true"]+#navbar-menu .navbar-links {
    padding: 1em;
}

@media screen and (min-width: 700px) {

    #navbar-toggle,
    #navbar-toggle[aria-expanded="true"] {
        display: none;
    }

    #navbar-menu,
    #navbar-toggle[aria-expanded="true"] #navbar-menu {
        visibility: visible;
        opacity: 1;
        position: static;
        display: block;
        height: 100%;
    }

    .navbar-links,
    #navbar-toggle[aria-expanded="true"] #navbar-menu .navbar-links {
        margin: 0;
        padding: 0;
        box-shadow: none;
        position: static;
        flex-direction: row;
        width: 100%;
        height: 100%;
    }
}

.motive {
    padding-top: 8%;
}

@media (max-width:720px) {

    /*MOBILE*/
    .motive {
        padding-top: 20%;
    }

    #banner {
        margin-top: 10%;
    }
}

@media (min-width:721px) and (max-width: 957px) {
    #banner {
        margin-top: 13%;
    }
}

#butt {
    display: none;
    /* Hidden by default */
    position: fixed;
    /* Fixed/sticky position */
    bottom: 20px;
    /* Place the button at the bottom of the page */
    right: 30px;
    /* Place the button 30px from the right */
    z-index: 998;
    /* Make sure it does not overlap */
    border: none;
    /* Remove borders */
    outline: none;
    /* Remove outline */
    background-color: #262626;
    /* Set a background color */
    color: white;
    /* Text color */
    cursor: pointer;
    /* Add a mouse pointer on hover */
    padding: 20px;
    /* Some padding */
    border-radius: 10px;
    /* Rounded corners */
    font-size: 18px;
    /* Increase font size */
}

#butt:hover {
    background-color: #555;
    /* Add a dark-grey background on hover */
}

#particles-js {
    position: fixed;
    background-color: #ebebeb;
    background-position: 50% 50%;
    background-size: cover;
    width: 100%;
    height: 100%;
    opacity: 0.4;
}
#win-table {
    width: 100%;
    max-width: 600px;
    margin: 0 auto;
    border-collapse: collapse;
}
.new-tr {
    padding: 15px;
    text-align: left;
    border-bottom: 1px solid #ddd;
    background-color: #333;
    color: white;
}