/* RESET */
html, body, div, span, applet, object, iframe,
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
a, abbr, acronym, address, big, cite, code,
del, dfn, em, img, ins, kbd, q, s, samp,
small, strike, strong, sub, sup, tt, var,
b, u, i, center,
dl, dt, dd, ol, ul, li,
fieldset, form, label, legend,
table, caption, tbody, tfoot, thead, tr, th, td,
article, aside, canvas, details, embed,
figure, figcaption, footer, header, hgroup, 
menu, nav, output, ruby, section, summary,
time, mark, audio, video {
  margin: 0;
  padding: 0;
  border: 0;
  font-size: 100%;
  font: inherit;
  vertical-align: baseline;
}

body {
  line-height: 1.4;
  font-family: "Ubuntu", sans-serif;
  background-color: black;
  color: white;
}

/* VARIABLES */
:root {
  --turquoise: #33a8a4;
  --white: #fff;
  --darkgrey: #252626;
  --grey: #5b5c5c;
  --dkbrown: rgb(51, 31, 6);
  --fonts: "Ubuntu", sans-serif;
  --shadow-color: hsla(24, 88%, 23%, 0.69);
  
}
/* skip link styles */
#skip{
	position: absolute;
	left: -10000px;
	top: auto;
	width: 1px;
	height: 1px;
	overflow: hidden;
}
 #skip:focus   {
	position: static;
	width: auto;
	height: auto;
}



/* light Mode */
body.dark-mode {
  background-color: white;
  color: black;
}
body.dark-mode #about {
  background-color: rgba(254, 253, 253, 0.703); 
  background-blend-mode: overlay;

}
body.dark-mode nav a {
  color: black; /* light mode link color */
}
body.dark-mode nav a:hover {
  color: black; 
}
body.dark-mode header{
  background-color: rgba(254, 253, 253, 0.447); 
  background-blend-mode: overlay;
}
body.dark-mode main {
  background-color: rgba(254, 253, 253, 0.464); 
  background-blend-mode: overlay;
}
body.dark-mode h2{
  color: black;
  
}
body.dark-mode footer svg{
  stroke: black;
}
body.dark-mode #navToggle{
  color: black;
} 
body.dark-mode nav.expanded {
  max-height: 300px;
  background-color: transparent;
}
body.dark-mode .arrows button{
    background-color: black;
    border: none;
    color: white;
    transition: background-color .5s;
}
body.dark-mode .arrows button:hover{
    background-color: white;
    color: black;
}

/* Icon Toggle */
#themeToggle {
  cursor: pointer;
  display: inline-block;
}

#sunIcon,
#moonIcon {
  transition: opacity 0.3s ease;
}

body.dark-mode #sunIcon {
  display: none;
}

body.dark-mode #moonIcon {
  display: block;
}

/* text/font styles */
/* body */
body{
    display: flex;
    flex-direction: column;
}
/* HEADER */
header {
  display: flex;
  align-items: center;       
  justify-content: space-between; 
  max-width: 100%;
  margin: 0;
  gap: 1rem;                
}
#headerimage h1 {
  font-family: "Limelight", sans-serif;
  font-size: 2.5rem;
  color: var(--turquoise);
  text-shadow: 2px 2px var(--shadow-color);
}

#headerimage img {
  width: 100%;
  max-width: 500px;
  height: auto;
}



nav {
  top: 0;
  right: -100%;             
  width: 250px;             
  height: 100vh; 
  overflow-y: auto;
  position: fixed;
  transition: below 0.3s ease; 
  z-index: 1000;   
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding: 2rem 2rem;
  box-sizing: border-box;
}
#navToggle {
  font-size: 2rem;
  color: white;
  background: none;
  border: none;
  cursor: pointer;
  margin-left: 2rem;
  margin-right: 1rem; 
  z-index: 1001;  
}
nav.expanded {
  right: 0;
  left:  30%;
  padding-top: 55%;
}


nav ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
  padding: 1rem 0;
}

nav a {
  font-size: 1.25rem;
  color: white;
  text-shadow: 1px 1px black;
  text-decoration: none;
}
/* main */
main{
    flex: 1;
    transition: margin-top 0.3s ease;
}
/* footer */
footer{
    display: flex;
    flex-direction: column;
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background-color: var(--turquoise);
    z-index: 999;
    

}
footer ul{
    display: flex;
    justify-content: center;
    list-style: none;

}
footer p{
    text-align: center;
}