body {
  background: #ecf0f1;
  color: #050620;
  transition: all 0.3s ease-out;
}

p, li, a {
  font-size: 18px;
  text-decoration: none;
}

h1 {
  padding-top: 100px;
}

/* Hero */

.hero {
  min-height: 100%;
  position: relative;
  padding: 0 10%;
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

.hero-text {
  height: 500px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

/* Header Bar */

.header-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 30px;
}

/* Logo */
.logo-container {
  display: flex;
  align-items: center;
}
.logo {
  height: 42px;
  z-index: 5;
  cursor: pointer;
}
.logo-container .logo-text {
  margin-left: 10px;
  font-weight: 800;
  font-size: 24px;
  color: #050620;
}




/* Darkmode */

.dark {
  background-color: #050620;
  color: #ecf0f1;
}

.dark p, li, a {
  color: #ecf0f1;
}



.darkmode-toggle::-moz-selection {
  background-color: rgba(255,255,255,0);
}
.darkmode-toggle::selection {
	background-color: rgba(255,255,255,0);
}

/* do not display the input field */
#darkmode-input {
  display: none;
}

.darkmode-toggle {
  /* position: absolute; */
  display: inline-block;
  width:  56px;
  height: 36px;
  padding: 3px;
  /* top: 24px;
  right: 10%; */
  z-index: 5;
  cursor: pointer;
  /* border: 2px solid white; */
  border-radius: 18px;
  background-color: #cacaca;
}

.darkmode-toggle-slider {
  display: inline-block;
  /* position: relative; */
  width: 30px;
  height: 30px;
  border-radius: 100%;
  background-color: #ecf0f1;
  box-shadow: 0px 0px 5px rgba(5,6,32,0.15);
  cursor: pointer;
  transition: all 0.3s ease-in-out;
}

#darkmode-input:checked + .darkmode-toggle .darkmode-toggle-slider {
  transform: translate(20px, 0px);
  background-color: rgba(5,6,32,1.0);
  box-shadow: 0px 0px 5px rgba(5,6,32,0.35);
}




/* Default colour scheme */

#darkmode-default {
  position: relative;
  z-index: 5;
}
#darkmode-default:after {
  content: "";
  position: absolute;
  display: block;
  width: 100%;
  height: 3px;
  bottom: 0px;
  left: 0px;
  border-radius: 3px;
  background-color: rgba(0,0,0,0.5);
  z-index: -1;
}

.dark #darkmode-default:after {
  background-color: rgba(255,255,255,0.5);
}

/*

/* Dark mode *
@media (prefers-color-scheme: dark) {
    body {
        background-color: #000;
        color: white;
    }
}

/* Light mode *
@media (prefers-color-scheme: light) {
    body {
        background-color: #FFF;
        color: black;
    }
}

@media (prefers-color-scheme: no-preference) {

}
*/
