* {
  margin: 0;
  font-family:  Helvetica, sans-serif;
}

body, html {
  height: 100%;
}

#background {
  background-image: url("../img/motorcycle.jpg");
  background-repeat: no-repeat;
  background-attachment: fixed;
  background-size: cover;
  opacity: 0.65;
  min-height: 100%;
}

div {
  display: block;
}

.bg-1, .bg-2, .bg-3, .bg-profile {
  background-attachment: scroll;
  position: relative;
  opacity: 0.65;
  background-attachment: fixed;
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
}


.bg-1 {
  /* The image used */
  background-image: url("../img/seawall.jpg");

  /* Set a specific height */
  min-height: 100%;
}

.bg-2 {
  /* The image used */
  background-image: url("../img/biking.jpg");

  /* Set a specific height */
  min-height: 100%;
}

.bg-3 {
  /* The image used */
  background-image: url("../img/traffic.jpg");

  /* Set a specific height */
  min-height: 100%;
}

.bg-profile {
  background-image: url("../img/bg-profile.jpg");
  min-height: 100%;
  opacity: 1;
}

.caption {
  position: absolute;
  left: 0;
  right: 0;
  top: 50%;
  text-align: center;
  color: #000;
  text-transform: uppercase;
}

.caption a {
  border-radius: 0.5rem;
}

.bg-1 .caption {
  position: absolute;
  left: 0;
  right: 0;
  top: 25%;
  text-align: center;
  text-transform: uppercase;
}

.bg-1 #instant-impact-link {
  top: 50%;
  padding: 0.5rem;
}

.bg-1 #instant-impact-link a {
  font-size: 1rem;
  display: inline-block;
}

/* First caption will not act as a link */
#not-a-link {
  color: #000;
  padding: 1rem;
  font-size: 1.5rem;
  letter-spacing: 0.5rem;
  text-decoration: none;
  font-size: 1.7rem;
  background-color: white;
}

#transparent {
  opacity: 0;
}

.arrow {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 5%;
  text-align: center;
}

.caption .arrow-link {
  /* image: url("../img/double-arrow.png");
  position:center;
  repeat:no-repeat; */
}

.caption span a {
  background-color: #111;
  color: #fff;
  padding: 1rem;
  font-size: 1rem;
  letter-spacing: 0.5rem;
  text-decoration: none;
  transition: 0.5s;
  text-align: center;
  /* code from https://www.w3schools.com/css/css3_shadows.asp */
  box-shadow: 5px 5px 5px black;
}

.caption span a:hover, a:focus {
  background-color: #fff;
  color: green;
  box-shadow: none;
}

.space {
  padding-top: 55rem;
}

.space2 {
  padding-top: 4rem;
}

.space3 {
  padding-top: 4rem;
}

.scroll-text {
  background-color: white;
  padding-left: 4rem;
  padding-right: 4rem;
  margin-left: 10rem;
  margin-right: 10rem;
  padding-bottom: 2rem;
}

.scroll-text h1 {
  text-align: center;
  font-size: 1.5rem;
  text-transform: uppercase;
  padding-top: 2rem;
  padding-bottom: 2rem;
  opacity: 1;
}
.scroll-text h2 {
  text-align: left;
  font-size: 1.3rem;
  text-transform: uppercase;
  padding-top: 2rem;
  padding-bottom: 0.5rem;
}

.scroll-text h3 {
  text-align: left;
  font-size: 1.1rem;
  text-transform: uppercase;
  padding-top: 1rem;
  padding-bottom: 0.5rem;
}
.scroll-text h4 {
  text-align: center;
  font-size: 1.1rem;
  text-transform: uppercase;
  padding-top: 1rem;
  padding-bottom: 0.5rem;
}

.scroll-text p {
  line-height: 2rem;
  padding-bottom: 1rem;
}

.scroll-text img {
  display: block;
  margin-left: auto;
  margin-right: auto;
  width: 50%;
  padding-bottom: 1.5rem;
}

#cars {
  padding-top: 5rem;
}

element .style {
  background-color: white;
  text-align: center;
  padding: 3rem 6rem;
  text-align: justify;
}

.style h1 {
  display: block;
  letter-spacing: 0.3rem;
  text-transform: uppercase;
  text-align: center;
  color: #111;
  padding-top: 2rem;
  padding-bottom: 1rem;
}

.style h2 {
  display: block;
  letter-spacing: 0.3rem;
  text-transform: uppercase;
  text-align: center;
  color: #111;
  padding-top: 2rem;
  padding-bottom: 1rem;
  font-size: 1.3rem;
}

.style p {
  margin: 0 4rem;
  line-height: 2rem;
  margin-bottom: 2rem;
  opacity: 0.65;
  text-align: justify;
  margin-left: 10rem;
  margin-right: 10rem;
}

.style .fill {
  margin: 0;
  padding: 0;
  text-align: center;
}

.col-1-of-2 {
  display: inline-block;
  text-align: center;
  margin: 0;
  padding-bottom: 2rem;
}

.group {
   /* display: inline; */
}

#extra-space {
  margin-bottom: 2rem;
}

#center {
  text-align: center;
  font-size: 1.1rem;
}

input {
  text-align: center;
}

.style .caption {
  background-color: white;
  text-align: center;
  padding: 3rem 6rem;
  text-align: justify;
}

element .text {
  text-align: center;
  position: absolute;
  margin-top: 5rem;
}

header {
  background-color: #fff;
  position: fixed;
  left: 0;
  right: 0;
  z-index: 10;
  border-bottom: solid;
  border-color: rgba(0, 150, 0, 0.65);
}

header nav img {
  margin-left: 2rem;
}

nav .nav-item {
	text-align: center;
  color: rgb(100, 100, 100);
  text-decoration: none;
  font-size: 1.2rem;
  margin: 0;
  height: 100%;
  transition: 0.5s;
  padding-top: 1.7rem;
  padding-bottom: 1.7rem;
  display: inline-block;
}

nav .nav-item:hover, .nav-item:focus {
  background-color: green;
  opacity: 0.65;
  color: #fff;
  text-decoration: none;
}

nav .logo-text {
  font-size: 2rem;
  background-color: white;
  font-weight: bold;
  /* color: rgb(115, 115, 115); */
  color: green;
  opacity: 0.65;
  text-align: left;
  padding-top: 1.2rem;
  padding-bottom: 1.25rem;
  padding-left: 1.5rem;
}

nav .logo-text:hover, .logo-text:focus {
  color: green;
  opacity: 0.65;
  background-color: white;
  opacity: 1;
}

.log header {
  position: relative;
}

.login_page {
  position: absolute;
  left: 0;
  right: 0;
  top: 50%;
  text-align: center;
}

.login_page a {
  opacity: 0.65;
  color: green;
  text-decoration: none;
}

.login_page a:hover, a:focus {
  opacity: 1;
}

section figure {
  position: absolute;
  margin: 0;
  left: 0;
  right: 0;
  margin-left: auto;
  margin-right: auto;
  margin-top: -10rem;
}

 p a {
  opacity: 0.65;
  color: green;
  text-decoration: none;
}

 p a:hover, a:focus {
  opacity: 1;
}

.bg-profile .not-a-link {
  color: #000;
  padding: 1rem;
  font-size: 1.5rem;
  letter-spacing: 0.5rem;
  text-decoration: none;
  font-size: 1.7rem;
}

.bg-profile figure img {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  top: 0;
  margin-left: auto;
  margin-right: auto;
  margin-top: auto;
  margin-bottom: auto;
  text-align: center;
}
.bg-profile figcaption {
  position: absolute;
  left: 0;
  right: 0;
  margin-top: 10rem;
  text-align: center;
}

button a {
  text-decoration: none;
  color: black;
}

footer {
  text-align: center;
  color: #000;
  text-transform: uppercase;
  margin-left: 2rem;
  margin-right: 2rem;
}

footer a {
  opacity: 0.65;
  color: green;
  font-size: 1rem;
  letter-spacing: 0.1rem;
  text-decoration: none;
  transition: 0.5s;
  font-weight: bold;
}

footer a:hover, a:focus {
  opacity: 1;
}

footer .space2 {
  padding-top: 2rem;
}

header .current-page {
  background-color: green;
  opacity: 0.65;
  color: #fff;
  text-decoration: none;
}

@media (max-width: 63em) {

  header {
    position: relative;
  }

  nav .nav-item {
    height: 33%;
    display: inline-block;
  }

  .style p {
    margin-left: 5rem;
    margin-right: 5rem;
  }
}

@media (max-width: 63em) {

  #background .space2 {
    /* padding-top: 0; */
  }
}

@media (max-width: 62em) {

  .space {
    padding-top: 35rem;
  }
}

@media (max-width: 61.25em) {

  .scroll-text {
    margin-left: 5rem;
    margin-right: 5rem;
  }
}

@media (max-width: 47.5em) {

  .scroll-text {
    margin-left: 0;
    margin-right: 0;
  }
}

@media (max-width: 46em) {

  .style h1 {
    margin-right: 4rem;
    margin-left: 4rem;
  }
}

@media (max-width: 43.75em) {

  .style p {
    margin-left: 2rem;
    margin-right: 2rem;
  }
}

@media (max-width: 37em) {

  .scroll-text {
    padding-left: 2rem;
    padding-right: 2rem;
  }

  .scroll-text img {
    width: 75%;
  }

  header nav img {
    margin: 0 auto;
    width: 100%;
  }
}

@media (max-width: 62.25em) {

  header nav img {
    margin-right: 40rem;
  }
}

@media (max-width: 50em) {

  .col-1-of-2 {
    padding-left: 2rem;
    padding-right: 2rem;
  }
}

@media (max-width: 37em) {

  header nav img {
    margin-right: 0;
  }

  .caption span {
    display: inline-block;
  }
}

@media (max-width: 30.5em) {

  .style p {
    text-align: left;
  }
}

@media (max-width: 29em) {

  .col-1-of-2 {
    padding-left: 0;
    padding-right: 0;
  }
}

@media (max-width: 25.875em) {

  h1 {
    font-size: 1.3rem;
  }

  .balance h2 {
    font-size: 1.1rem;
  }

  #extra-space h2 {
    font-size: 1.1rem;
  }

  .scroll-text h1 {
    font-size: 1.3rem;
  }

  .scroll-text h2 {
    font-size: 1.1rem;
  }

  .scroll-text h3 {
    font-size: 0.9rem;
  }

  .scroll-text h4 {
    font-size: 0.9rem;
  }
}

@media (max-width: 23.4375em) {

  #background #not-a-link {
    margin-top: 5rem;
  }

  .space {
    padding-top: 30rem;
  }

  .style h1 {
    margin-right: 2rem;
    margin-left: 2rem;
  }

  .style p {
    margin-left: 1rem;
    margin-right: 1rem;
  }
}

@media (max-width: 23.125em) {

  .col-1-of-2 {
    margin-left: 3rem;
    margin-right: 3rem;
  }

  #extra-space h2 {
    margin-left: 3rem;
    margin-right: 3rem;
  }
}

@media (max-width: 22.0625em) {

  .caption span a {
    display: inline-block;
  }
}

@media (max-width: 20.25em) {

  .col-1-of-2 {
    margin-left: 3rem;
    margin-right: 3rem;
  }
}
