@import url('https://fonts.googleapis.com/css?family=Montserrat:400,600');

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Montserrat', sans-serif;
  background-color: Blanchedalmond;
  margin: 0;
  opacity: 0;
  transition: opacity 1s ease-out;
}

@media only screen and (min-width: 768px) {
.side-bar {
  width: 200px;
  height: 100vh;
  position: fixed;
  display: flex;
  flex-direction: column;
  text-align: center;
  justify-content: center;
  background: Papayawhip;
  font-size: 24px;
  font-weight: normal;
}

nav ul {
  padding: 0;
}

nav li {
  list-style: none;
}

nav li a {
  text-decoration: none;
  color: #4A0404;
  display: block;
  padding: 0.6rem 0.3rem;
  transition: all ease-out 250ms;
}

nav li a:hover {
  color: Sienna;
}

.main-content {
  margin-left: 200px;
}

.hidden {
  display: none;
}
}

section {
  min-height: 100vh;
  max-height: auto;
  margin: 0;
  padding: 1px 35px 10px 35px;
  font-size: 16px;
  font-weight: normal;
  color: #4A0404;
  text-align: justify;
}

section:nth-of-type(2) {
  background-image: url('imgs/hatter2_uj.jpg');
  background-position: center;
  background-size: cover;
  position: relative;
}

section:nth-of-type(3) {
  background-image: url('imgs/hatter3_uj.jpg');
  background-position: center;
  background-size: cover;
  position: relative;
}

section:nth-of-type(4) {
  background-image: url('imgs/hatter1_uj.jpg');
  background-position: center;
  background-size: cover;
  position: relative;
}

section:nth-of-type(5) {
  background-image: url('imgs/hatter4_uj.jpg');
  background-position: center;
  background-size: cover;
  position: relative;
}

@media only screen and (max-width: 767px) {
.side-bar {
  display: none;
}
}

a.sec:link {
  color: #4A0404;
  text-decoration: none;
}

a.sec:visited {
  color: #4A0404;
  text-decoration: none;
}

a.sec:hover {
  color: #4A0404;
  text-decoration: underline;
}

a.sec:active {
  color: #4A0404;
  text-decoration: underline;
}

h1 {
  color: Sienna;
  font-size: 32px;
  font-weight: bold;
}

.active {
  color: Sienna; 
  font-weight: bold;
}

p.nap1 {
  padding-top: 16px;
  font-size: 18px;
}

p.nap2 {
  font-size: 18px;
}