@import url("https://fonts.googleapis.com/css2?family=Open+Sans&family=Oswald:wght@200;300;400;500;700&family=Poppins:wght@400;500;600;700&display=swap");

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: "Oswald", sans-serif;
}

:root {
  --main-color: #ffb43a;
  --hover-color: hsl(37, 94%, 54%);
  --body-color: #1e1e2a;
  --container-color: #2d2e37;
  --text-color: #fcfeff;
}

img {
  width: 100%;
}

html::-webkit-scrollbar {
  width: 0.5rem;
  background: transparent;
}

html::-webkit-scrollbar-thumb {
  background: rgb(255, 68, 0, 0.938);
}

section {
  padding: 3rem 0 2rem;
}
a {
  text-decoration: none;
}
.container {
  max-width: 1060px;
  margin: auto;
}

body {
  width: 100%;
  height: 100%;
  background: url("../imagenes/FOTOS/f3.jpg") no-repeat center center/cover;
  backdrop-filter: blur(5px);
  background-repeat: no-repeat;
  background-position: center;
  background-size: cover;
  object-fit: cover;
}

header {
  width: 95%;
  margin: 30px auto;
  height: 550px;
  background-image: linear-gradient(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.7)),
    url("../imagenes/FOTOS/f3.jpg");
  background-repeat: no-repeat;
  background-position: center;
  background-size: cover;
  border-radius: 20px;
  box-shadow: 4px 4px 4px rgb(255, 68, 0, 0.938);
}

/*aqui en UP es donde paso todos los elementos a de la navegacion desde la izquierda hacia el otro lado ...
queda todo a la derecha .. con el justify- content space-between*/

.up {
  max-width: 85%;
  width: 1700px;
  height: 90px;

  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.up a {
  text-decoration: none;
}

/*hasta aquí */

.logo {
  font-size: 20px;
  color: rgba(255, 68, 0, 0.877);
  font-weight: bold;
}

.logo:hover {
  color: rgba(253, 0, 0, 1);
}

.nav-menu {
  width: 350px;
  height: 90px;
  display: flex;
  align-items: center;
}

.nav-menu li {
  list-style: none;
  padding: 3px 7px;
}

.nav-menu li a {
  font-size: 16px;
  font-weight: bold;
  color: orangered;
  text-decoration: none;
}

.nav-menu li a:hover {
  color: red;
}

/*REGISTRO LOGIN USER CART-SHOPING*/

.other-links {
  margin-top: 50px;
}

.other-links i {
  color: rgba(255, 68, 0, 0.877);
  font-size: 20px;
  margin-left: 10px;

  cursor: pointer;
}
.icons {
  padding: 80px 40px 40px 70px;
  /*ARRIBA              DERECHA  */
  gap: 30px;
  font-size: 20px;
  color: orangered;
  display: flex;
  cursor: pointer;
}
.icons:hover {
  color: red;
}
#btn-login {
  width: 100px;
  background: orangered;
  border: 3px solid orangered;
  color: #1c1c1c;
  font-weight: bold;
  border-radius: 5px;
  height: 5vh;
  transition: 0.5s ease;
  cursor: pointer;
}

#btn-login a {
  text-decoration: none;
  color: #1c1c1c;
  transition: 0.5s ease;
}

#btn-login a:hover {
  color: orangered;
}

#btn-login:hover {
  background-color: #2d2e37;
}

#btn-signup {
  width: 100px;
  background: orangered;
  border: 3px solid orangered;
  color: #1c1c1c;
  font-weight: bold;
  border-radius: 5px;
  height: 5vh;
  transition: 0.5s ease;
  cursor: pointer;
}

#btn-signup a {
  text-decoration: none;
  color: #1c1c1c;
  transition: 0.5s ease;
}

#btn-signup a:hover {
  color: orangered;
}

#btn-signup:hover {
  background-color: #2d2e37;
}

/*RESPONSIVE DE LA NAVEGACIÓN y DEL REGISTRO LOGIN USER CART-SHOPING*/

@media screen and (max-width: 700px) {
  .other-links {
    margin-top: 60px;
    display: flex;
    align-items: center;
    flex-direction: row;
    justify-content: center;
  }

  .other-links i {
    font-size: 20px;
  }
  .icons {
    gap: 50px;
    margin-right: 30px;
    flex-direction: column;
    align-items: center;
    justify-content: center;
  }

  #btn-login {
    margin-right: 15px;
    width: 60px;
    height: 5vh;
    font-size: 12px;
  }

  #btn-signup {
    width: 60px;
    height: 5vh;
    font-size: 12px;
  }
}

@media screen and (max-width: 670px) {
  .other-links {
    margin-top: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
  }

  .other-links i {
    font-size: 20px;
  }

  #btn-login {
    width: 60px;
    height: 5vh;
    font-size: 12px;
  }

  #btn-signup {
    width: 60px;
    height: 5vh;
    font-size: 12px;
  }
}

@media only screen and (max-width: 620px) {
  .up {
    width: 100%;
    height: 100px;

    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-between;
  }

  .nav-menu {
    width: 350px;
    height: 25px;

    display: flex;
    align-items: center;
    justify-content: space-evenly;
  }
  .nav-menu li a {
    font-size: 16px;
    font-weight: bold;

    text-decoration: none;
  }
}

@media screen and (max-width: 500px) {
  .nav-menu li a {
    font-size: 14px;
    font-weight: bold;

    text-decoration: none;
  }
  .other-links i {
    font-size: 18px;
  }

  #btn-login {
    width: 70px;
    height: 5vh;
  }

  #btn-signup {
    width: 70px;
    height: 5vh;
  }
}

@media only screen and (max-width: 370px) {
  .up {
    margin-top: 30px;
  }

  .nav-menu {
    flex-direction: column;
    padding-top: 90px;
  }
  .nav-menu li {
    list-style: none;
    padding: 1px 0px;
  }

  .nav-menu li a {
    font-size: 14px;
    font-weight: bold;

    text-decoration: none;
  }
  .other-links {
    margin-top: 110px;
  }
  .other-links i {
    margin-left: 15px;
  }
}

@media screen and (max-width: 350px) {
  .other-links {
    margin-right: 10px;
  }

  .other-links i {
    font-size: 18px;
  }

  #btn-login {
    margin-right: 12px;
    width: 60px;
    height: 5vh;
    font-size: 12px;
  }

  #btn-signup {
    width: 60px;
    height: 5vh;
    font-size: 12px;
  }
}

@media screen and (max-width: 250px) {
  .other-links {
    margin-right: 10px;
  }

  .other-links i {
    font-size: 12px;
  }

  #btn-login {
    width: 40px;
    height: 5vh;
    font-size: 8px;
  }

  #btn-signup {
    width: 50px;
    height: 5px;
    font-size: 8px;
  }
}
/*RESPONSIVE DEL REGISTRO LOGIN USER CART-SHOPING HASTA AQUÍ VA --------------------*/

/*HASTA AQUI  --------------------------------------------*/

/*HHEADIN AQUI  --------------------------------------------*/

/*HASTA AQUI  --------------------------------------------*/

/*COPYRIGTH  -------------------------------*/

.copyright {
  text-align: center;
  color: rgb(226, 28, 28);
  font-size: 18px;
  font-weight: bold;
  padding: 60px;
}

.copyright span {
  color: orangered;
}

.copyright span:hover {
  color: rgba(243, 9, 9, 0.877);
  text-decoration: underline;
}

/*REDES DE PAGINA PELÍCULAS    -------------------------------------------------------------*/

.redes {
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 65px;
}
.redes i {
  color: orangered;
  margin-left: 10px;
  font-size: 26px;
}
.redes i:hover {
  color: red;
}

/*RESPONSIVE -------------------------------*/

@media (max-width: 1060px) {
  .container {
    margin: 0 auto;
    width: 95%;
  }
}

@media (max-width: 768px) {
  section {
    padding: 2rem 0;
  }
}

/*SECCIÓN PELÍCULAS --------------------------------*/

.card {
  width: clamp(150px, 95vw, 250px);
  box-shadow: 0 0 0.5rem 0 rgba(253, 0, 0, 1);
  outline: 4px solid orangered;
  overflow: hidden;
  color: #fff;
  cursor: pointer;
  border-radius: 0.5rem;
}

.img {
  width: 100%;
  height: 200px;
  overflow: hidden;
  position: relative;
  transition: 200ms ease-in-out transform;
}

.img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.img::before {
  content: "";
  position: absolute;
  bottom: 0;
  width: 100%;
  height: 30%;
  background-image: linear-gradient(to top, #151515, transparent);
}

.info {
  padding: 2rem 1rem 1rem;
  background-color: #1c1c1c;
}

.info h2 {
  margin-bottom: 0.5rem;
  font-size: 1.3rem;
}

.single-info {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.8rem;
  margin: 0.2rem 0;
}

.card:hover img {
  transform: scale(1.1);
}

.movies-grid {
  display: flex;
  align-items: flex-start;
  justify-content: center;
  flex-wrap: wrap;
  gap: 2rem;
  padding: 1rem;
}
.movies-grid h2 {
  color: orangered;
}

.movies-grid .names {
  color: orangered;
}

.movies-container {
  padding: 1rem;
  text-align: center;
  font-size: 24px;
  font-weight: bold;
  color: orangered;
}

.search {
  display: flex;
  justify-content: center;
  column-gap: 1rem;
  margin-top: 2rem;
  padding: 2rem 0 1rem;
}

.search input,
.search button {
  padding: 0.5rem 1rem;
  font-size: 1rem;
  background-color: #1c1c1c;

  border: none;
  outline: none;
  border: 3px solid orangered;
  color: #ffffff;
  border-radius: 0.5rem;
}

.search button {
  cursor: pointer;
}

.search button:hover {
  background-color: rgba(253, 0, 0, 0.6);
}

.search button:active {
  transform: scale(0.9);
}

/*COPYRIGTH  -------------------------------*/

/*SECCIÓN PELÍCULAS HASTA AQUÍ --------------------------------*/

/*RESPONIVE DE LAS TARJETAS  --------------------------------*/

@media screen and (max-width: 370px) {
  .search {
    display: flex;
    align-items: center;
    flex-direction: column;
  }

  .search input {
    margin-bottom: 10px;
  }
}

/*HASTA AQUÍ --------------------------------*/
