@import "https://fonts.googleapis.com/css?family=Montserrat:300, 400, 700&display=swap";
* {
  padding: 0;
  margin: 0;
  box-sizing: border-box;
}
html {
  font-size: 10px;
  font-family: "Montserrat", sans-serif;
  scroll-behavior: smooth;
}
a {
  text-decoration: none;
}
.container {
  min-height: 100vh;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}
img {
  height: 100%;
  width: 100%;
  object-fit: cover;
}
p {
  color: black;
  font-size: 1.4rem;
  margin-top: 5px;
  line-height: 2.5rem;
  font-weight: 300;
  letter-spacing: 0.05rem;
  text-align: center;
}

.section-title {
  font-size: 6rem;
  font-weight: 500;
  color: black;
  margin-bottom: 10px;
  text-transform: uppercase;
  letter-spacing: 0.2rem;
  text-align: center;
}
.section-title span {
  color: #6eb5c0;
}

.cta {
  display: inline-block;
  padding: 10px 30px;
  color: #e2e8e4;
  background-color: transparent;
  border: 2px solid #6eb5c0;
  font-size: 2rem;
  text-transform: uppercase;
  letter-spacing: 0.1rem;
  margin-top: 30px;
  transition: 0.3s ease;
  transition-property: background-color, color;
}
.cta:hover {
  color: #e2e8e4;
  background-color: #6eb5c0;
}
.brand h1 {
  font-size: 3rem;
  text-transform: uppercase;
  color: #e2e8e4;
}
.brand h1 span {
  color: #6eb5c0;
}

/* Header section */
#header {
  position: fixed;
  z-index: 1000;
  left: 0;
  top: 0;
  width: 100vw;
  height: auto;
}
#header .header {
  min-height: 8vh;
  background-color: linear-gradient(45deg, #116c84 0%, #0f1f38 100%);
  transition: 0.3s ease background-color;
}
#header .nav-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  height: 100%;
  max-width: 1300px;
  padding: 0 10px;
}
#header .nav-list ul {
  list-style: none;
  position: absolute;
  background-color: #116c84;
  width: 100vw;
  height: 100vh;
  left: 100%;
  top: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  z-index: 1;
  overflow-x: hidden;
  transition: 0.5s ease left;
}
#header .nav-list ul.active {
  left: 0%;
}
#header .nav-list ul a {
  font-size: 2.5rem;
  font-weight: 500;
  letter-spacing: 0.2rem;
  text-decoration: none;
  color: #e2e8e4;
  text-transform: uppercase;
  padding: 20px;
  display: block;
}
#header .nav-list ul a::after {
  content: attr(data-after);
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%) scale(0);
  color: rgba(240, 248, 255, 0.021);
  font-size: 13rem;
  letter-spacing: 50px;
  z-index: -1;
  transition: 0.3s ease letter-spacing;
}
#header .nav-list ul li:hover a::after {
  transform: translate(-50%, -50%) scale(1);
  letter-spacing: initial;
}
#header .nav-list ul li:hover a {
  color: #6eb5c0;
}
#header .hamburger {
  height: 60px;
  width: 60px;
  display: inline-block;
  border: 3px solid #e2e8e4;
  border-radius: 50%;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 100;
  cursor: pointer;
  transform: scale(0.8);
  margin-right: 20px;
}
#header .hamburger:after {
  position: absolute;
  content: "";
  height: 100%;
  width: 100%;
  border-radius: 50%;
  border: 3px solid #e2e8e4;
  animation: hamburger_puls 0.5s;
  animation-iteration-count: 10;
}
#header .hamburger .bar {
  height: 2px;
  width: 30px;
  position: relative;
  background-color: #e2e8e4;
  z-index: -1;
}
#header .hamburger .bar::after,
#header .hamburger .bar::before {
  content: "";
  position: absolute;
  height: 100%;
  width: 100%;
  left: 0;
  background-color: #e2e8e4;
  transition: 0.3s ease;
  transition-property: top, bottom;
}
#header .hamburger .bar::after {
  top: 8px;
}
#header .hamburger .bar::before {
  bottom: 8px;
}
#header .hamburger.active .bar::before {
  bottom: 0;
}
#header .hamburger.active .bar::after {
  top: 0;
}
/* End Header section */

/* Hero Section */
#hero {
  background-image: url(./img/IMG_9270_new.jpg);
  background-size: cover;
  background-position: center;
  position: relative;
  z-index: 1;
}
#hero::after {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  height: 100%;
  width: 100%;
  background-color: black;
  opacity: 0.5;
  z-index: -1;
}
#hero .hero {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 50px;
  justify-content: flex-start;
}
#hero h1 {
  display: block;
  width: fit-content;
  font-size: 4rem;
  position: relative;
  color: transparent;
  animation: text_reveal 0.5s ease forwards;
  animation-delay: 1s;
}
#hero h1:nth-child(1) {
  animation-delay: 1s;
}
#hero h1:nth-child(2) {
  animation-delay: 2s;
}
#hero h1:nth-child(3) {
  animation: text_reveal_name 0.5s ease forwards;
  animation-delay: 3s;
}
#hero h1 span {
  position: absolute;
  top: 0;
  left: 0;
  height: 100%;
  width: 0;
  background-color: #6eb5c0;
  animation: text_reveal_box 1s ease;
  animation-delay: 0.5s;
}
#hero h1:nth-child(1) span {
  animation-delay: 0.5s;
}
#hero h1:nth-child(2) span {
  animation-delay: 1.5s;
}
#hero h1:nth-child(3) span {
  animation-delay: 2.5s;
}

/* End Hero Section */

/* Services Section */
#projectss .projectss {
  flex-direction: column;
  text-align: center;
  max-width: 1500px;
  margin: 0 auto;
  padding: 100px 0;
}
#projectss .projects-top {
  max-width: 500px;
  margin: 0 auto;
}
#projectss .projects-top h4 {
  font-size: 3rem;
  color: black;
  padding-bottom: 100px;
}

#projectss .projects-bottom {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  margin-top: 50px;
}
#projectss .projects-item {
  flex-basis: 80%;
  display: flex;
  align-items: flex-start;
  justify-content: center;
  flex-direction: column;
  padding: 30px;
  border-radius: 10px;
  background-image: url(./img/pic1.jpg);
  background-size: cover;
  margin: 10px 5%;
  position: relative;
  z-index: 1;
  overflow: hidden;
}
#projectss .projects-item::after {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  height: 100%;
  width: 100%;
  background-image: linear-gradient(45deg, #116c84 0%, #0f1f38 100%);
  opacity: 0.9;
  z-index: -1;
}
#projectss .projects-bottom .icon {
  height: 80px;
  width: 80px;
  margin-bottom: 20px;
}
#projectss .projects-item h2 {
  font-size: 2rem;
  color: #e2e8e4;
  margin-bottom: 10px;
  text-transform: uppercase;
}
#projectss .projects-item p {
  color: #e2e8e4;
  text-align: left;
}
/* End Services Section */

/* activities section */
#activities .activities {
  flex-direction: column;
  max-width: 1200px;
  margin: 0 auto;
  padding: 100px 0;
}
#activities .activities-header h1 {
  margin-bottom: 50px;
}
#activities .activities-header h1 {
  margin-bottom: 50px;
}
#activities .all-activities {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
}
#activities .activities-item {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  width: 80%;
  margin: 20px auto;
  overflow: hidden;
  border-radius: 5px;
}
#activities .activities-info {
  padding: 20px;
  flex-basis: 50%;
  height: 100%;
  display: flex;
  align-items: flex-start;
  justify-content: left;
  flex-direction: column;
  background-image: linear-gradient(45deg, #116c84 0%, #0f1f38 100%);
  color: #e2e8e4;
  overflow: scroll;
}
#activities .activities-info h1 {
  font-size: 3.5rem;
  font-weight: 500;
}
#activities .activities-info h2 {
  font-size: 1.8rem;
  font-weight: 500;
  margin-top: 10px;
  font-style: italic;
  font-weight: normal;
}
#activities .activities-info p {
  color: #e2e8e4;
}
#activities .activities-img {
  flex-basis: 50%;
  height: 300px;
  overflow: hidden;
  position: relative;
}
#activities .activities-img:after {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  height: 100%;
  width: 100%;
}
#activities .activities-img img {
  transition: 0.3s ease transform;
}
#activities .activities-item:hover .activities-img img {
  transform: scale(1.1);
}
/* End activities section */
/* activities2 section */
#activities2 .activities {
  flex-direction: column;
  max-width: 1200px;
  margin: 0 auto;
  padding: 100px 0;
}
#activities2 .activities-header h1 {
  margin-bottom: 50px;
  font-size: medium;
  color: black;
}
#activities2 .activities-header p {
  font-size: medium;
  color: black;
  margin-top: 50px;
  margin-bottom: 50px;
}
#activities2 .all-activities {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
}
#activities2 .activities-item {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  width: 80%;
  margin: 20px auto;
  overflow: hidden;
  border-radius: 5px;
}
#activities2 .activities-info {
  padding: 20px;
  flex-basis: 50%;
  height: 100%;
  display: flex;
  align-items: flex-start;
  justify-content: left;
  flex-direction: column;
  background-image: linear-gradient(45deg, #116c84 0%, #0f1f38 100%);
  color: #e2e8e4;
  overflow: scroll;
}
#activities2 .activities-info h1 {
  font-size: 3.5rem;
  font-weight: 500;
}
#activities2 .activities-info h2 {
  font-size: 1.8rem;
  font-weight: 500;
  margin-top: 10px;
  font-style: italic;
  font-weight: normal;
}
#activities2 .activities-info p {
  color: #e2e8e4;
}
#activities2 .activities-img {
  flex-basis: 50%;
  height: 300px;
  overflow: hidden;
  position: relative;
}
#activities2 .activities-img:after {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  height: 100%;
  width: 100%;
}
#activities2 .activities-img img {
  transition: 0.3s ease transform;
}
#activities2 .activities-item:hover .activities-img img {
  transform: scale(1.1);
}
/* End activities2 section */
/* About Section */
#about .about {
  flex-direction: column-reverse;
  text-align: center;
  max-width: 2400px;
  margin: 0 auto;
  padding: 50px 20px;
}
#about .col-left {
  max-width: 400px;
  height: 360px;
}
#about .col-right {
  max-width: 70%;
}

#about .col-right h2 {
  font-size: 1.8rem;
  font-weight: 500;
  letter-spacing: 0.2rem;
  margin-bottom: 10px;
}

#about .col-right p {
  margin-bottom: 20px;
}
#about .col-right .cta {
  color: black;
  margin-bottom: 50px;
  padding: 10px 20px;
  font-size: 2rem;
}
#about .col-left .about-img {
  height: 100%;
  width: 100%;
  position: relative;
  border: 10px solid #e2e8e4;
}
#about .col-left .about-img::after {
  content: "";
  position: absolute;
  left: -33px;
  top: 19px;
  height: 98%;
  width: 98%;
  border: 7px solid #6eb5c0;
  z-index: -1;
}

#about .hobbies-section {
  background-color: #e2e8e4;
  width: auto;
  height: auto;
  min-height: 100vh;
  padding-bottom: 30rem;
}
#about .hobbies-header h1 {
  font-size: 30px;
}

#about .hobbies-heading {
  color: black;
  font-size: 1rem;
  text-align: center;
  margin-bottom: 10rem;
  padding-top: 0rem;
}

#about .hobbies {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  max-width: 1200px;
  margin: 0 auto;
  transform: translateY(80px);
  padding: 0;
  background-color: #e2e8e4;
  height: auto;
}
#about .hobbies-cell {
  flex: 0 1 275px;
  max-width: 320px;
  height: 320px;
  margin: 2px;
  position: relative;
  text-align: center;
  z-index: 1;
  box-shadow: 0px 0px 15px 0px black;
  clip-path: polygon(50% 0%, 100% 25%, 100% 75%, 50% 100%, 0% 75%, 0% 25%);
  cursor: pointer;
}
#about .hobbies-cell_img {
  object-fit: cover;
  object-position: center;
}
#about .hobbies-cell_text {
  height: 100%;
  width: 65%;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  justify-content: center;
  text-transform: uppercase;
  color: #e2e8e4;
  font-weight: 700;
  font-size: 1rem;
  transition: 350ms;
  text-shadow: 3px 3px 3px black;
  background-color: rgba(0, 0, 0, 0.4);
}
#about .hobbies-cell::before,
#about .hobbies-cell::after,
#about .hobbies-cell_img {
  display: block;
  position: absolute;
  clip-path: polygon(50% 0%, 100% 25%, 100% 75%, 50% 100%, 0% 75%, 0% 25%);
  z-index: -1;
}
#about .hobbies-cell:hover {
  opacity: 1;
  transition: all 0.3s ease-in-out;
  transform: scale(1.3);
  z-index: 99;
  overflow: hidden;
}

/* End About Section */

/*Contact Section*/
#container .container {
  box-sizing: border-box;
  flex-direction: column;
  text-align: center;
  max-width: 1200px;
  margin: 0 auto;
  padding: 100px 0;
}
#container .container-header h1 {
  margin-bottom: 50px;
}
#container .container-header p {
  margin-bottom: 50px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
}

.form-group {
  width: 100%;
  margin-top: 20px;
  font-size: 20px;
}
.form-group input,
.form-group textarea {
  width: 100%;
  padding: 5px;
  font-size: 18px;
  border: 1px solid #6eb5c0;
  margin-top: 5px;
}
.form-group {
  width: 100%;
  margin-top: 20px;
  font-size: 20px;
}
.form-group input,
.form-group textarea {
  width: 100%;
  padding: 5px;
  font-size: 18px;
  border: 1px solid #6eb5c0;
  margin-top: 5px;
}
textarea {
  resize: vertical;
}
button[type="submit"] {
  width: 100%;
  border: 2px solid #6eb5c0;
  outline: none;
  padding: 20px;
  font-size: 24px;
  border-radius: none;
  font-family: "Montserrat";
  color: black;
  text-align: center;
  cursor: pointer;
  margin-top: 10px;
  background-color: #e2e8e4;
  transition: 0.3s ease background-color;
}
button[type="submit"]:hover {
  background-color: #6eb5c0;
}
#status {
  width: 90%;
  max-width: 500px;
  text-align: center;
  padding: 10px;
  margin: 0 auto;
  border-radius: 8px;
}
#status.success {
  background-color: #6eb5c0;
  animation: status 4s ease forwards;
  animation-duration: 5s;
}
#status.error {
  background-color: rgb(250, 129, 92);
  color: #e2e8e4;
  animation: status 4s ease forwards;
}
/*End Contact Section*/

/* Keyframes */
@keyframes hamburger_puls {
  0% {
    opacity: 1;
    transform: scale(1);
  }
  100% {
    opacity: 0;
    transform: scale(1.4);
  }
}
@keyframes text_reveal_box {
  50% {
    width: 100%;
    left: 0;
  }
  100% {
    width: 0;
    left: 100%;
  }
}
@keyframes text_reveal {
  100% {
    color: #e2e8e4;
  }
}
@keyframes text_reveal_name {
  100% {
    color: #6eb5c0;
    font-weight: 500;
  }
}
/* End Keyframes */

/* Media Query For Tablet */
@media only screen and (min-width: 768px) {
  .cta {
    font-size: 2.5rem;
    padding: 20px 60px;
  }
  h1.section-title {
    font-size: 6rem;
  }

  /* Hero */
  #hero h1 {
    font-size: 7rem;
  }
  /* End Hero */

  /* Services Section */
  #projectss .projects-bottom .projects-item {
    flex-basis: 45%;
    margin: 2.5%;
  }
  /* End Services Section */

  /* Project */
  #activities .activities-item {
    flex-direction: row;
  }
  #activities .activities-item:nth-child(even) {
    flex-direction: row-reverse;
  }
  #activities .activities-item {
    height: 400px;
    margin: 0;
    width: 100%;
    border-radius: 0;
  }
  #activities .all-activities .activities-info {
    height: 100%;
  }
  #activities .all-activities .activities-img {
    height: 100%;
  }
  /* End Project */
  /* Project */
  #activities2 .activities-item {
    flex-direction: row;
  }
  #activities2 .activities-item:nth-child(even) {
    flex-direction: row-reverse;
  }
  #activities2 .activities-item {
    height: 400px;
    margin: 0;
    width: 100%;
    border-radius: 0;
  }
  #activities2 .all-activities .activities-info {
    height: 100%;
  }
  #activities2 .all-activities .activities-img {
    height: 100%;
  }
  /* End Project */
  /* About */
  #about .about {
    flex-direction: row;
  }
  #about .col-left {
    width: 600px;
    height: 400px;
    padding-left: 60px;
  }
  #about .about .col-left .about-img::after {
    left: -45px;
    top: 34px;
    height: 98%;
    width: 98%;
    border: 10px solid #6eb5c0;
  }
  #about .col-right {
    text-align: left;
    padding: 30px;
  }
  #about .col-right h1 {
    text-align: left;
  }
  @media only screen and (min-width: 1200px) {
    /* header */
    #header .hamburger {
      display: none;
    }
    #header .nav-list ul {
      position: initial;
      display: block;
      height: auto;
      width: fit-content;
      background-color: transparent;
    }
    #header .nav-list ul li {
      display: inline-block;
    }
    #header .nav-list ul li a {
      font-size: 1.8rem;
    }
    #header .nav-list ul a:after {
      display: none;
    }
    /* End header */

    #projectss .projects-bottom .projects-item {
      flex-basis: 22%;
      margin: 1.5%;
    }
  }
}
