/* Scrollbar */

/* width */
::-webkit-scrollbar {
  width: 10px;
}

/* Track */

::-webkit-scrollbar-track {
  background: #e5e5e5;
}

/* Handle */

::-webkit-scrollbar-thumb {
  background: #050617;
}

/* Handle on hover */
::-webkit-scrollbar-thumb:hover {
  background: #02030c;
}

/* App  */

body {
  background-color: #11142f;
  background-image: url("../images/vertical_lines.svg");
  background-repeat: repeat;
  background-attachment: fixed;
  background-size: auto;
  font-family: "Metrisch", "Franklin Gothic", "Arial Narrow", Arial, sans-serif;
  box-sizing: content-box;
  overflow-x: hidden;
  margin: 0px;
  padding: 0px;
  scroll-behavior: smooth;
}

* {
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

:after,
:before {
  box-sizing: border-box;
}

.container {
  margin: 0px auto;
}

.clearfix {
  margin: 6em 0;
  display: inline-flex;
}

.tippy-tooltip.darkblue-theme {
  background-color: #191e3e;
  color: #e5e5e5;
}

.navigation-links {
  display: inline-block;
  position: absolute;
  right: 0;
  top: 0;
}
.navigation-links > ul {
  list-style-type: none;
  float: left;
  margin-top: 18em;
  transform: rotateZ(90deg);
  margin-right: -182px;
  display: none;
}

.navigation-links > ul > li {
  display: inline-block;
  margin-left: 3em;
}

.navigation-links > ul > li > a {
  color: #325c77;
  text-decoration: none;
  text-transform: uppercase;
}

.submit-btn {
  cursor: pointer;
  border: none;
  padding: 1em 2em;
  border-radius: 0.4em;
  color: #e5e5e5;
  background: #325c77;
}

.submit-btn:hover {
  opacity: 0.7;
}

.form-control {
  margin-bottom: 20px;
  padding: 4px;
  width: 100%;
  color: #325c77;
}

/* ------------------------------ Profile Card ---------------------------------------------- */

nav {
  padding-top: 2em;
}

.menu-icon {
  max-width: 32px;
  width: 100%;
}
.menu-icon > img {
  max-width: 32px;
  width: 100%;
}

.profile-container {
  height: calc(100vh - 6rem);
}

.profile-card {
  margin-top: 7em;
  background-color: #191e3e;
  border-radius: 8px;
  box-shadow: 5px 5px 15px #08091a31;
}

.card-image {
  display: flex;
  position: absolute;
  margin-top: -4em;
  margin-left: -4em;
  width: inherit;
  height: inherit;
  border-radius: 12px;
}

.image-dotted {
  position: absolute;
  margin-left: -8em;
  z-index: -1;
}

.card-image > img {
  max-width: 340px;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  border-radius: 12px;
}

.card-image:before {
  content: "";
  position: absolute;
  top: -12px;
  left: -12px;
  width: calc(100% + 24px);
  height: calc(100% + 24px);
  border: 2px solid #e5e5e5;
  border-radius: 12px;
  opacity: 1;
}

.card-content-wrapper {
  display: inline-block;
  margin-left: 23em;
  width: 100vh;
}
.card-content {
  margin-top: -10em;
}

.card-sub-header {
  margin-top: 1em;
  display: block;
  width: 100%;
  float: left;
  font-size: 1.6em;
  color: #e5e5e5;
}

.card-header {
  position: relative;
  width: 100%;
  color: #e5e5e5;
  text-transform: uppercase;
  display: flex;
  padding-top: 0.3em;
  max-width: 6em;
  font-size: 72px;
  font-weight: 700;
}

.card-designation {
  font-family: "Barbershop in Thailand";
  font-size: 2em;
  color: #325c77;
  padding: 0.2em 0 1em 0;
}

.social-links {
  display: inline-flex;
  padding: 1em 0 2.5em 0;
}

.link {
  display: inline-flex;
  flex-wrap: wrap;
  padding-right: 1.5em;
  color: #e5e5e5;
}

.link > a > p {
  display: inline-block;
}

.link > a > img {
  fill: #000;
}

.social-link {
  padding-left: 0.5em;
  text-decoration: none;
  color: #e5e5e5;
}

/* Scroll Down Button */

.scroll-down > a > img {
  position: relative;
  bottom: 0;
  left: 50%;
  margin-top: calc(20vh - 8%);
}

.scroll-down > a {
  display: flex;
  align-items: center;
}

/* --------------------------------------- About Container ------------------------------------------------ */

#about-section {
  margin-top: 3em;
}
.about-card-image {
  display: block;
  position: absolute;
  margin-top: -4em;
  margin-left: 60em;
  width: 100%;
  height: auto;
  border-radius: 12px;
}

.about-card-image:before {
  content: "";
  position: absolute;
  top: -12px;
  left: -12px;
  width: calc(100% + 24px);
  height: calc(100% + 24px);
  border: 2px solid #e5e5e5;
  border-radius: 12px;
  opacity: 1;
}
.about-card-image > img {
  max-width: 340px;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  border-radius: 8px;
}

.third-pen-splash {
  position: absolute;
  z-index: -1;
  margin: -3em -8em;
}

.about-card-content {
  background-color: #191e3e;
  color: #5382a0;
  text-justify: distribute;
  padding: 2em;
  border-radius: 8px;
}
.about-card-header {
  font-size: 18px;
  color: #e5e5e5;
}

.about-card-details {
  width: 70%;
}

/* ---------------------------- Projects ----------------------------------------- */

.project-header {
  background: #191e3e;
  width: max-content;
  color: #e5e5e5;
  padding: 0.2em 1em;
  border-radius: 0.3em;
}

.fourth-pen-splash {
  position: relative;
  z-index: -1;
  margin: -9em 0em 2em -4em;
}

.slider-item:focus,
.slider-item:hover {
  border: none;
}

.slider {
  max-width: 1100px;
  margin: 0 auto;
}

.slider-item > img {
  width: 100%;
  height: auto;
}

.slider-item {
  border: none;
  background: transparent;
}

.slider-item:after {
  content: "";
  position: absolute;
  height: 224px;
  border-radius: 0.4em;
  width: 343px;
  background: linear-gradient(0deg, rgb(0 0 0) 0%, rgb(0 0 0 / 53%) 29%);
  opacity: 0.7;
  margin-top: -224px;
}

.slider-item:focus {
  border: none;
  background: transparent;
}

.project-title {
  margin-left: 0.6em;
  color: #e5e5e5;
  position: absolute;
  display: block;
  z-index: 1;
  margin-top: -4em;
}

.project-description {
  color: #e5e5e5;
  z-index: 1;
  position: absolute;
  margin-top: -4em;
  margin-left: 1em;
  max-width: 18em;
}

.slick-slide {
  margin: 12px;
}

button.slick-next,
button.slick-next:hover {
  position: absolute;
  top: -95px;
  right: 30px;
  width: 100%;
  max-width: 40px;
  height: 40px;
  background-image: url("/images/ArrowRightSquare.svg");
  background-size: contain;
  background-repeat: no-repeat;
}
button.slick-prev,
button.slick-prev:hover {
  position: absolute;
  top: -95px;
  right: 120px;
  z-index: 1;
  width: 40px;
  height: 40px;
  background-image: url("/images/ArrowLeftSquare.svg");
  background-size: contain;
  background-repeat: no-repeat;
  outline: none;
}
.slick-prev:before,
.slick-next:before {
  font-size: 70px;
  line-height: inherit;
  font-weight: bold;
}
.slider img {
  max-height: 300px;
  border: none;
  outline: none;
}
.slider > img:focus {
  border: none;
  outline: none;
}

/* Slick Slider Styles -- Provided by https://kenwheeler.github.io/slick/ */

/* Arrows */
.slick-prev,
.slick-next {
  font-size: 0;
  line-height: 0;

  position: absolute;
  top: 50%;

  display: block;

  width: 20px;
  height: 20px;
  margin-top: -10px;
  padding: 0;

  cursor: pointer;

  color: transparent;
  border: none;
  outline: none;
  background: transparent;
}

.slick-prev:hover,
.slick-prev:focus,
.slick-next:hover,
.slick-next:focus {
  color: transparent;
  outline: none;
  background: transparent;
}
.slick-prev:hover:before,
.slick-prev:focus:before,
.slick-next:hover:before,
.slick-next:focus:before {
  opacity: 1;
}
.slick-prev.slick-disabled:before,
.slick-next.slick-disabled:before {
  opacity: 0.25;
}

/* -----------------------------------------------Contact ---------------------------------------- */

.contact-section {
  background: url("/images/googlemap.svg");
  height: 45em;
  background-size: cover;
  background-repeat: no-repeat;
}

.contact-section:after {
  content: "";
  position: absolute;
  height: 45em;
  width: 100%;
  background: #11142f;
  opacity: 0.8;
  z-index: 1;
}

.contact-heading > h1 {
  color: #fff;
  z-index: 9999;
  position: absolute;
  text-align: center;
}

.contact-form {
  background: #191e3e;
  position: absolute;
  z-index: 9999;
  width: 460px;
  padding: 2em;
  margin-top: 8em;
  border-radius: 0.4em;
  align-items: center;
}

input {
  background: #11142f;
  color: #325c77;
  border: none;
  padding: 0.5em 0em;
  height: 3em;
  border-radius: 0.4em;
  margin-bottom: 2em;
  width: 100%;
}

textarea {
  background: #11142f;
  color: #325c77;
  border: none;
  padding: 0.5em em;

  border-radius: 0.4em;
  margin-bottom: 2em;
  margin-right: -2em;
  width: 100%;
}

input:focus,
textarea:focus {
  border: none;
}

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

footer {
  text-align: center;
  background: #191e3e;
  padding: 1em 2em;
  border-top: 4px solid #325c77;
  margin: 0;
  color: #e5e5e5;
}

/* ----------------------------------------------------------------- Media Queries ----------------------------------------------------------------------- */

/* Extra Small devices (landscape phones, 576px and up) */

@media (max-width: 767px) {
  .card-content-wrapper {
    display: inline-block;
    margin-left: 0px;
    margin-top: 10em;
    padding: 2em;
  }

  .card-image {
    width: 12em;
    position: relative;
    margin-top: -2em;
    margin-left: 7em;
  }

  .second-pen-splash {
    display: block;
    position: absolute;
    z-index: -1;
    margin-top: -3em;
    margin-left: -12em;
  }

  .first-pen-splash {
    display: block;
    position: absolute;
    z-index: -1;
    margin-top: -32em;
    margin-left: 12em;
  }

  .card-sub-header {
    font-size: 1.4em;
    width: max-content;
    float: none;
  }

  .card-header {
    font-size: 2.3em;
    max-width: max-content;
    padding-top: 0;
  }
  .card-designation {
    font-size: 1.3em;
    padding: 0;
  }

  .container {
    width: 420px;
  }

  .social-links {
    display: inline-flex;
  }

  .link > a > p {
    display: none;
  }

  .scroll-down > img {
    position: relative;
    bottom: 0;
    left: 50%;
    margin-top: 100px;
  }

  .about-card-details {
    width: 100%;
  }

  .slider-item:after {
    content: "";
    position: absolute;
    height: 258px;
    border-radius: 0.3em;
    width: 396px;
    background: linear-gradient(0deg, rgb(0 0 0) 0%, rgb(0 0 0 / 53%) 29%);
    opacity: 0.7;
    margin-top: -258px;
  }

  .image-dotted {
    position: absolute;
    margin-left: -2.5em;
    margin-top: -17em;
    z-index: -1;
  }

  .contact-heading > h1 {
    margin-top: 4em;
  }

  .contact-form {
    background: #191e3e;
    position: absolute;
    z-index: 9999;
    width: 100%;
    padding: 2em;
    margin-top: 16em;
    border-radius: 0.4em;
    max-width: 360px;
    align-items: center;
  }
}

/* Small devices (landscape phones, 576px and up) */

@media (min-width: 576px) and (max-width: 767.98px) {
  .card-content-wrapper {
    display: inline-block;
    margin-left: 0px;
    margin-top: 20em;
    padding: 2em;
  }

  .card-image {
    width: 12em;
    position: absolute;
    margin-top: -4em;
    margin-left: 11em;
  }
  .second-pen-splash {
    display: block;
    position: absolute;
    z-index: -1;
    margin-top: -3em;
    margin-left: -12em;
  }

  .first-pen-splash {
    display: block;
    position: absolute;
    z-index: -1;
    margin-top: -26em;
    margin-left: 18em;
  }

  .card-sub-header {
    font-size: 1.4em;
    width: max-content;
    float: none;
  }

  .card-header {
    font-size: 3em;
    text-align: center;
    max-width: max-content;
    padding-top: 0;
  }
  .card-designation {
    font-size: 1.6em;
    padding: 0;
  }

  .container {
    width: 540px;
    margin: 0px auto;
  }

  .social-links {
    display: inline-flex;
  }

  .link > a > p {
    display: none;
  }

  .scroll-down > img {
    position: relative;
    left: 50%;
    margin-top: 100px;
  }
  .slider-item:after {
    content: "";
    position: absolute;
    height: 160px;
    border-radius: 0.3em;
    width: 246px;
    background: linear-gradient(0deg, rgb(0 0 0) 0%, rgb(0 0 0 / 53%) 29%);
    opacity: 0.7;
    margin-top: -160px;
  }

  .image-dotted {
    position: absolute;
    margin-left: -2.5em;
    margin-top: -2em;
    z-index: -1;
  }
}

/* Medium devices (tablets, 768px and up) */

@media (min-width: 768px) and (max-width: 991.98px) {
  .card-image {
    width: 16em;
    position: absolute;
    margin-top: -8em;
    margin-left: 26em;
  }
  .first-pen-splash {
    position: relative;
    z-index: -1;
    margin: -3.5em 30em;
  }

  .second-pen-splash {
    position: absolute;
    z-index: -1;
    margin: -5em -12em;
  }

  .card-content-wrapper {
    display: inline-block;
    margin-left: 3em;
  }

  .container {
    width: 700px;
    margin: 0px auto;
  }

  .scroll-down > img {
    position: relative;
    bottom: 0;
    left: 50%;
    margin-top: 100px;
  }

  .about-card-details {
    width: 65%;
  }

  .about-card-image {
    display: block;
    position: absolute;
    margin-top: -4em;
    margin-left: 30em;
    width: 100%;
    height: auto;
    border-radius: 12px;
  }

  .slider-item:after {
    content: "";
    position: absolute;
    height: 212px;
    border-radius: 0.3em;
    width: 326px;
    background: linear-gradient(0deg, rgb(0 0 0) 0%, rgb(0 0 0 / 53%) 29%);
    opacity: 0.7;
    margin-top: -212px;
  }

  .image-dotted {
    position: absolute;
    margin-left: -2.5em;
    margin-top: -2em;
    z-index: -1;
  }
}

/* Large devices (desktops, 992px and up) */

@media (min-width: 992px) and (max-width: 1199.98px) {
  .card-image {
    margin-left: -3em;
    width: 16em;
  }

  .first-pen-splash {
    position: relative;
    z-index: -1;
    margin: -4.5em 18em;
  }

  .card-content {
    margin-left: -6em;
    margin-top: -12em;
  }

  .card-sub-header {
    font-size: 1.4em;
  }

  .card-header {
    font-size: 3em;
  }
  .card-designation {
    font-size: 1.6em;
  }

  .social-links {
    display: inline-block;
    margin-left: -7em;
    font-size: 0.9em;
  }

  .second-pen-splash {
    position: absolute;
    z-index: -1;
    margin: -5em -34em;
  }

  .profile-card {
    margin-top: 8em;
    margin-left: 5em;
  }

  .container {
    width: 940px;
    margin: 0px auto;
  }

  .about-card-details {
    width: 70%;
  }

  .about-card-image {
    display: block;
    position: absolute;
    margin-top: -4em;
    margin-left: 45em;
    width: 100%;
    height: auto;
    border-radius: 12px;
  }

  .slider-item:after {
    content: "";
    position: absolute;
    height: 190px;
    border-radius: 0.3em;
    width: 290px;
    background: linear-gradient(0deg, rgb(0 0 0) 0%, rgb(0 0 0 / 53%) 29%);
    opacity: 0.7;
    margin-top: -190px;
  }

  .image-dotted {
    position: absolute;
    margin-left: -6.5em;
    margin-top: -3em;
    z-index: -1;
  }
}

/* Extra large devices (large desktops, 1200px and up) */

@media (min-width: 1200px) {
  .first-pen-splash {
    position: relative;
    z-index: -1;
    margin: -4.5em 33em;
  }

  .second-pen-splash {
    position: absolute;
    z-index: -1;
    margin: -5em -35em;
  }
  .container {
    width: 1100px;
  }

  .about-card-image {
    margin-left: 55em;
  }

  .about-card-image {
    width: 100%;
    max-width: 21em;
  }

  .about-card-image:before {
    width: calc(100% + 24px);
    border: 2px solid #ffffff;
  }
  .navigation-links > ul {
    list-style-type: none;
    float: left;
    margin-top: 18em;
    transform: rotateZ(90deg);
    margin-right: -182px;
    display: block;
  }
}

/* Notification */

.notyf {
  padding: 40px;
}

.notyf__toast {
  max-width: 600px !important;
}

.notyf__ripple {
  height: 800px;
  width: 800px;
}
