body, html {
  height: 100%;
  margin: 0;
  padding: 0;
  font-family: 'Roboto Condensed', sans-serif;
  background-color: #FDFDFD;
}

/* Navigation Bar */

  .navbar {
    width: 100%;
    margin: 0 auto;
    text-align: center;
    position: fixed;
    background-color: rgba(0,0,0,0.4);
    z-index: 10;
  }

  nav {
    font-size: 25px;
    text-align: center;
    overflow: hidden;
    padding-bottom: 20px;
  }

  nav ul {
    margin: 0;
    padding: 0;
    list-style-type: none;
    display: inline-block;
    text-align:center;
    position: relative;
  }

  nav ul li {
    display: inline-block;
    margin: 0 5px;
    padding-top: 20px;
    position: relative;
  }

  @media (max-width: 390px) {
    nav ul li {margin: 0 0.5px; padding-top: 15px;}
    nav {font-size: 14px; padding-bottom: 15px;}
  }

  @media (min-width: 390px) and (max-width: 600px) {
    nav ul li {margin: 0 2px;}
    nav {font-size: 20px}
  }

  nav a {
    color: #fdfdfd;
    text-decoration: none;
    text-transform: uppercase;
  }

  nav a:hover { color: #ff5000; }

  /* Progress Bar */
    .progress-container {
      width: 100%;
      height: 5px;
      border-radius: 200px;
    }

    #progress-bar {
      height: 5px;
      background: #ff5000;
      width: 0%;
      border-radius: 200px;
    }

.page-div {
  height: 100%;
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
}

#Home {
  background-image: url("images/home/homepage-image.jpg");
  text-align: center;
}

@media only screen and (max-width: 700px) {
  #Home {background-attachment: local;
    background-image: url("images/home/homepage-image2.jpg");}
}


#raf-logo {
  height: 50px;
  width: 120px;
  position: absolute;
  right: 15px;
  bottom: 15px;
}

#raf-logo:hover {
  opacity: 0.7;
}

#About {
  background-color: #ff5000;
  text-align: center;
  color: white
}

.about-text {
  text-align: center;
  width: 100%;
  clear: both;
  margin: 0 auto;
  padding-top: 25px;
  padding-bottom: 50px;
  font-family: 'Blinker', sans-serif;
  color: white;
}

.about-text h1 {
  text-transform: uppercase;
  font-size: 80px;
  font-family: 'Roboto Condensed', sans-serif;
}

.about-text h3 {
  font-size: 30px;
}

.about-text p {
  font-size: 20px;
}

.about-text ul {
  color: black;
  font-size: 32px;
  list-style-type: none;
  background-color: #fdfdfd;
  padding: 25px 0;
}

@media (max-width: 350px) {
  #About p {font-size: 14px}
  #About h3 {font-size: 17px}
  .about-text ul {font-size: 18px}
  .about-text h1 {font-size: 40px}
  .about-text {padding-top: 90px}
}

@media (min-width: 350px) and (max-width: 650px) {
  #About p {font-size: 16px}
  #About h3 {font-size: 19px}
  .about-text ul {font-size: 20px}
  .about-text h1 {font-size: 60px}
  .about-text {padding-top: 70px}
}

#Calendar {
}

/* Slideshow container */
  .slideshow-container {
    position: relative;
    margin: 0 auto;
    text-align: center;
    height: 100%;
  }

  .slides {
    display: none;
    text-align: center;
    height: 100%;
    position: relative;
  }

  .slide-container {
    height: 100%;
    position: relative;
    text-align: center;
  }

  .background {
    height: 100%;
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    transition: .5s ease;
    opacity: 0.3;
  }

  #intro {background-image: url("images/calendar/intro.jpg"); opacity: 0.5;}
  #sweden {background-image: url("images/calendar/sweden.jpg");}
  #corsica {background-image: url("images/calendar/corsica.jpg");}
  #sardegna {background-image: url("images/calendar/sardegna.jpg");}
  #finland {background-image: url("images/calendar/finland.jpg");}
  #wales {background-image: url("images/calendar/wales.jpg");}

  .text {
    transition: .5s ease;
    position: absolute;
    top: 50%;
    left: 50%;
    opacity: 1;
    transform: translate(-50%, -50%);
  }

  .text h1 {text-transform: uppercase; color: #ff5000;}
  .text h3 {color: #ff5000;}
  .text p {color: black;}

  /* Next & previous buttons */
  .prev, .next {
    cursor: pointer;
    position: absolute;
    top: 50%;
    width: auto;
    padding: 16px;
    margin-top: -22px;
    color: #ff5000;
    font-weight: bold;
    font-size: 50px;
    transition: 0.2s ease;
    border-radius: 0 3px 3px 0;
    user-select: none;
  }

  /* Position the "previous button" to the left */
  .prev { left: 10px; }

  /* Position the "next button" to the right */
  .next { right: 10px; border-radius: 3px 0 0 3px; }

  /* On hover, add a black background color with high opacity */
  .prev:hover, .next:hover { background-color: rgba(0,0,0,0.8); }

  /* Fading animation */
  .fade {
    -webkit-animation-name: fade;
    -webkit-animation-duration: 1.5s;
    animation-name: fade;
    animation-duration: 1.5s;
  }

  @-webkit-keyframes fade {
    from {opacity: .4}
    to {opacity: 1}
  }

  @keyframes fade {
    from {opacity: .4}
    to {opacity: 1}
  }

  /* On smaller screens, decrease text size */
  @media (max-width: 500px) {
    .text {font-size: 13px}
    .prev, .next {font-size: 40px;}
  }

#Sponsors {
  background-image: url("images/sponsors/sponsors-image.jpg");
}

#Sponsors img {
  margin: 0 auto;
  display: inline-block;
  clear: both;
}
/* Table of logos */
  .column {
    float: left;
    width: 26%;
    padding-left: 5%;
    padding-top: 150px;
  }

  .column a:hover {
    opacity: 0.7;
  }

  .row::after {
    content: "";
    clear: both;
    display: table;
  }

#Social {
  padding-top: 80px;
}

#signing-photo {
  max-width: 45%;
  height: auto;
  display: block;
  margin-left: auto;
  margin-right: auto;
  padding-bottom: 20px;
}

@media (max-width: 1000px) {
  #signing-photo {max-width: 60%;}
}

@media (max-width: 700px) {
  #signing-photo {max-width: 70%;}
}

#social-media-images { text-align: center; }
#social-media-images a { text-decoration: none; }
#social-media-images a:hover { opacity: 0.3; transition: 0.4s ease;}

#social-media-images img {
  height: 30px;
  width: 30px;
  clear: both;
  margin: 20px 20px;
  display: inline-block;
}

#Nebula_Digital {
  margin: 0 auto;
  text-align: center;
  background-color: rgba(0,0,0,0.1);
  padding: 10px 0;
}

#Nebula_Digital p {
  margin: 0 auto;
  text-align: center;
  clear: both;
  display: inline-block;
  font-size: 20px;
  padding-left: 10px;
  font-family: 'Blinker', sans-serif;
}

#nebula_logo {
  clear: both;
  display: inline-block;
  margin: 0 auto;
  height: 25px;
  vertical-align: sub;
}
