@import url("https://fonts.googleapis.com/css2?family=Lexend+Mega:wght@400;700&family=Montserrat:wght@400;700&family=Poppins:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&family=Roboto+Condensed:wght@300;400&display=swap");

* {
  box-sizing: border-box;
}

:root {
  --gold: #ffd700;
  --red: #ff0000;
}

@keyframes hide {
  0% {
    transform: scale(1);
  }
  100% {
    transform: scale(0);
    display: none;
  }
}

@keyframes scroll {
  0% {
    top: 100%;
  }
  100% {
    top: -130%;
  }
}

@keyframes rotate {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(180deg);
  }
}

html {
  height: 100%;
  overflow: hidden;
}

body {
  background-image: linear-gradient(
    to right bottom,
    #02001d,
    #03031f,
    #030522,
    #030824,
    #020b27,
    #0b1730,
    #16213a,
    #202b44,
    #374159,
    #50596f,
    #697185,
    #838b9c
  );
  background-repeat: no-repeat;
  /* background-size: 100%; */
  font-family: "Montserrat", sans-serif;
}

.wrapper {
  margin: 0 auto;
  display: flex;
  justify-content: center;
  height: 700px;
  text-align: center;
  flex-direction: row;
  width: 60%;
  flex-wrap: wrap;
  align-content: center;
  padding: 48px 12px;
}

/*-----------------------------------*/
/*Form-------------------------------*/

textarea,
input {
  outline: none;
}
.input-group {
  display: flex;
  align-items: center;
  gap: 10px;
  position: absolute;
  top: 50%;
}
input {
  background-color: unset;
  border-bottom: 3px solid var(--gold);
  border-left: unset;
  border-right: unset;
  border-top: unset;
  color: var(--gold);
  border-radius: 5px;
}
input::placeholder {
  font-size: x-small;
  opacity: 0.5;
  color: gold;
}
.btn {
  border: unset;
  background-color: unset;
  padding: 8px 12px;
  text-align: center;
  text-decoration: none;
  font-weight: bolder;
  font-size: 20px;
  color: var(--gold);
}
textarea:focus,
input:focus {
  color: var(--gold);
}
.btn-refresh {
  display: none;
}
#error {
  display: none;
  color: var(--red);
  font-size: 10px;
  padding: 3px 0px;
  align-self: flex-start;
}

/*------------------------------------*/
/*SVG Button--------------------------*/

#stormSVG:hover {
  opacity: 80%;
  cursor: pointer;
  transform: scale(1.1);
}
#stormSVG:active {
  transform: scale(1);
  opacity: 100%;
}

#refreshSVG:hover {
  cursor: pointer;
  opacity: 80%;
  transform: scale(1.1);
  animation: rotate 500ms;
}
#refreshSVG:active {
  transform: scale(1);
  opacity: 100%;
}

/*----------------------------------*/
/*film-opener-----------------------*/

#filmList {
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

#filmList h2,
p {
  position: relative;
  animation: scroll 35s;
  color: var(--gold);
  transform: rotatex(40deg);
}
.filmTitle {
  font-size: 36px;
}
.filmProducer,
.filmDirector {
  font-size: 20px;
}

.filmOpener {
  font-size: 28px;
}

/*-------------------------------------*/
/*stars--------------------------------*/

.star {
  width: 1px;
  height: 1px;
  position: absolute;
}

@media screen and (max-width: 450px) {
  .wrapper {
    width: 100%;
  }
  #filmList {
    height: 80%;
  }
  .filmTitle {
    font-size: 26px;
  }
  .filmProducer,
  .filmDirector {
    font-size: 16px;
  }
  
  .filmOpener {
    font-size: 18px;
  }
}