@import url('https://fonts.googleapis.com/css2?family=Open+Sans:wght@700&display=swap');

body {
  background-color: #382f76 !important;
}

.navbar {
  background: linear-gradient(to bottom, rgba(0, 0, 0, 0.85) 0%, rgba(0, 0, 0, 0) 100%) !important;
}

.banner {
  position: relative;
  background-color: black;
  height: 55vh;
  min-height: 25rem;
  width: 100%;
  overflow: hidden;
}

.banner img {
  margin: 0;
  position: absolute;
  top: 50%;
  left: 50%;
  -ms-transform: translate(-50%, -50%);
  transform: translate(-50%, -50%);
}

.banner-icon img {
  position: absolute;
  top: 310px;
  left: 50px;
  width: 256px;
}

.banner-header-clip {
  box-sizing: border-box;
  position: absolute;
  left: 300px;
  right: 0;
  margin-top: -270px;
  width: 22rem;
  height: 18rem;
  clip-path: polygon(0 75%, 100% 73%, 96% 100%, 0% 100%);
}

.banner-header-clip h1 {
  color: #382f76;
  font-family: 'Open Sans', sans-serif;
  font-size: 28px;
  margin-top: 235px;
  margin-left: -5px;
}

.screenshots {
  padding-top: 100px;
  position: relative;
}

.screenshots img {
  cursor: pointer;
}

.screenshot {
  object-fit: cover;
  width: 300px;
  height: 300px;
  cursor: pointer;
}

.screenshots .row {
  max-width: 80%;
}

/* .screenshot-portrait{
  width: 300px;
  cursor: pointer;
}
.screenshot-landscape{
  width: 400px;
  cursor: pointer;
} */
.cover {
  object-fit: cover;
}

.nopadding {
  padding: 0 !important;
  margin: 0 -50px 0 -50px !important;
}

#myImg:hover {
  opacity: 0.7;
}

/* The Modal (background) */
.modal {
  display: none;
  /* Hidden by default */
  position: fixed;
  /* Stay in place */
  z-index: 1;
  /* Sit on top */
  padding-top: 100px;
  /* Location of the box */
  left: 0;
  top: 0;
  width: 100%;
  /* Full width */
  height: 100%;
  /* Full height */
  overflow: auto;
  /* Enable scroll if needed */
  background-color: rgb(0, 0, 0);
  /* Fallback color */
  background-color: rgba(0, 0, 0, 0.9);
  /* Black w/ opacity */
}

.games .row {
  padding-top: 170px !important;
  padding-bottom: 30px !important;
}

/* Modal Content (image) */
.modal-content {
  margin: auto;
  max-width: 700px;
}

/* Caption of Modal Image */
#caption {
  margin: auto;
  display: block;
  width: 80%;
  max-width: 700px;
  text-align: center;
  color: #ccc;
  padding: 10px 0;
  height: 150px;
}

/* Add Animation */
.modal-content,
#caption {
  -webkit-animation-name: zoom;
  -webkit-animation-duration: 0.6s;
  animation-name: zoom;
  animation-duration: 0.6s;
}

@-webkit-keyframes zoom {
  from {
    -webkit-transform: scale(0)
  }

  to {
    -webkit-transform: scale(1)
  }
}

@keyframes zoom {
  from {
    transform: scale(0)
  }

  to {
    transform: scale(1)
  }
}

/* The Close Button */
.close {
  position: absolute;
  top: 80px;
  right: 500px;
  color: #f1f1f1;
  font-size: 80px;
  font-weight: bold;
  transition: 0.3s;
}

.close:hover,
.close:focus {
  color: #bbb;
  text-decoration: none;
  cursor: pointer;
}

.description h1 {
  color: #f1f1f1;
  padding-top: 50px;
  text-align: left;
}

.description p {
  line-height: 25px;
  padding-top: 10px;
  color: #f1f1f1;
}

.availability h1 {
  color: #f1f1f1;
  padding-top: 30px;
  text-align: left;
}

.availability .col {
  font-size: 40px;
  color: #f1f1f1;
}

.availability .col:hover {
  color: skyblue;
}

@media only screen and (max-width: 700px) {
  .modal-content {
    width: 100%;
  }

  .screenshots .row {
    max-width: 100%;
  }

  .banner-icon-text {
    margin: 0 auto 0 auto;
  }

  .banner-icon-text {
    position: absolute;
    margin-top: -200px;
  }

  .banner {
    position: relative;
    background-color: black;
    height: 55vh;
    min-height: 25rem;
    width: 100%;
    overflow: hidden;
  }

  .banner-icon img {
    box-sizing: border-box;
    top: 100px;
    left: 20px;
    width: 125px;
  }

  .banner img {
    margin: 0;
    position: absolute;
    top: 50%;
    left: 50%;
    -ms-transform: translate(-50%, -50%);
    transform: translate(-50%, -50%);
    width: 800px;
  }

  .banner-header-clip {
    box-sizing: border-box;
    position: absolute;
    left: 130px;
    top: 275px;
    right: 0;
    width: 13rem;
    height: 13rem;
    clip-path: polygon(0 75%, 100% 73%, 96% 100%, 0% 100%);
    flex-direction: column;
    justify-content: center;
    display: flex;
  }

  .banner-header-clip h1 {
    color: #382f76;
    font-family: 'Open Sans', sans-serif;
    font-size: 20px;
    margin-top: 170px;
    margin-left: -5px;
  }

  .description {
    width: 93%;
    text-align: left;
  }

  .availability {
    width: 93%;
  }
}

@media only screen and (max-width: 500px) {
  .screenshots {
    padding-top: 70px;
    position: relative;
  }

  .banner-icon img {
    box-sizing: border-box;
    top: 110px;
    left: 10px;
    width: 115px;
  }

  .banner-header-clip {
    box-sizing: border-box;
    position: absolute;
    left: 120px;
    top: 290px;
    right: 0;
    width: 12rem;
    height: 12rem;
    clip-path: polygon(0 75%, 100% 73%, 96% 100%, 0% 100%);
  }

  .banner-header-clip h1 {
    color: #382f76;
    font-family: 'Open Sans', sans-serif;
    font-size: 20px;
    margin-top: 150px;
    margin-left: -5px;
  }
}

@media only screen and (max-width: 1024px) and (min-width: 700px) {
  .banner-icon img {
    position: absolute;
    top: 350px;
    left: 50px;
    width: 256px;
  }
}

@media only screen and (min-width: 1024px) and (max-width: 1300px) {
  .banner-icon img {
    position: absolute;
    top: 530px;
    left: 50px;
    width: 256px;
  }
}