@import url('https://fonts.googleapis.com/css?family=Roboto');

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family: sans-serif;
  background: #333;
  color: #fff;
  line-height: 1.6;
}

h1 {
  text-align: center;
  background-color: #e7e7e7;
  border-bottom: 5px solid #7f7f7f;
  margin-bottom: 20px;
  padding: 20px 40px;
  margin-top: 0px;
  position: relative;
  text-transform: uppercase;
  color: #000;
}

.info-icon {
  cursor: pointer;
  display: inline;
  float: right;
  margin: 10px;
  font-size: 35px;
  position: absolute;
  right:10px;
  top:10px;
}

.slider {
  position: relative;
  overflow: hidden;
  height: 90vh;
  width: 99vw;
}

.slide {
  position: absolute;
  top: 0;
  left: 7%;
  width: 86%;
  height: 100%;
  opacity: 0;
  transition: opacity 0.4s ease-in-out;
  background-size: contain!important;
}

.slide.current {
  opacity: 1;
}

.slide .content {
  display: none;
  position: absolute;
  bottom: 70px;
  left: -600px;
  opacity: 0;
  width: 600px;
  background-color: rgba(255, 255, 255, 0.8);
  color: #333;
  padding: 35px;
}

.slide .content h1 {
  margin-bottom: 10px;
}

.slide.current .content {
  opacity: 1;
  transform: translateX(600px);
  transition: all 0.7s ease-in-out 0.3s;
}

.buttons button#next {
  position: absolute;
  top: 50%;
  right: 15px;
}

.buttons button#prev {
  position: absolute;
  top: 50%;
  left: 15px;
}

.buttons button {
  border: 2px solid #fff;
  background-color: transparent;
  color: #fff;
  cursor: pointer;
  padding: 13px 15px;
  border-radius: 50%;
  outline: none;
}

.buttons button:hover {
  background-color: #fff;
  color: #333;
}

@media(max-width: 500px) {
  .slide .content {
    bottom: -300px;
    left: 0;
    width: 100%;
  }

  .slide.current .content {
    transform: translateY(-300px);
  }
}

/* Background images */
.slide:first-child {
  background: url('../images/Slide1.jpg') no-repeat center center;
}

.slide:nth-child(2) {
  background: url('../images/Slide2.jpg') no-repeat center center;
}

.slide:nth-child(3) {
  background: url('../images/Slide3.jpg') no-repeat center center;
}

.slide:nth-child(4) {
  background: url('../images/Slide4.jpg') no-repeat center center;
}

.slide:nth-child(5) {
  background: url('../images/Slide5.jpg') no-repeat center center;
}
.slide:nth-child(6) {
  background: url('../images/Slide6.jpg') no-repeat center center;
}

.contributors-tooltip {
  width: 500px;
  margin: auto;
  background-color: #9DB28D;
  padding: 10px
}

.contributors-container {
  padding: 25px;
  background-color: #525151;
  color: #fff;
  border-radius: 30px 0 0 0;
}

.fa-info-circle {
  color: #007bff;
}


