@import url("https://fonts.googleapis.com/css2?family=Montserrat:ital,wght@0,100..900;1,100..900&display=swap");
@property --angle {
  syntax: "<angle>";
  initial-value: 0deg;
  inherits: false;
}
body {
  background-color: rgb(29, 27, 27);
  margin: 0;
  font-family: "Montserrat", sans-serif;
}

nav {
  height: 30px;
  width: 250px;
  margin: auto;
  margin-bottom: 50px;
  padding: 20px;
  border-radius: 50px;
  background-color: rgb(39, 38, 38);
  display: flex;
  justify-content: space-around;
  align-items: center;
}
nav a {
  height: 100%;
  position: relative;
  color: #ebeaea;
  font-size: 15px;
}
nav a::after {
  background-color: rgb(39, 38, 38);
  padding: 2px 10px;
  border-radius: 0px 0px 10px 10px;
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  z-index: 3;
  visibility: hidden;
  top: 0;
}
@media only screen and (max-width: 800px) {
  nav a::after {
    top: 130%;
    visibility: visible;
  }
}
nav a:hover:after {
  top: 160%;
  visibility: visible;
}
nav #home-link::after {
  content: "Home";
}
nav #formations-link::after {
  content: "Formations";
}
nav #projets-link::after {
  content: "Projets";
}
@media only screen and (max-width: 800px) {
  nav {
    padding: 10px;
    width: 50%;
  }
}
@media only screen and (max-width: 500px) {
  nav {
    width: 70%;
  }
}

main {
  position: relative;
  padding: 20px 15%;
  height: max-content;
}
@media only screen and (max-width: 1000px) {
  main {
    padding: 10px 10%;
  }
}

section {
  margin-bottom: 150px;
}
@media only screen and (max-width: 800px) {
  section {
    margin-bottom: 50px;
  }
}

.right {
  position: absolute;
  left: 50%;
  width: 40%;
}
@media only screen and (max-width: 1000px) {
  .right {
    width: 45%;
  }
}
@media only screen and (max-width: 800px) {
  .right {
    position: relative;
    width: 100%;
    left: 0;
  }
}

.dark-font-color {
  color: #6622b3;
}

.underlined {
  text-decoration: underline;
}

#presentation-card {
  position: fixed;
  margin: 0;
  padding: 3% 3% 1% 3%;
  width: 20%;
  background-color: #ebeaea;
  border-radius: 50px;
  text-align: center;
}
#presentation-card img {
  width: 100%;
  border-radius: 50px;
}
@media only screen and (max-width: 800px) {
  #presentation-card img {
    grid-row: 1/5;
    border-radius: 20px;
    padding: 2%;
  }
}
#presentation-card #name {
  color: black;
  width: 100%;
  font-size: 2.5vw;
  font-weight: bold;
  padding-bottom: 10px;
  border-bottom: #6622b3 10px solid;
}
@media only screen and (max-width: 800px) {
  #presentation-card #name {
    margin: auto;
    grid-row: 1/3;
    width: 90%;
    border-bottom: #6622b3 5px solid;
    margin-bottom: 20px;
    font-size: 1.2rem;
  }
}
#presentation-card #description {
  font-size: 25px;
}
@media only screen and (max-width: 800px) {
  #presentation-card #description {
    font-size: 1rem;
    grid-row: 3/4;
    margin: 0 auto;
    margin-bottom: 20px;
    width: 90%;
  }
}
#presentation-card #socials {
  display: flex;
  justify-content: space-around;
}
#presentation-card #socials img {
  width: 30px;
}
@media only screen and (max-width: 800px) {
  #presentation-card #socials img {
    width: 20px;
  }
}
@media only screen and (max-width: 800px) {
  #presentation-card #socials {
    width: 90%;
    margin: auto;
    grid-row: 4/5;
  }
}
@media only screen and (max-width: 1000px) {
  #presentation-card {
    width: 30%;
    padding: 1.5%;
  }
}
@media only screen and (max-width: 800px) {
  #presentation-card {
    position: relative;
    width: 100%;
    display: grid;
    justify-content: center;
    align-items: center;
    grid-template-rows: 40% 20% 20% 20%;
    grid-template-columns: 20% 80%;
    border-radius: 20px;
    margin-bottom: 50px;
  }
}

#presentation-text {
  color: #ebeaea;
  text-align: justify;
}
#presentation-text h1 {
  font-size: 4vw;
}
@media only screen and (max-width: 800px) {
  #presentation-text h1 {
    font-size: 6vw;
  }
}
#presentation-text p {
  font-size: 1.8vw;
}
@media only screen and (max-width: 1000px) {
  #presentation-text p {
    font-size: 2vw;
  }
}
@media only screen and (max-width: 800px) {
  #presentation-text p {
    font-size: 4vw;
  }
}

#wrapper {
  margin-top: 50px;
  width: 90%;
  padding: 20px;
  mask: linear-gradient(90deg, transparent, white 20%, white 80%, transparent);
  overflow: hidden;
}
#wrapper-inner {
  width: max-content;
  display: flex;
  gap: 3rem;
  animation: carousel 20s linear infinite;
}
#wrapper img {
  width: 100px;
}
@media only screen and (max-width: 800px) {
  #wrapper img {
    width: 50px;
  }
}

@keyframes carousel {
  to {
    transform: translateX(calc(-50% - 1.5rem));
  }
}
h2 {
  color: #ebeaea;
  font-size: 4vw;
}
@media only screen and (max-width: 800px) {
  h2 {
    font-size: 6vw;
  }
}

.projet {
  display: flex;
  align-items: center;
  background-color: #ebeaea;
  padding: 20px;
  border-radius: 50px;
  position: relative;
}
.projet a {
  width: 30%;
}
.projet img {
  width: 100%;
  object-fit: contain;
}
.projet-content {
  width: 100%;
}
.projet h3 {
  color: #6622b3;
  margin: auto;
  text-align: center;
  font-size: 2vw;
}
@media only screen and (max-width: 800px) {
  .projet h3 {
    font-size: 4vw;
  }
}
.projet p {
  padding: 0 20px;
  text-align: center;
  color: rgb(39, 38, 38);
  font-size: 1.5vw;
}
@media only screen and (max-width: 800px) {
  .projet p {
    font-size: 3vw;
  }
}
.projet .technos {
  display: flex;
  justify-content: center;
  gap: 5%;
}
.projet .technos img {
  width: 15%;
}

.formation {
  margin-bottom: 100px;
  position: relative;
  background-color: #ebeaea;
  border-radius: 50px;
  font-size: 1.5vw;
  padding: 20px;
}
.formation .title {
  text-align: center;
}
.formation .title h3 {
  font-size: 2vw;
  color: #6622b3;
  border-bottom: 4px solid #6622b3;
  margin: 0 auto;
  width: 50%;
}
@media only screen and (max-width: 800px) {
  .formation .title h3 {
    font-size: 4vw;
  }
}
.formation .title p {
  margin: 0;
}
@media only screen and (max-width: 800px) {
  .formation {
    font-size: 3vw;
    margin-bottom: 30px;
  }
}

.formation::before, .formation::after, .projet::before, .projet::after {
  padding: 7px;
  border-radius: 50px;
  content: "";
  position: absolute;
  background: conic-gradient(from var(--angle), #6622b3, transparent, transparent, #6622b3, transparent, transparent, #6622b3);
  width: 100%;
  height: 100%;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: -1;
  animation: border-animation 2.5s linear infinite;
}

.formation::before, .projet::before {
  filter: blur(1.5rem);
  opacity: 0.8;
}

@keyframes border-animation {
  from {
    --angle: 0deg;
  }
  to {
    --angle: 360deg;
  }
}

/*# sourceMappingURL=style.css.map */
