@import url("https://fonts.googleapis.com/css?family=Oswald&display=swap");

body {
background: #000;
}

/* Animation styles */
@keyframes fadeIn {
        from {
            opacity: 0;
        }
        to {
            opacity: 1;
        }
    }

    .fadeInAnimation {
        animation-name: fadeIn;
        animation-duration: 1s;
    }
    @keyframes slideInFromLeft {
        0% {
            transform: translateX(-100%);
        }
        50% {
            transform: translateX(0);
        }
        100% {
            transform: translateX(-100%);
        }
    }

    
.card-title{
width: 100%;
display: flex;
flex-wrap: wrap;  
color: #000;
}
.col-lg-3{
    flex: 1;
 display: flex;
flex-direction: column;
 align-items: center;
 list-style: none;
 margin: 10px;
padding: 15px;
border-radius: 12px;
text-align: center;
background:gold; 
font-family: 'Audiowide', cursive;
animation-name: fadeIn;
        animation-duration: 1s;
}
.col-lg-3 img {
    height: 250px;
    width: 180px;
    border-radius: 5px;
    border: 1px solid
 }
 .results {
        display: flex;
        flex-wrap: wrap;
        justify-content: center;
    }

.movie {
        flex: 1;
        display: flex;
        flex-direction: column;
        align-items: center;
        list-style: none;
        margin: 10px;
        padding: 15px;
        border-radius: 12px;
        text-align: center;
        background:burlywood;
        color:#000;
        font-family: 'Audiowide', cursive;
        box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    }

    .movie img {
        height: 250px;
        width: 180px;
        border-radius: 5px;
        border: 1px solid #fff;
    }

    .movie h2 {
        font-size: 1.8em;
        padding: 15px 10px 0;
    }

    .movie p {
        margin-top: 10px;
        font: size 1px;
        font-size: 1.2em;
        font-family: "Oswald", sans-serif;

    }

.results {
width: 100%;

display: flex;
flex-wrap: wrap;
}
.results li {
flex: 1;
 display: flex;
flex-direction: column;
 align-items: center;
 list-style: none;
 margin: 10px;
padding: 15px;
border-radius: 12px;
text-align: center;
background: #272727;
 }
.results li img {
    height: 250px;
    width: 180px;
    border-radius: 5px;
    border: 1px solid
 }

.results li h2 {

color: #fff;
font-size: 1.8em;
padding: 15px 10px 0;
font-family: "Oswald", sans-serif;
}

.results h2 {

color: #fff;
font-size: 1.8em;
padding: 15px 10px 0;
font-family: "Oswald", sans-serif;
}


h1{
    font-family: 'Audiowide', cursive;
    font-size: 2rem;
    position: sticky;
    display: flex;
    justify-content: center;
    align-items: center;
    letter-spacing: 3px;
    margin-left: 10px;
    color:antiquewhite;
    animation-name: slideInFromLeft;
        animation-duration: 5s;
        animation-iteration-count: 2;
}
hr{
    margin: 10px 0;
}
footer{
    display: flex;
    width: 100%;
    justify-content: space-between;
    align-items: center;
    color: whitesmoke;

}
footer div{
    margin: 0 10px;
    font-size: 15px;
}
footer div ul{
    display: flex;
    flex-wrap: nowrap;
   
}
footer div ul li{
    display: flex;
    flex-wrap: nowrap;
}
footer div ul li a{
    text-decoration: none;
    width: 100%;
    color: whitesmoke;
    margin: 0.5em;
    font-size: larger;
}

.wrapper {
    perspective: 500px;
    transform: rotatex(10deg);
    animation: rotateAngle 6s linear infinite;
    margin: auto;
    width: auto;
    display: flex;
    justify-content: right;
    align-items: right;
   }
   
   .button1 {
    position: relative;
    margin: 0.5em 1rem 3rem 1rem ;
    padding:1rem 1em 2.2em;
    cursor: pointer;
    background: #FFFFFF;
    border: none;
    border-radius: 0.4em;
    text-transform: uppercase;
    font-size: 19px;
    font-family: "Work Sans", sans-serif;
    font-weight: 500;
    letter-spacing: 0.04em;
    mix-blend-mode: color-dodge;
    perspective: 500px;
    transform-style: preserve-3d;
   }
   
   .button1:before, button:after {
    --z: 0px;
    position:relative;
    top: 0;
    left: 0;
    display: block;
    content: "";
    width: 100%;
    height: 100%;
    opacity: 0;
    mix-blend-mode: inherit;
    border-radius: inherit;
    transform-style: preserve-3d;
    transform: translate3d(calc(var(--z) * 0px), calc(var(--z) * 0px), calc(var(--z) * 0px));
   }
   
   .button1 span {
    mix-blend-mode: none;
    display: block;
   }
   
   .button1:after {
    background-color:cadetblue;
   }
   
   .button1:before {
    background-color:#b35353;
   }
   
   .button1:hover {
    background-color:gold;
    transition: background 0.3s 0.1s;
   }
   
   .button1:hover:before {
    --z: 0.04;
    animation: translateWobble 2.2s ease forwards;
   }
   
   .button1:hover:after {
    --z: -0.06;
    animation: translateWobble 2.2s ease forwards;
   }
   
   @keyframes rotateAngle {
    0% {
     transform: rotateY(0deg) rotateX(10deg);
     -webkit-animation-timing-function: cubic-bezier(0.61, 1, 0.88, 1);
     animation-timing-function: cubic-bezier(0.61, 1, 0.88, 1);
    }
   
    25% {
     transform: rotateY(20deg) rotateX(10deg);
    }
   
    50% {
     transform: rotateY(0deg) rotateX(10deg);
     -webkit-animation-timing-function: cubic-bezier(0.61, 1, 0.88, 1);
     animation-timing-function: cubic-bezier(0.61, 1, 0.88, 1);
    }
   
    75% {
     transform: rotateY(-20deg) rotateX(10deg);
    }
   
    100% {
     transform: rotateY(0deg) rotateX(10deg);
    }
   }
   
   @keyframes translateWobble {
    0% {
     opacity: 0;
     transform: translate3d(calc(var(--z) * 0px), calc(var(--z) * 0px), calc(var(--z) * 0px));
    }
   
    16% {
     transform: translate3d(calc(var(--z) * 160px), calc(var(--z) * 160px), calc(var(--z) * 160px));
    }
   
    28% {
     opacity: 1;
     transform: translate3d(calc(var(--z) * 70px), calc(var(--z) * 70px), calc(var(--z) * 70px));
    }
   
    44% {
     transform: translate3d(calc(var(--z) * 130px), calc(var(--z) * 130px), calc(var(--z) * 130px));
    }
   
    59% {
     transform: translate3d(calc(var(--z) * 85px), calc(var(--z) * 85px), calc(var(--z) * 85px));
    }
   
    73% {
     transform: translate3d(calc(var(--z) * 110px), calc(var(--z) * 110px), calc(var(--z) * 110px));
    }
   
    88% {
     opacity: 1;
     transform: translate3d(calc(var(--z) * 90px), calc(var(--z) * 90px), calc(var(--z) * 90px));
    }
   
    100% {
     opacity: 1;
     transform: translate3d(calc(var(--z) * 100px), calc(var(--z) * 100px), calc(var(--z) * 100px));
    }
   }


   .input-container {
    display: flex;
    border-radius: 1rem;
    background: linear-gradient(45deg, #c5c5c5 0%, #ffffff 100%);
    box-shadow: 20px 20px 20px #d8d8d8,-10px -10px 20px #f8f8f8;
    padding: 0.3rem;
    width: 550px;

    gap: 0.3rem;
  }
  
  .input-container input {
    border-radius: 0.8rem 0 0 0.8rem;
    background: #e8e8e8;
    box-shadow: inset 13px 13px 10px #dcdcdc,
              inset -13px -13px 10px #f4f4f4;
    flex-basis: 75%;
    padding: 1rem;
    border: none;
    border-left: 2px solid #4998FF;
    font-weight: 900;
    transition: all 0.2s ease-in-out;
    font-size:18px;
    width: 200px;

  }
  
  .input-container input:focus {
    border-left: 2px solid #4998FF;
    outline: none;
    box-shadow: inset 13px 13px 10px #BFF0FA,inset -13px -13px 10px #f4f4f4;
  }
  
  .input-container button {
    flex-basis: 25%;
    padding: 1rem;
    background: linear-gradient(135deg, #BFF0FA 0%, #4998FF 100%);
    font-weight: 900;
    letter-spacing: 0.3rem;
    text-transform: uppercase;
    color:black;
    border: none;
    width: 100%;
    border-radius: 0 1rem 1rem 0;
    font-weight: bold; 
    text-shadow: 1px 1px 2px rgba(255, 255, 255, 0.8), 2px 2px 4px rgba(0, 0, 0, 0.2); /* Add text shadow */
    transition: all 0.2s ease-in-out;
  }
  
  .input-container button:hover {
    background: linear-gradient(135deg, #BFF0FA 0%, #4998ffc4 100%);


  }
  
  @media (max-width: 500px) {
    .input-container {
      flex-direction: column;
    }
  
    .input-container input {
      border-radius: 0.8rem;
    }
  
    .input-container button {
      padding: 1rem;
      border-radius: 0.8rem;
    }
  }