:root {
    --primary-background-colour:#292b2f;
    --primary-text-colour: #f0f0f0;
} 

.dark-mode {
    background-color: white;
    color: var(--primary-background-colour);
    transition: 0.5s;
}

body {
    text-align: center;
    background-color: var(--primary-background-colour);
    color: var(--primary-text-colour);
    transition: 0.5s;
}

nav.nav-bar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px;
    color: var(--primary-text-colour);
    text-decoration: none !important;
    position: sticky;
    width: 100vw;
    top: 0;
    z-index: 10000;
}

.nav-bar ul{
    display:flex;
    list-style: none;
    padding-left:0px;
}

.nav-bar ul li{
    margin: 10px;
    margin-bottom: 0px;
    text-decoration: none !important;
    font-size: 1rem;
    align-items: center;
    display: flex;
}

.nav-bar a:hover {
    color: blue;
    text-decoration: none !important;
    transition: 1s;
}

.nav-bar a {
    text-decoration: none !important;
    font-size: 1.5rem;
    display: flex;
    align-items: center;
    position: relative
}

.nav-bar ul a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 0.1em;
  background-color: blue;
  transition: 0.3s;
  transform: scale(0);
  transform-origin: center;
}

.nav-bar ul a:hover::after,
.nav-bar ul a:focus::after {
  opacity: 1;
  transform: scale(1);
}

.logo {
    height: 50px;
    margin-right: 20px;
}

.white-text {
    color: white;
}

.transparent {
  top: 0;
  left: 0;
  background: transparent;
  z-index: 10000;
  position: absolute;
}



.slide-in {
  position: relative;
  animation: slideIn 1s ease-in-out;
}

@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

.image-container {
    position: relative;
    text-align:center;
}

.bottom-right {
    position: absolute;
    bottom: 8px;
    right: 16px;
    color: black;
}

.float-right {
  margin-left:auto;
  margin-right:20px;
}

/* From Uiverse.io by JustCode14 */ 
/* Theme Switch */
/* The switch - the box around the slider */
.switch {
  font-size: 17px;
  position: relative;
  display: inline-block;
  width: 4em;
  height: 2.2em;
  border-radius: 30px;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
}

/* Hide default HTML checkbox */
.switch input {
  opacity: 0;
  width: 0;
  height: 0;
}

/* The slider */
.slider {
  position: absolute;
  cursor: pointer;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: #2a2a2a;
  transition: 0.4s;
  border-radius: 30px;
  overflow: hidden;
}

.slider:before {
  position: absolute;
  content: "";
  height: 1.2em;
  width: 1.2em;
  border-radius: 20px;
  left: 0.5em;
  bottom: 0.5em;
  transition: 0.4s;
  transition-timing-function: cubic-bezier(0.81, -0.04, 0.38, 1.5);
  box-shadow: inset 8px -4px 0px 0px #fff;
}

.switch input:checked + .slider {
  background-color: #00a6ff;
}

.switch input:checked + .slider:before {
  transform: translateX(1.8em);
  box-shadow: inset 15px -4px 0px 15px #ffcf48;
}

.star {
  background-color: #fff;
  border-radius: 50%;
  position: absolute;
  width: 5px;
  transition: all 0.4s;
  height: 5px;
}

.star_1 {
  left: 2.5em;
  top: 0.5em;
}

.star_2 {
  left: 2.2em;
  top: 1.2em;
}

.star_3 {
  left: 3em;
  top: 0.9em;
}

.switch input:checked ~ .slider .star {
  opacity: 0;
}

.cloud {
  width: 3.5em;
  position: absolute;
  bottom: -1.4em;
  left: -1.1em;
  opacity: 0;
  transition: all 0.4s;
}

.switch input:checked ~ .slider .cloud {
  opacity: 1;
}

.brand-icon-container {
  margin-right:20px;
  display:flex;
  gap: 16px;
}

.brand-logo {
  height: 1.5em;
}