/* GLOBAL */
html, body {
  width: 100%;
  height: 100%;
  font-family: 'Amatic SC', cursive;
}
main {
  min-height: 63%;
  max-width: 100%;
}
body {
  margin: 0;
  background-image: linear-gradient(to bottom,rgba(0, 0, 0, 0.2), rgba(0, 0, 0, 0.2)),
  url("../images/cinemagraph_gif.gif");
  background-repeat: no-repeat;
  background-position: center bottom;
  background-size: cover;
}
p {
  font-size: .5em;
  margin-bottom: 0;
}
#loading-gif {
  position: fixed;
  width: 100px;
  height: 100px;
  top: 50%;
  left: 50%;
  margin-top: -125px;
  margin-left: -125px;
  display: none;
}

/* HEADER */
header > p {
  width: 52%;
  font-size: 3.2rem;
  color: whitesmoke;
}
header > h1 {
  color: rgb(216, 0, 0);
  font-family: 'Pattaya', sans-serif;
  margin-left: 10px;
}
.logo{
  font-size: 6.5rem;
}

/* SEARCH SECTION */
.input-p {
  width: 100%;
  font-size: 3rem;
  text-align: center;
  margin-bottom: .5rem;
  color: white;
}
#search-button {
  background-color: rgb(194, 0, 0);
  font-size: 2rem;
}
.form-control {
  font-size: 2.2rem;
}

/* MOVIE SECTION */
.movie-info {
  left: 0;
  top: 30%;
  margin: auto;
  width: 50%;
  height: 63%;
  padding-right: 15px;
  padding-left: 15px;
  background-color: rgba(255, 255, 255, 0.562);
  position: fixed;
  overflow: hidden scroll;
  z-index: 0;
  border-radius: 7px;
  font-family: 'Marcellus SC';
  font-weight: 700;
}
.movie-info::-webkit-scrollbar {
  display: none;
}

.info-text {
  width: 100%;
  height: 100%;
  font-size: 2.5rem;
}
.poster-img {
  width: 100%;
}
.poster-img2 {
  width: 56%;
}
.poster-container {
  width: 66%;
}
.movie-info-container {
  width: 70%;
  height: 100%;
}
#save-movie-btn {
  font-size: 1.5rem;
  background-color: rgb(194, 0, 0);
  width: 100%;
  font-family: 'Amatic SC', cursive;
}
.no-result-txt {
  width: 130%;
  text-align: center;
}

/* GIF SECTION */
.gif-container {
  width: 50%;
  height: 63%;
  background-color: rgba(255, 255, 255, 0.562);
  position: fixed;
  overflow: hidden scroll;
  z-index: 0;
  top: 30%;
  left: 50%;
  border-radius: 7px;
}
.gif-container::-webkit-scrollbar {
  display: none;
}

.gif-img {
  width: 50%;
  height: 50%;
  display: block;
  margin-left: auto;
  margin-right: auto;
  margin-top: 5px;
  cursor: pointer;
}

.prompt-gif {
  margin-top: 1rem;
}

/* FOOTER */
#saved-movies-btn, #saved-gifs-btn {
  font-size: 2.2rem;
  background-color: rgb(194, 0, 0);
  bottom: 0;
  width: 100%;
}

/* SAVED MOVIES MODAL */
.movie-modal {
  position: fixed;
  display: flex;
  justify-content: center;
  background-color: rgb(143, 0, 0);
  color: antiquewhite;
  width: 100%;
  height: 63%;
  z-index: 1;
  overflow: hidden scroll;
  border-radius: 7px;
}
.movie-modal::-webkit-scrollbar {
  display: none;
}
.movie-modal > h4 {
  font-size: 2.5rem;
}
.modal-info-text {
  width: 70%;
  height: 100%;
  margin-left: 3%;
  font-family: 'Marcellus SC';
  font-size: 2rem;
 }
.modal-poster-container {
  width: 20%;
  margin-right: 3%;
}
.movie-modal-info {
  margin-bottom: 3%;
  margin-top: 2%;
  height: 59%;
}
.movie-poster-img {
  width: 30%;
  margin: auto;
}
.movie-saved-alert {
  position: fixed;
  width: 100%;
  height: 100%;
  background-color: rgb(143, 0, 0);
  color: antiquewhite;
  text-align: center;
  z-index: 2;
  padding-top: 2rem;
  overflow: hidden scroll;
}
.movie-saved-alert::-webkit-scrollbar {
  display: none;
}
.movie-saved-alert > button {
  width: 10%;
  height: 6%;
  border-radius: 7px;
  font-size: 1.5rem;
}
.movie-saved-alert > p {
  font-size: 2rem;
  margin-top: 5px;
}

.no-movies-msg, .no-gifs-msg {
  font-size: 1.5rem;
}

/* SAVED GIFS MODAL */
.gif-modal {
  position: fixed;
  background-color: rgb(143, 0, 0);
  color: antiquewhite;
  width: 100%;
  height: 63%;
  text-align: center;
  z-index: 1;
  overflow: hidden scroll;
  border-radius: 7px;
}
.gif-modal::-webkit-scrollbar {
  display: none;
}
.gif-modal > h4 {
  font-size: 2.5rem;
}
.gif-saved-alert {
  position: fixed;
  width: 100%;
  height: 71%;
  background-color: rgb(143, 0, 0);
  color: antiquewhite;
  text-align: center;
  z-index: 2;
  padding-top: 2rem;
  overflow: hidden scroll;
}
.gif-saved-alert::-webkit-scrollbar {
  display: none;
}
.gif-saved-alert > button {
  width: 10%;
  height: 8%;
  border-radius: 7px;
  font-size: 1.5rem;
}
.gif-saved-alert > p {
  font-size: 2rem;
  margin-top: 5px;
}
.saved-gif {
  width: 45%;
  margin-bottom: 5px;
}
.prompt-gif {
  width: 40%;
}
.gif-saved-confirm {
  position: fixed;
  max-width: 100%;
  overflow: hidden scroll;
  width: 100%;
  z-index: 50;
  background-color: rgb(143, 0, 0);
  color: white;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  height: 70%;
}
.gif-saved-confirm::-webkit-scrollbar {
  display: none;
}
.gif-confirm-text {
  margin-top: 2rem;
}

/* DISPLAY TOGGLES */
.invisible {
  visibility: hidden;
}
