@font-face {
  font-family: "Bespoke Serif";
  src: url("../fonts/BespokeSerif-Medium.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
}

@font-face {
  font-family: "Bespoke Sans";
  src: url("../fonts/BespokeSans-Regular.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
}

:root {
  --navbar-height: 64px;
  --primary-color: #3f51b5;
  --secondary-color: #3d5e;
  --third-color: #b4fe;
  --cool-color-one: #5fec;
  --cool-color-two: #ede;
  --title-font: "JetBrains Mono";
  --text-font: "Bespoke Sans";
}

:root {
  --navbar-height: 64px;
}

@media (max-width: 992px) {
  :root {
    --navbar-height: 125px;
  }
}

html {
  scrollbar-width: none;
}

html::-webkit-scrollbar {
  display: none;
}

h1,
h2,
h3,
h4,
h5,
h6,
header,
nav,
.project-title {
  font-family: var(--title-font), serif;
  margin: 0;
  font-weight: bolder;
  font-size: 2rem;
  color: #3a3a3b;
}

p,
.base-font {
  font-family: var(--text-font), serif;
}

body {
  width: 100%;
  height: 100%;
  position: relative;
  scrollbar-width: none;
}

a {
  text-decoration: none;
}

input {
  padding: 10px !important;
}

.site-scroller {
  width: 100vw;
}

/*Header*/

.navbar {
  position: fixed;
  top: 0;
  z-index: 1000;
  height: var(--navbar-height);
  width: 100%;
  padding: 0;
  background-color: white;
  border-bottom: 1px solid #3a3a3b;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.logo {
  height: 100%;
}

.logo img {
  height: 100%;
  padding: 10px;
  margin-left: 15px;
}

.navbar a {
  color: #3a3a3b;
  font-size: 1rem;
  font-family: "JetBrains Mono", sans-serif;
  height: 100%;
}

.links-desktop {
  width: 40%;
  float: right;
  display: flex;
  align-items: center;
  justify-content: space-evenly;
  height: 20px;
}

.socials {
  display: flex;
  width: 67.2px;
  align-items: center;
  justify-content: space-evenly;
}

.socials a {
  width: 40%;
}

.socials a {
  color: #3a3a3b;
  transition: 0.4s;
}

.socials a svg {
  max-height: 20px;
}

.socials a:hover svg {
  color: #FD2148;
}

.burger {
  width: 80px;
  height: 70px;
  position: absolute;
  right: 30px;
  top: 50%;
  transform: translateY(-50%);
  padding: 0;
  border: none;
  background: none;
  cursor: pointer;
  display: none;
}

.burger span {
  position: absolute;
  left: 50%;
  width: 80px;
  height: 3px;
  background: #3a3a3b;
  border-radius: 3px;
  transform-origin: center center;
  transition:
    top 260ms ease,
    transform 260ms ease,
    opacity 180ms linear;
  transform: translateX(-50%);
  box-sizing: border-box;
}

.burger span:nth-child(1) {
  top: 15%;
}
.burger span:nth-child(2) {
  top: 50%;
  transform: translate(-50%, -50%);
}
.burger span:nth-child(3) {
  top: 85%;
}

.burger.open span:nth-child(1) {
  top: 50%;
  transform: translate(-50%, -50%) rotate(45deg);
}
.burger.open span:nth-child(2) {
  opacity: 0;
  transform: translateX(-50%);
}
.burger.open span:nth-child(3) {
  top: 50%;
  transform: translate(-50%, -50%) rotate(-45deg);
}

.links-mobile {
  display: none;
  flex-direction: column;
  align-items: center;
  background: var(--bg-1, #fff);
  position: absolute;
  top: var(--navbar-height, 64px);
  left: 0;
  width: 100%;
  padding: 1rem 0;
  border-bottom: 1px solid #3a3a3b;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  opacity: 0;
  transition: opacity 1s ease;
  z-index: -10;
}

.links-mobile .open {
  transition: opacity 1s ease;
}

.links-mobile a {
  margin: 20px 0;
}

.hover-underline {
  font-size: 2rem;
  color: #ffffff;
  position: relative;
  display: inline-block;
}

.hover-underline::after,
.hover-underline::before {
  content: "";
  position: absolute;
  width: 100%;
  height: 2px;
  background: linear-gradient(to right, #fd2148, white);
  bottom: -5px;
  left: 0;
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 0.4s ease-out;
}

.hover-underline::before {
  top: -5px;
  transform-origin: left;
}

.hover-underline:hover::after,
.hover-underline:hover::before {
  transform: scaleX(1);
}

@media (max-width: 992px) {
  .navbar {
    height: var(--navbar-height);
  }

  .navbar a {
    font-size: clamp(2rem, 2vw, 2.3rem);
  }

  .burger {
    display: flex;
  }

  .links-desktop {
    display: none;
  }

  .links-mobile.open {
    display: flex;
    opacity: 1;
  }

  .socials {
    width: 120px;
  }

  .socials a {
    width: 40%;
  }

  .socials a svg {
    max-height: 50px;
  }
}

/*Body*/

.site-title {
  text-transform: uppercase;
}

hr {
  width: 130px;
  height: 4px;
  opacity: 1;
  color: #fd2148;
  margin: 0.5rem 0;
}


.section-1{
  background: #FFFFFF;
  background: linear-gradient(144deg,rgba(255, 255, 255, 1) 0%, rgba(252, 252, 251, 1) 43%, rgba(245, 245, 244, 1) 100%);
}

.section-1,
.section-2 {
  box-sizing: border-box;
  height: 100vh;
  display: flex;
}

.section-1 .row > div,
.section-2 .row > div{
  padding: var(--navbar-height) 0 0 0;
}

.section-2 {
  background-color: #F5F5F4;
}

.section-2 .row > div,
.section-1 .row > div{
  height: 100%;
}

.intro-text,
.ia-div,
.intro-text-2{
  margin: 0 5%;
  padding: 0 5%;
  width: 100%;
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

.ia-div {
  background-color: #F5F5F4;
}

.img-section {
  padding: 0;
  object-fit: cover;
  width: 100%;
  height: 100%;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.08);
  mask-image: linear-gradient(to left, rgba(0, 0, 0, 1), rgba(0, 0, 0, 0));
}

.section-scroll > picture {
  height: 100%;
  width: 100%;
}

.img-section-2 {
  object-fit: cover;
  width: 100%;
  height: 100%;
  mask-image: linear-gradient(to right, rgba(0,0,0,1), rgba(0,0,0,0));
}


.resized-p {
  font-size: clamp(0.8rem, calc(1.8rem + 1.5vmin), 1.1rem);
  text-align: justify;
}

@media (max-width: 992px) {
  .resized-p {
    font-size: clamp(0.8rem, calc(1.8rem + 2.5vmin), 2.5rem);
    text-align: justify;
    padding: 0 4%;
  }

  h1,
  h2,
  h3,
  h4,
  h5,
  h6 {
    font-size: clamp(3.5rem, 2vw, 4.6rem);
  }

  .section-scroll {
    width: 100%;
    height: 100svh;
    box-sizing: border-box;
    -webkit-overflow-scrolling: touch;
    z-index: 2;
  }

  .section-1,
  .section-2 {
    height: auto;
  }

  .intro-text,
  .ia-div {
    width: 100%;
    height: 100%;
    padding: 3%;
    border-radius: 0;
    margin: 0;
  }

  .img-section {
    height: 100%;
    width: 100%;
    border-radius: 0;
    box-shadow: none;
    mask-image: unset;
  }

  .section-2 {
    flex-direction: column-reverse;
  }

  .s2-img {
    padding-top: var(--navbar-height) !important;
  }

  .img-section-2 {
    mask: none !important;
    -webkit-mask: none !important;
    -webkit-mask-image: none !important;
    mask-image: none !important;
    clip-path: none !important;
  }

  .section-2 .row > div,
  .section-1 .row > div {
    height: 100vh;
    height: 100dvh;
  }

  .reverse > .ia-div {
    order: 1;
  }
  .reverse > .ia-img-div {
    order: 2;
  }


}

/*Partie projets*/

.project-section {
  overflow-x: hidden;
  width: 100%;
  min-height: 100vh;
  transition: 3s;
  background-color: #fafafa;
  padding: var(--navbar-height) 5% 0;
}

.collection-title {
  padding-top: 40px;
  text-align: center;
}

.project-intro {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
}

.project-tutorial {
  text-align: center;
  padding: 15px 2%;
}

.project-album {
  display: flex;
  flex-direction: row;
  align-items: center;
  position: relative;
  width: 100%;
  height: calc(100vh - (25vh + var(--navbar-height)));
  margin-bottom: 25px;
}

.white-background {
  width: 130%;
  height: 105%;
  left: -10%;
  background-color: #F8F8F8;
  position: absolute;
  z-index: 0;
  opacity: 0;
}

.visible {
  opacity: 0.7;
  z-index: 10;
}

.project-info {
  height: 100%;
  aspect-ratio: 1/1;
  position: absolute;
  display: flex;
  --init-x: 0;
  --hover-offset: 0;
  transition: 0.5s;
  transform: translateX(calc(var(--init-x) + var(--hover-offset)));
  box-sizing: border-box;
  overflow: hidden;
  left: calc(5vw * var(--i));
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  border-radius: 15px;
  border: 2px solid #F3F3F2;
  z-index: 1;
}

.project-info-active {
  height: 105%;
}

.project-info-inner {
  background-color: white;
  padding: 10px;
  border-radius: 15px;
}

.bookshelf-visible {
  width: 7vw;
  font-family: var(--title-font) serif;
  display: flex;
  align-items: center;
  justify-content: center;
  height: 100%;
  z-index: 15;
  background-color: white;
  position: relative;
}

.color-tick{
  background-color: var(--bg-0);
  width: 100%;
  position: absolute;
  height: 40px;
  bottom: 0;
  z-index: 16;
}

@media (min-width: 992px) {
  .project-info:has(.bookshelf-visible:hover) {
    left: calc(5vw * var(--i) - 1.3vw);
  }
}

.bookshelf-visible p {
  transform: rotate(-90deg) scaleY(1.3);
  white-space: nowrap;
  font-size: clamp(1rem, calc(1rem + (2vw)), 4rem);
  z-index: 10;
  text-transform: uppercase;
  color: #3a3a3b;
}

.is-animating .bookshelf-visible,
.is-animating .project-info .close {
  pointer-events: none;
}

.details-project {
  z-index: 15;
  padding: 10px;
  background: white;
  width: 100%;
}

.details-project-inner {
  background-color: white;
  padding: 10px;
  display: flex;
  flex-direction: column;
  justify-content: space-evenly;
  align-items: center;
  height: 90%;
}

.technologies {
  display: flex;
  align-items: center;
  justify-content: space-evenly;
  width: 100%;
}

.uniq-tech {
  width: 30px;
  height: 30px;
  margin: 0 5px;
  transition: transform 0.2s ease;
  display: flex;
  align-items: center;
  justify-content: center;
}

.uniq-tech:hover {
  transform: scale(1.2);
}

.uniq-tech > img {
  width: 100%;
  height: 100%;
}

.project-p {
  font-size: clamp(0.8rem, calc(0.8rem + 0.5vmin), 20px);
  text-align: center;
  max-height: 50%;
  overflow-y: hidden;
  scrollbar-color: color-mix(in srgb, white 75%, black 25%) transparent;
  scrollbar-width: thin;
  scrollbar-gutter: unset;
  --bg-dark-fallback: rgba(0, 0, 0, 0.12);
  overscroll-behavior: contain;
}

.project-p > div {
  padding: 10px 10px 0;
  font-family: var(--text-font), serif;
  text-overflow: ellipsis;
  height: auto;
  text-align: justify;
  word-break: break-word;
}

.project-detail-title {
  font-size: clamp(0.9rem, calc(1rem + 1vmin), 2.6rem);
}

.discover-button {
  border-radius: 10px;
  font-family: var(--title-font) serif;
  background-color: var(--bg-0);
  color: white;
  transition: 0.2s;
  padding: 10px;
  border: 1px solid var(--bg-3);
  font-weight: bolder;
}

.discover-button:hover {
  background-color: white;
  color: black;
  border: 1px solid black;
}

.close {
  top: 2%;
  right: 2%;
  width: 30px;
  height: 30px;
}

@media (max-width: 992px) {
  .project-intro {
    margin-top: 10vh;
  }

  .bookshelf-visible {
    width: 15vw;
  }

  .bookshelf-visible p {
    font-size: clamp(0.8rem, calc(1rem + 2vh), 4rem);
  }

  .bookshelf-visible:hover{
    pointer-events: none;
  }

  .project-section {
    overflow-x: hidden;
    position: relative;
    width: 100%;
    min-height: 100vh;
    /*height: 100dvh;*/
    transition: 3s;
    padding: 64px 0 0;
  }

  .project-info {
    height: 95vw;
  }

  .project-p {
    font-size: clamp(0.8rem, calc(0.8rem + 1.5vmin), 2.2rem);
  }

  .project-detail-title {
    font-size: clamp(0.9rem, calc(1rem + 2vmin), 2.6rem);
  }

  .discover-button {
    font-size: 2rem;
  }

  .close {
    width: 50px;
    height: 50px;
    top: 4%;
    right: 4%;
  }

  .project-info:nth-child(n) {
    left: calc(0 + (8vw * var(--i)));
    transform: translate(calc(8vw * var(--i)));
  }
}

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

.contact-section {
  width: 100%;
  height: calc(100vh - var(--navbar-height));
  padding: 0;
  margin-top: var(--navbar-height);
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  background-image: url("../images/fond-contact.jpg");
  background-image: image-set(
          url("../images/fond-contact.avif") 1x,
          url("../images/fond-contact.jpg") 1x
  );
  background-size: cover;
}

.contact {
  background-color: #f8f8f8;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-evenly;
  width: 70%;
  max-width: 1000px;
  height: 100%;
  padding: 35px;
  margin: 0;
  box-shadow:
    0 4px 8px rgba(0, 0, 0, 0.1),
    0 12px 24px rgba(0, 0, 0, 0.12);
}

.contact-speech {
  padding: 0 15px;
  margin: 0;
}

.contact > * {
  width: 85%;
}

.contact hr {
  width: 15%;
}

.contact form * {
  font-family: var(--text-font), serif;
}

.contact-errors {
  padding: 0 0 0 15px !important;
}

.contact-info input {
  width: 100%;
  padding: 10px;
  border: 1px solid #666666;
}

.contact-info input:first-child {
  border-radius: 10px 0 0 10px;
}

.contact-info input:nth-child(2) {
  border-radius: 0;
}

.contact-info input:last-child {
  border-radius: 0 10px 10px 0;
}

.contact label {
  margin-bottom: 5px;
}

.contact textarea {
  border-radius: 10px;
  border: 1px solid #666666;
}

.contact input:focus,
.contact textarea:focus,
.contact .form-control:focus {
  outline: none;
  border-color: #333333 !important;
  background-color: #fafafa !important;
  transition:
    border-color 150ms ease,
    box-shadow 150ms ease,
    background-color 150ms ease;
}

.contact select {
  border: 1px solid #3a3a3b;
  background-color: white;
  color: #3a3a3b;
  border-radius: 8px 8px 0 0;
  padding: 8px 12px;
  transition: border-color 0.2s ease;
  text-overflow: ellipsis;
  width: 100%;
}

.contact select:focus {
  outline: none;
}

.contact ul li,
.contact ul {
  list-style-type: none;
  padding: 0;
  margin: 0;
  color: red;
}

.contact-need {
  color: red;
}

.contact-required {
  font-size: small;
  color: red;
}

.contact form > div {
  display: flex;
  flex-direction: column;
  padding: 15px;
}

.contact-info {
  flex-direction: row !important;
  justify-content: space-evenly;
}

.contact-info div:first-child {
  padding: 10px 10px 10px 0;
}

.contact-info div:last-child {
  padding: 10px 0 10px 10px;
}

.contact-form textarea {
  min-height: 20vh;
  max-height: 40vh;
  padding: 10px;
}

.contact form input {
  padding: 4px;
}

.contact-form button {
  width: 50%;
  padding: 16px;
  border-radius: 15px;
  align-self: center;
  background-color: #fd2148;
  color: white;
  text-transform: uppercase;
  transition: 0.5s;
  font-weight: bold;
}

.contact-form button:hover {
  background-color: white;
  color: #fd2148;
  border-color: #fd2148;
}

.login-page {
  height: 100vh;
  padding-top: var(--navbar-height);
  display: flex;
  align-items: center;
  justify-content: center;
}

.section-success {
  box-sizing: border-box;
  height: 100vh;
  padding-top: var(--navbar-height);
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

@media screen and (max-width: 992px) {
  .contact-section {
    height: calc(100vh - var(--navbar-height));
    height: calc(100dvh - var(--navbar-height));
    background-image: unset;
  }

  .contact {
    width: 100%;
    height: 100%
  }

  .contact form,
  .contact-speech,
  .contact-errors {
    font-size: clamp(0.8rem, calc(1.8rem + 1.5vmin), 2.2rem);
  }

  .contact-required {
    font-size: clamp(0.6rem, calc(1.5rem + 1.5vmin), 1.8rem);
  }

  .section-success {
    padding: 0 5%;
    text-align: center;
  }

  .section-success p {
    font-size: clamp(0.8rem, calc(1.8rem + 1.5vmin), 2.2rem);
    margin: 5% 0;
  }

}

/*Login------------------*/

.login-form {
  width: 30%;
  max-width: 500px;
}

.login-form h1 {
  margin: 40px 0;
}

.login-form label,
.login-form input,
.login-form button {
  margin: 10px 0;
}

@media screen and (max-width: 992px) {
  .login-form {
    width: 90%;
  }
}

/*Partie projets --------------------------*/

.prj-main {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 100vw;
  background-color: #ffffff;
  overflow: hidden;
}

.only-100 {
  height: calc(100vh - var(--navbar-height));
}

.prj-section-1 {
  width: 100%;
  height: 100vh;
  position: relative;
  font-family: var(--text-font), serif;
}

.prj-section-2 {
  height: calc(100vh - var(--navbar-height));
}

.prj-section-1,
.prj-section-2 {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

.prj-title-div {
  width: 50%;
  float: right;
  aspect-ratio: 6/1;
  text-align: center;
  border-radius: 15px;
  box-shadow:
    0 4px 8px rgba(0, 0, 0, 0.1),
    0 12px 24px rgba(0, 0, 0, 0.12);
  z-index: 2;
  transform: translate(-15px, -30px);
  background-color: white;
  transition: 0.5s;
  display: flex;
  justify-content: center;
  align-items: center;
  box-sizing: border-box;
}

.prj-title {
  color: #3a3a3b;
  z-index: 10;
  font-size: clamp(1.5rem, calc(1rem + 1.8vw), 3rem);
  text-transform: uppercase;
  font-family: 'JetBrains Mono', serif;
  transform: scaleY(1.3);
  transform-origin: center;
  box-sizing: border-box;
  font-stretch: expanded;
}

.prj-content,
.prj-clone {
  width: 80%;
  max-width: 1400px;
  margin: 0 auto;
  border-radius: 15px;
  height: 75%;
  position: absolute;
  top: 12%;
  box-shadow:
    0 4px 8px rgba(0, 0, 0, 0.1),
    0 12px 24px rgba(0, 0, 0, 0.12);
  transition: 0.5s;
}

.prj-content {
  border: solid 2px var(--bg-0);
  background-color: white;
  z-index: 1;
}

.prj-clone {
  background-color: var(--bg-1);
  z-index: 0;
  transform: translate(15px, 15px);
}

.prj-info {
  display: block;
  padding: 2% 0 0 2%;
  float: left;
  width: 40%;
  height: 20%;
  margin-bottom: 2%;
  font-size: clamp(1rem, calc(1rem + 0.2vw), 2rem);
}

.prj-info > p {
  flex: 1 1 auto;
  margin: 0;
}

.prj-link {
  color: black;
  text-decoration: underline #9f1239;
}

.prj-description {
  width: 100%;
  height: 70%;
  padding: 2% 2%;
  display: inline-block;
}

.prj-description-inner {
  height: 100%;
  padding: 25px 15px 50px;
  overflow-y: scroll;
  scrollbar-color: color-mix(in srgb, var(--bg-0) 75%, black 25%) transparent;
  scrollbar-width: thin;
  scrollbar-gutter: unset;
  overscroll-behavior: contain;
  font-size: clamp(1rem, calc(1rem + 0.2vw), 2rem);
  border: 1px solid #3a3a3b;
  border-radius: 15px;
  word-break: break-word;
}

.prj-description-inner::-webkit-scrollbar-thumb {
  background: color-mix(in srgb, var(--bg-0) 75%, black 25%);
  border-radius: 8px;
  border: 2px solid color-mix(in srgb, var(--bg-0) 95%, white 5%);
  margin-right: 10px;
}

.prj-description-inner::-webkit-scrollbar-track {
  background: transparent;
}

.prj-description-inner div {
  padding: 0 2%;
  text-align: justify;
}

.prj-footer-section {
  height: 50px;
  position: absolute;
  bottom: 3%;
  display: flex;
  width: 100%;
  margin: 0;
  align-items: center;
}

.tech-contain {
  height: 45px;
  position: relative;
  transition: 0.3s;
}

.tech-tag,
.cover-tech {
  height: 100%;
}

.tech-tag {
  border-radius: 25px;
  border: #333333 solid 1px;
  padding: 4px 7px;
  box-sizing: border-box;
  height: 45px;
  display: flex;
  justify-content: center;
  align-items: center;
  transition: 0.3s;
  position: relative;
  z-index: 1;
  background-color: #FFFFFF;
}

.cover-tech {
  position: absolute;
  transform: translate(2px, -43px);
  width: 102%;
  height: 100%;
  border-radius: 25px;
  background-color: var(--bg-1);
  z-index: 0;
}

.tech-tag p {
  margin: 0;
}

.tech-tag img {
  margin-left: 5px;
}

.prj-techs {
  display: flex;
  justify-content: space-evenly;
  width: 80%;
  align-items: center;
  margin: 0 auto;
}

.prj-mini-tech {
  height: 30px;
  aspect-ratio: 1/1;
  transition: 0.6s;
}

.tech-contain:hover{
  transform: translate(-5px, -5px);
}

.link {
  display: flex;
  justify-content: center;
  background-color: var(--bg-1);
  width: 20%;
  border-radius: 30px;
  z-index: 1;
  position: relative;
  cursor: pointer;
}

.link a {
  font-weight: bolder;
  font-size: 2rem;
  font-family: var(--title-font), sans-serif;
  color: white;
  width: 100%;
  text-align: center;
  display: flex;
  align-items: center;
  justify-content: center;
}

.arrow-symbol {
  color: white;
  display: inline-block;
  font-size: clamp(1rem, calc(1rem + 0.8vw), 2rem);
  margin: 10px;
}

/*----------Section 2 -------------*/

.prj-section-2 {
  width: 100%;
  background-color: var(--bg-1);
  box-shadow:
    0 4px 8px rgba(0, 0, 0, 0.1),
    0 12px 24px rgba(0, 0, 0, 0.12);
}

.color {
  background-color: white;
  width: 100%;
  height: 100%;
  margin: 5%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  z-index: 2;
  box-shadow:
    0 6px 12px rgba(0, 0, 0, 0.15),
    0 18px 36px rgba(0, 0, 0, 0.2);
}

.prj-images {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 8px;
  width: 80%;
  margin: 2% auto;
  overflow: hidden;
}

.span-2 {
  grid-column: span 2;
}

.span-1 {
  grid-column: span 1;
}

.prj-images a {
  display: block;
  width: 100%;
  height: 100%;
  overflow: hidden;
  border-radius: 10px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

.prj-img {
  width: 100%;
  height: 100%;
  max-height: 300px;
  object-fit: cover;
  transition:
    transform 0.3s ease,
    filter 0.3s ease;
}

.prj-img:hover {
  transform: scale(1.05);
  filter: brightness(1.2);
}

@media screen and (max-width: 992px) {

  .prj-title-div {
    width: 40%;
  }

  .prj-clone,
  .prj-content {
    width: 95%;
  }

  .prj-description {
    padding: 5%;
  }

  .prj-info {
    padding: 5% 0 0 5%;
    height: 15%;
    width: 50%;
  }

  .prj-description-inner,
  .prj-info {
    font-size: clamp(14px, 1rem + 0.5vh, 1.6rem);
  }

  .prj-section-1,
  .prj-section-2 {
    height: calc(100vh - var(--navbar-height));
  }

  .prj-techs {
    bottom: 2%;
    display: flex;
    justify-content: space-evenly;
    width: 100%;
    align-items: center;
    margin: 0 auto;
  }

  .tech-tag p {
    display: none;
  }

  .prj-mini-tech {
    height: 40px;
  }

  .link {
    width: 25%;
    height: 100%;
  }

  .link a {
    font-size: 1.8rem;
  }
}

/*--------loader--------*/

#loader {
  position: fixed;
  inset: 0;
  background: white;
  opacity: 0.8;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 600;
  transition: opacity 0.4s ease;
  height: 100vh;
}

#loader img {
  height: 60px;
}

#loader.hidden {
  display: none;
  opacity: 0;
  pointer-events: none;
}

.error-page {
  height: 100vh;
  display: flex;
  width: 100%;
  justify-content: center;
  align-items: center;
}

.error-page h1 {
  font-size: 2.5rem;
}
