@keyframes fade {
    0% {
        opacity: 0;
    }

    50% {
        opacity: 0.5;
    }

    100% {
        opacity: 1;
    }
}

nav ul {
    margin: 1rem 0;
    padding: 0;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    list-style: none;
}

nav a {
    margin: 0 1rem;
    color: #566B78;
    text-decoration: none;
    text-transform: uppercase;
    display: flex;
    align-items: flex-start;
}

.app>* {
    display: none;
}

.app>*:last-child {
    display: block;
}

.app>*:target {
    display: block;
    animation: fade 300ms linear 1;
}

.app>*:target~* {
    display: none;
}


.nav-link {
    text-align: center;
    color: white;
}

.nav-link.tab {
    text-align: center;
    color: red;
    /* color: rgb(8, 3, 3); */
}

.fa-moon.fa-duotone:after,
.fad:after {
    color: gray;
}


.nav-link.tab.active {
    text-align: center;
    color: rgb(20, 5, 184);
    font-weight: 800;
}

.iconName {
    font-size: .5em;
}

.navbar {
    border-radius: 1rem 1rem 0 0;
    padding-top: .5em;
    padding-bottom: 0.1em;

}

.navbar>.container-fluid {
    display: flex;
    align-items: stretch;
}

/* Style the active class, and buttons on mouse-over */
.active,
.nav-link:hover {
    color: rgb(28, 213, 255);
    font-size: 1em;
}

.tab-text {
    color: rgb(249, 0, 0) !important;
}

.dark-mode {
    background-color: black;
    color: white;
}


/* FOOTER TAB STYLING - START */
.tab-nav-container {
    background-color: #fff;
    border-top-right-radius: 10px;
    border-top-left-radius: 10px;
    box-shadow: 0 3px 6px rgba(0, 0, 0, 0.16), 0 3px 6px rgba(0, 0, 0, 0.23);
    display: flex;
    justify-content: space-between;
    padding: 10px;
    border-top: 1px solid gray;
    width: 100%;
    position: fixed;
    bottom: 0;
    text-decoration: none !important;
}

.tab-nav-container .tab {
    border-radius: 15px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 8px 15px;
    margin: 0 10px;
    transition: background 0.5 linear;
    text-decoration: none !important;
}

.tab-nav-container .tab i {
    font-size: 2em;
    color: white;
}

.tab-nav-container .tab.active i {
    font-size: 1.5em;
}

.tab-nav-container .tab p {
    overflow: hidden;
    max-width: 0;
}

.tab-nav-container .tab.active p {
    margin-left: 10px;
    max-width: 200px;
    transition: max-width 0.4s linear;
    padding: 5px;
}

.tab-nav-container .tab.active.purple {
    background-color: rgba(5, 176, 51, 0.2);
    color: rgb(3, 168, 14);
}

.tab-nav-container .tab.active.purple i {
    color: rgb(3, 188, 43);
}

.tab-nav-container .tab.active.pink {
    background-color: rgba(243, 185, 226, 0.2);
    color: rgb(255, 138, 220);
}

.tab-nav-container .tab.active.pink i {
    color: rgb(255, 138, 220);
}

.tab-nav-container .tab.active.yellow {
    background-color: rgba(230, 169, 25, 0.2);
    color: rgba(230, 169, 25, 1);
}

.tab-nav-container .tab.active.yellow i {
    color: rgba(230, 169, 25, 1);
}

.tab-nav-container .tab.active.teal {
    background-color: rgba(237, 164, 196, 0.167);
    color: rgb(69, 142, 245);
}

.tab-nav-container .tab.active.teal i {
    color: rgb(69, 142, 245);
}

.tab-nav-container .tab.active.orange {
    background-color: rgba(237, 164, 196, 0.167);
    color: rgb(35, 255, 207);
}

.tab-nav-container .tab.active.orange i {
    color: rgb(35, 255, 207);
}

@media (max-width: 450px) {
    .tab-nav-container .tab {
        padding: 0 10px;
        margin: 0;
    }

    .tab-nav-container .tab i {
        font-size: 1.4em;
    }
}

/* FOOTER TAB STYLING - END */




button {
    cursor: pointer;
}

.form {
    display: flex;
    flex-direction: column;
    padding: 10px;
    justify-content: center;
    align-items: center;
}

.form label {
    margin-bottom: 10px;
    width: 100%;
    display: flex;
    justify-content: space-between;
}

table {
    border-collapse: collapse;
}

td,
th {
    border: 1px solid #dddddd;
    text-align: left;
    padding: 8px;
}

input {
    border-radius: 5px;
    border: 1px solid gray;
    margin: 0px 8px;
    padding: 2px 5px;
}

#modal {
    position: absolute;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    display: none;
}

#modal .backdrop {
    background-color: rgba(43, 40, 40, 0.5);
    width: 100vw;
    height: 100vh;
}

#modal .form {
    background-color: #fff;
    border: 1px solid blue;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 1;
    width: 90%;
}

.fa {
    pointer-events: none;
}