* {
  margin: 0;
  padding: 0;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
  text-decoration: none;
  box-sizing: border-box;
  scrollbar-width: none;

  a {
    text-decoration: none;
    color: black;
  }
}

nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 2em 6em 2em 6em;
  height: 70px;
  position: sticky;
  background-color: white;
  top: 0;
  width: 100vw;
  box-shadow: 0px 0px 15px 0px rgb(187, 179, 179);
  z-index: 100;
}

nav a {
  color: rgb(68, 67, 67);
  font-weight: 500;
}

nav ul {
  display: inline-flex;
  list-style-type: none;
  align-items: center;
  gap: 2em;
}

nav ul .icon-nav img {
  width: 25px;
}

nav ul .icon-nav {
  display: inline-flex;
  align-items: center;
}

nav .menu li {
  padding: 1px;
}

nav .menu li:hover {
  background-color: #e0d2d2;
}

.poster {
  font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
  background-image: url(https://res.cloudinary.com/dw4j19xmz/image/upload/v1761618847/Screenshot_28-10-2025_75427_en.softonic.com_oatxdn_hnn4d0.jpg);
  height: 35rem;
  display: flex;
  width: 100vw;
  justify-content: center;
  align-items: flex-start;
  background-repeat: no-repeat;
  background-size: cover;
}

.hero {
  width: 100vw;
  height: 35rem;
  justify-content: center;
  /* padding-bottom: 5%; */
  /* position: relative; */
  align-content: flex-end;
  /* border: 1px solid; */
}

.search-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: white;
  border-radius: 8px;
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.2);
  width: 50wh;
  max-width: 70%;
  margin: 0 auto;
  overflow: hidden;
  position: relative;
  bottom: 7rem;
}

.search-container input {
  flex: 1;
  border: none;
  outline: none;
  padding: 20px 18px;
  font-size: 16px;
  color: #333;
}

.search-container button {
  background: none;
  border: none;
  padding: 0 18px;
  cursor: pointer;
}

.search-container button img {
  color: #333;
  width: 35px;
}

.search-container input::placeholder {
  color: #777;
}

.search-container:hover {
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.25);
  transform: translateY(-1px);
  transition: 0.2s ease;
}

.trending-content {
  display: flex;
  gap: 1em;
  flex-wrap: wrap;
  justify-content: space-around;
}

.trending {
  margin: 5em 5em 0 5em;
}

.heading {
  font-size: 1.5em;
  font-weight: 600;
  margin-left: 1em;
  margin-bottom: 1em;
}

.content-1 {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 600;
  font-size: 18px;
  border: 1px solid #00C853;
  border-radius: 10px;
  min-width: 250px;
  width: 300px;
  transition: 1s;
  padding: 0.5em;
  /* margin-top: 2em; */
}

.content-1:hover {
  background: linear-gradient(90deg, #00C96F 0%, #0096E6 100%);
  color: white;
  transform: translateY(-5px);
}

.content-1 img {
  width: 50px;
}

.app {
  margin: 5em 0 0 5em;
}

.game {
  /* border: 1px solid; */
  width: 12em;
}

.game-img {
  padding: 2em;
  display: inline-flex;
  justify-content: center;
  text-align: center;
  border: 1px solid rgb(230, 212, 212);
  border-radius: 10px;
}

.game-img img {
  width: 8em;
  border-radius: 10px;
}

.game .type {
  display: flex;
  justify-content: space-between;
  /* border: 1px solid; */
}

.game .type div {
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  color: grey;
}

.game .type .star {
  font-size: 22px;
  color: #FDCC0D;
}

#green {
  color: green;
}

.game .name {
  font-size: 1.1em;
  font-weight: 600;
}

.scroller {
  display: grid;
  overflow-y: auto;
  scroll-snap-type: x mandatory;
}

.application {
  display: flex;
  justify-content: space-around;

}

.game:hover .name {
  text-decoration: underline;
}

.btn {
  display: flex;
  justify-content: center;
  margin-top: 30px;
  /* border: 1px solid; */
}

.btn button {
  background-color: white;
  border: none;
  outline: 2px solid black;
  width: 150px;
  height: 35px;
  border-radius: 5px;
  font-size: 16px;
  color: rgb(75, 70, 70);
  transition: 0.5s;
}

.btn button:hover {
  background-color: black;
  color: white;
  font-weight: 600;

}

.top-download {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1em;
  transition: 0.5s;
  border-radius: 10px;
}

.top-download .app-name {
  display: flex;
  align-items: center;
  gap: 1em;
  font-weight: 700;
  color: rgb(82, 78, 78);
  width: 33%;
}

.top-download .about {
  display: flex;
  justify-content: space-between;
  width: 33%;
  font-size: 14px;
  font-weight: 500;
}

.top-download .about .star {
  display: inline-flex;
  align-items: center;
  gap: 1px;
}

.star-color {
  color: #FDCC0D;
  font-size: 20px;
}

.top-download .app-name img {
  width: 50px;
}

.top-download .download-btn img {
  width: 30px;
}

.top-download .download-btn button {
  border: none;
  background-color: rgb(0, 128, 85);
  padding: 9px;
  border-radius: 10px;
}

.top-download:hover {
  box-shadow: 1px 1px 20px 0px grey;
  transform: translateY(-2px);
}

.top-download:hover .download-btn button {
  background-color: rgb(2, 88, 2);
}

#top-download-border {
  border: 1px solid rgb(236, 219, 219);
  padding: 1em;
  border-radius: 10px;
}

.news-1 {
  display: flex;
  justify-content: space-around;
  flex-wrap: wrap;
  /* gap: 1em; */
}

.news-1 .cont {
  height: 40vmin;
  width: 75vmin;
  overflow: hidden;
  border-radius: 10px;
  /* border: 5px solid ; */
}

.image {
  /* border: 1px solid; */
  width: 75vmin;
}

.news-1 .cont img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 10px;
  transition: all 0.5s ease-in;
  display: block;
}

.news-1 .image:hover img {
  transform: scale(1.1);
  border-radius: 10px;

}

.news-1 .image:hover {
  border-radius: 10px;
  text-decoration: underline;
}

.news-1 figcaption {
  font-size: 20px;
  font-weight: 630;
}

.new-2 {
  display: grid;
  margin: 1em 5em 0 5em;

}

.scroll-1 {
  display: flex;
  justify-content: space-around;
  flex-wrap: wrap;
}

.new-2 .conte {
  height: 30vmin;
  width: 50vmin;
  border-radius: 10px;
  overflow: hidden;
}

.new-2 .conte img {
  object-fit: cover;
  height: 100%;
  width: 100%;
  transition: all 0.5s ease-in-out;
}

.image-new {
  width: 50vmin;
  margin-top: 1em;

}

.image-new:hover {
  text-decoration: underline;
}

.image-new:hover img {
  transform: scale(1.1);
}

.image-new figcaption {
  font-size: 18px;
  font-weight: 600;
}

.heading-s {
  font-size: 20px;
  font-weight: 500;
  margin: 1em 5em 1em 3em;
}

.scroll-3 {
  display: flex;
  justify-content: space-evenly;
  flex-wrap: wrap;
  margin-right: 4em;
  margin-left: 4em;
  gap: 1em;
}

.cate {
  font-size: 17px;
  font-weight: 600;
  display: inline-flex;
  gap: 1em;
  color: rgb(39, 37, 37);
  align-items: center;
}

.apps-1 {
  border: 1px solid rgb(240, 227, 227);
  border-radius: 10px;
  padding: 1.5em;
}

.scroll-3 .icons {
  display: flex;
  justify-content: space-evenly;
  gap: 15px;
  margin-top: 1em;
}

.scroll-3 .icons img {
  width: 40px;
  border-radius: 10px;
}

.apps-1:hover {
  border-color: #a39e9e;
}

.apps-1 .icons img:hover {
  transform: scale(1.1);
}

.latest {
  display: flex;
  margin: 1em 5em 1em 4em;
  justify-content: space-around;
  flex-wrap: wrap;
  gap: 1em;
}

.latest-app {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  /* border: 1px solid; */
  width: 25rem;
  /* margin-bottom: 2rem; */


}

.latest-app .image img {
  width: 5rem;
  border-radius: 10px;
}

.name-rating {
  /* border: 1px solid; */
  width: 150rem;
  padding-left: 0.5rem;
}

.name-rating .star {
  font-size: 18px;
  color: #FDCC0D;
}

.name-rating .name {
  font-size: 1.1rem;
  font-weight: 600;
}

.name-rating .div {
  display: inline-flex;
  gap: 2px;
  align-items: center;
}

.latest-app:hover .name-rating .name {
  text-decoration: underline;
}

footer {
  color: #fff;
  margin-top: 6em;
  padding: 3rem 12em 1rem 0rem;
  background-color: #427f9e;
  background-image: linear-gradient(120deg, #2cbb81e6 35%, #427f9e 10%);

  a {
    color: white;
  }
}

.footer-1 {
  display: flex;
  justify-content: space-around;
}

footer .heading {
  margin: 0;
  margin-bottom: 1rem;
  font-size: 1.3rem;
}

.footer-1 ul li {
  list-style-type: none;
  margin-bottom: .5rem;
  font-weight: 450;
}

.footer-1 .social .logo {
  display: flex;
  gap: 1rem;
  align-items: center;
}

.footer-1 .social .logo div {
  border: 2px solid;
  border-radius: 50%;
  padding: 3px;
  cursor: pointer;
}

.footer-1 .social .logo div:hover {
  background-color: grey;
}

.footer-2 {
  display: flex;
  align-items: center;
  gap: 5em;
  margin: 0em 0 5em 3em;
}

.footer-2 ul li {
  display: inline-flex;
  margin-right: 1em;
  margin-bottom: 0.5em;
  font-weight: 500;
}

.footer-2 img {
  width: 10rem;
}

.footer-2 div p {
  margin-top: 2em;
  font-weight: 450;
}

.footer-1 ul a:hover {
  text-decoration: underline;
}

.footer-2 ul li:hover {
  text-decoration: underline;
  cursor: pointer;
}

@media screen and (max-width:950px) {
  nav .menu {
    display: none;
  }

  nav {
    padding: 0 0 0 1rem;
    justify-content: space-between;
  }

  nav .logo {
    width: 80vw;
    justify-content: center;
    display: flex;

  }

  .poster {
    height: 25rem;
  }

  .hero {
    height: 25rem;
  }

  .trending {
    margin: 1rem 0 0 1rem;
    justify-content: space-between;
  }

  .content-1 {
    width: 45vw;
  }

  .heading {
    margin: 3rem 0 1rem 2rem;
  }

  .app {
    margin: 1rem 0 0 1rem;
    gap: 2rem;
  }

  .game img {
    width: 7rem;
  }

  .top-download .about {
    display: none;
  }

  .news-1 {
    justify-content: flex-start;
  }

  .news-1 .image .cont img {
    width: 100%;
    height: 100%;
  }

  .new-2 {
    margin: 1rem 0 0 1rem;

  }


  .new-2 .scroll-1 {
    flex-wrap: nowrap;
    overflow-y: auto;
    gap: 2rem;
  }

  .latest {
    margin: 1rem 0.5rem 1rem 1rem;
    justify-content: flex-start;
  }

  .heading-s {
    margin: 3rem 0.5rem 1rem 1rem;
  }

  .scroll-3 {
    flex-wrap: nowrap;
    overflow-y: auto;
    margin: 1rem 0.5rem 1rem 1rem;
  }

  .footer-1 {
    flex-direction: column;
    margin-left: 2rem;
    gap: 2rem;
  }

  .footer-2 {
    flex-direction: column;
  }
}

@media screen and (max-width:600px) {

  .poster {
    height: 15rem;
  }

  .hero {
    height: 15rem;
  }

  .search-container {
    position: relative;
    bottom: 2rem;
    height: 3rem;
  }

  .search-container button img {
    width: 20px;
  }

  nav ul .logo img {
    width: 8rem;
    
  }
  .content-1 {
    margin: 0 1rem 0 1rem;
    width: 80rem;
    height: 3rem;
  }
  .latest-app{
    width: 20rem;
  }
  .news-1 .image figcaption{
    font-size: 1rem;
  }
  .new-2 figcaption{
    font-size: 1rem;
  }
}