html, body {
  margin: 0;
  padding: 0;
  height: 100%;
  font-family: "San Francisco" !important;
}
@font-face {
  font-family: "San Francisco";
  font-weight: 300;
  src: url("https://applesocial.s3.amazonaws.com/assets/styles/fonts/sanfrancisco/sanfranciscodisplay-thin-webfont.woff");
}
@font-face {
  font-family: "San Francisco";
  font-weight: 400;
  src: url("https://applesocial.s3.amazonaws.com/assets/styles/fonts/sanfrancisco/sanfranciscodisplay-regular-webfont.woff");
}
@font-face {
  font-family: "San Francisco";
  font-weight: 800;
  src: url("https://applesocial.s3.amazonaws.com/assets/styles/fonts/sanfrancisco/sanfranciscodisplay-bold-webfont.woff");
}
@font-face {
  font-family: "San Francisco";
  font-weight: 700;
  src: url("https://applesocial.s3.amazonaws.com/assets/styles/fonts/sanfrancisco/sanfranciscodisplay-semibold-webfont.woff");
}
body {
  background: url(https://uhdwallpapers.org/uploads/converted/20/06/25/macos-big-sur-wwdc-2560x1440_785884-mm-90.jpg);
}
footer {
  position: absolute;
  bottom: 0;
  right: 0;
  padding-right: 10px;
  line-height: 0;
  font-weight: 300;
  width: auto;
  z-index: 999;
}
footer a {
  font-weight: 400;
  color: #06c;
}
article {
  display: flex;
  flex-direction: column;
  width: 100%;
}
article header {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-evenly;
  max-width: 900px;
  width: 100%;
  align-self: center;
}

ol,
ol ul {
  padding: 0;
}
small {
  font-style: italic;
}


.max-width-900 {
  max-width: 900px;
  width: 100%;
}
.max-width-80 {
  max-width: 80%;
  width: 100%;
}
.max-width-100 {
  max-width: 100%;
  width: 100%;
}
.fullsize-centered {
  height: 100%;
  width: 100%;
  justify-content: center;
  align-content: center;
  align-items: center;
}
.row {
  display: flex;
  flex-direction: row;
}
.column {
  display: flex;
  flex-direction: column;
}
.center {
  justify-content: center;
}
.between {
  justify-content: space-between;
}
.evenly {
  justify-content: space-evenly;
}
.flex-end {
  justify-content: flex-end;
}
.around {
  justify-content: space-around;
}
.align-items-center {
  align-items: center;
}
.wrap {
  flex-wrap: wrap;
}


.dock {
  width: auto;
  height: 60px;
  border-radius: 16px;
  display: flex;
  justify-content: center;
  position: absolute;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
}
.dock .dock-container {
  padding: 3px;
  width: auto;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 16px;
  background: rgba(83, 83, 83, 0.25);
  backdrop-filter: blur(13px);
  -webkit-backdrop-filter: blur(13px);
  border: 1px solid rgba(255, 255, 255, 0.18);
}
.dock .dock-container .li-bin {
  margin-left: 20px;
  border-left: 1.5px solid rgba(255, 255, 255, 0.4);
  padding: 0px 10px;
}
.dock .dock-container .li-1::after {
  position: absolute;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.5);
  content: "";
  bottom: 2px;
}
.dock .dock-container li {
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 50px;
  height: 50px;
  vertical-align: bottom;
  transition: 0.2s;
  transform-origin: 50% 100%;
}
.dock .dock-container li:hover {
  margin: 0px 13px 0px 13px;
}
.dock .dock-container li .name {
  position: absolute;
  top: -70px;
  background: rgba(0, 0, 0, 0.5);
  color: rgba(255, 255, 255, 0.9);
  height: 10px;
  padding: 10px 15px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 5px;
  visibility: hidden;
}
.dock .dock-container li .name::after {
  content: "";
  position: absolute;
  bottom: -10px;
  width: 0;
  height: 0;
  backdrop-filter: blur(13px);
  -webkit-backdrop-filter: blur(13px);
  border-left: 10px solid transparent;
  border-right: 10px solid transparent;
  border-top: 10px solid rgba(0, 0, 0, 0.5);
}
.dock .dock-container li .ico {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: 0.2s;
}
.dock .dock-container li .ico-bin {
  width: 94% !important;
  height: 94% !important;
  object-fit: cover;
  transition: 0.2s;
}
.dock .dock-container li .ico-bin:hover {
  margin-left: 10px;
}

li[class^='li-']:hover .name {
  visibility: visible !important;
}

.headline {
  text-align: center;
  margin: 0;
  font-weight: 800;
}
.subhead {
  text-align: center;
  margin: 0;
  font-weight: 400;
}
.baseline {
  text-align: justify;
  margin: 0;
}

.links {
  display: flex;
  flex-direction: row;
  justify-content: space-around;
  max-width: 60%;
  width: 100%; 
  align-self: center;
  margin-bottom: 30px;
}
.avatar {
  vertical-align: middle;
  width: 150px;
  height: 150px;
  border-radius: 50%;
  border: 1px solid #d2d2d7;
  background-color: rgba(255, 255, 255, 0.7);
  margin-left: 20px;
  box-shadow: 10px 0px 13px -7px rgba(46, 61, 73, 0.2),
              -10px 0px 13px -7px rgba(46, 61, 73, 0.2);
}
.list-logo {
  height: 24px;
  bottom: 0;
  margin-right: 10px;
}

.popup {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  width: 100%;
}

.popup .popup-container {
  display: flex;
  flex-direction: column;
  width: 100%;
  margin: 0 auto;
}

.popup .popup-container .content {
  display: flex;
  flex-direction: column;
  width: 100%;
  margin: 0 auto;
}

/* POPUP CV */
.popup.popup-cv {
  background-color: white;
}
.popup.popup.popup-cv article {
  background-color: #f2f2f2;
}

/* POPUP MUSIQUE */
.popup.popup-musique {
  background-color: white;
}
.popup.popup-musique .popup-container {
  background-color: #f8f9f0;
  background-image: url("../medias/musique_bg.svg");
  background-repeat: no-repeat;
  background-position: center;
}

/* POPUP PORTFOLIO */
.popup.popup-portfolio {
  background-color: white;
}
.popup.popup-portfolio .popup-container {
  background-image: url("../medias/portfolio_bg.png");
  background-repeat: no-repeat;
  background-position: center;
  color: black;
}

/* POPUPS ATTRIBUTES */
.popup.popup-cv a.button {
  background-color: transparent;
  color: #06c;
  line-height: 30px;
  padding: 5px 5px;
  margin: 20px 10px 0 0;
  text-align: left;
  text-decoration: none;
  font-size: 14px;
  cursor: pointer;
}
.popup.popup-cv a.button:after {
  content: "\00a0>";
  color: #06c;
  display: inline-block;
  text-decoration: none;
  position: absolute;
}

.popup.popup-cv a.button:hover {
  text-decoration: underline;
}

.popup.popup-cv a.light-button {
  background-color: transparent;
  color: #06c;
  text-align: left;
  text-decoration: none;
  font-size: 16px;
  cursor: pointer;
}

.popup.popup-cv a.light-button:hover {
  text-decoration: underline;
}

.popup.popup-musique .background-image {
  position: absolute;
  max-width: 1080px;
  max-height: 800px;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 3;
}
.popup.popup-musique .button-centered {
  position: absolute;
  bottom: 60px;
  align-self: center;
  pointer-events: none;
}

.popup.popup-portfolio h3 {
  line-height: 64px;
  font-size: 64px;
  margin: 0 0 30px 0;
  font-weight: 800;
}
.popup.popup-portfolio h4 {
  line-height: 18px;
  font-size: 18px;
  font-weight: 300;
  margin: 0;
}

.center-block {
  width: 80%;
  height: 80%;
  border-radius: 20px;
  z-index: 2;
}

.cards-block {
  height: 430px;
  flex-wrap: wrap;
}

.card-block {
  margin: 5px;
  width: 200px;
  height: 200px;
  background-color: black;
  border-radius: 20px;
}
.card-block a {
  background-color: #db595d;
  width: 150px;
  margin: 0 auto;
  color: white;
  border: none;
  border-radius: 10px;
  font-size: 16px;
  font-weight: 300;
  text-align: center;
  padding: 5px;
  cursor: pointer;
}

.left-title-block {
  padding-left: 50px;
}

.span-block {
  margin: 20px 0;
}

article .white-block {
  box-shadow: 10px 0px 13px -7px rgba(46, 61, 73, 0.2),
              -10px 0px 13px -7px rgba(46, 61, 73, 0.2);
  border-radius: 20px;
  background-color: white;
  margin: 20px 0;
  padding: 20px;
}
.article-header {
  padding: 10px;
  margin: 20px auto;
}

.article-header .article-title {
  margin: 0 20px;
  font-weight: 700;
}

.article-header .article-subtitle {
  margin: 0 20px;
  font-weight: 400;
}

.carousel-wrapper {
  --size-width: 900px;
  --size-height: 300px;
  align-self: center;
  width: var(--size-width);
  height: var(--size-height);
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  box-shadow: 10px 0px 13px -7px rgba(46, 61, 73, 0.2),
              -10px 0px 13px -7px rgba(46, 61, 73, 0.2);
  border-radius: 20px;
  background-color: white;
  margin: 20px 0;
  padding: 20px;
}

.carousel-container {
  width: var(--size-width);
  height: var(--size-height);
  overflow: hidden;
}

.carousel.carousel-experience {
  display: flex;
  width: calc(var(--size-width) * 4);
  height: var(--size-height);
  animation: sliding-4 24s infinite;
}
.carousel.carousel-formation {
  display: flex;
  width: calc(var(--size-width) * 2);
  height: var(--size-height);
  animation: sliding-2 12s infinite;
}

.carousel > div {
  width: var(--size-width);
  height: var(--size-height);
  background-size: cover;
  background-position: center;
}
.carousel:hover {
  animation-play-state: paused;
}

.carousel-flex {
  display: flex;
  margin: 0 10px;
}

.carousel-flex div[class^="image-"] {
  height: 270px;
  flex-basis: 40%;
  align-self: flex-end;
  border-radius: 5px;
}

.carousel-experience .image-one {
  background-image: url("../medias/Epitech_presentation.jpg");
  background-size: cover;
  background-position: center;
}
.carousel-experience .image-two {
  background-image: url("../medias/freelance_presentation.jpg");
  background-size: cover;
  background-position: center;
}
.carousel-experience .image-three {
  background-image: url("../medias/freelance_formation.jpg");
  background-size: cover;
  background-position: center;
}
.carousel-experience .image-four {
  background-image: url("../medias/Opentime_solution.png");
  background-size: cover;
  background-position: center;
}

.carousel-formation .image-one {
  background-image: url("../medias/Epitech_presentation.png");
  background-size: cover;
  background-position: center;
}
.carousel-formation .image-two {
  background-image: url("../medias/bac_formation.jpg");
  background-size: cover;
  background-position: center;
}

@keyframes sliding-4 {
  12.5% {
    transform: translateX(0);
  }
  25% {
    transform: translateX(calc(var(--size-width) * -1));
  }
  37.5% {
    transform: translateX(calc(var(--size-width) * -1));
  }
  50% {
    transform: translateX(calc(var(--size-width) * 2 * -1));
  }
  62.5% {
    transform: translateX(calc(var(--size-width) * 2 * -1));
  }
  75% {
    transform: translateX(calc(var(--size-width) * 3 * -1));
  }
  87.5% {
    transform: translateX(calc(var(--size-width) * 3 * -1));
  }
  93.75% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(0);
  }
}

@keyframes sliding-2 {
  25% {
    transform: translateX(0);
  }
  50% {
    transform: translateX(calc(var(--size-width) * -1));
  }
  75% {
    transform: translateX(calc(var(--size-width) * -1));
  }
  87.5% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(0);
  }
}

.experience {
  margin-left: 20px;
  flex-basis: 60%;
}
.experience-heading {
  display: flex;
  background-color: #06c;
  border-radius: 5px;
  padding: 2.5px 10px;
}
.experience-title {
  vertical-align: middle;
  color: white;
}

.experience-body p {
  margin: 0;
  font-size: 14px;
}
.experience-body ol {
  margin: 0;
  padding-left: 10px;
  list-style-type: "- ";
}
.experience-body li {
  font-size: 14px;
}

.mobile-alert {
  display: none;
}

@media screen and (max-width: 900px) {
  body {
    overflow: hidden;
  }
  body * {
    visibility: hidden;
  }
  .mobile-alert p {
    visibility: visible;
    margin: auto 30px;
    padding: 0;
  }
  .mobile-alert {
    display: flex;
    align-content: center;
    justify-content: center;
    visibility: visible;
    height: 100%;
  }
}