@import url('https://fonts.googleapis.com/css2?family=Inter:ital,opsz,wght@0,14..32,100..900;1,14..32,100..900&display=swap');

body {
  background-color: #E6EBF4;
  font-family: "Inter", sans-serif;
}

.nav-link {
  color: #717586;
  font-weight: 700;
  margin-right: 20px;
  padding: 12px;
  border: 2px solid transparent;
  border-radius: 15px;
}

.nav-link:hover {
  color: #EE174A;
  border: solid 2px transparent;
  border-radius: 7px;
  background: linear-gradient(#E6EBF4, #E6EBF4) padding-box, linear-gradient(-90deg, #EE174A 0%, transparent 98%) border-box;
  font-weight: 700;
}

.navbar {
  background-color: #E6EBF4;
}

.profil-card {
  height: 800px;
  width: 400px;
  border: 1px solid #EE174A;
  border-radius: 15px;
  background-color: #EBF0F7;
}

.profil-card > .top-card > span {
  font-size: 1.6em;
  font-weight: 700;
  margin-left: 20px;
}

.photo-profil {
  background-image: url("../medias/home/photoprofil.png");
  background-size: cover;
  border-radius: 30px;
  width: 300px;
  height: 300px;
}

.profil-card  strong {
  font-size: 1.2em;
}

.profil-card a {
  color: #EE174A;
  font-size: 1.5rem;
  text-decoration: none;
  border: 2px solid;
  border-radius: 50%;
}

.container h1 + p {
  width: 50%;
}

.CTA {
  background-color: #EE174A;
  width: 200px;
  text-decoration: none;
  color: #fff;
  border-radius: 50px;
  }

.CTA:hover {
  opacity: .75;
}

.links-social a:hover {
  background-color: #EE174A;
  color: #EBF0F7;
  border: #EE174A solid 2px;
  border-radius: 50%;
}

h1 {
  font-weight: 700;
}

h1 > span {
  color: #EE174A;
}

.card-sections a {
  text-decoration: none;
}

.haut,
.bas {
    display: flex;
  }

.card {
  height: 500px;
  width: 500px;
  border: #EE174A 2px solid;
  background-color: #EBF0F7;
  border-radius: 15px;
  margin-right: 40px;
  margin-bottom: 40px;
}

.card-sections a:hover {
  border: solid 2px #424550;
}

.illustration-about {
  background-image: url("../medias/home/cvillu\ 2.png");
}

.illustration-portfolio {
  background-image: url("../medias/home/rondache\ V2.png");
}

.illustration-services {
  background-image: url("../medias/home/illuservice.png");
}

.illustration-contact {
  background-image: url("../medias/home/contact.png");
}

.illustration-about,
.illustration-portfolio,
.illustration-services,
.illustration-contact {
  background-size: cover;
  background-position: center;
  width: 80%;
  height: 80%;
  margin: auto;
}

.footer {
  border-top: #EE174A solid 1px;
  margin-left: 500px;
}



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

  .fa-bars {
    color: #EE174A;
  }

  .burger-menu {
    border: solid 1px #EE174A;
    border-radius: 50%;
    height: 50px;
    width: 50px;
  }

  .navbar-toggler {
    border: 0;
  }

  .nav-link .img {
    background-repeat: no-repeat;
    background-position: center;
    border: solid 1px #EE174A;
    border-radius: 50%;
    height: 45px;
    width: 45px;
  }

  .img-home {
    background-image: url("../medias/home/home_logo_red.svg");
  }

  .img-about {
    background-image: url("../medias/home/about_logo_red.svg");
  }

  .img-portfolio {
    background-image: url("../medias/home/portfolio_logo_red.svg");
  }

  .img-services {
    background-image: url("../medias/home/services_logo_red.svg");
  }

  .img-contact {
    background-image: url("../medias/home/contact_logo_red.svg");
  }

  .nav-link {
    color: #EE174A;
    border: none;
    border-radius: none;
    background: none;
  }

  nav + div {
    flex-direction: column;
    justify-content: center;
    align-items: center;
  }

  .profil-card {
    width: 350px;
  }

  .photo-profil {
    width: 250px;
    height: 250px;
  }

  .container h1 + p {
    width: 70%;
  }

  h1 {
    margin-top: 2rem;
    font-size: 2rem;
  }

  h1,
  .container h1 + p,
  .CTA {
    margin-left: 1rem;
  }

  .card {
    height: 400px;
    width: 350px;
  }

  .haut,
  .bas {
    display: block;
  }

  .footer {
    margin-left: 1rem;
  }
}
