@import url('https://fonts.googleapis.com/css2?family=Ubuntu&display=swap');
html {
  scroll-behavior: smooth;
}

body {
  padding: 0;
  margin: 0;
}

* {
  font-family: 'Ubuntu', sans-serif;
  box-sizing: border-box;
}

a {
  text-decoration: none;
}

.anchor-link {
  position: absolute;
  top: -75px;
}

.nav-bar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 75px;
  display: flex;
  box-shadow: rgba(50, 50, 93, 0.25) 0px 2px 5px -1px,
    rgba(0, 0, 0, 0.3) 0px 1px 3px -1px;
  align-items: center;
  background: rgb(65, 65, 65);
  z-index: 5;
}

.nav-bar-a {
  flex: 1;
}

.nav-bar-content {
  width: 70%;
  display: flex;
  align-items: center;
  margin: 0 auto;
}

.nav-bar-logo {
  width: 30px;
  height: 30px;
  margin-right: auto;
}

.nav-bar-link > a {
  color: white;
}

.nav-bar-link {
  margin-left: 40px;
  cursor: pointer;
}

.nav-bar-link:hover {
  color: rgb(190, 190, 190);
}

.hidden-burger-menu {
  display: none;
  background: none;
  border: none;
  color: white;
  font-size: 22px;
  cursor: pointer;
}

.nav-bar-modal {
  width: 100%;
  height: 100%;
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  background: rgb(48, 48, 48);
}

.nav-bar-modal-content {
  width: 100%;
  height: 100%;
  position: relative;
}

.nav-bar-link-side {
  display: block !important;
  font-size: 30px;
  text-align: center;
  margin-left: none !important;
  color: white;
  margin-top: 40px;
}

.nav-bar-modal-con {
  width: 50%;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

.nav-bar-close-btn {
  position: absolute;
  top: 20px;
  right: 20px;
  font-size: 35px;
  background: none;
  border: none;
  color: white;
}

/* HERO */
.hero-main-con {
  height: calc(100vh - 75px);
  background-color: black;
  margin-top: 75px;
  display: flex;
  justify-content: center;
  position: relative;
  align-items: center;
}
.hero-con {
  position: absolute;
  width: 100%;
  height: 100%;
  background-image: url('/images/pineapple-supply-co-qlYQb7B9vog-unsplash.jpg');
  background-size: cover;
  opacity: 0.4;
}

.hero-con-content {
  width: 55%;
  height: 100%;
  opacity: 1;
  z-index: 0;
  height: fit-content;
  display: flex;
  flex-direction: column;
}

.hero-con-heading {
  text-align: center;
  color: white;
  text-transform: uppercase;
  font-weight: bold;
  font-size: 40px;
  margin: 0;
  margin-bottom: 15px;
}

.hero-con-p {
  text-align: center;
  color: white;
  width: 90%;
  font-size: 18px;
  margin: 0 auto;
  letter-spacing: 1px;
}

a > .view-work-btn {
  margin: 30px auto 0 auto;
  display: flex;
  justify-content: center;
  width: 100%;
  width: 250px;
}

.view-work-btn {
  height: 60px;
  margin: 30px auto 0 auto;
  display: flex;
  align-items: center;
  background: #087bb9;
  border-radius: 35px;
  cursor: pointer;
  font-weight: bold;
  letter-spacing: 2px;
  border: none;
  color: white;
}

.view-work-btn:hover {
  background: #1280bb;
  box-shadow: rgba(50, 50, 93, 0.25) 0px 6px 12px -2px,
    rgba(0, 0, 0, 0.3) 0px 3px 7px -3px;
}

/* ABOUT */
.about-main-con {
  background: #1280bb;
  background-image: linear-gradient(#1280bb, #6045f8);
  position: relative;
  padding: 180px 0 80px 0;
}

.about-main-con-content {
  display: flex;
  height: 100%;
  width: 100%;
  justify-content: center;
}

.img-profile {
  width: 240px;
  height: 240px;
  margin-top: -180px;
  border-radius: 50%;
  object-fit: cover;
  box-shadow: rgba(0, 0, 0, 0.12) 0px 1px 3px, rgba(0, 0, 0, 0.24) 0px 1px 2px;
}

.about-description-con {
  width: 70%;
  padding: 50px;
  margin: 0 auto;
  height: auto;
  display: flex;
  align-items: center;
  flex-direction: column;
  background: white;
  border-radius: 10px;
  box-shadow: rgba(0, 0, 0, 0.25) 0px 14px 28px,
    rgba(0, 0, 0, 0.22) 0px 10px 10px;
}

.about-main-description {
  margin: 20px auto 0 auto;
  display: flex;
  flex-direction: column;
  width: 100%;
}

.about-main-description > b {
  font-weight: bolder !important;
  font-size: 22px !important;
  text-align: left;
}

.about-me-heading {
  font-size: 35px;
}

.about-main-description > ul {
  padding: 0 0 0 20px;
  font-size: 18px;
}

.about-main-description > ul > li {
  margin-bottom: 15px;
}

.about-me-p {
  font-size: 18px;
  margin: 0px auto 0 auto;
}

.achievements-img-con {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-gap: 15px;
  width: 100%;
  margin: 0px auto 0 auto;
}

.achievements-img-con > img {
  height: 340px;
  width: 100%;
  border-radius: 3px;
  object-fit: cover;
}

/* WORK AND PROJECTS */
.work-main-con,
.project-main-con {
  background: rgb(233, 233, 233);
  position: relative;
}

.work-content,
.project-content {
  width: 70%;
  display: flex;
  flex-direction: column;
  align-items: center;
  margin: 0 auto;
}

.work-main-con,
.project-main-con {
  padding: 60px 0 110px 0 !important;
}

a > .work-con,
a > .project-con {
  color: black;
}

.project-heading {
  color: black;
  text-decoration: underline;
  cursor: pointer;
  text-align: left;
}

.work-con,
.project-con {
  margin-top: 30px;
  height: 100%;
  width: 100%;
  box-shadow: rgba(0, 0, 0, 0.07) 0px 1px 1px, rgba(0, 0, 0, 0.07) 0px 2px 2px,
    rgba(0, 0, 0, 0.07) 0px 4px 4px, rgba(0, 0, 0, 0.07) 0px 8px 8px,
    rgba(0, 0, 0, 0.07) 0px 16px 16px;
  border-radius: 10px;
  padding: 0;
  display: flex;
  flex-direction: column;
}

.work-con:hover,
.project-con:hover {
  box-shadow: rgba(0, 0, 0, 0.19) 0px 10px 20px, rgba(0, 0, 0, 0.23) 0px 6px 6px;
}

.work-content > h2,
.project-main-content > h2 {
  font-weight: bold;
  font-size: 35px;
  text-align: left !important;
}

.work-content > p,
.project-main-content > p {
  font-size: 20px;
  margin: 0px 10px 25px 10px;
}

.project-img-con {
  width: 100%;
  height: 210px;
}

.work-img,
.project-img {
  border-top-left-radius: 10px;
  border-top-right-radius: 10px;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.work-description-con,
.project-description-con {
  flex: 2;
  width: 100%;
  padding: 10px 20px;
  background: white;
  border-bottom-left-radius: 10px;
  border-bottom-right-radius: 10px;
}

.work-con-gallery,
.project-con-gallery {
  display: grid;
  width: 100%;
  grid-template-columns: repeat(2, 1fr);
  grid-gap: 20px;
  justify-content: center;
}

/* FUN PROJECTS */
.projects-main-con {
  padding: 40px 0 110px 0;
  position: relative;
  background: rgb(255, 255, 255);
}

.project-main-content {
  width: 70%;
  margin: 0 auto;
}

.project-main-content > h2 {
  text-align: center;
}

.project-main-content > p {
  text-align: center;
}

/* ACHIEVEMENTS MODAL */
.achievements-modal-con {
  width: 100%;
  height: 100%;
  position: fixed;
  top: 0;
  left: 0;
  z-index: 100;
  background: rgba(0, 0, 0, 0.6);
  display: none;
  align-items: center;
  justify-content: center;
}

.close-achievements-modal-btn {
  position: absolute;
  top: 10px;
  right: 10px;
  padding: 10px;
  border-radius: 30px;
  border: none;
  background: white;
  border: 2px solid black;
  font-size: 20px;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  cursor: pointer;
  justify-content: center;
}

.close-achievements-modal-btn:hover {
  background: grey;
}

.achievements-modal-wrapper {
  width: 60%;
  height: 550px;
  background: white;
  border-radius: 20px;
  padding: 15px;
}

.achievements-modal-inner-wrapper {
  overflow-y: auto;
  width: 100%;
  height: 100%;
}

/* ACHIEVEMENTS BTUTTON */
.achievements-btn {
  width: 30% !important;
  height: 50px;
  border-radius: 30px;
  border: none;
  background: none;
  background: rgb(56, 161, 217);
  color: white;
  cursor: pointer;
  margin: auto;
}

.achievements-btn:hover {
  background: rgb(89, 181, 231);
}

/* VIDEOS */
.videos-main-con {
  padding: 60px 0 80px 0;
  position: relative;
  background: rgb(233, 233, 233);
}

.videos-main-content {
  width: 70%;
  display: flex;
  flex-direction: column;
  align-items: center;
  margin: auto;
}

.videos-main-content > h2 {
  text-align: left !important;
  font-size: 35px;
  width: 100%;
  margin-top: 0;
}

.videos-main-content > p {
  text-align: center;
}

.video {
  margin-top: 20px;
  width: 100%;
  height: 450px;
}

.video-gallery-con {
  width: 100%;
  margin-top: 30px;
}

.video-gallery-category-select {
  font-size: 21px;
  background: transparent;
  outline: none;
  cursor: pointer;
  padding: 10px;
  border-radius: 5px;
  border: none;
}

.video-gallery-category-select:hover {
  background: rgb(226, 226, 226);
}

.video-gallery-category-select > option {
  font-size: 17px;
}

.video-gallery-videos-con {
  width: 100%;
  height: auto;
  position: relative;
  padding-top: 20px;
  margin-top: 20px;
  border-top: 1px solid rgb(199, 199, 199);
}

.swiper {
  margin: 0px auto;
  width: 100%;
  height: 100%;
}

.swiper-wrapper {
  height: 240px !important;
}

.swiper-slide {
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  background: white;
  border-radius: 7px;
  cursor: pointer;
  border: 1px solid rgb(199, 199, 199);
  box-shadow: rgba(50, 50, 93, 0.25) 0px 2px 5px -1px,
    rgba(0, 0, 0, 0.3) 0px 1px 3px -1px;
}

.swiper-slide:hover {
  background: rgb(245, 245, 245);
}

.video-description-con {
  padding: 5px 15px 0px 15px;
}

.video-description-con > h2 {
  font-size: 18px;
  text-align: center;
}

.video-description-con > p {
  font-size: 14px;
}

.video-thumbnail-img-con {
  height: 140px !important;
  width: auto;
  overflow: hidden;
}

.video-thumbnail-img-con > img {
  object-fit: cover !important;
  width: 100% !important;
  height: 100% !important;
  border-top-left-radius: 7px;
  border-top-right-radius: 7px;
  /* display: none; */
}

.swiper-button-prev {
  margin-left: -45px;
}

.swiper-button-next {
  margin-right: -45px;
}

.swiper-button-next:after,
.swiper-button-prev:after {
  font-size: 20px !important;
  margin-top: 20px;
  color: black;
}

/* FOOTER */
.footer-con {
  width: 100%;
  height: 75px;
  background: rgb(48, 48, 48);
  display: flex;
  justify-content: center;
  align-items: center;
}

.footer-con > p {
  color: white;
  font-weight: bold;
}

@media only screen and (min-width: 300px) and (max-width: 650px) {
  .main-con {
    width: 100%;
  }

  /* NAV BAR */
  .nav-bar-content {
    width: 90%;
  }

  .hidden-burger-menu {
    display: block;
    width: 35px;
    margin-left: auto;
  }

  .nav-bar-a {
    flex: unset !important;
  }

  .nav-bar-link {
    display: none;
  }

  /* HERO */
  .hero-con-heading {
    font-size: 30px;
  }

  .hero-con-p {
    font-size: 15px;
  }

  .hero-con-content {
    width: 90%;
    display: flex;
    justify-content: center;
    align-items: center;
  }

  .hero-con-content > a {
    width: fit-content;
    margin-top: 30px;
  }

  a > .view-work-btn {
    margin: 0 auto;
  }

  /* ABOUT */
  .img-profile {
    width: 180px;
    height: 180px;
    margin-top: 0px;
  }

  .about-main-con-content,
  .project-main-content {
    margin-top: 0px;
  }

  /* WORK */
  .work-content {
    width: 100%;
    text-align: center;
  }

  .work-con-gallery,
  .project-con-gallery {
    grid-template-columns: 1fr;
  }

  .about-main-con-content,
  .project-main-content {
    width: 100%;
  }

  .project-img-con {
    width: 100%;
    height: 280px;
  }

  .about-description-con {
    width: 100% !important;
    padding: 20px;
  }

  .achievements-img-con {
    display: flex;
    flex-wrap: wrap;
    width: 100%;
    grid-gap: 10px;
  }

  .achievements-img-con > img {
    height: auto !important;
    width: calc(50% - 10px);
  }

  /* VIDEOS */
  .videos-main-con {
    width: 100% !important;
    margin: 0;
  }

  .videos-main-content {
    width: 100%;
    height: auto;
  }
  .work-content > h2,
  .project-main-content > h2 {
    font-weight: bold;
    font-size: 35px;
    text-align: left !important;
    margin-left: 30px;
  }

  .swiper-wrapper {
    display: grid;
  }

  .video-gallery-con {
  width: 85%;
  }

  .videos-main-content > h2 {
    width: auto;
    margin-right: auto;
    margin-left: 30px;
    text-align: left;
  }
}

@media only screen and (min-width: 451px) and (max-width: 850px) {
  /* NAV BAR */
  .nav-bar-content {
    width: 85% !important;
  }

  /* HERO */
  .hero-con-content {
    width: 85%;
  }

  .project-main-content {
    width: 85%;
  }

  .about-description-con {
    width: 85% !important;
  }

  /* VIDEOS */
  .videos-main-content {
    width: 85%;
  }
}

@media only screen and (max-width: 500px) {
  .project-img-con {
    width: 100%;
    height: 200px;
  }

  .work-content > h2,
  .project-main-content > h2 {
    font-size: 30px;
  }

  .videos-main-content > h2 {
    font-size: 30px;
  }

  .about-me-heading {
    font-size: 30px;
  }

  iframe {
    width: 100%;
  }
}

@media only screen and (min-width: 350px) {
  .achievements-img-con {
    grid-template-columns: repeat(2, 1fr) !important;
  }
}

@media only screen and (min-width: 650px) and (max-width: 850px) {
  .project-img-con {
    width: 100%;
    height: 200px;
  }
}

@media only screen and (min-width: 1000px) {
  .project-img-con {
    width: 100%;
    height: 250px;
  }
  .achievements-img-con > img {
    height: 350px;
  }

  .achievements-img-con {
    grid-template-columns: repeat(3, 1fr) !important;
  }
}

@media only screen and (min-width: 1200px) {
  .achievements-img-con > img {
    height: 280px;
  }

  /* NAV BAR */
  .nav-bar-content {
    width: 60% !important;
  }

  /* HERO */
  .hero-con-content {
    width: 60%;
  }

  .project-main-content {
    width: 60%;
  }

  .about-description-con {
    width: 60% !important;
  }

  /* VIDEOS */
  .videos-main-content {
    width: 60%;
  }
}

@media only screen and (max-width: 650px) {
  .achievements-img-con {
    grid-template-columns: repeat(2, 1fr);
  }

  .about-main-con-content {
    margin-top: 0px;
  }

  .about-main-con {
    padding: 80px 0;
  }
}

@media only screen and (min-width: 1400px) {
  .project-img-con {
    width: 100%;
    height: 380px;
  }

  .achievements-img-con {
    grid-template-columns: repeat(3, 1fr) !important;
  }

  .achievements-img-con > img {
    height: 320px;
    object-position: calc(50% + 10px) 40%;
  }
}

@media only screen and (max-width: 900px) {
  .achievements-img-con > img {
    height: 350px;
  }
}
