/* THIRD SCREEN */
#third-screen {
  height: fit-content;
  padding-bottom: 6vh;
  background: #161616;
}
.head-one {
  padding-top: 7vh !important;
  padding-bottom: 0 !important;
}
.rules {
  padding-top: 0 !important;
}
/* Style the Image Used to Trigger the Modal */
#layout {
  margin: 0 auto;
}
.imgs {
  margin-left: 2vw;
  border-radius: 0px;
  cursor: pointer;
  transition: 0.3s;
  margin: 0 auto;
  width: 60vw;
  height: 100vh;
}
.imgs:hover {
  opacity: 0.7;
}

/* The Modal (background) */
.modal {
  display: none; /* Hidden by default */
  position: fixed; /* Stay in place */
  z-index: 100; /* Sit on top */
  padding-top: 0vh;
  margin-left: 0; /* 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 */
}

/* Modal Content (Image) */
.modal-content-ts {
  margin: 0 !important;
  display: block;
  width: 100vw;
  height: 180vh;
  /* max-width: 600px; */
}

/* Caption of Modal Image (Image Text) - Same Width as the Image */
#caption {
  margin: auto;
  display: block;
  width: 80%;
  max-width: 700px;
  text-align: center;
  color: #ccc;
  padding: 10px 0;
  height: 150px;
}

/* Add Animation - Zoom in the Modal */
.modal-content-ts,
#caption {
  animation-name: zoom;
  animation-duration: 0.6s;
}

@keyframes zoom {
  from {
    transform: scale(0);
  }
  to {
    transform: scale(1);
  }
}

/* The Close Button */
.close-mod {
  position: absolute;
  top: 5px;
  right: 5px;
  z-index: 10;
  color: #fff;
  font-size: 40px;
  font-weight: bold;
}

.close-mod:hover,
.close-mod:focus {
  color: #bbb;
  text-decoration: none;
  cursor: pointer;
}

/* 100% Image Width on Smaller Screens */
@media only screen and (max-width: 800px) {
  .close-mod {
    top: 2px;
    right: 25px;
  }
  .modal-content-ts {
    width: 100vw;
    height: auto;
  }
}

/* Responsive */
@media only screen and (max-width: 1100px) {
  /* THIRD SCREEN */
  #third-screen {
    padding-top: 0;
  }
}
@media only screen and (max-width: 800px) {
  /* THIRD SCREEN */
  #layout {
    height: auto;
  }
}
@media only screen and (max-width: 600px) {
  .modal {
    left: 0;
    top: 0%;
  }
  .modal-content-ts {
    width: 100vw;
    height: auto;
  }
  .head-one {
    padding-top: 0 !important;
  }
  /* THIRD SCREEN */
  #layout {
    width: 90vw;
    height: auto;
  }
}
