/* -------------------------------------------

Name: 		Boros - Creative Portfolio HTML Template
Version:  1.0
Author:		Achraf LAFKIRI

------------------------------------------- */
/*--------------------------------------------

01. Fonts
02. Global styles
      - mycontainer
      - Custom button
04. Start components
      - Navbar
      - Hero section
      - About us
      - Portfolio
      - Banner
      - Services
      - Experience
      - Blog
      - Footer
      - Contact
      - Single Post
          - post
          - comments
      - preloader
      
--------------------------------------------*/

/***************************

font

***************************/
@import url('../fonts/Poppins.css');

/***************************

Global styles

***************************/

:root {
  --main-color: #7963e0;
  --secondary-color: #f6f8ff;
  --padding-section: 1.4rem 0;
  --margin-section-bottom: 2rem;
}

.section {
  padding: var(--padding-section);
  margin-bottom: var(--margin-section-bottom);
}


* {
  font-family: 'Poppins', sans-serif;
  border: none;
  outline: none;
}

html,
body {
  scroll-behavior: smooth;
}

.section-title {
  font-size: 2.8rem;
  font-weight: 800;
  color: var(--main-color);
  margin: 20px 0;
}

.is-violet {
  background-color: #7963e0 !important;
  color: #ffff !important;
}

.has-text-violet {
  color: var(--main-color);
}

@media screen and (max-width: 768px) {
  .column.is-6-touch {
    width: 100%;
  }
}

/* Shine Effect for images */

figure.image {
  overflow: hidden;
  position: relative;
}

figure.image::before {
  position: absolute;
  top: 0;
  left: -75%;
  z-index: 2;
  display: block;
  content: '';
  width: 50%;
  height: 100%;
  background: -webkit-linear-gradient(left, rgba(255, 255, 255, 0) 0%, rgba(255, 255, 255, .3) 100%);
  background: linear-gradient(to right, rgba(255, 255, 255, 0) 0%, rgba(255, 255, 255, .3) 100%);
  -webkit-transform: skewX(-25deg);
  transform: skewX(-25deg);
}

figure.image::before {
  -webkit-animation: shine 4s ease infinite;
  animation: shine 4s ease infinite;
}

figure.image:hover::before {
  -webkit-animation: shine .75s;
  animation: shine .75s;
}

@-webkit-keyframes shine {
  100% {
    left: 125%;
  }
}

@keyframes shine {
  100% {
    left: 125%;
  }
}



/* .mycontainer */
.mycontainer {
  max-width: 1200px;
  margin: 0 auto;
  padding: 20px;
  /* box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1); */
  border-radius: 10px;
  /* border: 3px solid #000000; */
  clear: both;
  position: relative;
}

/* Media query for smaller screens */
@media (max-width: 768px) {
  .mycontainer {
    max-width: 100%;
    padding: 10px;
  }
}

@media screen and (max-width: 700px) {
  .column.is-6-touch {
    width: 100% !important;
  }
}

/* Custom button */
.custom-btn {
  width: 185px;
  height: 46px;
  color: #fff;
  padding: 10px 15px;
  font-family: "Lato", sans-serif;
  font-weight: 500;
  background: transparent;
  cursor: pointer;
  transition: all 0.3s ease;
  position: relative;
  outline: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.bx-btn,
.bx-btn-1 {
  border: none;
  background: #7963e0;
  color: #fff;
  overflow: hidden;
  text-align: center;
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
  border-radius: 30px;
}

.bx-btn:before {
  position: absolute;
  content: "";
  display: inline-block;
  top: -180px;
  left: 0;
  width: 30px;
  height: 100%;
  background-color: #fff;
  animation: shiny-btn1 3s ease-in-out infinite;
}

.bx-btn:hover,
.bx-btn-1:hover {
  opacity: 0.7;
  text-decoration: none;
  color: #fff;
}

.bx-contact-section .custom-btn {
  margin-top: 30px;
}

.bx-btn:active {
  box-shadow: 4px 4px 6px 0 rgba(255, 255, 255, 0.3),
    -4px -4px 6px 0 rgba(116, 125, 136, 0.2),
    inset -4px -4px 6px 0 rgba(255, 255, 255, 0.2),
    inset 4px 4px 6px 0 rgba(0, 0, 0, 0.2);
}


@keyframes shiny-btn1 {
  0% {
    -webkit-transform: scale(0) rotate(45deg);
    opacity: 0;
  }

  80% {
    -webkit-transform: scale(0) rotate(45deg);
    opacity: 0.5;
  }

  81% {
    -webkit-transform: scale(4) rotate(45deg);
    opacity: 1;
  }

  100% {
    -webkit-transform: scale(50) rotate(45deg);
    opacity: 0;
  }
}


/* START SCROLL TOP BUTTON */

#scrollUp {
  position: fixed;
  top: -100%;
  right: 30px;
  cursor: pointer;
  transition: all 1.3s ease-out;
  border-radius: 100%;
  z-index: 200;
  opacity: 0;
  animation: btnTop 3s infinite;
}

/* @media screen and (max-width: 880px) {
  #scrollUp {
    display: none;
  }
} */

@keyframes btnTop {
  0% {
    box-shadow: 0 0 0 1rem #7963e0;
  }

  50% {
    box-shadow: 0 0 0 0 #7963e0, 0 0 0 1rem #9b86f7;
  }

  100% {
    box-shadow: 0 0 0 1rem #7963e0;
  }
}

#scrollUp.active {
  opacity: 1;
  top: 85%;
}

#scrollUp img {
  border-radius: 100%;
}


/* END SCROLL TOP BUTTON */


/***************************  Start Components ***************************/




/***************************

Navbar

***************************/

nav.navbar {
  z-index: 999999;
}

nav.navbar.active {
  position: fixed;
  top: 20px;
  left: 50%;
  width: 100%;
  background: #fff;
  transform: translate(-50%, -10px);
}

.navbar .custom-btn {
  border-radius: 4px !important;
  width: 140px !important;
  height: 40px !important;
}

@media screen and (max-width: 600px) {
  nav.navbar.active {
    top: 0;
    transform: translate(-50%, 0);
  }
}

.navbar .navbar-start a {
  font-size: 18px;
  transition: all .3s ease;
}


.navbar .navbar-start a.active,
.navbar .navbar-start a:hover {
  background-color: transparent !important;
  letter-spacing: 1px;
  font-weight: 800;
}

.navbar .select:not(.is-multiple):not(.is-loading)::after {
  border-color: var(--main-color) !important;
}

/***************************

Hero section

***************************/

.hero-section {
  padding-bottom: 3.8rem;
}

.bg-shape-hero {
  position: relative;
  background-color: #f6f8ff;
}

.info {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.hero-section .hero-section-title {
  font-size: 3rem;
  font-weight: 800;
  color: var(--main-color);
  line-height: 80px;
  margin-top: 10px;
  position: relative;
}

.hero-section .hero-section-p {
  font-size: 20px;
  color: #000;
  margin: 11px 0;
}

.hero-section-me {
  font-size: 25px;
  font-weight: 500;
  position: relative;
}

.hero-section-me #shape3 {
  width: 40px;
  position: absolute;
  top: -50%;
  right: 50%;
  transform: translate(-50%, -50%);
}

.hero-section .buttons {
  margin-top: 10px;
  position: relative;
}

.hero-section .buttons #shape1 {
  width: 120px;
  position: absolute;
  top: 100%;
  left: 63%;
  transform: translate(-50%, -50%);
  animation: shape21Animation 2s ease-in-out infinite;
}

.hero-section .buttons .custom-btn {
  width: 210px;
  font-size: 20px;
  font-weight: 600;
  height: 50px;
}

.profile-img {
  width: 500px;
}

.profile-img>figure.image {
  position: relative;
}

.profile-img .image #shape2 {
  width: 100px;
  position: absolute;
  top: 28%;
  left: 15%;
  transform: translate(-50%, -50%);
  animation: shape21Animation 2.5s ease-in-out infinite;
}


/* Medium laptops */
@media screen and (max-width: 1280px) {
  .profile-img {
    width: 400px;
  }
}

/* Tablets */
@media screen and (max-width: 900px) {
  .hero-section .buttons #shape1 {
    display: none;
  }

  .hero-section .columns {
    display: flex;
    flex-direction: column-reverse;
  }

  .hero-section .columns .info {
    text-align: center;
  }

  .hero-section .columns .info .buttons {
    margin: 15px auto;
  }

  .profile-img {
    width: 300px;
  }

  .hero-section .hero-section-title {
    font-size: 3rem;
  }

  .hero-section .hero-section-p {
    margin: 14px 0;
  }
}

/* Phones */
@media screen and (max-width: 500px) {
  .hero-section .hero-section-title {
    font-size: 34px;
    line-height: 44px;
  }
}


/* shapes */
#shape1,
#shape2,
#shape3 {
  max-width: 90px;
}


/* Shape animations */
@keyframes shape21Animation {
  0% {
    transform: translate(-50%, -50%) scale(1);
  }

  50% {
    transform: translate(-50%, -50%) scale(1.3);
  }

  100% {
    transform: translate(-50%, -50%) scale(1);
  }
}

@keyframes shape3Animation {
  0% {
    transform: translate(-50%, -50%) translateY(-20px);
  }

  50% {
    transform: translate(-50%, -50%) translateY(20px);
  }

  100% {
    transform: translate(-50%, -50%) translateY(-20px);
  }
}


/* Hero Section */


.hero-section.active img.hero-shape\.png {
  position: absolute;
  top: 91%;
  left: 0;
  background: #f6f8ff;
}


/***************************

About us

***************************/


.about {
  position: relative;
}

.about #about-shape1 {
  position: absolute;
  left: 50px;
  top: 30px;
  transform: translate(-50%, -50%);
}

.about .column .myinfos {
  position: relative;
}

.about .column .info .myinfos .has-blur {
  border: 1px solid #c5c5c5;
  border-radius: 8px;
  backdrop-filter: blur(5px);
  margin-top: 26px;
  padding: 20px 10px;
}


.about .myinfos .columns.has-blur {
  flex-direction: column;
  justify-content: flex-start;
  align-items: flex-start;
}

.about #about-shape2 {
  position: absolute;
  right: -21%;
  top: 100%;
  animation: shape21Animation 5s ease-in-out infinite;
}

.about .column .info ul {
  list-style-type: none;
}


.about .column .info ul li {
  font-size: 18px;
  margin: 8px 0;
}

.about .info p {
  font-size: 20px;
  margin: 10px 0;
}

.about li span {
  color: var(--main-color);
}

.about .myinfos {
  position: relative;
}


.about .profile-img {
  width: 400px;
}

/* Medium laptops */
@media screen and (max-width: 1280px) {
  .about .column:nth-child(1) {
    display: flex;
    align-items: center;
    justify-content: center;
  }
}

/* Tablets */
@media screen and (max-width: 900px) {
  .about #about-shape1 {
    display: none;
  }

  .about #about-shape2 {
    width: 80px;
  }

  .about #about-shape2 {
    position: absolute;
    right: -11%;
    top: 95%;
    animation: shape21Animation 5s ease-in-out infinite;
  }

  .about .info {
    align-items: center;
  }

  .about .columns {
    display: flex;
    flex-direction: column;
  }

  .about .columns .mobile {
    flex-direction: column;
    align-items: flex-start;
    margin: 0;
    padding: 0;
  }

  .about .column .info ul {
    padding: 20px;
    width: 100%;
  }

  .about .info p {
    font-size: 20px;
    margin: 10px auto;
    width: 96%;
  }

  .profile-img.is-hidden-desktop.is-hidden-mobile {
    display: none;
  }

}

/* Phones */
@media screen and (max-width: 500px) {
  .about .profile-img {
    width: 200px;
  }

  .about .columns .column .profile-img.page-2 {
    display: none;
  }
}


about .breadcrumb {
  background-color: #f8f8f8;
  padding: 0.75rem 1.5rem;
}

about .breadcrumb {
  font-size: 1rem;
  white-space: nowrap;
}

about .breadcrumb ul li a {
  color: var(--main-color);
  white-space: pre-wrap;
}

.breadcrumb a {
  padding: 0 !important;
}

/* About 2 */

.about.page-2 {
  margin-top: 8rem;
}

.about .column .info .myinfos .has-blur.page-2 {
  border: 0px solid #c5c5c5;
  backdrop-filter: blur(5px);
  margin-top: 26px;
  margin-left: 3rem;
  padding: 0px;
  position: relative;
}

.about .column .info .myinfos .has-blur.page-2::after {
  content: "";
  position: absolute;
  width: 3px;
  height: 100%;
  left: -51px;
  top: 0;
  background-color: var(--main-color);
}

.about .column .info .myinfos .has-blur.page-2::before {
  content: "";
  position: absolute;
  width: 20px;
  height: 20px;
  background: var(--main-color);
  left: -60px;
  top: 0;
  border-radius: 50%;
}

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

  .about .column .info .myinfos .has-blur.page-2 {
    margin: 12px 0 !important;
    padding: 20px;
    backdrop-filter: blur(10px);
    background: #f3f3f3dd;
  }

  .about .column .info .myinfos .has-blur.page-2::after,
  .about .column .info .myinfos .has-blur.page-2::before {
    display: none;
  }

  .about .info p {
    text-align: center;
  }
}

.about .columns .column .profile-img.page-2 {
  width: 400px !important;
}


.about .column {
  display: flex;
  align-items: center;
  justify-content: center;
}


/***************************

Portfolio

***************************/

.portfolio,
.portfolio2 {
  background-color: var(--secondary-color);
}

.portfolio .portfolio-content {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 20px;
  position: relative;
}


.portfolio .infos p {
  width: 100%;
}

@media screen and (width: 500px) {
  .portfolio .infos p {
    width: 69%;
  }
}

.portfolio .tab-content {
  position: relative;
}

.portfolio .project-content {
  padding: 10px 20px;
  border-radius: 4px;
  background: var(--secondary-color);
  width: 80%;
  height: auto;
  position: absolute;
  bottom: -10px;
  left: 50%;
  transform: translate(-50%, -50%);
  opacity: 0;
}

.portfolio .project-content .tab-content:hover {
  opacity: 1;
}

@media screen and (max-width: 500px) {
  .portfolio .card {
    padding: 8px !important;
  }
}

li.filter-btn.mixitup-control-active {
  background: transparent;
  font-weight: 600;
  color: red;
}

.portfolio .card img {
  transition: all .3s ease-in-out;
}

.portfolio .card:hover img {
  /* filter: grayscale(1); */
}



.portfolio .project-content h1 {
  margin-bottom: 4px;
  color: var(--main-color);
  font-weight: 900;
  font-size: 13px;
  text-transform: uppercase;
}

.portfolio .project-content p {
  font-weight: 900;
  font-size: 13px;
}

.portfolio .card {
  background: url("../img/portfolio/card-design.png") center top no-repeat;
  background-color: var(--main-color);
  position: relative;
  overflow: hidden;
}

.portfolio .card-image {
  height: 100%;
}

.portfolio .image.is-4by3 {
  width: 100%;
  height: 100%;
}

.portfolio .tab-content .card .eay {
  width: 80px;
  height: 80px;
  background-color: #3c269e57;
  border-radius: 4px;
  position: absolute;
  left: 50%;
  bottom: -100px;
  opacity: 0;
  transform: translate(-50%, -50%);
  transition: all .3s linear;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 10;
}

.portfolio .tab-content .card:hover .eay {
  bottom: -21px;
  opacity: 1;
  transition: all .3s linear;
}

.portfolio .image_lightbox {
  width: 100%;
  height: 100%;
  background-color: #ffffff86;
  backdrop-filter: blur(200px);
  padding: 3rem 4rem;
  position: fixed;
  left: -100%;
  top: 50%;
  transform: translate(-50%, -50%);
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: all .3s ease;
}

.portfolio .image_lightbox.active {
  left: 50%;
  opacity: 1;
  cursor: url('../img/portfolio/close.png'), auto;
}


@media screen and (max-width: 800px) {
  .portfolio .tabs>ul>li a {
    font-size: 20px;
  }

  .portfolio .tabs>ul>li a>span.icon {
    display: none;
  }

  .portfolio .tabs.is-centered ul {
    justify-content: center;
    flex-wrap: wrap !important;
    display: flex;
    width: 100%;
  }

}

@media screen and (max-width: 400px) {
  .portfolio .tabs>ul>li a {
    font-size: 15px;
  }
}



/***************************

Banner

***************************/


.banner .bac-banner {
  position: relative;
  min-height: 50vh;
  display: flex;
  justify-content: center;
  align-items: center;
  background: url('../img/services/banner.jpg') no-repeat center center;
  background-size: cover;
}

.banner .bac-banner .is-overlay {
  background-color: #7a63e0e1;
}

.banner .bac-banner .banner-content h1 {
  font-weight: 700;
  font-size: 3rem;
  color: #ffffff;
}

.banner .breadcrumb li {
  align-items: center;
  display: flex;
  color: #fff !important;
}

.breadcrumb li+li::before {
  color: #b5b5b5 !important;
  content: "\0002f" !important;
  padding: 0 10px 0 6px !important;
}

.breadcrumb li:first-child a {
  color: #b5b5b5 !important;
}

.banner .content .breadcrumb li.is-active a {
  color: #fff;
}

/***************************

Services

***************************/


.services {
  background-color: #fff;
  position: relative;
}

/* = Services 1 = */

.services .service-card {
  backdrop-filter: blur(7px);
  width: 100%;
  height: 203px;
  border: 1px solid #7E7E7E7E;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 5px;
}

.services .service-content {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 20px;
}

.services .hm2-service-box {
  background-color: #ffff;
  padding: 50px;
}

.hm2-service-box .icon-wrapper {
  transition: all .3s ease-out;
}

.hm2-service-box:nth-child(1):hover .icon-wrapper {
  background-color: pink;
}

.hm2-service-box:nth-child(2):hover .icon-wrapper {
  background-color: #CEBCAA;
}

.hm2-service-box:nth-child(3):hover .icon-wrapper {
  background-color: #FFA300;
}

.hm2-service-box:nth-child(4):hover .icon-wrapper {
  background-color: #00aeff;
}

.services .hm2-service-box:nth-child(1) {
  border-top: 10px solid pink;
  background-color: rgba(238, 130, 238, 5%);
}

.services .hm2-service-box:nth-child(2) {
  border-top: 10px solid #CEBCAA;
  background-color: rgb(206, 188, 170, 5%);
}

.services .hm2-service-box:nth-child(3) {
  border-top: 10px solid yellow;
  background-color: rgba(145, 255, 0, 5%);
}

.services .hm2-service-box:nth-child(4) {
  border-top: 10px solid #00aeff;
  background-color: hsl(199, 100%, 50%, 5%);
}



.services .hm2-service-box .icon-wrapper {
  width: 120px;
  height: 120px;
  border: 1px solid var(--main-color);
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  position: relative;
  z-index: 1;
}


.services .hm2-service-box .mt-32 {
  margin-top: 32px;
  font-weight: 900;
}

.services .hm2-service-box .mb-32 {
  margin-bottom: 32px;
}

.services .hm2-service-box .fw-medium {
  font-weight: 500 !important;
}

.services .hm2-service-box .mt-4 {
  margin-top: 1.5rem !important;
}

.services .hm2-service-box p {
  font-size: 16px;
  line-height: 26px;
}

.services .hm2-service-box .explore-btn {
  font-weight: 600;
  color: var(--main-color);
}

/* = Services 2 = */

.servicesTwo .card {
  width: 100%;
  height: 100%;
  padding: 2em 1.5em;
  background: linear-gradient(#ffffff 50%, var(--main-color) 50%);
  background-size: 100% 200%;
  background-position: 0 2.5%;
  border-radius: 5px;
  box-shadow: 0 0 35px rgba(0, 0, 0, 0.12);
  cursor: pointer;
  transition: 0.5s;
}

.servicesTwo h3 {
  font-size: 20px;
  font-weight: 600;
  color: #1f194c;
  margin: 1em 0;
}

.servicesTwo p {
  color: #575a7b;
  font-size: 15px;
  line-height: 1.6;
  letter-spacing: 0.03em;
}

.servicesTwo .icon-wrapper {
  background-color: var(--main-color);
  position: relative;
  margin: auto;
  font-size: 30px;
  height: 2.5em;
  width: 2.5em;
  color: #ffffff;
  border-radius: 50%;
  display: grid;
  place-items: center;
  transition: 0.5s;
}

.servicesTwo .card:hover {
  background-position: 0 100%;
}

.servicesTwo .card:hover .icon-wrapper {
  background-color: #ffffff;
  color: var(--main-color);
}

.servicesTwo .card:hover h3 {
  color: #ffffff;
}

.servicesTwo .card:hover p {
  color: #f0f0f0;
}



/***************************

Experience

***************************/

/* = Experience - 1 = */

.experience {
  background-color: var(--secondary-color);
}

.experience li {
  position: relative;
  padding-left: 74px;
  padding-bottom: 68px;
  background-color: #fff;
}

.experience li:hover h4 {
  color: var(--main-color);
}


.experience li::before {
  content: '';
  position: absolute;
  width: 5px;
  height: 100%;
  background-color: var(--main-color);
  left: 0;
  top: 0;
  z-index: 1;
  transition: all .3s linear;
}

.experience .date {
  display: block;
  margin-bottom: 28px;
  transition: .3s;
  font-size: 12px;
  color: #939191;
}

.experience .cbp_tmlabel h3 {
  font-size: 20px;
  font-weight: 300;
  margin-bottom: 5px;
  color: #000;
}

.experience h4 {
  font-size: 20px;
  color: rgb(56, 80, 183);
  transition: all 0.3s linear 0s;
  margin-bottom: 18px;
  font-weight: 600;
}

.experience i {
  font-size: 14px;
  margin-right: 15px;
}


.experience .column {
  display: flex;
  align-items: center;
  justify-content: center;
}

@media screen and (max-width: 600px) {
  .experience .columns.is-vcentered {
    flex-direction: column-reverse;
    display: flex;
    gap: 1rem;
  }
}


/* = Experience - 2 = */

.experience li {
  position: relative;
  padding: 2rem 70px;
  margin-bottom: 10px;
}

.experience li.bar::before {
  position: absolute;
  content: "";
  width: 4px;
  height: 100%;
  background-color: var(--main-color);
  left: 0;
  top: 0;
  z-index: 999;
}

.experience li.bar::after {
  position: absolute;
  content: "";
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background-color: var(--main-color);
  left: -8px;
  top: 0;
  z-index: 999;
  transition: all 0.3s ease;
}

.experience ul.cbp_tmtimelinez {
  display: flex;
  gap: 20px;
  flex-direction: column;
}

.experience li.bar h4 {
  position: relative;
  z-index: 2;
  width: fit-content;
}

.experience li.bar h4::after {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  width: 0px;
  height: 100%;
  background-color: var(--main-color);
  z-index: -1;
  transition: all 0.4s ease;
}

.experience li.bar:hover h4::after {
  width: 100%;
}

.experience li.bar:hover h4 {
  letter-spacing: 1px;
  color: #fff;
}

.experience li.bar:hover .date {
  color: red;
}



/***************************

Blog

***************************/

.blog {
  position: relative;
}

.blog .blog-content {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 20px;
}

.blog .button.is-rounded {
  background-color: var(--main-color);
}

.blog .columns .column a {
  color: #1f2738;
  text-decoration: underline;
}

.blog .columns .column a.button {
  text-decoration: none;
  margin: 20px 0;
}


.blog .card-content {
  background: #FAFAFA;
}

.blog .card-content .blog-header {
  display: flex;
  justify-content: center;
  flex-direction: column;
  gap: 8px;
}

.post-metatag {
  display: flex;
}

.blog .columns .column a {
  color: #1f2738;
  text-decoration: underline;
  font-weight: 700;
}

@media screen and (max-width: 600px) {
  .column.is-6-touch {
    width: 100% !important;
  }
}

.blog .swiper {
  position: relative;
}

.blog .swiper-slide {
  width: 350px !important;
}

.blog .columns .column a.button {
  text-decoration: none;
  margin: 20px 0;
  width: 63%;
  border: none;
  border-radius: 5px;
}

.card .card-image {
  overflow: hidden;
}

.blog figure.image img {
  -webkit-transform: scale(1);
  transform: scale(1);
  -webkit-transition: .3s ease-in-out;
  transition: .3s ease-in-out;
}

.blog figure:hover img {
  -webkit-transform: scale(1.3);
  transform: scale(1.3);
}

/***************************

Footer

***************************/

.footer-section {
  background-color: var(--secondary-color);
}

@media screen and (max-width: 800px) {
  .footer-section {
    padding: 0 20px;
  }
}


/***************************

Contact

***************************/

.main-content {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 10px;
}

@media screen and (max-width: 600px) {
  .main-content {
    text-align: center;
    gap: 15px;
  }
}

.main-content h3 {
  font-size: 45px;
  font-weight: 700;
}

.main-content p {
  color: #c5c5c5;
  text-align: center;
}

.contact iframe {
  width: 100%;
  height: 40vh;
}

.contact .form {
  margin-top: 2rem;
  width: 100%;
  transition: .5s all ease;
  animation-duration: 1.5s;
}

.contact .form .label {
  background-color: white;
  color: var(--main-color);
  font-size: 17px;
  font-weight: 300;
  margin: 0 8px;
  padding: 0 5px;
  position: absolute;
  transition: 0.5s all cubic-bezier(0.5, 1.35, 0.5, 1.35);
}

.contact .form .email-text {
  transform: translateY(-51px);
}

.contact .form .subject-text {
  transform: translateY(-52px);
}

.contact .form .help-text {
  transform: translateY(-112px);
}

.contact .form input,
.contact .form textarea {
  width: 100%;
  padding: 10px;
  border: 1px solid #DADCE0;
  border-radius: 5px;
  outline: none;
  margin-bottom: 20px;
  transition: .3s;
}

.contact .form input:focus,
.contact .form textarea:focus {
  border: 1px solid var(--main-color);
  box-shadow: inset 1px 1px 0 var(--main-color), inset -1px -1px 0 var(--main-color);
}

.contact .form input:focus+.label,
.contact .form input:valid+.label,
.contact .form textarea:focus+.label,
.contact .form textarea:valid+.label {
  font-size: 13px;
  font-weight: 600;
  color: var(--main-color);
}

.contact .form input:focus+.email-text,
.contact .form input:valid+.email-text,
.contact .form textarea:focus+.email-text,
.contact .form textarea:valid+.email-text {
  transform: translateY(-67px);
}

.contact .form input:focus+.subject-text,
.contact .form input:valid+.subject-text,
.contact .form textarea:focus+.subject-text,
.contact .form textarea:valid+.subject-text {
  transform: translateY(-67px);
}

.contact .form input:focus+.help-text,
.contact .form input:valid+.help-text,
.contact .form textarea:focus+.help-text,
.contact .form textarea:valid+.help-text {
  transform: translateY(-127px);
}

.contact .form textarea {
    max-height: 90px;
    min-width: 100%;
    max-width: 100%;
}
.submit-area {
  position: relative;
}


/* = Contact infos = */

span {
  color: var(--main-color);
}

.contact-info p {
  margin-bottom: 11px;
}

.contact-info ul.info-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(100px, 1fr));
  gap: 10px;
}

.contact-info i {
  color: var(--main-color);
  padding: 10px;
}

.contact .title.is-4 {
  font-size: 35px;
  font-weight: 700;
}

.contact #alert-container {
  margin-top: 20px;
}

/***************************

Single Post

***************************/

/* Posts */

.blog-single-post .post-header {
  margin-bottom: 25px;
}

.blog-single-post .post-header .post-thumbnail img {
  border-radius: 5px;
}

.blog-single-post .post-categories .bac-post-category-item {
  background-color: rgba(247, 217, 127, 0.4);
  border: none;
  font-weight: 600;
  font-size: 0.8rem;
  min-width: 150px;
  text-align: center;
  outline: none;
  box-shadow: none;
  margin-right: 7px;
  position: relative;
}

.blog-single-post .post-categories .bac-post-category-item::before {
  content: "";
  position: relative;
  display: inline-block;
  border-radius: 50%;
  background-color: #f7d97f;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  left: -10px;
}

.blog-single-post .post-title {
  font-weight: 700;
  font-size: 1.75rem;
  margin: 15px 0 15px;
}

.blog-single-post .post-metatags {
  padding-bottom: 25px;
  margin-bottom: 35px;
  border-bottom: 1px solid #e9e9e9;
}

.blog-single-post .post-metatags .author .author-avatar {
  margin-right: 10px;
  width: 40px;
  height: 40px;
}

.blog-single-post .post-metatags .author .author-name {
  color: #717171;
}

.blog-single-post .post-metatags .post-publish-date {
  margin-left: 15px;
}

.blog-single-post .post-metatags .post-publish-date .icon-image {
  width: 20px;
  margin-left: 7px;
}

.blog-single-post .post-metatags .post-publish-date .post-date {
  font-size: 0.93rem;
  font-weight: 600;
  color: #717171;
}

.blog-single-post .post-content img {
  margin-top: 10px;
  border-radius: 5px;
  margin-bottom: 20px;
}

.blog-single-post .post-content h1,
.blog-single-post .post-content h2,
.blog-single-post .post-content h3,
.blog-single-post .post-content h4,
.blog-single-post .post-content h5,
.blog-single-post .post-content h6 {
  margin-bottom: 20px;
  font-weight: 700;
}

.blog-single-post .post-content h1 {
  font-size: 1.75rem;
}

.blog-single-post .post-content h2 {
  font-size: 1.5rem;
}

.blog-single-post .post-content h3 {
  font-size: 1.35rem;
}

.blog-single-post .post-content h4 {
  font-size: 1.2rem;
}

.blog-single-post .post-content h5 {
  font-size: 1.15rem;
}

.blog-single-post .post-content h6 {
  font-size: 1.05rem;
}

.blog-single-post .post-content p {
  margin-bottom: 25px;
  font-weight: 500;
  line-height: 2;
  font-size: 1.03rem;
}

.blog-single-post .post-content p br {
  display: none;
}

.blog-single-post .post-content ul {
  margin-bottom: 25px;
  list-style: disc;
  margin-left: 20px;
}

.blog-single-post .post-content ul li:not(:last-of-type) {
  margin-bottom: 10px;
  font-weight: 500;
  line-height: 2;
  font-size: 1.03rem;
}

.blog-single-post .bac-post_comments {
  margin: 35px 0;
}

.blog-single-post .bac-post_comments h2 {
  color: var(--main-color);
  position: relative;
  margin-bottom: 25px;
}

.blog-single-post .bac-post_comments h2 span {
  background: #ffffff;
  z-index: 2;
  position: sticky;
  padding-right: 1rem;
  font-weight: 400;
  font-size: 1.35rem;
}

.blog-single-post .bac-post_comments h2::before {
  content: "";
  display: inline-block;
  width: 100%;
  height: 2px;
  background-color: var(--main-color);
  position: absolute;
  top: 50%;
  left: 0;
}

.blog-single-post .related-post-item:not(:last-of-type) {
  margin-bottom: 25px;
}

.blog-single-post .related-post-item .media .media-left .image {
  max-width: 200px;
}

.blog-single-post .related-post-item .media .media-left .image img {
  border-radius: 3px;
}

.blog-single-post .related-post-item .media .media-content h4 a {
  font-weight: 600;
  color: #1f2738;
  font-size: 1.05rem;
}

.blog-single-post .bac-social-media a {
  border-radius: 4px;
  background-color: #e5f5ed;
  color: var(--main-color);
  border: 1px solid #e5f5ed;
  font-size: 1.25rem;
  padding-bottom: calc(0.5em - 1px);
  padding-left: 1em;
  padding-right: 1em;
  padding-top: calc(0.5em - 1px);
  transition: background-color 0.3s ease-in-out;
}

.blog-single-post .bac-social-media a:hover {
  background-color: #e5f5ed !important;
  border: 1px solid #e5f5ed;
}

.blog-single-post .bac-social-media a:not(:last-of-type) {
  margin-right: 7px;
}

/* comments */

.comments li {
  list-style: none;
}

.comments .comment {
  margin-bottom: 10px;
}

.comments .comment .comment-body {
  border-radius: 5px;
  padding: 10px 20px;
  margin-bottom: 10px;
  background: #fafafa;
}

.comments .comment .comment-body .comment-meta .comment-metadata {
  display: none;
}

.comments .comment .comment-body .comment-meta .comment-author {
  display: flex;
  align-items: center;
  color: var(--main-color);
  font-size: 0.9rem;
}

.comments .comment .comment-body .comment-meta .comment-author a {
  pointer-events: none;
  color: var(--main-color);
}

.comments .comment .comment-body .comment-meta .comment-author a:hover {
  color: var(--main-color);
}

.comments .comment .comment-body .comment-meta .comment-author img {
  border-radius: 50%;
  margin-right: 15px;
  width: 60px;
  height: 60px;
}

.comments .comment .comment-body .comment-meta .comment-author .says {
  display: none;
}

.comments .comment .comment-body .comment-content {
  margin-top: 10px;
  font-size: 0.95rem;
  color: #636469;
}

.comments .comment footer {
  background: #fafafa;
}

.comments .comment.depth-2 .comment-body {
  max-width: 90%;
  margin-left: auto;
}

.comments .comment.depth-2 .comment-body .comment-author img {
  width: 50px;
  height: 50px;
}

.comments .comment-notes {
  margin-bottom: 15px;
}

.comments .logged-in-as {
  margin-bottom: 15px;
  font-size: 0.85rem;
}

.comments .comment-respond {
  margin-top: 25px;
}

.comments .comment-respond .form-submit .submit {
  background-color: var(--main-color);
  border: none;
  color: #ffffff;
  padding: 7px 15px;
  border-radius: 3px;
  cursor: pointer;
}

.comments #commentform .input,
.comments #commentform .textarea {
  box-shadow: none;
  background: #f8f8f8;
}

.comments #commentform .comment-form-cookies-consent {
  display: none;
}

/***************************

Page  404

***************************/

.not-found .infos {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  height: 70vh;
  gap: 20px
}


.not-found .infos p {
  display: block;
  color: var(--main-color);
  font-size: 56px;
  margin-bottom: 10px;
  font-weight: 800;
}

.not-found .infos h1 {
  line-height: 100%;
  font-size: 74px;
  font-weight: 900;
}

.not-found small {
  color: #6F6F87;
  margin: 0;
  font-size: 15px;
  width: 50%;
}

.not-found .infos a.bx-btn {
  border: none;
  background: #7963e0;
  color: #fff;
  overflow: hidden;
  text-align: center;
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
  border-radius: 30px;
  width: 155px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
}

/***************************

preloader

***************************/

.sb-preloader {
  width: 100%;
  height: 100vh;
  position: fixed;
  z-index: 99999999999999999;
  display: flex;
  justify-content: center;
  align-items: center;
  transition: 0.4s ease-in-out;
}

.sb-preloader .sb-preloader-bg {
  box-shadow: 0 0 8px 0 rgba(0, 0, 0, 0.05);
  border-radius: 50%;
  position: absolute;
  background-color: var(--main-color);
  height: 1000px;
  width: 1000px;
  top: 20%;
  transform: scale(2);
  transition: 0.6s ease-in-out;
}

.sb-preloader .sb-preloader-body {
  position: absolute;
  bottom: 0;
  z-index: 999;
  width: 100%;
  text-align: center;
  transition: 0.4s ease-in-out;
}

.sb-preloader .sb-preloader-body .sb-loading {
  opacity: 0;
  font-size: 16px;
  font-weight: 400;
  margin-bottom: 30px;
}

.sb-preloader .sb-preloader-body .sb-loading-bar {
  margin-bottom: 15px;
  width: 1px;
  height: 80vh;
  margin: 0 auto;
  border-radius: 2px;
  overflow: hidden;
  background-color: #FFFFFF;
}

.sb-preloader .sb-preloader-body .sb-loading-bar .sb-bar {
  width: 100%;
  height: 0;
  background-color: #231E41;
}

.sb-preloader.sb-hidden {
  pointer-events: none;
  transition-delay: 0.2s;
}

.sb-preloader.sb-hidden .sb-preloader-bg {
  transform: scale(0);
  transition-delay: 0.2s;
}

.sb-preloader.sb-hidden .sb-preloader-body {
  transform: translateY(30%);
  opacity: 0;
  transition-delay: 0s;
}

.sb-preloader-number {
  color: #000 !important;
}

/***************************

BOX ANIMATION

***************************/

.spinner {
  width: 70.4px;
  height: 70.4px;
  animation: spinner 8s infinite ease;
  transform-style: preserve-3d;
  position: absolute;
  top: 30px;
  left: 3%;
  z-index: 9999;
  transition: all 1s ease-in;
}

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

  .spinner,
  #shape2 {
    display: none;
  }
}

.spinner.active {
  left: 90%;
}

.spinner>div {
  background-color: var(--main-color);
  height: 100%;
  position: absolute;
  width: 100%;
  border: 3.5px solid var(--main-color);

  display: flex;
  align-items: center;
  justify-content: center;
  padding: 6px;
  background-color: #fff;
}

.spinner div:nth-of-type(1) {
  transform: translateZ(-35.2px) rotateY(180deg);
}

.spinner div:nth-of-type(2) {
  transform: rotateY(-270deg) translateX(50%);
  transform-origin: top right;
}

.spinner div:nth-of-type(3) {
  transform: rotateY(270deg) translateX(-50%);
  transform-origin: center left;
}

.spinner div:nth-of-type(4) {
  transform: rotateX(90deg) translateY(-50%);
  transform-origin: top center;
}

.spinner div:nth-of-type(5) {
  transform: rotateX(-90deg) translateY(50%);
  transform-origin: bottom center;
}

.spinner div:nth-of-type(6) {
  transform: translateZ(35.2px);
}

@keyframes spinner {
  0% {
    transform: rotate(45deg) rotateX(-25deg) rotateY(25deg);
  }

  50% {
    transform: rotate(45deg) rotateX(-385deg) rotateY(25deg);
  }

  100% {
    transform: rotate(45deg) rotateX(-385deg) rotateY(385deg);
  }
}

/***************************

Custom Scrollbar

***************************/


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

/* Track */
::-webkit-scrollbar-track {
  background: #f1f1f1;
}

/* Handle */
::-webkit-scrollbar-thumb {
  background: var(--main-color);
}