html, 
body {
  width: 100%;
  height: 100%;
  font-family: "Cookie", cursive;
  font-weight: 400;
  font-style: normal;
  color: #fff;
}

html {
  -webkit-box-sizing: border-box;
  box-sizing: border-box; *behavior: url(../scripts/boxsizing.htc);
}

body {
  --nav-font-size: 2rem;
  --trans-bg: rgba(0, 0, 0, 0.2);
  --trans-bg-dark: rgba(0, 0, 0, 0.35);
  --round-borders: 1rem;
}

/* =================== */
/* text styles */
/* =================== */

p {
  font-size: 1rem;
  letter-spacing: 0.05rem;
}

h1, h2, h3, h4, h5, h6 {
  padding: 0;
  margin: 0;
}

a {
  text-decoration: none;
  color: inherit;
  cursor: pointer;
}

a:hover, a:focus {
  text-decoration: inherit;
  color: inherit;
  cursor: pointer;
}

/* reset ul, li styles */
ul {
  list-style-type: none;
  padding: 0;
  margin: 0;
}

li {
  padding: 1.5rem;
  margin: 0;
  white-space: nowrap;
}

.heading-big {
  font-size: 2.8rem;
  padding: 2.5rem 0 1rem 0;
  font-family: 'Cookie', cursive;
}

.heading-medium {
  font-size: 2rem;
  font-family: 'Cookie', cursive;
}

.heading-small {
  font-size: 1.5rem;
  font-family: 'Cookie', cursive;
}

/* =================== */
/* images */
/* =================== */
img {
  width: 100%
  height: auto;
}

.color {
  opacity: 0.4;
  filter: alpha(opacity=40); /* msie */
  filter: blur(0.4rem);
  transition: all 0.1s;
}

/* =================== */
/* main navigation */
/* =================== */
.main-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  padding: 1rem 2rem;
  max-width: 100%;
  z-index: 1;
}

.main-nav {
  display: flex;
  align-items: flex-end;
  justify-content: space-evenly;
  width: 30rem;
  font-size: var(--nav-font-size);
}

.main-nav a {
  background: var(--trans-bg);
  border-radius: var(--round-borders);
  padding: 0.6rem 1.1rem;
}

.main-nav a:hover {
  filter: invert(1);
}

.side-header {
  display:none;
  position:absolute;
  padding: 0;
  width:8rem;
  top:1rem;
  right: 0;  
}

.side-header2 {
  display:none;
  position:absolute;
  background-color: rgba(0, 0, 0, 0.75);
  padding: 0.5rem 0.5rem;
  border-radius:50%;
  top:3rem;
  right: 2.5rem;  
  border:3px;
  border-style: double;
}  

.side-header, .side-header2 {
  z-index: 2;
  align-content: top;
  text-align:center;
}

.side-header i, .side-header2 i {
  font-size: var(--nav-font-size);
  color:#FFFFFF;
}

.side-header i:hover, .side-header2 i:hover {
  color:#FF0000;
}

.side-nav {
    display: none;
	position:absolute;
    top:0;
    right: 0;	
	height:100%;
	width:8rem;
	background-image: url('../img/bookmark.png');
	background-repeat: no-repeat;
	background-size: 100% 100%;
	z-index: 1;
	right: 0px;
	padding: 0px;
	align-content: center;
	text-align:center;
	font-size: var(--nav-font-size);
}

.side-nav a {
  color:#FF0000;
  padding: 0.5rem 0.5rem;
}

.side-nav a:hover {
  color:#000000;
}



/* =================== */
/* main logo */
/* =================== */

.main-logo {
  font-size: 2.3rem;
  font-weight: bold;
  line-height: 1.7rem;
  padding: 0.5rem 0;
  width: 12rem;
}

.main-logo-img {
  width: 12rem;
  height: auto;
}

/* =================== */
/* slider styles */
/* =================== */

/* wraps entire slider */
.slider-wrapper {
  overflow: hidden;
  width: 100%;
  position: relative;
  background-color: #000;
}

/* =================== */
/* slider controls*/
/* =================== */

.control {
  display: block;
  width: 40px;
  height: 10px;
  color: #fff;
  font-size: 3rem;
  padding: 0;
  margin: 0;
  line-height: 0;
}

.flash {
  animation: flash 0.5s linear;
}

@keyframes flash {
  50% {
    opacity: 0;
  }
}

.slider-container {
  /* 
  n variable holds number of images to make .container wide enough 
  to hold all its image children 
  that still have the same width as its parent
  */
  display: flex;
  align-items: center;
  overflow-y: hidden;
  width: 100%; /* fallback */
  width: calc(var(--n)*100%);
  max-height: 100vh;
  transform: translate(calc(var(--i, 0)/var(--n)*-100% + var(--tx, 0px)));
}

/* transition animation for the slider */
.smooth { 
  /* f computes actual animation duration via JS */
  transition: transform calc(var(--f, 1)*.5s) ease-out; 
}

/* =================== */
/* images for the slider */
/* =================== */
img {
  height: 100vh;
  width: 100%; /* can't take this out as it breaks Chrome */
  width: calc(100%/var(--n));
  pointer-events: none;
  object-fit: cover;
}


/* =================== */
/* main footer */
/* =================== */
.main-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  width: 100%;
  font-size: var(--nav-font-size);
  background: var(--bg-nav);
  z-index: 1;
}

.section-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.section-footer ul {
  display: flex;
  justify-content: space-between;
}

.section-footer i {
  background: var(--trans-bg-dark);
  border-radius: var(--round-borders);
  padding: 1rem 2rem;
  font-size: 2.2rem;
}

.section-footer a:hover {
  filter: invert(1);
}


/* =================== */
/* positions and other properties */
/* =================== */
.sticky {
  position: fixed;
  top: 0;
  width: 100%;
}

.cursor {
  cursor: pointer;
}

@media screen and (max-width: 1110px) {

  li {
    padding: 0;
  }

  .side-header {
    display:block;
  }

  .main-nav {
    display: none;
  }

  .main-footer {
    flex-direction: column;
    width: 30%;
    margin: 0 auto;
  }

  .section-footer i {
    font-size: 1.5rem;
  }
  
  .side-header, .side-header2, .side-nav {
    font-size: 1.5rem;
  }  
  .side-nav a {
  padding: 0.1rem 0.1rem;
  }
}


@media screen and (max-width: 400px)  {
  
  .main-header {
    padding: 0.5rem 1rem;
  }
  
  .main-logo {
    font-size: 2rem;
    font-weight: bold;
    line-height: 1.5rem;
    padding: 0;
    width: 12rem;
  }
.main-logo-img {
  width: 12rem;
  height: auto;
}
  .side-header, .side-header2, .side-nav {
    font-size: 1rem;
  }  
  .side-nav a {
  padding: 0;
  }

}