@import url("https://fonts.googleapis.com/css2?family=Montserrat:ital,wght@0,100..900;1,100..900&display=swap");
@import url("https://fonts.googleapis.com/css2?family=Barlow:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&display=swap");

:root {
  --gray-color: #f2f2f2;
  --primary-color: #ff0062;
  --description-color: #ffffff;
}

body {
  background-color: black;
  font-family: "Montserrat", sans-serif;
}

b {
  font-weight: 800;
}

a {
  color: white;
  font-weight: 600;
}
a:hover {
  color: var(--primary-color);
}

.form-glass {
  gap: 5px;
  padding: 13px 15px;
  background: rgba(33, 32, 38, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.11);
  backdrop-filter: blur(19.8px);
  border-radius: 15px;
  color: white;
  width: 100%;
  resize: none;
  outline:none!important;
}

.btn-primary {
  padding: 13px 32px;
  background: var(--primary-color) !important;
  border-radius: 30px;
  font-weight: 700;
  font-size: 12px;
  color: white;
  border: none;
  text-transform: uppercase;
  outline: none;
}

.section-content {
  min-height: 100vh;
  padding: 10rem 0;
}

.title-theme {
  font-weight: 700;
  font-size: 50px;
  color: var(--primary-color);
}

.description-theme {
  font-style: normal;
  font-weight: 300;
  font-size: 17px;

  color: var(--description-color);
  margin: auto;
  width: 45rem;
}

.description-theme.spacing {
  margin: auto;
  margin-bottom: 5rem;
}

.loader-container {
  position: fixed;
  left: 0;
  top: 0;
  bottom: 0;
  right: 0;
  background-color: black;
  z-index: 999;
}

.card {
  padding: 20px;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(14.1px);
  color: white;
  border-radius: 40px;
}

.card .card-image {
  border-radius: 20px;
  width: 100%;
  cursor: pointer;
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
}

.card.mep .card-image {
  aspect-ratio: 5 / 7;
}

.card.web .card-image {
  aspect-ratio: 16 / 9;
}

.card.logo .card-image {
  aspect-ratio: 4/3;
  object-fit: contain;
}

.card video {
  cursor: pointer;
  border-radius: 20px;
}

.card.logo .card-image {
  height: 200px;
}

.card .card-details {
  margin-top: 20px;
  text-align: center;
}

.card .card-details .title {
  font-weight: 700;
  font-size: 30px;
  line-height: 37px;
}

.card .card-details p {
  font-weight: 300;
  font-size: 13px;
  margin: 0;
}

.card .card-details .tags {
  margin-top: 20px;
  display: flex;
  flex-direction: row;
  gap: 10px;
  justify-content: center;
}

.card .card-details .tags span {
  font-weight: 500;
  font-size: 11px;
  position: relative;
  background: var(--primary-color);
  border-radius: 5px;
  padding: 2px 15px;
  display: inline-block;
  text-transform: uppercase;
}

.navbar-button {
  position: absolute;
  left: -10%;
  top: 0;
  background: transparent;
  border: none;
  display: none;
  z-index: 600;
  padding: 10px 0;
}

/* Iphone Frame */

.iphone-presentation {
  position: relative;
}

.animation-iphone:first-child(1) {
  transform: translateX(-200%);
}

.iphone-presentation:hover .info-container {
  bottom: 0%;
}

.iphone-presentation img {
  border-radius: 30px;
}

.iphone-presentation .frame {
  width: 100%;
  transform: scale(1.1);
  pointer-events: none;
  z-index: 10;
  position: relative;
}

.iphone-presentation .app-image {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  z-index: -1;
  width: 90%;
  height: 100%;
  pointer-events: none;
}

.iphone-presentation .info-box {
  z-index: 5;
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  color: white;
  overflow: hidden;
}

.iphone-presentation .info-container {
  padding-block: 20px;
  padding-inline: 30px;
  background: rgba(0, 0, 0, 0.85);
  border-radius: 50px 50px 0px 0;
  width: 100%;
  position: absolute;
  left: 0;
  bottom: -100%;
  transition: 0.5s ease-in-out;
}

.iphone-presentation .info-container h4,
.iphone-presentation .info-container p {
  margin: 0;
}

.iphone-presentation .info-container h4 {
  font-weight: 600;
  margin-bottom: 10px;
  font-size: 20px;
}

.iphone-presentation .info-container p {
  margin-bottom: 10px;
  font-weight: 200;
  font-size: 15px;
}

/* Modal Design */

.modal-design-container {
  position: fixed;
  left: 0;
  top: 0;
  bottom: 0;
  right: 0;
  z-index: 500;
  padding: 30px;

  background-color: black;
  overflow-y: auto;
}

.modal-design-container #contents {
  width: 100%;
}

.modal-design-container .design-image-box {
  width: 500px;
  height: 500px;
  background-repeat: no-repeat;
  background-size: 100%;
  background-position: center;
}

.modal-design-container .image-preview {
  /*box-shadow: 0px 0px 6px white;*/
  border-radius: 20px;
}

.modal-design-container .image-preview.logo {
  transform: scale(1.4);
}

.modal-design-container .navigation {
  background-color: transparent;
  border: none;
  outline: none;
  display: flex;
  align-items: center;
}

.modal-design-container .navigation svg {
  width: 80px;
  height: 80px;
}

.modal-design-container .navigation .text {
  padding: 10px 20px;
  background: #ffffff;
  border-radius: 40px;
  border: none;

  font-weight: 500;
  font-size: 20px;
  line-height: 24px;
}

.modal-design-container .design-details {
  margin-block: 6rem;
}

.modal-design-container .software {
  justify-content: center;
  gap: 20px;
  margin-top: 4rem;
}

.modal-design-container .software img {
  width: 80px;
}

.modal-design-container .design-details h2 {
  color: #ff007d;
  font-weight: 700;
  font-size: 53px;
  line-height: 65px;
}

.modal-design-container .design-details p {
  margin: auto;
  font-weight: 300;
  font-size: 21px;
  width: 55rem;
  color: white;
}

.modal-btn-close {
  position: fixed;
  left: 0;
  top: 0;
  margin: 20px;
  z-index: 501;
}

.modal-design-container .mockups {
  padding: 3rem;
}

.modal-design-container .mockups .slick-slide {
  width: 40rem !important;
}

.modal-design-container .mockups img {
  width: 100%;
}

.modal-design-container .mockups .mockup-title {
  display: block;
  width: 100%;
  margin-bottom: 10px;
  color: #ffffff;
  font-weight: 600;
  font-size: 30px;
}

.modal-design-container .reader-pdf {
  width: 40rem;
  height: 47rem;
}

.modal-design-container .slick-track {
  display: flex;
  align-items: center;
}

.modal-design-container .slick-dots {
  position: initial;
  margin-top: 40px;
}

.modal-design-container .slick-dots li button::before {
  color: white;
  font-size: 5rem;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

#skills {
  z-index: 2;
  position: relative;
  padding-top: 1rem;
  padding-bottom: 0;
  min-height: 70vh;
}

/* Modal Website */

.modal-website-container {
  position: fixed;
  left: 0;
  top: 0;
  bottom: 0;
  right: 0;
  z-index: 500;
  padding: 30px;

  background-color: black;
  overflow-y: auto;
}

.modal-website-container .carousel img {
  border-radius: 30px;
  height: 23rem;
}

.modal-website-container .carousel .carousel-indicators {
  position: initial;
  margin-top: 21px;
  gap: 10px;
}

.modal-website-container .carousel .carousel-indicators button.active {
  background-color: white;
}

.modal-website-container .carousel .carousel-indicators button {
  box-sizing: border-box;
  width: 18px;
  height: 18px;
  background: rgba(255, 255, 255, 0.1);
  border: 2px solid rgba(255, 255, 255, 0.25);
  backdrop-filter: blur(12.6px);
  border-radius: 50%;
}

.modal-website-container h2 {
  color: #ff007d;
  font-weight: 700;
  font-size: 51px;
}

.modal-website-container p {
  margin: auto;
  font-weight: 300;
  font-size: 20px;
  width: 100%;
  color: white;
  margin-top: 4rem;
}

.modal-website-container .tags {
  margin-top: 2rem;
  display: flex;
  flex-direction: row;
  gap: 10px;
}

.modal-website-container .tags span {
  font-weight: 500;
  font-size: 13px;
  position: relative;
  background: var(--primary-color);
  border-radius: 5px;
  padding: 4px 16px;
  display: inline-block;
  text-transform: uppercase;
  color: white;
}

.modal-website-container .buttons {
  margin-block: 6rem;
}

.modal-website-container .integration-website {
  height: 90vh;
  width: 100%;
  border-radius: 20px;
  overflow: hidden;
}

.modal-website-container .integration-website iframe {
  width: 100%;
  height: 100%;
  background-color: white;
}

/* Social Container */

.social-container {
  --svg-size-icon: 37px;

  position: fixed;
  left: -100%;
  bottom: 0;
  padding: 30px 20px;
  z-index: 100;
  height: 100%;

  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.social-container .social-name {
  text-orientation: upright;
  display: inline-block;
  writing-mode: vertical-lr;

  font-weight: 900;
  font-size: 13px;
  text-align: center;
  text-transform: uppercase;

  color: #8a8a8a;
}

.social-container .social-lists {
  gap: 30px;
}

.social-container svg {
  width: var(--svg-size-icon);
  height: var(--svg-size-icon);
  fill: var(--gray-color);
}

/* Scroll Style */

::-webkit-scrollbar {
  width: 7px;
}

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

::-webkit-scrollbar-thumb {
  background: var(--primary-color);
}

/* Navbar Right */

.navbar-right-container {
  position: absolute;
  right: 0;
  top: 0;
  bottom: 0;
  padding: 0px 54px;
  z-index: 500;
}

.navbar-right-container .navbar-right-lists {
  overflow: hidden;
}

.navbar-right-container a {
  transform: translateX(100vh);
  color: white;
  font-weight: 500;
  font-size: 22px;
  display: flex;
  align-items: center;
  gap: 20px;
  text-decoration: none;
}

.navbar-right-container a:hover {
  color: var(--primary-color);
  transition: 0.3s ease-in-out;
}

.navbar-right-container a.active {
  color: var(--primary-color);
}

.navbar-right-container a:not(:last-child) {
  margin-bottom: 10px;
}

.navbar-right-container a .circle-blur {
  width: 16px;
  height: 16px;
  background: var(--primary-color);
  filter: blur(2px);
  display: block;
  border-radius: 50%;
}

/* Header */

header {
  height: 100vh;
  color: white;
  background-color: black;
  position: relative;
  overflow: hidden;
  z-index: -1;
}

header .header-title {
  margin: 0;
  font-size: 68px;
  line-height: 83px;
  font-weight: 700;
  display: flex;
}

header .header-logo {
  width: 100px;
  filter: invert(1);
  display: block;
  margin-bottom: 50px;
  display: none;
}

header .header-title .h-title-3 {
  color: var(--primary-color);
}

header .header-title span {
  overflow: hidden;
}

header p {
  font-size: 22px;
  margin-top: 10px;
  margin-bottom: 0;
  width: 34rem;
  color: #ffffffb8;

  font-weight: 300;
  font-size: 28px;
  line-height: 34px;

  color: #ffffff;
}

header .tracking-rounded {
  width: 50px;
  height: 50px;
  display: block;
  background: var(--primary-color);
  border-radius: 50%;
  box-shadow: -15px 0px 0px -5px var(--primary-color);
  filter: blur(3px);
  position: relative;
}

header .light-blur-lists {
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  right: 0;
  overflow: hidden;
}

header .light-blur-lists .light {
  position: absolute;
  border-radius: 50%;
  background: var(--primary-color);
  opacity: 0;
}

header .light-blur-lists .light.l1 {
  width: 20rem;
  height: 20rem;
  left: 86%;
  top: -70px;
  background: var(--primary-color);
  filter: blur(140px);
}

/* Skills */

.skills-container {
  position: relative;
  width: 100%;
  min-height: 25rem;
}

.skills-container .skills-background {
  position: absolute;
  width: 10rem;
  height: 10rem;
  background: #ffffff;
  filter: blur(120px);
  border-radius: 100rem;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
}

.skills-container .skills-item {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);

  font-size: 23px;
  color: white;
  font-weight: 500;
}

.skills-container .skills-item.s-infographie {
  color: var(--primary-color);
    font-size: 34px;
    font-weight: 800;
}

.skills-container .skills-item.important {
  font-size: 25px;
  font-weight: 700;
}

/* Infographie Projects */

#infographie .tab-lists {
  display: flex;
  flex-direction: row;
  justify-content: center;
  gap: 20px;
  margin-bottom: 20px;
}

#infographie .tab-lists a {
  font-weight: 700;
  font-size: 20px;
  text-decoration: none;
  text-transform: uppercase;
  transition: 0.3s ease-in-out;

  font-size: 13px;
  border: 2px solid var(--primary-color);
  border-radius: 20px;
  padding: 10px 20px;
  color: white !important;
}

#infographie .tab-lists a.active {
  background: var(--primary-color);
}

#infographie .tab-lists a:hover {
  color: white !important;
  opacity: 1;
}

/* Born Projects */

.section-borne {
  background: url(../public/born.jpg) no-repeat;
  height: 70vh;
  background-position: center;
  background-size: cover;
  position: relative;
}

.section-borne::after {
  position: absolute;
  content: "";
  left: 0;
  top: 0;
  bottom: 0;
  right: 0;
  pointer-events: none;
  background-color: #0000009c;
}

.section-borne p {
  width: 100%;
}

/* About */

#about .personals {
  margin-bottom: 20px;
}

#about .abouts-container {
  margin-top: 70px;
}

#about .personals,
#about .socials {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  align-items: center;
  align-content: flex-start;
  gap: 20px;
}

#about .card-socials {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 5px;
  padding: 13px 15px;
  background: rgba(33, 32, 38, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.11);
  backdrop-filter: blur(19.8px);
  border-radius: 15px;
  color: white;
  flex: auto;
}

#about .card-socials.spcl {
  flex-direction: row;
  gap: 15px;
  align-items: center;
  text-decoration: none;

  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.11);
  backdrop-filter: blur(19.8px);
  border-radius: 15px;
}

#about .card-socials .title {
  font-weight: 700;
  font-size: 10px;
  text-transform: uppercase;
  color: var(--primary-color);
}

#about .card-socials .value {
  font-weight: 600;
  font-size: 18px;
}

#about .avatar-about,
#whoiam .avatar-about {
  box-shadow: 0px 0px 173.5px -55px #ff007d;
}

/* Qui suis je */

#whoiam {
  padding: 0rem 0;
  min-height: initial;
  transform: translateY(-5rem);
}

/* Footer */
footer {
  font-weight: 500;
  font-size: 13px;
  text-transform: uppercase;
  color: #8a8a8a;
  padding: 30px;
}

/* MODAL Borne */

.modal-borne {
  position: fixed;
  z-index: 999;
  left: 0;
  top: 0;
  bottom: 0;
  right: 0;
  background-color: black;
  padding: 2rem;
}

.modal-borne .bcontainer {
  background: url(/public/borne-mockup.png);
  width: 30rem;
  aspect-ratio: 9 / 16;
  background-size: 100%;
  background-repeat: no-repeat;
  padding: 5vh 7vh 23vh;
}

.modal-borne .bcontainer iframe {
  width: 100%;
  height: 100%;
}

/* Responsive */

@media screen and (max-width: 768px) {
  .modal-design-container #contents {
    width: initial;
  }

  .title-theme {
    text-align: left;
    font-size: 45px;
  }
  .description-theme {
    width: 100%;
    text-align: left;
    font-size: 15px;
  }

  header .header-title {
    display: initial;
    font-size: 65px;
  }

  header .header-title .h-title-2 {
    display: none;
  }

  .social-container {
    display: none;
  }

  .modal-design-container.pdf-container {
    padding: 0;
  }

  .modal-design-container .image-preview {
    width: 100% !important;
    object-fit: unset !important;
    margin-top: 1rem;
    height: inherit !important;
  }

  .modal-design-container .image-preview.logo {
    margin-bottom: 2rem;
  }

  .modal-design-container .reader-pdf {
    width: 100%;
    margin-top: 50px;
    color: white;
  }

  .modal-design-container .design-details h2 {
    text-align: left;
  }

  .modal-design-container .design-details p {
    text-align: left;
    width: 100%;
  }

  .modal-design-container .mockups {
    padding: 0;
    padding-bottom: 30px;
  }

  .modal-design-container .mockups img {
    width: 100%;
  }

  .modal-design-container .navigation {
    display: none;
  }

  .navbar-button {
    display: block;
  }

  .navbar-right-container {
    background: rgba(0, 0, 0, 0.7);
    border: 1px solid rgba(0, 0, 0, 0.01);
    backdrop-filter: blur(9.6px);

    width: 100%;
    padding: 0;
    position: fixed;
    left: 100%;
    transition: 0.5s ease-in-out;
  }

  .navbar-right-container.active {
    left: 0%;
  }

  .navbar-right-container .navbar-right-lists {
    align-items: end !important;
    padding: 40px;
  }

  .navbar-right-container a {
    font-size: 26px;
  }

  .iphone-presentation .frame {
    transform: scale(1);
  }

  .iphone-presentation .app-image {
    width: 83%;
    height: 92%;
  }

  .btn-responsive {
    padding: 20px;
  }

  .modal-website-container .modal-btn-close {
    margin-bottom: 50px;
  }

  .modal-btn-close {
    position: initial;
    margin: auto;
    width: 100%;
  }

  .modal-website-container {
    padding: 0;
    padding-bottom: 30px;
    text-align: left;
  }

  .modal-website-container h2 {
    margin-top: 40px;
    font-size: 40px;
    text-align: center;
  }

  .modal-website-container p {
    width: 100%;
    text-align: left;
  }

  .modal-website-container .buttons {
    text-align: left !important;
    margin-top: 2rem;
    margin-bottom: 0;
  }

  .modal-website-container .contents {
    padding-inline: 30px;
  }

  .modal-website-container .tags {
    justify-content: start !important;
  }

  .modal-website-container .buttons a {
    width: 100%;
  }

  .section-content {
    padding: 5rem 1rem !important;
  }

  .section-borne {
    padding: 0 1rem;
  }

  header {
    padding: 0 1rem;
  }

  header .header-logo {
    display: block;
  }

  .portfolio-title {
    font-size: 45px !important;
  }

  .modal-design-container .mockups .slick-slide {
    width: 30rem !important;
  }

  #infographie .tab-lists {
    gap: 10px;
    flex-direction: row;
    justify-content: center;
    flex-wrap: wrap;
  }

  #infographie .tab-lists a.active {
    background: var(--primary-color);
  }

  .modal-design-container .design-details {
    margin-top: 2rem;
    margin-bottom: 6rem;
  }

  /* EPUB JS RESPONSIVE */

  .epub-container {
    width: 100% !important;
  }

  .epub-container::after {
    display: none;
  }
}

.observer-hidden-text {
  opacity: 0;
  transition: ease-in-out 0.5s;
  filter: blur(5px);
}

.observer-show-text {
  opacity: 1;
  filter: blur(0);
}

.portfolio-title {
  text-align: center;
  font-weight: 700;
  font-size: 5rem;
  color: var(--primary-color);
  text-transform: uppercase;
  padding: 4rem;
}

/* EPUB JS */

.epub-container {
  width: 850px;
  margin: auto;
  position: relative;
  overflow: hidden;
  background: rgba(255, 255, 255, 1);
  box-shadow: 0 8px 32px 0 rgba(31, 38, 135, 0.37);
  backdrop-filter: blur(0px);
  border-radius: 10px;
}

.epub-container::after {
  position: absolute;
  width: 1px;
  border-right: 1px #000 solid;
  height: 90%;
  z-index: 1;
  left: 50%;
  margin-left: -1px;
  top: 5%;
  opacity: 0.15;
  box-shadow: -2px 0 15px rgba(0, 0, 0, 1);
  content: "";
}

.epub-container #viewer {
  position: relative;
  width: 100%;
  min-height: 5rem;
}

.epub-container #prev,
.epub-container #next {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  font-size: 4em;
  color: #000;
  text-decoration: none;
  z-index: 100;
  padding: 20px;

  font-family: arial, sans-serif;
  font-weight: bold;
  cursor: pointer;
  -webkit-user-select: none;
  -moz-user-select: none;
  user-select: none;
  text-decoration: none;
}

.epub-container #prev {
  left: 0;
}

.epub-container #next {
  right: 0;
}

.epub-controller {
  margin-top: 10px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
  padding: 15px 35px;
  background: rgba(33, 32, 38, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.11);
  backdrop-filter: blur(19.8px);
  border-radius: 15px;
  color: white;
}

.epub-controller svg {
  width: 50px;
  height: 50px;
  cursor: pointer;
}

.epub-controller span#next {
  text-align: right;
}

.epub-controller input {
  text-align: center;
  outline: none;
  appearance: none;
  --webkit-appearance: none;
  font-size: 20px;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(14.1px);
  border-radius: 20px;
  color: white;
  width: 60px;
}

.epub-controller input::-webkit-outer-spin-button,
.epub-controller input::-webkit-inner-spin-button {
  -webkit-appearance: none;
  margin: 0;
}

.epub-controller input[type="number"] {
  -moz-appearance: textfield;
}
