html, body {
  margin: 0;
  padding: 0;
}
canvas {
  display: block;
}
body, html {
  font: 400 15px/1.8 "Lato", sans-serif;
  margin: 0;
}
  
body {
  background: var(--background-colour-body);
}

main {
  width: 100%;
}

p {
  padding: 10px;
}

footer {
  height: 10vh;
  background: var(--background-colour-footer);
  color: var(--text-colour-footer);
  text-align: center;
  position: absolute;
  width: 100%;
  bottom: 0;
}

section {
  width: 95%;
  text-align: center;
  margin: 2.5% 2.5%;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.header {
  height: 10vh;
  background: var(--background-colour-header);
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  font-size: 32px;
  color: var(--text-colour-logo);
  text-decoration: none;
  font-weight: 700;
  padding-left: 10px;
}

.material-symbols-outlined {
  font-variation-settings:
  'FILL' 0,
  'wght' 400,
  'GRAD' 0,
  'opsz' 24;
}

nav a {
  display: inline;
  font-size: 18px;
  color: var(--text-colour-nav-link);
  text-decoration: none;
  font-weight: 500;
  padding-right: 40px;
}

nav a:hover {
  color: var(--text-colour-nav-hover);
}

/* Create a character */

label {
  display: block;
  margin-bottom: 5px;
}

input,
select,
textarea {
  width: 60%;
  padding: 8px;
  margin-bottom: 10px;
  box-sizing: border-box;
}

button {
  background-color: var(--button-colour);
  width: 200px;
  color: var(--button-text-colour);
  padding: 10px;
  border: none;
  cursor: pointer;
  font-size: 18px;
}

button:hover {
  background-color: var(--button-hover-colour);
}

textarea {
  height: 100px; 
}

#summary-section {
  background-color: var(--background-colour-section);
  border: 1px solid var(--border-colour-section);
  border-radius: 5px;
  padding: 5px;
  display: none;
}

#summary-section h2 {
  width: 100%;
  text-align: center;
  color: var(--text-colour-section-heading);
}

#summary-section p {
  width: 100%;
  text-align: center;
  margin-top: 10px;
  color: var(--text-colour-section-summary);
}

#alert {
  text-align: center;
  color: var(--text-colour-alert);
  display: none;
}

/* Light mode */

.switch-container {
  display: flex;
  align-items: center;
}

.switch {
  position: relative;
  display: inline-block;
  width: 60px;
  height: 34px;
}

.switch-slider {
  position: absolute;
  cursor: pointer;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: var(--background-colour-switch);
  transition: 0.4s;
  border-radius: 34px;
}

.switch-slider:before {
  position: absolute;
  content: "";
  height: 26px;
  width: 26px;
  left: 4px;
  bottom: 4px;
  background-color: var(--switch-colour);
  transition: 0.4s;
  border-radius: 50%;
}

input:checked + .switch-slider {
  background-color: var(--background-colour-switch-checked);
}

input:checked + .switch-slider:before {
  transform: translateX(26px);
}
  
.switch-label {
  margin-left: 10px;
  padding-right: 10px;
  color: var(--text-colour-switch-label);
}

/* Hero Slider */

.hero-container {
  width: 100%;
  overflow: hidden;
  position: relative;
}

.hero-slider {
  display: flex;
  transition: transform 0.5s ease-in-out;
}

.hero-slide {
  min-width: 100%;
  box-sizing: border-box;
  display: none;
}

.hero-slide.active {
  display: flex;
}

.hero-slide img {
  width: 100vw;
  height: auto;
}

.description {
  display: none;
}

.description.active {
  display: flex;
}


.hero-nav-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  font-size: 90px;
  background-color: black; /*var(--background-colour-hero-nav);*/
  color: pink; /* var(--text-colour-hero-nav); */
  padding: 10px;
  cursor: pointer;
  border: none;
  outline: none;
}

.prev {
  left: 10px;
}

.next {
  right: 10px;
}

#background {
  width: 70%;
  background-color: var(--background-colour);
  border: none;
  color: var(--text-colour);
}

#background-display {
  display: none;
  justify-content: space-between;
  margin: 20px;
}

/* Light Mode Styles */

body.light-mode {
  background: var(--background-colour-light-mode);
  color: var(--text-colour-light-mode);
}

.light-mode .navigation {
  background-color: var(--background-colour-light-mode-navigation);
}

.light-mode .year {
  color: var(--text-colour-light-mode-year);
}

.light-mode .logo {
  color: var(--text-colour-light-mode-logo);
}

.light-mode nav a {
  color: var(--text-colour-light-mode-nav);
}

.light-mode nav a:hover {
  color: var(--text-colour-light-mode-nav-hover);
}

.light-mode .header {
  background: var(--background-colour-light-mode-header);
}

.light-mode footer {
  background: var(--background-colour-light-mode-footer);
  color: var(--text-colour-light-mode-footer);
}

.menu-icon {
  display: none;
  cursor: pointer;
}