@font-face {
  font-family: "PlusJakartaSans";
  src: url("../font/PlusJakartaSans-Regular.ttf");
  font-display: swap;
}

@font-face {
  font-family: "Poly";
  src: url("../font/Poly-Regular.ttf");
  font-display: swap;
}

:root {
  --font-normal: "PlusJakartaSans";
  --font-title: "Poly";
  --color-black: #444;
  --color-white: #fefefe;
  --color-cream: #e8ccb2;
  --color-orange: #cd9058;
  --color-brown: #976038;
  --color-brown-dark: #4b2400;
  --size-max-width: 1100px;
  --size-normal: 1rem;
  --size-title: 3rem;
}

::-webkit-scrollbar {
  width: 7px;
  margin-left: -0px;
}

::-webkit-scrollbar-track {
  background: var(--color-white);
}

::-webkit-scrollbar-thumb {
  background: var(--color-orange);
  border-radius: 6px;
}

::-webkit-scrollbar-thumb:hover {
  background: var(--color-brown);
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  transition: all 0.375s ease;
  text-decoration: none;
  font-family: var(--font-normal);
  color: var(--color-black);
}

h1,
h2,
h3,
.hen-navbar-link {
  font-family: var(--font-title);
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 50px;
}

body {
  background: var(--color-brown-dark);
}

.hen-page-wrapper {
  max-width: var(--size-max-width);
  margin: 0 auto;
  z-index: 1;
  position: relative;
}

/* Navbar Start */

.hen-navbar-wrapper {
  position: fixed;
  z-index: 2;
  background-color: var(--color-white);
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.4);
  width: 100%;
  display: grid;
  grid-template-columns: 150px 1fr;
  padding: 5px 20px;
  align-items: center;
}

.hen-navbar-wrapper2 {
  display: grid;
  grid-template-columns: auto 150px;
}

.hen-navbar-icon {
  width: 55px;
  height: 55px;
  z-index: 4;
}

.hen-navbar-links {
  display: flex;
  gap: 60px;
  justify-self: center;
  align-items: center;
}

.hen-navbar-link {
  font-size: 1.1rem;
  text-wrap: nowrap;
}

.hen-navbar-link:hover {
  color: var(--color-brown);
}

.hen-navbar-social {
  justify-self: flex-end;
  display: flex;
  gap: 20px;
}

.hen-nav-media {
  width: 35px;
  height: 35px;
}

/* Navbar Ends */

/* Home Page Start*/

#home {
  position: relative;
  overflow: hidden;
  background-color: rgba(62, 38, 16);
  z-index: -2;
}

.hen-home-bg {
  width: 100%;
  height: 100%;
  position: absolute;
  z-index: -1;
  opacity: 0.3;
}
.hen-home-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hen-home-logo {
  width: 400px;
  margin: 0 auto;
  display: block;
  padding: 250px 0;
}

#about {
  padding-top: 60px;
  position: relative;
  background-color: var(--color-white);

}

#about:before {
  content: "";
  background-repeat: no-repeat;
  width: 400px;
  height: 400px;
  background-size: 100%;
  position: absolute;
  top: 30px;
  right: 0;
  z-index: 0;
  background-image: url("../image/pattern1.png");
  background-position: right top;
}

.hen-page-wrapper.about {
  display: grid;
  grid-template-columns: 1fr 3fr;
  overflow: hidden;
}

.hen-about-bg {
  position: absolute;
  width: 50%;
  height: 100%;
  overflow: hidden;
}

.hen-about-img {
  position: absolute;
  right: 100px;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hen-about-container {
  display: grid;
  gap: 30px;
  background-color: var(--color-white);
  box-shadow: 4px 4px 10px rgba(0, 0, 0, 0.3);
  border-radius: 10px;
  padding: 70px;
  grid-column-start: 2;
  margin: 150px 0;
  max-width: 700px;
}

.hen-about-title {
  font-size: var(--size-title);
}

.hen-about-desc {
  font-size: var(--size-normal);
}

#portfolio {
  padding: 80px 0;
  position: relative;
  background-color: var(--color-white);
  overflow: hidden;
}

#portfolio:before, #pflist:before {
  content: "";
  background-repeat: no-repeat;
  width: 60%;
  height: 100%;
  background-size: 100%;
  position: absolute;
  bottom: 0;
  left: 0;
  background-image: url("../image/pattern2.png");
  background-position: left bottom;
}

.hen-page-wrapper.portfolio {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 10px 80px;
}

.hen-portfolio-title {
  font-size: var(--size-title);
}

.hen-portfolio-number {
  color: var(--color-cream);
  font-size: 4rem;
}

.hen-portfolio-name {
  font-size: 2rem;
  padding-left: 70px;
  position: relative;
}

.hen-portfolio-name:before {
  content: "";
  position: absolute;
  width: 60px;
  height: 2px;
  background-color: var(--color-black);
  left: 0;
  top: 20px;
}

.hen-portfolio-desc {
  font-size: var(--size-normal);
  text-align: justify;
}

.hen-portfolio-button {
  border-radius: 5px;
  border: solid 2px transparent;
  background-color: var(--color-brown);
  padding: 10px 20px;
  text-align: center;
  align-self: center;
  justify-self: flex-start;
  color: var(--color-white);
}

.hen-portfolio-button:hover {
  border: solid 2px var(--color-brown);
  background-color: transparent;
  color: var(--color-brown);
}

.hen-portfolio-arrow {
  display: flex;
  gap: 20px;
  height: 150px;
  padding-top: 20px;
}

.hen-portfolio-icon {
  cursor: pointer;
  width: 40px;
  height: 40px;
  opacity: 0.5;
}

.hen-portfolio-icon.l {
  rotate: 180deg;
}

.hen-portfolio-icon:hover {
  opacity: 1;
}

.hen-portfolio-container {
  overflow: hidden;
  grid-row-start: span 6;
}

.hen-portfolio-items {
  height: 500px;
  width: 100%;
  border-radius: 10px;
  overflow: hidden;
  margin: 10px 0;
  transform: scale(0.7);
  background-color: black;
  box-shadow: 5px 5px 10px rgba(0, 0, 0, 0.3);
}

.hen-portfolio-items.active {
  transform: scale(1);
}

.hen-portfolio-img {
  height: 100%;
  width: 100%;
  object-fit: cover;
  opacity: 0.6;
}

.hen-portfolio-items.active .hen-portfolio-img {
  opacity: 1;
}

#contact {
  padding: 80px 0;
  background: url("../image/bg-footer.png") center/cover no-repeat;
  position: relative;
}

#contact:before {
  content: "";
  width: 100%;
  height: 100%;
  background: linear-gradient(rgba(0, 0, 0, 0.3), rgba(0, 0, 0, 0.7));
  position: absolute;
  top: 0;
  left: 0;
}

.hen-page-wrapper.contact {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 80px;
}

.hen-contact-wrapper {
  display: grid;
  gap: 20px;
}

.hen-contact-title {
  color: var(--color-white);
  font-size: 2.5rem;
}

.hen-contact-desc {
  color: var(--color-white);
  font-size: 0.9rem;
}

.hen-contact-media {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px 10px;
}

.hen-contact-link {
  display: flex;
  gap: 10px;
  align-items: center;
}

.hen-contact-icon {
  width: 30px;
  height: 30px;
}

.hen-contect-info {
  color: var(--color-white);
  font-size: var(--size-normal);
}

#footer {
  background-color: var(--color-brown-dark);
  padding: 20px;
}

.footer-coralis {
  text-align: center;
  color: var(--color-white);
}

/* Home Page Ends */

/* Portfolio List Starts */

#pflist {
  padding: 100px 0 60px;
  background-color: var(--color-white);
  overflow: hidden;
}

#pflist:before {
  width: 100%;
}

.hen-pflist-title {
  text-align: center;
  font-size: var(--size-title);
}

.hen-pflist-container {
  padding: 40px 0;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 50px 30px;
}

.hen-pflist-item {
  display: grid;
  gap: 20px;
  grid-template-rows: auto 1fr;
}

.hen-pflist-image {
  width: 100%;
  height: 350px;
  border-radius: 10px;
  overflow: hidden;
  background-color: black;
  box-shadow: 5px 5px 10px rgba(0, 0, 0, 0.3);
}

.hen-pflist-item:hover .hen-pflist-image {
  box-shadow: 5px 5px 10px rgba(0, 0, 0, 0.5);
}

.hen-pflist-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hen-pflist-name {
  text-align: center;
  font-size: 1.7rem;
}

.hen-pflist-item:hover .hen-pflist-name {
  color: var(--color-orange);
}

.hen-pflist-pagination-button {
  display: flex;
  background-color: var(--color-brown);
  color: var(--color-white);
  font-size: 1rem;
  width: 25px;
  height: 25px;
  border-radius: 3px;
  justify-content: center;
  align-items: center;
  border: solid 2px transparent;
}

.hen-pflist-pagination-button:hover {
  border: solid 1.5px var(--color-brown);
  background-color: var(--color-white);
  color: var(--color-brown);
}

.hen-pflist-pagination-button.active {
  color: var(--color-brown);
  background-color: var(--color-white);
}

.hen-pflist-pagination {
  display: flex;
  gap: 15px;
  justify-content: center;
}

.hen-pagination-arrow {
  color: var(--color-brown);
}

.hen-pagination-arrow:hover {
  color: var(--color-orange);
}

/* Portfolio List Ends */

/* Portfolio Page Starts */

#pfhome {
  position: relative;
}

.hen-pfhome-background {
  position: absolute;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  overflow: hidden;
  height: 100%;
  width: 100%;
}

.hen-pfhome-bg {
  background-color: #976038;
  height: 100%;
  width: 100%;
  position: relative;
}

.hen-pfhome-bg:after {
  content: "";
  width: 100%;
  height: 100%;
  background: linear-gradient(rgba(0, 0, 0, 0.1), rgba(0, 0, 0, 0.6));
  position: absolute;
  bottom: 0;
  right: 0;
}

.hen-pfhome-bg.deco:after {
  content: "";
  background: url("../image/pattern-portfolio.png");
  background-repeat: no-repeat;
  width: 80%;
  height: 100%;
  background-size: 100%;
  position: absolute;
  z-index: 0;
  background-position: right bottom;
}

.hen-pfhome-img {
  height: 100%;
  width: 100%;
  object-fit: cover;
}

.hen-page-wrapper.pfhome {
  padding: 200px 0 350px;
}

.hen-pfhome-name {
  color: var(--color-white);
  font-size: 4.5rem;
  padding-left: 100px;
  position: relative;
  letter-spacing: 6px;
}

.hen-pfhome-name:before {
  content: "";
  position: absolute;
  width: 80px;
  height: 3px;
  background-color: var(--color-white);
  left: 0;
  top: 40px;
  border-radius: 2px;
}

.hen-pfhome-desc {
  color: var(--color-white);
  max-width: 30%;
  padding-left: 100px;
}

.hen-page-wrapper.pfhome {
  display: grid;
  gap: 50px;
}

#pfcontent {
  padding: 100px 0;
  background-color: var(--color-white);
  overflow: hidden;
}

.hen-page-wrapper.pfcontent {
  display: grid;
  gap: 100px;
}

.hen-pfcontent-item {
  display: grid;
  position: relative;
  gap: 30px;
}

.hen-pfcontent-item:nth-child(odd) {
  grid-template-columns: 3fr 2fr;
}

.hen-pfcontent-item:nth-child(even) {
  grid-template-columns: 2fr 3fr;
}

.hen-pfcontent-item:nth-child(odd) .hen-pfcontent-contain,
.hen-pfcontent-item:nth-child(even) .hen-pfcontent-wrapper {
  order: 1;
}

.hen-pfcontent-item:nth-child(even) .hen-pfcontent-contain,
.hen-pfcontent-item:nth-child(odd) .hen-pfcontent-wrapper {
  order: 2;
}

.hen-pfcontent-contain {
  width: 100%;
  height: 500px;
  border-radius: 10px;
  overflow: hidden;
  position: relative;
}

.hen-pfcontent-contain:before {
  content: "";
  width: 100%;
  height: 100%;
  background: linear-gradient(rgba(0, 0, 0, 0), rgba(0, 0, 0, 0.4));
  position: absolute;
  bottom: 0;
  right: 0;
  z-index: 0;
}

.hen-pfcontent-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hen-pfcontent-wrapper {
  display: grid;
  grid-template-rows: 180px auto;
  gap: 50px;
  align-items: center;
  position: relative;
}

.hen-pfcontent-item:nth-child(odd) .hen-pfcontent-wrapper:before,
.hen-pfcontent-item:nth-child(odd) .hen-pfcontent-wrapper:after,
.hen-pfcontent-item:nth-child(even) .hen-pfcontent-wrapper:before,
.hen-pfcontent-item:nth-child(even) .hen-pfcontent-wrapper:after {
  content: "";
  position: absolute;
  background: url("../image/pattern3.png") no-repeat;
  width: 100%;
  height: 100%;
  background-size: 100%;
  z-index: -3;
  top: 90px;
  right: calc(0px - ((100vw - var(--size-max-width)) / 2));
}

.hen-pfcontent-item:nth-child(odd) .hen-pfcontent-wrapper:after {
  background: url("../image/pattern4.png") no-repeat;
  inset: auto auto 20px -30px;
  background-position: bottom left;
  background-size: 50%;
}

.hen-pfcontent-item:nth-child(even) .hen-pfcontent-wrapper:before,
.hen-pfcontent-item:nth-child(even) .hen-pfcontent-wrapper:after {
  left: calc(0px - ((100vw - var(--size-max-width)) / 2));
  right: auto;
  -webkit-transform: scaleX(-1);
  transform: scaleX(-1);
}

.hen-pfcontent-item:nth-child(even) .hen-pfcontent-wrapper:after {
  background: url("../image/pattern4.png") no-repeat;
  inset: auto -30px 20px auto;
  background-position: bottom left;
  background-size: 50%;
}

.hen-pfcontent-name {
  text-transform: capitalize;
  background-color: var(--color-orange);
  border-radius: 10px;
  padding: 30px;
  color: var(--color-white);
  position: relative;
  font-size: 2.5rem;
  letter-spacing: 2px;
  align-self: flex-end;
  z-index: 1;
  position: absolute;
  top: 80px;
  min-width: 400px;
}

.hen-pfcontent-item:nth-child(odd) .hen-pfcontent-name {
  left: -150px;
}

.hen-pfcontent-item:nth-child(even) .hen-pfcontent-name {
  right: -150px;
}

.hen-pfcontent-name:before {
  content: "";
  display: inline-block;
  height: 2px;
  width: 60px;
  margin: 0 10px;
  background-color: var(--color-white);
  vertical-align: middle;
}

.hen-pfcontent-desc {
  text-align: justify;
  font-size: 1.1rem;
  align-self: flex-start;
  grid-row-start: 2;
}

/* Portfolio Page Ends */

/* SMALL DESKTOP */
@media screen and (max-width: 1184px) {
  :root {
    --size-max-width: 850px;
  }

  .hen-page-wrapper.about {
    grid-template-columns: 1fr 4fr;
  }
  .hen-about-container {
    margin: 110px 0;
    gap: 20px;
    padding: 60px;
  }

  .hen-page-wrapper.portfolio {
    gap: 20px;
    grid-template-columns: 2fr 3fr;
  }
  .hen-portfolio-items {
    height: 430px;
    width: 100%;
  }
  .hen-portfolio-arrow {
    height: auto;
    padding: 0;
  }

  /* Portfolio List Starts */

  .hen-pflist-image {
    height: 300px;
  }

  /* Portfolio List Ends */

  /* Portfolio Starts */
  .hen-page-wrapper.pfhome {
    padding-bottom: 250px;
    gap: 35px;
  }

  .hen-pfhome-name {
    font-size: 4rem;
  }
  .hen-pfhome-desc {
    padding: 0 5px 0 0;
  }

  .hen-pfcontent-name {
    padding: 25px;
    font-size: 2rem;
  }
  .hen-pfcontent-wrapper {
    gap: 20px;
  }
  .hen-pfcontent-contain {
    height: 400px;
  }
  /* Portfolio Ends */
}

/* TABLET*/
@media screen and (max-width: 855px) {
  :root {
    --size-max-width: 700px;
    --size-title: 2.5rem;
  }

  .hen-navbar-social {
    gap: 10px;
  }
  .hen-navbar-links {
    gap: 40px;
  }
  .hen-nav-media {
    width: 30px;
    height: 30px;
  }

  .hen-home-logo {
    padding: 200px 0;
  }

  .hen-page-wrapper.portfolio {
    gap: 20px;
  }
  .hen-portfolio-items {
    height: 410px;
  }
  .hen-portfolio-wrapper {
    margin: 0;
  }
  .hen-portfolio-arrow {
    height: auto;
  }
  .hen-portfolio-number {
    font-size: 3.5rem;
  }
  .hen-portfolio-name {
    font-size: 1.5rem;
    padding-left: 50px;
  }
  .hen-portfolio-name:before {
    width: 40px;
    top: 15px;
  }

  .hen-page-wrapper.contact {
    gap: 30px;
  }

  .hen-contact-title {
    font-size: 2rem;
  }

  /* Porfolio List Starts */
  .hen-pflist-container {
    grid-template-columns: repeat(2, 1fr);
    gap: 50px 40px;
  }

  .hen-pflist-image {
    height: 400px;
  }
  /* Porfolio List Ends */
}

/* MOBILE PHONE*/
@media screen and (max-width: 540px) {
  :root {
    --size-max-width: 450px;
    --size-title: 2.5rem;
  }

  .hen-navbar-wrapper {
    background-color: transparent;
    gap: 30px;
    grid-template-columns: 1fr;
    box-shadow: none;
  }
  .hen-navbar-wrapper2 {
    height: 100vh;
    display: block;
    position: fixed;
    width: 250px;
    top: 0;
    left: -100%;
    padding: 120px 30px 30px;
    backdrop-filter: blur(10px);
    background-color: rgba(242, 242, 242, 0.8);
  }
  .hen-navbar-wrapper2.active {
    left: 0;
  }
  .hen-navbar-icon {
    position: fixed;
    top: 0;
    left: 0;
    margin: 25px;
  }
  .hen-navbar-links {
    display: grid;
  }
  .hen-navbar-link {
    font-size: 1.3rem;
  }
  .hen-navbar-social {
    margin-top: 50px;
  }

  #about {
    padding-top: 0;
  }
  .hen-page-wrapper.about {
    grid-template-columns: 1fr;
  }
  .hen-about-bg {
    width: 100%;
  }

  .hen-page-wrapper.portfolio {
    grid-template-columns: 1fr;
  }
  .hen-portfolio-container {
    grid-row-start: none;
  }
  .hen-portfolio-title {
    order: 1;
    text-align: center;
  }
  .hen-portfolio-container {
    order: 2;
  }
  .hen-portfolio-items {
    width: 95%;
    margin: 10px;
  }
  .hen-portfolio-arrow {
    order: 3;
    gap: 70px;
    width: 100%;
    justify-content: space-between;
    position: absolute;
    top: 535px;
    z-index: 1;
  }
  .hen-portfolio-number {
    order: 4;
    text-align: center;
  }
  .hen-portfolio-name {
    order: 5;
    text-align: center;
    padding-left: 0;
  }
  .hen-portfolio-name:before {
    display: none;
  }
  .hen-portfolio-desc {
    order: 6;
  }
  .hen-portfolio-button {
    order: 7;
    display: block;
    margin: 0 auto;
  }

  .hen-page-wrapper.contact {
    gap: 30px;
    grid-template-columns: 1fr;
  }

  /* Portfolio List Starts */
  #pflist {
    padding: 60px 0;
  }
  .hen-pflist-image {
    height: 300px;
  }
  .hen-pflist-name {
    font-size: 1.4rem;
  }
  /* Portfolio List Ends */

  /* Portfolio Starts */
  .hen-page-wrapper.pfhome {
    padding: 100px 0 175px;
  }
  .hen-pfhome-name:before {
    width: 26%;
    top: 35px;
  }
  .hen-pfhome-name {
    font-size: 3.4rem;
    padding-left: 34%;
  }

  #pfcontent {
    padding: 45px 0;
  }
  .hen-page-wrapper.pfcontent {
    display: block;
  }
  .hen-pfcontent-item {
    margin: 30px 0;
  }
  .hen-pfcontent-name {
    font-size: 1.5rem;
    min-width: 320px;
    padding: 20px;
    position: relative;
    top: 0;
    display: block;
    margin: 0 auto;
  }
  .hen-pfcontent-item:nth-child(odd),
  .hen-pfcontent-item:nth-child(even) {
    grid-template-columns: 1fr;
    gap: 10px;
  }
  .hen-pfcontent-item:nth-child(odd) .hen-pfcontent-name,
  .hen-pfcontent-item:nth-child(even) .hen-pfcontent-name {
    left: auto;
    right: auto;
  }

  .hen-pfcontent-wrapper {
    grid-template-rows: auto;
  }

  .hen-pfcontent-item:nth-child(even) .hen-pfcontent-contain,
  .hen-pfcontent-item:nth-child(odd) {
    order: 1;
  }
  .hen-pfcontent-item:nth-child(even) .hen-pfcontent-wrapper {
    order: 2;
  }
  .hen-pfcontent-wrapper {
    transform: translateY(-47px);
  }

  .hen-pfcontent-wrapper:after {
    display: none;
  }

  .hen-pfcontent-item:nth-child(odd) .hen-pfcontent-wrapper:before,
  .hen-pfcontent-item:nth-child(even) .hen-pfcontent-wrapper:before {
    top: auto;
    bottom: -100%;
  }
  /* Portfolio Ends */
}

@media screen and (max-width: 430px) {
  :root {
    --size-max-width: 350px;
  }

  .hen-home-logo {
    width: 350px;
  }

  .hen-contact-media {
    grid-template-columns: 1fr;
  }

  /* Portfolio List Starts */
  .hen-pflist-container {
    grid-template-columns: repeat(1, 1fr);
  }
  .hen-pflist-name {
    font-size: 1.7rem;
  }
  /* Portfolio List Ends */

  /* Portfolio Starts */
  .hen-page-wrapper.pfhome {
    padding: 100px 0 50px;
  }
  .hen-pfhome-background {
    grid-template-columns: 1fr;
  }
  .hen-pfhome-bg.img {
    display: none;
  }
  .hen-pfhome-bg.deco:after {
    width: 20%;
  }
  .hen-pfhome-name {
    font-size: 2rem;
    padding-left: 35px;
  }
  .hen-pfhome-name:before {
    width: 27px;
    top: 20px;
  }
  .hen-pfhome-desc {
    padding: 0;
    max-width: none;
  }
  .hen-pfcontent-contain {
    height: 315px;
  }
  .hen-pfcontent-name {
    min-width: 280px;
  }
  .hen-pfcontent-name:before {
    width: 40px;
  }
  /* Portfolio Ends */
}

@media screen and (max-width: 390px) {
  :root {
    --size-max-width: 300px;
    --size-title: 2.3rem;
    --size-normal: 0.9rem;
  }

  .hen-home-logo {
    width: 300px;
    padding: 150px 0;
  }

  .hen-about-container {
    margin: 80px 0;
    padding: 30px;
    gap: 15px;
  }

  .hen-portfolio-items {
    height: 365px;
  }

  .hen-portfolio-arrow {
    top: 490px;
  }

  /* Portfolio List Starts */
  .hen-pflist-name {
    font-size: 1.6rem;
  }
  /* Portfolio List Starts */

  /* Portfolio Starts */
  .hen-page-wrapper.pfhome {
    gap: 25px;
  }
  .hen-pfhome-name {
    font-size: 1.7rem;
  }
  /* Portfolio Ends */
}
