html,
body {
  width: 100%;
}

html,
body,
header,
.view-intro {
  height: 100%;
}

.view-intro {
  background-image: url('/img/intro.jpg');
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center center;
  background-attachment: fixed;
}

.view-me {
  background-image: url('/img/me.jpg');
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center center;
  background-attachment: fixed;
}

.view-marlie {
  background-image: url('/img/marlie.jpg');
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center center;
  background-attachment: fixed;
}

.view-sea {
  background-image: url('/img/sea.jpg');
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center center;
  background-attachment: fixed;
}

nav, header {
  color: white;
}

main {
  color: black;
}

h1,h2, h4 {
  font-family: "Oswald", sans-serif;
}

h1 {
  font-size: 4rem;
}

h2 {
  font-size: 2rem;
}

p {
  font-size: 1.5rem;
  font-family: 'Cardo', serif;
}

.card-text {
  font-size: 1.2rem;
}

a {
  color: black;
  font-weight: bold;
}

.active {
  background-color: rgba(251, 194, 49, 0.2);
}

.individual {
  display: none;
}

.border-6 {
    border-width:6px !important;
}


.rgba-gradient {
  background: -moz-linear-gradient(45deg, rgba(38, 12, 12, 0.7), rgba(251, 194, 49, 0.5) 100%);
  background: -webkit-linear-gradient(45deg, rgba(38, 12, 12, 0.7), rgba(251, 194, 49, 0.5) 100%);
  background: -webkit-gradient(linear, 45deg, from(rgba(38, 12, 12, 0.7)), to(rgba(251, 194, 49, 0.5)));
  background: -o-linear-gradient(45deg, rgba(38, 12, 12, 0.7), rgba(251, 194, 49, 0.5) 100%);
  background: linear-gradient(to 45deg, rgba(38, 12, 12, 0.7), rgba(251, 194, 49, 0.5) 100%);
}

/* TYPEWRITER */
.typewriter h1 {
  overflow: hidden; /* Ensures the content is not revealed until the animation */
  white-space: nowrap; /* Keeps the content on a single line */
  margin: 0 auto; /* Gives that scrolling effect as the typing happens */
  letter-spacing: .05em; /* Adjust as needed */
  animation: typing 3.5s steps(30, end);
}

/* The typing effect */
@keyframes typing {
  from { width: 0 }
  to { width: 100% }
}

/* Toggle switch */

.btn-toggle {
  margin: 0 4rem;
  padding: 0;
  position: relative;
  border: none;
  height: 1.5rem;
  width: 3rem;
  border-radius: 1.5rem;
  color: #6b7381;
  background: #bdc1c8;
}
.btn-toggle:focus,
.btn-toggle.focus,
.btn-toggle:focus.active,
.btn-toggle.focus.active {
  outline: none;
}
.btn-toggle:before,
.btn-toggle:after {
  line-height: 1.5rem;
  width: 4rem;
  text-align: center;
  font-weight: 600;
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 2px;
  position: absolute;
  bottom: 0;
  transition: opacity 0.25s;
}

.btn-toggle > .handle {
  position: absolute;
  top: 0.1875rem;
  left: 0.1875rem;
  width: 1.125rem;
  height: 1.125rem;
  border-radius: 1.125rem;
  background: #fff;
  transition: left 0.25s;
}
.btn-toggle.active {
  transition: background-color 0.25s;
}
.btn-toggle.active > .handle {
  left: 1.6875rem;
  transition: left 0.25s;
}
.btn-toggle.active:before {
  opacity: 0.5;
}
.btn-toggle.active:after {
  opacity: 1;
}
.btn-toggle:before,
.btn-toggle:after {
  color: #6b7381;
}
.btn-toggle.active {
  background-color: #525860;
}
.btn-toggle.btn-lg {
  margin: 0 5rem;
  padding: 0;
  position: relative;
  border: none;
  height: 2.5rem;
  width: 5rem;
  border-radius: 2.5rem;
}
.btn-toggle.btn-lg:focus,
.btn-toggle.btn-lg.focus,
.btn-toggle.btn-lg:focus.active,
.btn-toggle.btn-lg.focus.active {
  outline: none;
}
.btn-toggle.btn-lg:before,
.btn-toggle.btn-lg:after {
  line-height: 2.5rem;
  width: 5rem;
  text-align: center;
  font-weight: 600;
  font-size: 1rem;
  text-transform: uppercase;
  letter-spacing: 2px;
  position: absolute;
  bottom: 0;
  transition: opacity 0.25s;
}
.btn-toggle.btn-lg:before {
  content: 'GROUP';
  left: -6rem;
}
.btn-toggle.btn-lg:after {
  content: 'INDIVIDUAL';
  right: -6rem;
  opacity: 0.5;
}
.btn-toggle.btn-lg > .handle {
  position: absolute;
  top: 0.3125rem;
  left: 0.3125rem;
  width: 1.875rem;
  height: 1.875rem;
  border-radius: 1.875rem;
  background: #fff;
  transition: left 0.25s;
}
.btn-toggle.btn-lg.active {
  transition: background-color 0.25s;
}
.btn-toggle.btn-lg.active > .handle {
  left: 2.8125rem;
  transition: left 0.25s;
}
.btn-toggle.btn-lg.active:before {
  opacity: 0.5;
}
.btn-toggle.btn-lg.active:after {
  opacity: 1;
}

@media only screen and (max-width: 860px) {
  h1 {
    font-size: 2rem;
  }
  h2 {
    font-size: 1.2rem;
  }
  p {
    font-size: 1.2rem;
  }
  .view-intro, .view-me, .view-marlie, .view-sea {
    background-attachment: scroll;
  }
  .view-marlie {
    background-image: url('/img/marlie-mobile.jpg');
  }
  .nav-resp {
    display: none;
  }
}
