* {
    color: white;
}

/* Animations */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* FONTS */
@font-face {
    font-family: 'Titlecard';
    src: url('../fonts/font2.woff2') format('woff2');
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Basic Text';
    src: url('../fonts/font3.woff2') format('woff2');
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}


@font-face {
    font-family: 'Users';
    src: url('../fonts/font6.woff2') format('woff2');
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}


body {
    background-color: #0F2027 !important;
}


/* TOP-NAV code */ 

#title {
    font-family: 'Titlecard', serif;
}

.top-nav {
    display: flex;
    flex-direction: row;
    height: 15vh;
    width: 100vw;
    align-items: center;
    justify-content: space-evenly;
    background-color: #0F2027;
    color: white;
    backdrop-filter: blur(10px);
    border-radius: 15px;
    padding: 20px;
    box-shadow: 0px 8px 32px rgba(0, 0, 0, 0.37);
    transition: color 0.3s ease-in-out, text-shadow 0.3s ease-in-out;
    position: relative;
    z-index: 10;
}

a {
    display: inline-block; 
     transition: transform 0.25s ease;
}

a:link, a:visited, a:hover, a:active {
    text-decoration: none;--bs-text-opacity: 1;
    color: rgba(var(--bs-dark-rgb), var(--bs-text-opacity)) !important;
  }

a:hover {
     transform: translateY(-4px) scale(1.05);
}

/* Dropdown Button */
.dropbtn {
    background-color: #0F2027;
    color: white;
    border: none;
    padding: 10px 20px;
    cursor: pointer;
    transition: color 0.98s ease-in-out, text-shadow 0.98s ease-in-out;
}

/* Dropdown Content (Hidden by Default) */
.dropdown-content {
    display: none;
    position: absolute;
    min-width: 200px;
    box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.2);
    z-index: 30;
}

/* Links inside the dropdown */
.dropdown-content a {
    color: black;
    padding: 12px 16px;
    text-decoration: none;
    display: block;
}

/* Change color of dropdown links on hover */
.dropdown-content a:hover {
   background-color: rgba(255, 255, 255, 0.2);
}

/* Show the dropdown menu on hover */
.dropdown:hover .dropdown-content {
    display: block;
    background-color: #0F2027;
}

/* Change the background color of the dropdown button when the dropdown content is shown */
.dropdown:hover .dropbtn {
    background-color: rgba(255, 255, 255, 0.2);
}


p, li {
    font-family: 'Basic Text', serif;
    transition: color 0.3s ease-in-out, text-shadow 0.3s ease-in-out;
}

h3, h5 {
    font-family: 'Users', serif;
    transition: color 0.3s ease-in-out, text-shadow 0.3s ease-in-out;
}

#sub-text {
    font-family: 'Users, serif';
    color: gray;
    font-size: xx-small;
}

/* login link below button */
#link {
    text-decoration: none;
    font-weight: bold;
    transition: color 0.2s;
}

#link:hover {
    text-decoration: underline;
}