@import url("https://fonts.googleapis.com/css2?family=Poppins:wght@200;300;400;500;600;700;800&display=swap");

:root {
  --main: #008cfe;
  --s-main: #fff;
  --text: #444;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: "Poppins", sans-serif;
}

*::selection {
  color: #0081fe;
  background-color: #ffffff;
}

html {
  scroll-behavior: smooth;
}

/*```````````````````````````````````````````````````````` ScrollBar Styling ```````````````````````````````````````````````````````````*/

::-webkit-scrollbar {
  display: none;
}

::-webkit-scrollbar-track {
  width: 10px;
  border-radius: 8px;
  background-color: #e7e7e7;
  border: 1px solid #cacaca;
}

::-webkit-scrollbar-thumb {
  padding: 2px 2px;
  border-radius: 8px;
  background-color: #0081fe;
}

/*`````````````````````````````````````````````````````````` NavBar Styling `````````````````````````````````````````````````````````` */

.nvbar {
  background-color: var(--main);
  z-index: 99;
  box-shadow: 0px 325px 430px -415px #111;
  position: sticky;
  top: 0;           /* IF YOU USE "Position: sticky;" THEN YOU MUST HAVE TO USE THIS "top: 0;"*/
  box-shadow: rgba(50, 50, 93, 0.25) 0px 13px 27px -5px, rgba(0, 0, 0, 0.3) 0px 8px 16px -8px;
}

.listitem {
  background-color: var(--main);
  color: #fff;
  text-align: center;
  font-weight: 400;
}

.listitem li a:hover {
  background-color: var(--main);
  color: #fff;
}

.hammenu {
  z-index: 1;
}

#navbar-cta ul li a {
  color: #18272f;
  position: relative;
  text-decoration: none;
}

#navbar-cta ul li a::before {
  content: "";
  position: absolute;
  width: 100%;
  height: 4px;
  border-radius: 4px;
  background-color: #18272f;
  bottom: 0;
  left: 0;
  transform-origin: right;
  transform: scaleX(0);
  transition: transform 0.3s ease-in-out;
}

#navbar-cta ul li a:hover::before {
  transform-origin: left;
  transform: scaleX(1);
}

/*````````````````````````````````````````````````````````` Dark-Light Switch `````````````````````````````````````````````````````````*/



/*````````````````````````````````````````````````````````` Container1 Styling ````````````````````````````````````````````````````````*/

.container1 {
  height: 100vh;
  width: 100%;
  background-color: var(--s-main);
  display: flex;
  flex-direction: column;
  align-items: center;
  z-index: 0;
}

.container1 .headline {
  height: 30%;
  width: 100%;
  display: flex;
  font-weight: 600;
  z-index: 0;
  font-size: 80px;
  justify-content: center;
  align-items: flex-end;
}

.container1 h1 {
  color: var(--text);
}

.headline span {
  padding-left: 25px;
  color: var(--main);
}

.container1 p {
  height: 20%;
  width: 100%;
  color: var(--text);
  font-size: 25px;
  font-weight: 500;
  display: flex;
  justify-content: center;
  align-items: flex-start;
}

.Explore {
  display: flex;
  align-items: center;
  font-family: inherit;
  cursor: pointer;
  font-weight: 500;
  font-size: 17px;
  padding: 0.8em 1.3em 0.8em 0.9em;
  color: white;
  background: #0b63bb;
  background: linear-gradient(to right, #1b76d1, #3498fb, #1b76d1);
  border: none;
  letter-spacing: 0.05em;
  border-radius: 16px;
}

.Explore svg {
  margin-right: 3px;
  transform: rotate(30deg);
  transition: transform 0.5s cubic-bezier(0.76, 0, 0.24, 1);
}

.Explore span {
  transition: transform 0.5s cubic-bezier(0.76, 0, 0.24, 1);
}

.Explore:hover svg {
  transform: translateX(5px) rotate(90deg);
}

.Explore:hover span {
  transform: translateX(7px);
}

.container1 .crousel {
  margin: 0;
  overflow: hidden;
  width: 100%;
  height: 68%;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: var(--s-main);
}

.slider-container {
  background-color: var(--s-main);
  display: flex;
  width: 80%;
  -webkit-mask: linear-gradient(90deg, #0000, #ffffff 5% 95%, #0000);
  overflow: hidden;
  height: 90%;
  /* border: 2px dotted black; */
}

.slider::before {
  box-shadow: 50px 0 50px #000000 inset;
  left: 0;
}

.slider::after {
  box-shadow: -50px 0 50px rgb(0, 0, 0) inset;
  right: 0;
}

.slider {
  display: flex;
  animation: slide 18s infinite linear;
  display: flex;
}

.slider-item {
  flex: 0 0 15%;
  box-sizing: border-box;
  height: 100%;
  width: 100px;
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
}

.slider-item img {
  height: 150px;
  width: 150px;
  border-radius: 50%;
  box-shadow: rgba(0, 0, 0, 0.3) 0px 19px 38px,
    rgba(0, 0, 0, 0.22) 0px 15px 12px;
}

.slider-item img:hover {
  scale: 1.2;
  transition: 0.6s;
}

.container1 .search {
  margin: 0 auto;
  height: 20%;
  width: 60%;
}

/*``````````````````````````````````````````````````````````` Footer Styling ```````````````````````````````````````````````````````````*/

.footer {
  position: relative;
  width: 100%;
  background: #3586ff;
  min-height: 100px;
  padding: 20px 50px;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
}

.social-icon,
.menu {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  margin: 10px 0;
  flex-wrap: wrap;
}

.social-icon__item,
.menu__item {
  list-style: none;
}

.social-icon__link {
  font-size: 2rem;
  color: #fff;
  margin: 0 10px;
  display: inline-block;
  transition: 0.5s;
}
.social-icon__link:hover {
  transform: translateY(-10px);
}

.menu__link {
  font-size: 1.2rem;
  color: #fff;
  margin: 0 10px;
  display: inline-block;
  transition: 0.5s;
  text-decoration: none;
  opacity: 0.75;
  font-weight: 300;
}

.menu__link:hover {
  opacity: 1;
}

.footer p {
  color: #fff;
  margin: 15px 0 10px 0;
  font-size: 1rem;
  font-weight: 300;
}

.wave {
  position: absolute;
  top: -100px;
  left: 0;
  width: 100%;
  height: 100px;
  background: url("https://i.ibb.co/wQZVxxk/wave.png");
  background-size: 1000px 100px;
}

.wave#wave1 {
  z-index: 1000;
  opacity: 1;
  bottom: 0;
  animation: animateWaves 4s linear infinite;
}

.wave#wave2 {
  z-index: 999;
  opacity: 0.5;
  bottom: 10px;
  animation: animate 4s linear infinite !important;
}

.wave#wave3 {
  z-index: 1000;
  opacity: 0.2;
  bottom: 15px;
  animation: animateWaves 3s linear infinite;
}

.wave#wave4 {
  z-index: 999;
  opacity: 0.7;
  bottom: 20px;
  animation: animate 3s linear infinite;
}

#foot .footer ul li a {
  color: #ffffff;
  position: relative;
  text-decoration: none;
}

#foot .footer ul li a::before {
  content: "";
  position: absolute;
  width: 100%;
  height: 4px;
  border-radius: 4px;
  background-color: #ffffff;
  bottom: 0;
  left: 0;
  transform-origin: right;
  transform: scaleX(0);
  transition: transform 0.3s ease-in-out;
}

#foot .footer ul li a:hover::before {
  transform-origin: left;
  transform: scaleX(1);
}

@keyframes animateWaves {
  0% {
    background-position-x: 1000px;
  }
  100% {
    background-positon-x: 0px;
  }
}

@keyframes animate {
  0% {
    background-position-x: -1000px;
  }
  100% {
    background-positon-x: 0px;
  }
}

/*`````````````````````````````````````````````````````` RESPONSIVE STYLING ````````````````````````````````````````````````````````````*/

@keyframes slide {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-100%);
  }
}

@media (min-width: 340px) and (max-width: 1024px) {
  nav {
    width: 100%;
    height: 10vh;
  }
  .listitem {
    background-color: var(--main);
    color: var(--text);
  }
  .container1 .headline {
    font-size: 30px;
    height: 20%;
  }
  .headline span {
    padding-left: 10px;
  }
  .container1 p {
    font-size: medium;
  }
  .container1 .search {
    width: 85%;
  }
  .container1 .crousel {
    width: 100%;
    height: 25%;
    background-color: var(--s-main);
    margin-top: 12vh;
  }
  .slider-container {
    width: 100%;
    background-color: var(--s-main);
  }
  .slider-item {
    flex: 0 0 12%;
    box-sizing: border-box;
    height: 100%;
    width: 85px;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
  }
  .slider-item img {
    height: 125px;
    width: 125px;
    border-radius: 50%;
    box-shadow: rgba(0, 0, 0, 0.3) 0px 5px 5px, rgba(0, 0, 0, 0.22) 0px 5px 5px;
  }
}
