/* ===================== */
/* GLOBAL RESET */
/* ===================== */

*{
   margin: 0;
   padding: 0;
   box-sizing: border-box;
}

body{
  background-image: linear-gradient(to right, rgb(241,121,217), rgb(106,222,243));
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  background-repeat: no-repeat;
  background-position: center;
  background-size: cover;
}

/* ===================== */
/* NAVIGATION */
/* ===================== */

nav{
    border: 2px solid white;
    color: white;
    border-radius: 10px;
    width:100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 15px;
    background-image: linear-gradient(135deg, #5fddfd, #2b35fa, #090d1f);
}

ul{
    display: flex;
    gap: 20px;
    font-size: 20px;
    list-style: none;
}

a{
  color:white;
  text-decoration: none;
}

/* ===================== */
/* HEADINGS */
/* ===================== */

h2 {
  color:white;
  display: inline-block;
  padding: 10px 20px;
  border: 3px solid transparent;
  border-radius: 8px;
  background:
    linear-gradient(#000, #000) padding-box,
    linear-gradient(270deg, #00f0ff, #ff00ff, #00f0ff) border-box;
  background-size: 300% 300%;
  animation: move 4s linear infinite;
}

@keyframes move {
  0% { background-position: 0% 50%; }
  100% { background-position: 100% 50%; }
}

/* ===================== */
/* SLIDER */
/* ===================== */

.slider {
  overflow: hidden;
  display: flex;
  height: 350px;
  width: 100%;
  background-size: cover;
  align-items: center;
  border-radius: 10px;
}

.slide-track {
  display: flex;
  gap: 20px;
  animation: scroll 20s linear infinite;
}

.slide-track img {
  width: 350px;
  height: 250px;
  border-radius: 10px;
}

@keyframes scroll {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

/* ===================== */
/* IMAGES */
/* ===================== */

img {
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  border: 2px solid black;
}

img:hover {
  transform: scale(1.08);
  box-shadow: 2px 2px 20px rgb(21, 12, 21);
}

/* centered mobile images */
.mobile{
   display: block;
   margin: 20px auto;
   width: 90%;
   max-width: 250px;
   height: auto;
   border-radius: 10px;
   border: 2px solid black;
}

.images{
  display: block;
  width: 90%;
  max-width: 200px;
  height: auto;
  border-radius: 10px;
  margin: 20px auto;
}

/* ===================== */
/* CONTENT */
/* ===================== */

.content{
 display: flex;
 font-size: 40px;
 color:black;
 align-items: center;
 justify-content: center;
 text-align: center;
 padding: 20px;
}

/* ===================== */
/* PRODUCT SECTION */
/* ===================== */

.productspage{
  background-color: #020305;
  color: white;
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  padding: 20px;
  border-radius: 10px;
}

/* ===================== */
/* FOOTER */
/* ===================== */

#final{
  background-color: #000;
  opacity: 0.85;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 30px;
  padding: 20px;
  flex-wrap: wrap;
  text-align: center;
}

.call-btn {
  background: green;
  color: white;
  padding: 10px 20px;
  text-decoration: none;
  border-radius: 5px;
}

/* ===================== */
/* VIDEO */
/* ===================== */

video{
  width: 100%;
}

/* ===================== */
/* RESPONSIVE */
/* ===================== */

@media (max-width: 768px){

  nav{
    flex-direction: column;
    gap: 10px;
    text-align: center;
  }

  ul{
    flex-direction: column;
    gap: 10px;
  }

  .content{
    font-size: 22px;
  }

  .slider{
    height: 220px;
  }

  .slide-track img{
    width: 220px;
    height: 150px;
  }

  #final{
    flex-direction: column;
    gap: 15px;
  }

}
