#title {
  padding: 30% 5%;
  height: 30vh;
  width: 100%;
  text-transform: uppercase;
}

#title h2 {
  font-size: 1rem;
}

#description article {
  padding: 0% 5% 10%;
}

.swiper-slide {
  text-align: center;
  font-size: 18px;
  background: black;
  /* Center slide text vertically */
  display: -webkit-box;
  display: -ms-flexbox;
  display: -webkit-flex;
  display: flex;
  -webkit-box-pack: center;
  -ms-flex-pack: center;
  -webkit-justify-content: center;
  justify-content: center;
  -webkit-box-align: center;
  -ms-flex-align: center;
  -webkit-align-items: center;
  align-items: center;
}

.swiper-button-next {
  color: rgba(255, 255, 255, 0.5) !important;
  padding: 2.5% 2% 2.5% 2.5%;
  border-radius: 5% 10% 10% 5%;
}

.swiper-button-prev {
  color: rgba(255, 255, 255, 0.5) !important;
  padding: 2.5% 2.5% 2.5% 2%;
  border-radius: 10% 5% 5% 10%;
}

.swiper-button-prev:hover,
.swiper-button-next:hover {
  color: white !important;
  background-color: rgba(255, 255, 255, 0.5);
}

/* Slideshow container */
.slideshow-container {
  height: 80vh;
  position: relative;
  margin: auto;
  background-color: black;
  display: flex;
  align-items: center;
}

.gallery-container {
  width: 100vw;
}

.swiper-slide.photo img,
video {
  width: 100%;
  height: auto;
}

.swiper-slide.description {
  padding: 10% 20%;
  display: flex;

  align-items: center;
  justify-content: center;
}

.description p {
  /* height: 70vh; */
  /* height: 90%; */
  font-size: 0.7rem;
  text-align: left;
  color: white;
  /* padding: 5% 0%; */
  /* margin: 5% 0%; */
  overflow-y: scroll;
}

.pagination {
  color: white;
  font-size: 0.8rem;
}

#title h1 {
  /* line-height: 1.2; */
}

.projectNav {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  text-align: center;
  width: 100%;
  /* padding: 20%; */
}

.projectNav img {
  display: none;
}

.projectNav a {
  padding: 10% 5%;
  /* min-width: 70vw; */
  width: 70vw;
  margin: 10%;
}

.projectNav a:link,
.projectNav a:visited {
  color: var(--accentColour);
  background-color: var(--bkgColour);
  text-decoration: none;
}

.projectNav a:hover {
  background-color: var(--accentColourDark);
  color: white;
  text-decoration: none;
}

/* The Modal (background) */
.modal {
  display: none;
  /* Hidden by default */
  position: fixed;
  /* Stay in place */
  z-index: 1;
  /* Sit on top */
  left: 0;
  top: 0;
  width: 100%;
  /* Full width */
  height: 100%;
  /* Full height */
  padding: 10%;
  background-color: rgb(0, 0, 0);
  /* Fallback color */
  background-color: rgba(0, 0, 0, 0.9);
  /* Black w/ opacity */
}

/* Modal Content/Box */
.modal-content {
  margin: 40% auto;
  /* 15% from the top and centered */
  padding: 5%;
  color: white;
  width: 80%;
  height: 50vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  background-color: darkgrey;
}

.modal-content p {
  padding: 10%;
}

/* The Close Button */
.close {
  top: -10px;
  color: white;
  float: right;
  font-size: 2rem;
  align-self: flex-start;
}

.rotate {
  animation: mymove 5s infinite;
}

@keyframes mymove {
  50% {
    transform: rotate(90deg);
  }
}

#more {
  display: none;
}

#readMoreBtn {
  text-decoration: underline;
  color: var(--accentColour);
}

#readMoreBtn:hover {
  color: white;
}

@media only screen and (min-width: 600px) and (orientation: landscape) {
  #title {
    height: 20vh;
    padding: 10% 5% 10% 5%;
  }

  #description article {
    padding: 5% 5% 10% 5%;
  }

  .swiper-slide.description {
    padding: 5% 10%;
    /* display: flex; */
  }

  .description p {
    /* height: 90vh; */

    /* margin: 10%; */
    /* padding: 0; */
  }

  .description p {
    /* height: auto; */
  }

  .description.long p {
    column-count: auto;
    column-width: 200px;
  }

  .slideshow-container {
    height: 100vh;
  }

  .swiper-slide.photo img,
  video {
    height: 90vh;
    width: auto;
  }

  .swiper-slide.photo.long img,
  video {
    width: 150vh;
    height: auto;
  }

  .projectNav a {
    padding: 5% 3%;
    /* min-width: 70vw; */
    width: 50vw;
    margin: 3%;
  }
}

@media only screen and (min-width: 600px) and (orientation: portrait) {
  #description {
    /* margin-top: 8vh; */
    height: 70vh;
  }

  #title {
    height: 10vh;
    padding: 15% 5% 10% 5%;
  }

  #description article {
    padding: 0% 5%;
  }

  .swiper-slide.photo img,
  video {
    width: 90vw;
    height: auto;
  }

  .projectNav img {
    display: block;
    width: 50%;
  }

  .projectNav a {
    display: flex;
    align-items: center;
    padding: 5% 3%;
    width: 50vw;
    margin: 3%;
    text-align: left;
  }

  .projectNav-text {
    padding: 5%;
  }

  .projectNav-text h1 {
    line-height: 1.3;
  }
}

/* Large devices (laptops/desktops, 992px and up) */
@media only screen and (min-width: 992px) {
  #description {
    display: flex;
    min-height: 100vh;
    font-size: 1rem;
  }

  #title {
    height: 10vh;
    width: 30%;
    padding: 3% 0% 5% 10%;
  }

  #description article {
    width: 61%;
    padding: 3% 5%;
    /* align-self: center; */
  }

  .description p {
    width: 50%;
  }

  .description.long p {
    width: 100%;
    column-count: auto;
    column-width: 400px;
  }

  .swiper-slide.description {
    /* padding: 20% 30%; */
  }

  .swiper-slide.photo img,
  video {
    width: auto;
    height: 90vh;
  }

  .description p {
    font-size: 1rem;
  }

  .slideshow-container {
    height: 100vh;
  }

  .projectNav img {
    display: block;
    width: 50%;
  }

  .projectNav a {
    display: flex;
    align-items: center;
    justify-content: space-evenly;
    padding: 5% 3%;
    width: 40vw;
    /* margin: 3%; */
    text-align: left;
  }

  .projectNav-text {
    padding: 5%;
  }

  .projectNav-text h1 {
    line-height: 1.3;
  }
}

@media only screen and (min-width: 1400px) {
  .projectNav a {
    width: 40vw;
    padding: 3%;
  }

  .projectNav img {
    width: 60%;
  }

  .description.long p {
    column-count: auto;
    column-width: 400px;
  }
}

@media only screen and (min-width: 1920px) {
  #description article {
    width: 65%;
    min-height: 90vh;
    font-size: 1.15rem;
  }

  .swiper-slide.photo img,
  video {
    width: auto;
    height: 90vh;
  }

  .description p,
  .description h6 {
    padding: 0% 20%;
  }

  .description p {
    font-size: 1.2rem;
  }

  .swiper-slide.description {
    /* padding: 20% 30%; */
  }

  #more {
    display: block;
  }

  #readMoreBtn,
  #dots {
    display: none;
  }
}
