@import url("https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600&display=swap");

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: "Poppins", sans-serif;
}

body {
  background-color: #DCF2F1;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  margin: 0;
}

.nav {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  padding: 15px 200px;
  background: #0F1035;
  z-index: 1; /* Set z-index to a higher value */
}

.nav,
.nav .nav-links {
  display: flex;
  align-items: center;
}

.nav {
  justify-content: space-between;
}

a {
  color: #7FC7D9;
  text-decoration: none;
}

.nav .logo {
  font-size: 22px;
  font-weight: 500;
}

.nav .nav-links {
  column-gap: 20px;
  list-style: none;
}

.nav .nav-links a {
  transition: all 0.2s linear;
  padding: 10px 14px;
}

.nav.openSearch .nav-links a {
  opacity: 0;
  pointer-events: none;
}

.nav .search-icon {
  color: #7FC7D9;
  font-size: 20px;
  cursor: pointer;
}

.nav .search-box {
  position: absolute;
  right: 250px;
  height: 45px;
  max-width: 555px;
  width: 100%;
  opacity: 0;
  pointer-events: none;
  transition: all 0.2s linear;
}

.nav.openSearch .search-box {
  opacity: 1;
  pointer-events: auto;
}

.search-box .search-icon {
  position: absolute;
  left: 15px;
  top: 50%;
  left: 15px;
  color: #4a98f7;
  transform: translateY(-50%);
}

.search-box input {
  height: 100%;
  width: 100%;
  border: none;
  outline: none;
  border-radius: 6px;
  background-color: #fff;
  padding: 0 15px 0 45px;
}

.nav .navOpenBtn,
.nav .navCloseBtn {
  display: none;
}

@media screen and (max-width: 1160px) {
  .nav {
    padding: 15px 100px;
  }
  .nav .search-box {
    right: 150px;
  }
}

@media screen and (max-width: 950px) {
  .nav {
    padding: 15px 50px;
  }
  .nav .search-box {
    right: 100px;
    max-width: 400px;
  }
}

@media screen and (max-width: 880px) {
  .nav .navOpenBtn,
  .nav .navCloseBtn {
    display: block;
  }
  .nav {
    padding: 15px 20px;
  }
  .nav .nav-links {
    position: fixed;
    top: 0;
    left: -100%;
    height: 100%;
    max-width: 280px;
    width: 100%;
    padding-top: 100px;
    row-gap: 30px;
    flex-direction: column;
    background-color: #11101d;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    transition: all 0.4s ease;
    z-index: 100;
  }

  .nav.openNav .nav-links {
    left: 0;
  }

  .nav .navOpenBtn {
    color: #7FC7D9;
    font-size: 20px;
    cursor: pointer;
  }

  .nav .navCloseBtn {
    position: absolute;
    top: 20px;
    right: 20px;
    color: #fff;
    font-size: 20px;
    cursor: pointer;
  }

  .nav .search-box {
    top: calc(100% + 10px);
    max-width: calc(100% - 20px);
    right: 50%;
    transform: translateX(50%);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  }
}

.link:hover {
  background: #7FC7D9;
  color: #0F1035;
  border-radius: 5px;
  box-shadow: 0 0 5px #7FC7D9, 0 0 25px #7FC7D9;
  transition: .5s;
}

.logo {
  color: #7FC7D9;
}

.name {
  text-align: center;
  margin: auto;
  max-width: 600px;
  margin-top: 110px;
  text-shadow: 1px 1px 1px;
  color: #0F1035;
}

@keyframes animate {
  0% {
    transform: translateY(0) rotate(0deg);
    opacity: 1;
    border-radius: 0;
  }

  100% {
    transform: translateY(-1000px) rotate(720deg);
    opacity: 0;
    border-radius: 50%;
  }
}

@media screen and (max-width: 600px) {
  .name {
    max-width: 80%;
  }
}

.footer {
  margin-top: auto;
  background-color: #0F1035;
  color: #7FC7D9;
  margin-top: 20px;
  text-align: center;
  padding-top: 10px;
  padding-bottom: 10px;
}

.info-section {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-around;
  background-color: #365486;
  color: #DCF2F1;
  padding: 30px;
  padding-top: 50px;
  padding-bottom: 50px;
  margin-top: 240px;
}

.info-box {
  flex-basis: 30%;
  margin: 10px;
  text-align: center;
  padding: 20px;
  transition: background-color 0.5s;
  text-align: justify;
  text-justify: inter-word;
}

.developer-section {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-around;
  background-color: #DCF2F1;
  padding: 30px;
  padding-top: 50px;
  padding-bottom: 50px;
}

.developer-box {
  flex-basis: 30%;
  margin: 10px;
  background-color: #DCF2F1;
  text-align: center;
  padding: 20px;
  border-radius: 5px;
  color: #0F1035;
  text-align: center;
}

.developer-info {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding-left: 20px;
}

.developer-img {
  width: 100px;
  height: 100px;
  margin-bottom: 10px;
  border-bottom: 2px solid #0F1035;
  margin-left: auto;
  margin-right: auto;
  background-color: #DCF2F1;
}

@media (max-width: 900px) {
  .info-box,
  .developer-box {
    flex-basis: 100%;
  }
}

.footer-a:hover {
  color: #365486;
}

.slider {
  max-width: 400px;
  margin: auto;
  margin-top: 20px;
  border-radius: 2px;
  border: #0F1035 solid;
}

.slide_viewer {
  height: 240px;
  overflow: hidden;
  position: relative;
  z-index: 0;
}

.slide_group {
  height: 100%;
  position: relative;
  width: 100%;
  z-index: -1;
}

.slide {
  display: none;
  height: 100%;
  position: absolute;
  width: 100%;
}

.slide:nth-of-type(1),
.slide:nth-of-type(2),
.slide:nth-of-type(3),
.slide:nth-of-type(4) {
  background-size: cover;
}

.slide:nth-of-type(1) {
  background: url("image1.png") center center no-repeat;
}

.slide:nth-of-type(2) {
  background: url("image2.png") center center no-repeat;
}

.slide:nth-of-type(3) {
  background: url("image3.png") center center no-repeat;
}

.slide:nth-of-type(4) {
  background: url("image4.png") center center no-repeat;
}

.slide_buttons {
  text-align: center;
}

a.slide_btn {
  color: #0F1035;
  font-size: 16px;
  margin: 0 0.175em;
  -webkit-transition: all 0.4s ease-in-out;
  -moz-transition: all 0.4s ease-in-out;
  -ms-transition: all 0.4s ease-in-out;
  -o-transition: all 0.4s ease-in-out;
  transition: all 0.4s ease-in-out;
}

.slide_btn.active,
.slide_btn:hover {
  color: #365486;
  cursor: pointer;
}

.directional_nav {
  display: none;
}

@media only screen and (max-width: 767px) {
  .slider {
    max-width: 240px;
  }

  .slide_viewer {
    height: 120px;
  }

  .slide_buttons {
    font-size: 14px;
  }
}
