* {
  margin: 0px;
  padding: 0px;
  box-sizing: border-box;
}

i {
  color: white;
  cursor: pointer;
}

h2 {
  font-size: 30px;
}

body {
  background-color: #121212;
  font-family: sans-serif;
}


/* Header section --------------------------------------------------*/

header {
  width: 100%;
  position: fixed;
  top: 0px;
  padding: 15px 0px;
  z-index: 1;
  backdrop-filter: blur(10px);
}

header>div {
  width: 95%;
  display: flex;
  justify-content: space-between;
  /* border: 1px solid white; */
  margin: 0px auto;
  align-items: center;
}

header>div>nav {
  display: flex;
  gap: 20px;
  align-items: center;
}

header .nav-bar {
  display: none;
}

header>div nav>a {
  color: white;
  text-decoration: none;
  font-size: 14px;
}

header>div>img {
  width: 10%;
}

header div>input {
  width: 200px;
  background-color: gray;
  border: 1px solid white;
  padding: 5px 5px;
  color: white;
  background: url('https://www.citypng.com/public/uploads/preview/search-explore-white-icon-transparent-png-701751695037015aogz4s2rh6.png') no-repeat 175px center / 16px 16px;
}

header>div>div {
  display: flex;
  align-items: center;
  gap: 10px;
}

header>div>div a >img{
  border-radius: 20px;
}

header input::placeholder {
  color: #d7d1d1;
}

header span {
  color: white;
  font-size: 14px;
}


.navbar {
  width: 100%;
  position: fixed;
  top: 50px;
  z-index: 1;
  background-color: rgb(18, 18, 18, 0.8);
  display: none;
}

.navbar nav {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
  /* z-index: 1; */
  padding: 10px 0px;
}

.navbar nav>a {
  color: white;
  text-decoration: none;
}




/* video-section */
.video-section {
  width: 100%;
  position: relative;
  top: 0;
  z-index: -1;
}

.video-section>div:nth-of-type(1) {
  width: 100%;
  height: auto;
  overflow: hidden;
}

.video-section>div>video {
  width: 100%;
  height: fit-content;
  /* object-fit: fill;
  object-position: center; */
}

.video-section>div:nth-of-type(2) {
  position: absolute;
  top: 250px;
  left: 28px;
  color: white;
}

.video-section>div:nth-of-type(2) img {
  width: 50%;
}

.video-section>div:nth-of-type(2)>div:nth-of-type(1) {
  display: flex;
  gap: 10px;
  cursor: pointer;
  margin-top: 10px;
}

.video-section>div:nth-of-type(2)>div:nth-of-type(1) button {
  /* background-color: #272727; */
  background-color: black;
  color: white;
  padding: 5px 25px;
  border: 1px solid white;
  cursor: pointer;
  /* border-radius: 5px; */
}

.video-section>div:nth-of-type(2)>div:nth-child(3)>h2 {
  font-weight: bolder;
  margin-top: 15px;
  /* border: 1px solid white; */
  display: inline-block;

}

.video-section>div:nth-of-type(2)>div:nth-child(3)>p {
  width: 250px;
  font-size: 12px;
  margin-top: 10px;
}



/* All image wrapper section */
.section-wrap {
  width: 95%;
  margin: 0px auto;
  color: white;
  margin-top: 70px;
  display: block;
  /* border: 1px solid white; */
}

.section-wrap h2 {
  font-size: 20px;
  margin-bottom: 20px;
}

.section-wrap img {
  width: 15%;
  border-radius: 10px;
}

.section-wrap>div {
  width: 100%;
  /* border: 1px solid white; */
  display: flex;
  flex-wrap: wrap;
  justify-content: space-evenly;
  align-items: center;
  gap: 14px;
  margin-bottom: 20px;
}

.section-wrap>div>img:hover {
  transform: scale(1.2);
  transition: all 0.5s ease;
}

/* Media section ---------------------------------------------------*/

.media {
  /* border: 1px solid white; */
  margin-top: 70px;
  padding: 20px 0px;
  background-color: black;
}

.media>div:nth-child(1) {
  /* border: 2px solid white; */
  width: 90%;
  margin: 5px auto;
  display: flex;
  justify-content: space-evenly;
  align-items: center;

}

.media div:nth-child(1)>a>img {
  width: 25px;
}

.media>div:nth-of-type(2) {
  /* border: 2px solid white; */
  width: 90%;
  margin: 0px auto;
  display: flex;
  justify-content: space-between;
  margin-top: 20px;
  line-height: 50px;
}

.media>div:nth-child(2)>div {
  display: flex;
  flex-direction: column;
}

.media>div:nth-child(2)>div>a {
  text-decoration: none;
  color: gray;
  font-size: 14px;
}

.media>div:nth-child(2)>div>a:hover {
  text-decoration: underline;
  color: white;
}


/* Footer section ---------------------------------------------------*/

footer {
  background-color: black;
  text-align: center;
  color: white;
  width: 100%;
  margin: 0px auto;
  padding: 20px 0px;
}

/* For heading */


@media screen and (min-width:880px) {
  .navbar nav {
    display: none;
  }

}

@media screen and (max-width:600px) {
  h2 {
    text-align: center;
  }

  .video-section>div:nth-of-type(2)>div:nth-child(3)>h2 {
    text-align: left;

  }
}

/* Media quries */
@media screen and (max-width:880px) {
  header>div>nav {
    display: none;
  }

  header div>input {
    width: 100px;
    background: url('https://www.citypng.com/public/uploads/preview/search-explore-white-icon-transparent-png-701751695037015aogz4s2rh6.png') no-repeat 75px center / 16px 16px;
  }

  header div>div>img {
    width: 10%;
  }

  header div>div>span {
    font-size: 12px;
  }

  header>div>img {
    width: 12%;
    padding: 0px;
    margin: 0px;
  }

  header div>div .fa {
    font-size: 10px;
  }

  header .nav-bar {
    display: block;
  }

  .video-section>div:nth-of-type(2) {
    position: absolute;
    top: 200px;
    left: 20px;
  }

  .video-section>div:nth-of-type(2) img {
    width: 30%;
  }


  .video-section>div:nth-of-type(2)>div span button {
    padding: 3px 10px;
  }


  .video-section>div:nth-of-type(2)>div:nth-child(3)>p {
    font-size: 10px;
    margin-top: 10px;
  }

}

@media screen and (max-width:700px) {
  .video-section>div:nth-of-type(2) img {
    width: 30%;
  }

  .video-section>div:nth-of-type(2) {
    position: absolute;
    top: 75px;
    left: 20px;
  }

  .video-section>div:nth-of-type(2)>div:nth-of-type(1) {
    display: flex;
    gap: 10px;
    margin-top: 5px;
  }

  .video-section>div:nth-of-type(2)>div:nth-of-type(1) button {
    padding: 3px 10px;
  }

  .video-section>div:nth-of-type(2)>div:nth-child(3)>h2 {
    font-weight: bolder;
    margin-top: 5px;
    font-size: 16px;
  }


  .video-section>div:nth-of-type(2)>div:nth-child(3)>p {
    font-size: 10px;
    margin-top: 5px;
  }

  /* video */
  .video-section {
    position: relative;
    top: 20px;
    z-index: -1;
  }

}


@media screen and (max-width:800px) {
  .section-wrap img {
    width: 30%;
    border-radius: 10px;
  }
}

@media screen and (max-width:600px) {
  .section-wrap img {
    width: 40%;
  }

  .media>div:nth-child(2) {
    /* border: 2px solid white; */
    width: 80%;
    margin: 0px auto;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 10px;
    margin-top: 10px;
    line-height: 30px;
    margin-top: 20px;
    /* border: 1px solid white; */
  }

  .media>div:nth-child(2)>div {
    width: 40%;
    margin-top: 20px;
  }

}