/* -- Style Global -- */
:root {
  --primary-color-hoverdark: #0f0f0f;
  --primary-color-dark: #202020;
  --primary-color-meddark: #212121;
  --primary-color-text: #2a2a2a;
  --primary-color-grey: #383838;
  --primary-color-subtitle: #424242;
  --primary-color-lightgrey: #818181;
  --primary-color-light: #FCF8F6;
  --primary-color-pink: #DAB3A2;
  --primary-color-pink-opacity: rgba(218, 179, 162, 0.3);
  --primary-color-purple-opacity: rgba(85, 74, 76, 0.3);
  --primary-color-hover: #54494B;
  --bs-body-font-family: 'Roboto Mono', monospace;
}

/* __Style Global__ */
html,
body {
  box-sizing: border-box;
  scroll-behavior: smooth;
  background: rgb(252, 248, 246);

  background: radial-gradient(circle, rgba(252, 248, 246, 1) 0%, rgba(255, 252, 242, 1) 50%, rgba(252, 248, 246, 1) 100%);
  /*background: var(--primary-color-light);*/
  font-family: 'Roboto Mono', monospace;
}

body#border {
  border: 20px solid var(--primary-color-grey);
}

.bg {
  background: var(--primary-color-lightgrey);
}

.bg-purple {
  background: var(--primary-color-purple-opacity);

}

/* __Typographie__ */
h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: 'Fregan Serif', sans-serif;
}

a {
  color: var(--primary-color-lightgrey);
  text-decoration: none;
}

a:hover {
  color: #202020;
}

/* __Style graisse__ */
.bold,
strong {
  font-size: 15px;
}

.bold {
  font-weight: 700;
  color: var(--primary-color-meddark);
}

.strong {
  font-weight: 400;
  color: var(--primary-color-dark);
}


/* __Section__ */
.section {
  padding: 4rem 0;
}

.section.accueil {
  padding: 0 0 4rem 0;
  margin: 0.75em 0.75em 0 0.75em;
}

.section .site-portfolio {
  padding: 0 !important;
}


/* __Style Section Projet__ */
.section .title__project {
  font-size: 70px;
  letter-spacing: 3px;
  color: var(--primary-color-grey);
}

.section .h3 {
  font-size: 22px;
  letter-spacing: 1.5px;
  color: var(--primary-color-meddark);
}

.section .subtitle__project,
.section .subtitle__about {
  font-size: 16px;
  line-height: 0.4rem;
  letter-spacing: 0.2px;
  color: var(--primary-color-dark);
}

.section .subtitle,
.fields,
.path,
.forms {
  font-family: 'Roboto Mono', sans-serif;
  font-weight: 300;
  font-size: 15px;
  letter-spacing: 0.2px;
  color: var(--primary-color-text);
}

.section .current {
  text-align: justify;
}


/* Descriptions Projets */
.section .a-propos .fields {
  color: var(--primary-color-text);
  line-height: 1.6rem;
}


/* __Section À Propos__ */
.section .title__about,
.section .title__skills {
  font-size: 60px;
  letter-spacing: 1px;
  color: var(--primary-color-grey);
}

.section h4.skills {
  font-size: 20px;
  letter-spacing: 1px;
  color: var(--primary-color-meddark);
}

.section .a-propos .path {
  line-height: 1.8rem;
}

.section p.about__img {
  margin: 0 !important;
}


/* __Section Portfolio__ */
.site-portfolio h2.tiny__blockquote {
  font-size: 50px;
  color: var(--primary-color-text);
  letter-spacing: 1px;
  padding: 0 0 20px 0;
}

#portfolio-grid h3 {
  font-size: 28px;
  color: var(--primary-color-pink);
  letter-spacing: 2px;
}

#portfolio-grid .domain__project {
  font-size: 15px;
  color: var(--primary-color-lightgrey);
  letter-spacing: 0.2px;
}

#portfolio-grid span.number__projet {
  font-size: 8rem;
  color: var(--primary-color-light);
  opacity: 0.7;
  letter-spacing: 0.2px;
  z-index: 2;
  position: absolute;
  top: 1rem;
  left: 1rem;
}

.sticky-content {
  position: sticky;
  position: -webkit-sticky;
  top: 0;
  /* required */
}

.list-line li {
  margin-bottom: 10px;
  position: relative;
  padding-left: 30px;
}

.list-line li:before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.7rem;
  width: 10px;
  height: 2px;
  background: var(--primary-color-dark);
}


/* __Projets Slider__ */
.projects-slider .swiper-pagination {
  margin-top: -60px;
  position: relative;
}

.projects-slider .swiper-pagination .swiper-pagination-bullet {
  width: 12px;
  height: 12px;
  background-color: rgb(218, 179, 162);
  opacity: 0.25;
}

.projects-slider .swiper-pagination .swiper-pagination-bullet-active {
  background-color: rgb(218, 179, 162);
  opacity: 1;
}


/* __Button__ */
.readmore {
  display: inline-block;
  border: 1px solid var(--primary-color-dark);
  padding: 10px 15px;
  font-size: 13px;
  margin: 20px 0 0 0;
  color: var(--primary-color-grey);
  transition: 0.2s all ease;
  font-weight: 300;
}

.readmore:active,
.readmore:focus,
.readmore:hover {
  outline: none;
}

.readmore:hover {
  color: var(--primary-color-pink);
  text-decoration: none;
  background: var(--primary-color-dark);
}


/* __Section Filters__ */
.filters a {
  text-decoration: none;
  color: var(--primary-color-hover);
  display: inline-block;
  padding-left: 6px;
  padding-right: 6px;
  position: relative;
  font-size: 14px;
}

.filters a:hover,
.filters a:focus,
.filters a:active {
  text-decoration: none;

}

.filters a:hover:before {
  content: "";
  position: absolute;
  left: 4px;
  right: 4px;
  bottom: 0;
  height: 2px;
  background-color: var(--primary-color-pink);
  opacity: 1;
}

/*
.filters a.active {
  color: var(--primary-color-hover);
}

.filters a.active:before {
  content: "";
  position: absolute;
  left: 4px;
  right: 4px;
  bottom: 0;
  height: 2px;
  background-color: var(--primary-color-pink);
}
*/
.item {
  border: none;
  margin-bottom: 30px;
}

.item .item-wrap {
  display: block;
  position: relative;
  overflow: hidden;
  /* overflow-y: visible;*/
}

.item .item-wrap:after {
  z-index: 2;
  position: absolute;
  content: "";
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: var(--primary-color-dark);
  visibility: hidden;
  /* overflow-y: visible;*/
  opacity: 0;
  transition: 0.3s all ease-in-out;
}

.item .item-wrap img {
  transition: 0.3s transform ease;
  transform: scale(1);
}

.item .item-wrap>.work-info {
  position: absolute;
  top: 50%;
  width: 100%;
  text-align: center;
  z-index: 3;
  transform: translateY(-50%);
  color: var(--primary-color-pink);
  opacity: 0;
  visibility: hidden;
  margin-top: 20px;
  transition: 0.3s all ease;
}

.item .item-wrap>.work-info h3 {
  font-size: 20px;
  margin-bottom: 0;
}

.item .item-wrap>.work-info span {
  font-size: 14px;
  text-transform: uppercase;
  letter-spacing: 0.2rem;
}

.item .item-wrap:hover {
  text-decoration: none;
}

.item .item-wrap:hover img {
  transform: scale(1.05);
}

.item .item-wrap:hover:after {
  opacity: 1;
  visibility: visible;
}

.item .item-wrap:hover .work-info {
  margin-top: 0px;
  opacity: 1;
  visibility: visible;
}

.projects-wrap {
  padding: 50px 50px 80px 50px;
  background: transparent;
}

.projects-wrap .projects {
  text-align: center;
  max-width: 700px;
  margin: 0 auto;
}

.projects-wrap .projects img {
  width: 100%;
  margin: 0 auto 30px auto;
}

.projects-wrap .projects blockquote p {
  font-size: 18px;
}


/* __Footer__ */
.footer {
  padding: 0 0 2rem 0;
  border-top: 1px solid hsla(0, 11%, 85%, 0.3);
}

.footer .small {
  font-size: 14px;
  color: var(--primary-color-text);
  letter-spacing: 0.5px;
}

.footer a {
  color: #202020;
}

.footer .color__name {
  color: var(--primary-color-pink);
}

.social a {
  display: inline-block;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  position: relative;
  text-align: center;
  color: var(--primary-color-pink);
}

.social a span {
  display: inline-block;
  left: 50%;
  position: absolute;
  top: 50%;
  transform: translate(-50%, -50%);
}

.social a:hover {
  color: var(--primary-color-hover);
}

.back-to-top i {
  color: var(--primary-color-hover);
  font-size: 28px;
}


/* __Keyframes__ */
@keyframes animate-loading {
  0% {
    transform: rotate(0deg);
  }

  100% {
    transform: rotate(360deg);
  }
}


/* __Media Queries__ */
@media (max-width: 991px) {
  .footer .social {
    align-items: center;
  }

}


/* Media Queries */
@media (max-width: 991px) {
  .section.header-custom #master-title {
    font-size: 30px;
  }

  .section .bottom__img {
    padding-bottom: 15px;
  }

}

@media (max-width: 600px) {
  .custom-navbar>.container {
    padding-right: 40px;
    padding-left: 40px;
  }

  .block-inner .mega-title {
    width: 90%;
    text-align: left;
    margin: auto;
  }
}