@import url('https://fonts.googleapis.com/css?family=Roboto');

@import url('https://use.fontawesome.com/releases/v5.7.2/css/all.css');
/*
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family: 'Roboto', sans-serif;
  background: #333;
  color: #fff;
  line-height: 1.6;
} */

.slider {
  position: relative;
  overflow: hidden;
  height: 100vh;
  width: 100vw;
}

.slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  transition: opacity 0.4s ease-in-out;
}

.slide.current {
  opacity: 1;
}

.slide .content {
  position: absolute;
  /* top :32%;  */
  /* left: -15%; */
  /* width: 50%; */
  top: 13%;
  left: -28%;
  width: 77%;
  text-align: center;
  transform: translate(-50%, 0);
  opacity: 0;
  /* background-color: rgba(220, 81, 81, 0.8); */
  color: #fff;
  padding: 35px;
  /* border: 4px solid#000; */
  z-index: 23;
}

.slide::before {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.25);
}

.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{
  position: static;
}

.buttons button#prev {
  position: absolute;
  top: 50%;
  left: 15px;
}

.buttons button i {
    transform: rotate(-45deg);
}

.buttons button {
  border: 2px solid #da3743;
  background-color: #da3743;
  color: #fff;
  cursor: pointer;
  padding: 15px 15px;
  /* border-radius: 50%; */
  outline: none;
  transform: rotate(45deg);
  width: 42px;
  height: 42px;
  display: -webkit-flex;
  display: -ms-flex;
  display: flex;
}

.content h1 {
    color: #da3743;
    font-family: edward,sans-serif;
    font-size: 60px;
    font-weight: 700;
    /* line-height: .75; */
}
.content p {
    color: #fff;
    margin-top: 1rem;
    /* font-size: 17.7px; */
    font-size: 15.7px;
}

.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);
  }
}

.content h1{
  font-size: 4rem;
}


/* Backgorund Images */

.slide:first-child {
  background: url('../images/banner.jpg') no-repeat
    center top/cover;
    background-attachment: fixed;
}
.slide:nth-child(2) {
  background: url('../images/interim.jpg') no-repeat
    center top/cover;
}
.slide:nth-child(3) {
  background: url('../images/9.jpg') no-repeat
    center top/cover;
}
