@import url('https://fonts.googleapis.com/css?family=Montserrat:400,700');

body {
  font-family: 'Montserrat', sans-serif;
}

.carousel-container {
  margin-bottom: 30px;
}

/* Carousel */

.carousel {
  text-align: center;
  color: #ffffff;
}

.carousel-cell {
  display: grid;
  margin-right: 20px;
  overflow: hidden;
  width: 100%;
}

.carousel-cell img {
  display: block;
  height: 400px;
}

.carousel-slide {
  display: grid;
  justify-items: center;
  grid-template-columns: 1fr 1fr;
  grid-gap: 20px;
  max-width: 100%;
  height: 100vh;
  background-size:cover;
  background-repeat: no-repeat;
  background-position:center;
}

.carousel-slide-image {
  display: grid;
  justify-self: end;
  align-self: center;
}

.carousel-slide-copy {
  display: grid;
  justify-self: start;
  align-self: center;
  text-align: left;
  max-width: 400px;
  width: 100%;
}

.carousel-slide-copy h1 {
  font-size: 2rem;
  color: #ffffff;
}

.carousel-slide-copy p {
  font-size: 1.3rem;
  line-height: 1.5rem;
  color: #ffffff;
}

.carousel-slide-copy a {
  padding-top: 10px;
  text-decoration: none;
  color: #ffffff;
  font-weight: bold;
  font-size: 1rem;
}

.carousel-arrow {
  display: none;
  justify-items: center;
  cursor: pointer;
  position: absolute;
  left: 50%;
  bottom: 6rem;
  color: #ffffff;
  width: 17px;
  height: 48px;
  background: url(../img/downArrow.png);
}

.flickity-page-dots {
  bottom: 400px;
}

.dot {
  border: 1px solid white;
}

/* Media Queries */
@media screen and (max-width: 1680px) {
  /* Homepage */
  .flickity-page-dots {
    bottom: 200px;
  }

  .carousel-arrow {
    bottom: 3rem;
  }
}

@media screen and (max-width: 1440px) {
  /* Homepage */
  .flickity-page-dots {
    bottom: 200px;
    left: 90px;
  }
}

@media screen and (max-width: 1280px) {
  /* Homepage */
  .flickity-page-dots {
    bottom: 130px;
    left: 150px;
  }

  .carousel-arrow {
    bottom: 1rem;
  }
}

@media screen and (max-width: 1024px) {
  /* Homepage */
  .flickity-page-dots {
    bottom: 60px;
    left: 150px;
  }

  .carousel-arrow {
    bottom: -7rem;
  }
}

@media screen and (max-width: 990px) {
  .carousel-slide-copy {
    font-size: 1.5rem;
  }

  .carousel-slide-copy p {
    padding-right: 20px;
  }
  .flickity-page-dots {
    display: none;
  }
}



@media screen and (max-width: 620px) {
    .carousel-slide {
    height: 100vh;
    grid-template-columns: 1fr;
    background-size:cover;
    background-repeat: no-repeat;
  }
  
  .carousel-slide-image {
    justify-self: center;
    align-content: center;
  }
  
    .carousel-slide-copy {
    justify-self: center;
    text-align: center;
  }
}

@media screen and (max-width: 568px) {
  .carousel-cell img {
    height: 200px;
  }
  .carousel-slide {
    height: 100vh;

  }

}

@media screen and (max-width: 480px) {
  .carousel-slide {
    grid-template-columns: 1fr;
    height: 800px;
  }

  .carousel-slide-image {
    justify-self: center;
    height: 200px;
  }

  .carousel-slide-copy h1,
  p,
  a {
    text-align: center;
    padding: 10px;
  }

  .carousel-cell img {
    height: 200px;
  }

  .flickity-page-dots {
    bottom: 10px;
    left: 0px;
  }

  .carousel-arrow {
    bottom: 90rem;
  }
}

/* iPhone 8 Plus, 7 Plus, 6 Plus */
@media screen and (max-width: 414px) {
  /* Home Page */
  .carousel-slide {
    grid-template-columns: 1fr;
    height: 100vh;
  }

  .carousel-slide-image {
    justify-self: center;
  }

  .carousel-slide-copy h1,
  p,
  a {
    text-align: center;
    padding: 10px;
  }

  .carousel-cell img {
    height: 200px;
  }

  .flickity-page-dots {
    bottom: 620px;
    left: 0px;
  }

  .carousel-arrow {
    bottom: 90rem;
  }

  .carousel-slide-image {
    justify-self: center;
    align-self: end;
  }

  .carousel-slide-copy {
    font-size: 1.5rem;
    justify-self: start;
    align-self: start;
    text-align: center;
  }

  .carousel-slide-copy h1,
  p {
    padding: 10px;
    margin: 0px;
  }
}

/* iPhone X, 8, 7, 6 */
@media screen and (max-width: 375px) {
  .flickity-page-dots {
    bottom: 670px;
    left: 0px;
  }
}

.section {
  min-height: 500px;
  overflow: hidden;
  position: relative;
  padding: 80px 10px 0px;
  background-size: cover;
}
  
  .section:nth-child(even) {
      background-color: #ccc;
  }
  
  #home {
      background: url(/Images/Back_Op.jpg) no-repeat center center fixed;
  }
  
  #home div {
      background-color: rgba(255,255,255,0.5);
      border-radius: 10px;
  }
  
  footer {
    background-color: #6be980;
    padding: 2%;
    text-align: center;
   }
   button {
    background-color: transparent;
    border: .5px solid rgb(0, 0, 0);
    border-radius: 10px;
    color: rgb(0, 0, 0);
    padding: 5px;
  }
  button1 {
    background-color: transparent;
    border: .5px solid rgb(255, 255, 255);
    border-radius: 10px;
    color: rgb(255, 255, 255);
    padding: 5px;
  }