/*--------- Général ---------*/

*,
::after,
::before {
  padding: 0;
  margin: 0;
  box-sizing: inherit;
}
html {
  background-color: white;
}
body {
  color: #141c3a;
  font-size: 1rem;
  font-weight: 300;
  line-height: 1.5;
}
body,
button,
input,
select,
textarea {
  font-family: "Lato", sans-serif;
}
h1,
h2,
h3 {
  font-family: "Noto Serif", serif;
}
#section-title {
  color: #7510f7;
  font-size: 1.6rem;
  font-weight: 800;
}
a {
  text-decoration: none;
  cursor: pointer;
  color: #7510f7;
}
::-webkit-scrollbar {
  width: 10px;
  border-left: 1px solid #e6ecf8;
}

::-webkit-scrollbar-thumb {
  background-color: #141c3a;
}

/*--------- Navigation ---------*/

.navbar {
  padding: 1.2rem;
  min-height: 3.25rem;
  display: flex;
  justify-content: space-between;
  background-color: white;
  border-bottom: 1px solid #7510f7;
}
.navbar-brand {
  margin-left: 0.75rem;
  min-height: 3.25rem;
}
.navbar-menu {
  display: flex;
  align-items: stretch;
  text-align: center;
}
.navbar-item {
  display: flex;
  justify-content: center;
  align-items: center;
}
.btn-contact {
  display: block;
  width: 130px;
  height: 25px;
  font-weight: 500;
  font-size: 1.1rem;
  padding: 0.4rem 0.6rem 0.6rem 0.6rem;
  background-color: transparent;
  border: 2px solid #7510f7;
  color: #7510f7;
  border-radius: 9999px;
  transition: all 0.2s ease-in-out;
}
.btn-contact:hover {
  background: #7510f7;
  color: #fff;
}
@media screen and (max-width: 768px) {
  .btn-contact {
    width: 110px;
    font-size: 1rem;
    padding: 0.3rem 0.5rem 0.5rem 0.5rem;
  }
}

/*--------- Section Avatar ---------*/

.avatar {
  background-color: white;
  color: #0a0a0a;
  padding-top: 2rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-items: stretch;
  text-align: center !important;
}
.avatar-body {
  flex-grow: 1;
  flex-shrink: 0;
  padding: 2rem 1.5rem;
}
.avatar-body h1 {
  color: #363636;
  font-size: 2.5rem;
  font-weight: 800;
  line-height: 1.125;
  margin-bottom: 24px;
}
.avatar-body h2 {
  font-size: 1.25rem;
  font-weight: 300;
  line-height: 1.5;
  margin-bottom: 24px;
}
.avatar-eric {
  border-radius: 50%;
  background-color: #7510f7;
  box-shadow: 1px 1px 4px 1px rgba(117, 16, 247, 0.75);
  max-width: 50%;
}
.avatar-foot {
  padding: 0rem 1.5rem;
}
.avatar-foot img {
  height: auto;
  max-width: 50%;
}
@media screen and (max-width: 768px) {
  .avatar-body h1 {
    font-size: 1.8rem;
  }
  .avatar-body h2 {
    font-size: 1rem;
  }
  .avatar-foot img {
    max-width: 70%;
  }
}

/*--------- Section Intermédiare ---------*/

.intermediaire {
  padding: 5rem 1.5rem;
  text-align: center !important;
  padding-bottom: 16rem;
  background-color: #7510f7;
  color: #fff;
  display: flex;
  justify-content: center;
}
.introduction {
  flex: none;
  width: 60%;
}
.introduction > h2 {
  font-size: 1.8rem;
  margin-bottom: 1.5rem;
}
.introduction > p {
  font-size: 1.3rem;
}
@media screen and (max-width: 768px) {
  .introduction {
    width: 90%;
  }
  .introduction > h2 {
    font-size: 1.5rem;
  }
  .introduction > p {
    font-size: 1.1rem;
  }
}
/*--------- Section Skills ---------*/

.skills {
  margin-top: -14rem;
  padding: 5rem 1.5rem 1rem;
}
.container {
  max-width: 1200px;
  flex-grow: 1;
  margin: 0 auto;
  position: relative;
  width: auto;
}
.content {
  border-radius: 12px;
  background-color: white;
  box-shadow: 0 5px 5px 0 rgba(233, 240, 243, 0.5), 0 0 0 1px #e6ecf8;
  color: #141c3a;
  display: block;
  padding: 0;
}
.columns {
  display: flex;
  justify-content: center;
}
.column {
  flex: 0 1 auto;
  padding: 3.75rem 2.2rem;
  display: block;
  text-align: center;
}
.column-left {
  border-right: 1px solid #e6ecf8;
}
figure {
  text-align: center;
}
.skills h2 {
  margin: 1.5rem 0;
}
.image {
  display: block;
  margin: 0 auto 2em;
}
.list-title {
  margin-top: 50px;
  margin-bottom: 8px;
  font-weight: 400 !important;
  color: #7510f7 !important;
}
ul {
  list-style: none;
  margin-left: 0;
  margin-top: 0;
}

@media screen and (max-width: 768px) {
  .columns {
    display: flex;
    flex-direction: column;
  }
  .column-left {
    border-bottom: 1px solid #e6ecf8;
  }
  .list-title {
    margin-top: 30px;
    font-size: 1.125rem;
  }
  .skills p {
    font-size: 1.125rem;
  }
}
/*--------- Section Projects ---------*/
.projects {
  padding: 5rem 1.5rem 1rem;
  border-bottom: 1px solid #e6ecf8;
}
.projects h2 {
  font-size: 2.25rem;
  margin-bottom: 1.5rem;
  text-align: center;
}
.projects h3 {
  font-size: 1.25rem;
  margin-bottom: 1.5rem;
  text-align: center;
}
.project-grid {
  margin-bottom: 6rem;
  flex-grow: 1;
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  align-items: center;
  margin: 0;
  padding: 2rem 0 4rem;
}
.project-grid-img1,
.project-grid-img2,
.project-grid-img3,
.project-grid-img4,
.project-grid-img5,
.project-grid-img6 {
  margin: 0.75rem;
  display: block;
  width: 31%;
  height: 96%;
  position: relative;
  overflow: hidden;
  border-radius: 12px;
}
.project-img {
  display: block;
  width: 100%;
  height: 100%;
}
.projects .project-grid .project-grid-img1 figcaption,
.projects .project-grid .project-grid-img2 figcaption,
.projects .project-grid .project-grid-img3 figcaption,
.projects .project-grid .project-grid-img4 figcaption,
.projects .project-grid .project-grid-img5 figcaption,
.projects .project-grid .project-grid-img6 figcaption {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  color: #fff;
  z-index: 1;
}
.projects .project-grid .overlay,
.projects .project-grid figcaption {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  transition: 0.45s ease-in-out;
}
.projects .project-grid .overlay {
  background-color: #141c3a;
}
.btn-project {
  width: 220px;
  height: 25px;
  font-weight: 500;
  font-size: 1.1rem;
  padding: 0.4rem 0.6rem 0.6rem 0.6rem;
  background-color: transparent;
  border: 2px solid #7510f7;
  color: #fff;
  border-radius: 9999px;
  transition: all 0.2s ease-in-out;
  cursor: pointer;
  position: relative;
}
.btn-project:hover {
  background: #7510f7;
  color: #fff;
}
.fa-angle-right {
  position: absolute;
  top: 0.75rem;
}
.project-grid-img1:hover figcaption,
.project-grid-img1:hover .overlay {
  opacity: 1;
}
.project-grid-img2:hover figcaption,
.project-grid-img2:hover .overlay {
  opacity: 1;
}
.project-grid-img3:hover figcaption,
.project-grid-img3:hover .overlay {
  opacity: 1;
}
.project-grid-img4:hover figcaption,
.project-grid-img4:hover .overlay {
  opacity: 1;
}
.project-grid-img5:hover figcaption,
.project-grid-img5:hover .overlay {
  opacity: 1;
}
.project-grid-img6:hover figcaption,
.project-grid-img6:hover .overlay {
  opacity: 1;
}
.block-dribbble {
  padding-bottom: 4rem;
  display: flex;
  justify-content: center;
}
.btn-dribbble {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 300px;
  height: 50px;
  font-weight: 500;
  font-size: 1.2rem;
  background-color: transparent;
  border: 2px solid #7510f7;
  color: #7510f7;
  border-radius: 9999px;
  transition: all 0.2s ease-in-out;
  cursor: pointer;
}
.fa-dribbble {
  font-size: 1.1rem;
  color: #7510f7;
  overflow: visible;
  padding-right: 0.6rem;
}
.fa-dribbble.hover {
  display: none;
  color: #fff;
}
.btn-dribbble:hover {
  background: #7510f7;
  color: #fff;
}
.btn-dribbble:hover .fa-dribbble {
  display: none;
}
.btn-dribbble:hover .fa-dribbble.hover {
  display: inline-block;
}
@media screen and (min-width: 768px) and (max-width: 1086px) {
  .project-grid-img1,
  .project-grid-img2,
  .project-grid-img3,
  .project-grid-img4,
  .project-grid-img5,
  .project-grid-img6 {
    width: 45%;
  }
}
@media screen and (max-width: 768px) {
  .projects h2 {
    font-size: 1.7rem;
  }
  .project-grid {
    display: flex;
    flex-direction: column;
  }
  .project-grid-img1,
  .project-grid-img2,
  .project-grid-img3,
  .project-grid-img4,
  .project-grid-img5,
  .project-grid-img6 {
    width: 95%;
  }
  .btn-dribbble {
    width: 240px;
    height: 40px;
    font-size: 1rem;
  }
}
/*--------- Section Clients ---------*/

.clients {
  padding: 5rem 1.5rem 1rem;
}
.clients h2 {
  text-align: center;
  font-size: 1.5rem;
}
.clients-grid {
  padding-top: 3rem;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
}
.client {
  width: 25%;
  display: flex;
  justify-content: center;
  align-items: center;
  margin-bottom: 3rem;
  text-align: center;
}
.icon-techno {
  font-size: 8rem;
  color: #7510f7;
}
@media screen and (max-width: 768px) {
  .clients h2 {
    font-size: 1.25rem;
  }
  .client {
    width: 50%;
  }
  .icon-techno {
    font-size: 12rem;
  }
}
@media screen and (max-width: 515px) {
  .icon-techno {
    font-size: 7rem;
  }
}
/*--------- Section Intermédiare ---------*/

/*--------- Section Startup ---------*/
.startups {
  margin-top: -9rem;
  padding-bottom: 9rem;
  border-bottom: 1px solid #e6ecf8;
}
.startups h3 {
  font-size: 1.25rem;
  margin-bottom: 1.5rem;
}
.startups p {
  margin-bottom: 0.5rem;
}
.startups a {
  color: #7510f7;
}
.startup-grid {
  margin-bottom: 6rem;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  margin: 0;
}
.startup {
  border-radius: 12px;
  background-color: white;
  box-shadow: 0 5px 5px 0 rgba(233, 240, 243, 0.5), 0 0 0 1px #e6ecf8;
  color: #141c3a;
  display: block;
  text-align: center;
  padding: 3rem 2rem;
  margin: 0.75rem;
  display: block;
  width: 25%;
}
@media screen and (max-width: 768px) {
  .startups {
    padding-bottom: 4rem;
  }
  .startup-grid {
    display: flex;
    flex-direction: column;
  }
  .startup {
    width: 75%;
  }
}

/*--------- Section Testimonials ---------*/

.testimonials {
  padding: 9rem 2rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}
.testimonials h2 {
  font-size: 1.5rem;
  margin-bottom: 0.8rem;
}
.testimonials h3 {
  font-size: 1.25rem;
  margin-bottom: 1.8rem;
}
.avatar-testimonial {
  width: 6rem;
  height: 6rem;
  border-radius: 50%;
  box-shadow: 0 5px 5px 0 rgba(233, 240, 243, 0.5), 0 0 0 1px #e6ecf8;
}
.testimonial-block {
  padding: 2rem 10rem;
}
.avatar-aurelien {
  object-fit: cover;
}
.avatar-jean {
  object-fit: scale-down;
}
.quote {
  font-size: 1.4rem;
  padding: 0.5rem;
}
input[name="carousel"] {
  display: none;
}
.testimonials-slider {
  position: relative;
}
.carousel-nav {
  margin: 0.25rem 0 3rem;
  text-align: center;
  z-index: 1;
}
@media screen and (min-width: 768px) {
  .carousel-nav {
    margin: 1rem 0 3.5rem;
  }
}
@media screen and (min-width: 1216px) {
  .carousel-nav {
    margin: 1rem 0 0.5rem;
  }
}
.carousel-nav label {
  display: inline-block;
  margin: 0 6px;
  width: 15px;
  height: 15px;
  border: 2px solid #e6ecf8;
  border-radius: 50%;
  cursor: pointer;
  transition: background-color 0.25s;
}
.carousel-slides {
  width: 100%;
  overflow: hidden;
}
.carousel-slides .carousel-inner {
  width: 200%;
  transition: margin 0.5s;
}
.carousel-slides .carousel-item {
  float: left;
  width: 50%;
  text-align: center;
}
#carousel-1:checked ~ .carousel-nav label[for="carousel-1"] {
  background-color: #7510f7;
  border: 2px solid #7510f7;
}
#carousel-2:checked ~ .carousel-nav label[for="carousel-2"] {
  background-color: #7510f7;
  border: 2px solid #7510f7;
}
#carousel-1:checked ~ .carousel-slides .carousel-inner {
  margin-left: 0%;
}
#carousel-2:checked ~ .carousel-slides .carousel-inner {
  margin-left: -100%;
}
#carousel-3:checked ~ .carousel-slides .carousel-inner {
  margin-left: -200%;
}
@media screen and (max-width: 768px) {
  .testimonials {
    padding: 4rem 0.6rem;
  }
  .testimonials h2 {
    font-size: 1.3rem;
    margin-bottom: 0.8rem;
  }
  .testimonials h3 {
    font-size: 1rem;
    margin-bottom: 1.8rem;
  }
  .testimonial-block {
    padding: 1.5rem 1rem;
  }
  .quote {
    font-size: 1.25rem;
    padding: 0.2rem;
  }
}

/*--------- Section Call to action ---------*/

.call-to-action {
  padding: 5rem 1.5rem 1rem;
  background-color: #7510f7;
  color: #fff;
}
.box {
  margin: -9rem 2rem 0;
  background-color: #141c3a;
  box-shadow: 0 5px 5px 0 rgb(0 0 0 / 20%), 0 0 0 1px #141c3a;
  color: #fff;
  border-radius: 12px;
}
.box-columns {
  display: flex;
  align-items: center;
  justify-content: center;
}
.box-column {
  display: block;
  flex-basis: 25%;
  flex-shrink: 1;
  text-align: center;
  padding: 1rem 0;
  margin: 1.5rem;
}
.box-column h3 {
  font-size: 1.5rem;
  font-weight: 800;
  line-height: 1.125;
}
.btn-column {
  display: flex;
  justify-content: center;
  align-items: center;
}
.btn-start {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 160px;
  height: 50px;
  font-weight: 500;
  font-size: 1.2rem;
  background-color: transparent;
  border: 2px solid #7510f7;
  color: #fff;
  border-radius: 9999px;
  transition: all 0.2s ease-in-out;
  cursor: pointer;
}
.btn-start:hover {
  background: #7510f7;
}
@media screen and (max-width: 768px) {
  .call-to-action {
    padding: 5rem 1rem 1rem;
  }
  .box-columns {
    display: flex;
    flex-direction: column;
  }
  .box-column {
    display: block;
    flex-basis: 25%;
    flex-shrink: 1;
    text-align: center;
    padding: 0.5rem;
    margin: 0.5rem;
  }
  .box-column p {
    font-size: 1.1rem;
  }
}

/*--------- Section Footer ---------*/

footer {
  background-color: #7510f7;
  color: rgb(230, 153, 253);
  text-align: center !important;
  display: block;
  padding: 5rem 1.5rem 4rem;
}
.logo-footer {
  margin-bottom: 2rem;
}
.btn-social-icons {
  display: block;
  width: 1.5rem;
  height: 1.5rem;
  font-size: 1.2rem;
  border: 1px solid rgb(230, 153, 253);
  border-radius: 50%;
  text-align: center;
  padding: 0.8rem;
  transition: all 0.2s ease-in-out;
  cursor: pointer;
  margin: 0.5rem;
  display: flex;
  justify-content: center;
  align-items: center;
}
.btn-social-icons:hover {
  border: 1px solid #141c3a;
}
.btn-social-icons:hover > .fa-fw {
  color: #141c3a;
}
.social-icons {
  display: flex;
  justify-content: center;
  margin-bottom: 2rem;
}
.fa-fw {
  color: #fff;
}
.field-dribbble {
  position: relative;
}
.fa-dribbble-footer {
  position: absolute;
  left: 28%;
}
@media screen and (max-width: 768px) {
  footer {
    padding: 4rem 0rem;
  }
  .btn-social-icons {
    width: 1.5rem;
    height: 1.5rem;
    font-size: 1.2rem;
    padding: 0.8rem;
    margin: 0.2rem;
  }
}
