:root {
  --dark: #000;
  --background: #fff;
  --primary: #7AAACC;
  --secondary-brown: #CCAB7A;
  --secondary-dark-blue: #406580;
  --secondary-dark-grey: #494F54;
  --secondary-light-blue: #B3DFFF;
  --background-menu: rgba(7, 7, 6, .85);
  --overlay: rgba(103, 91, 91, .3);
  --menu-height: 40px;
  --font-size: 14px;
}
@media (min-width: 900px) {
  :root {
    --menu-height: 80px;
    --font-size: 18px;
  }
}

html, body {
  width: 100%;
  height: 100%;
  font-size: var(--font-size);
  font-family: "Bree Serif", serif;
  color: var(--secondary-dark-grey);
}

* {
  margin: 0;
  padding: 0;
}

mark {
  background: none;
  color: var(--primary);
}

.cta {
  display: block;
  min-width: 100px;
  min-height: 25px;
  padding: 5px 15px;
  text-align: center;
  border-radius: 20px;
  text-decoration: none;
  color: var(--background);
  background-color: var(--primary);
}
.cta:hover {
  text-decoration: underline;
}

.breadcrumb {
  display: flex;
}
.breadcrumb li a {
  color: var(--background);
}
.breadcrumb li::before {
  content: ">";
  margin: 0 5px;
}
.breadcrumb li:first-child::before {
  content: "";
}

ul.list {
  display: flex;
}
ul.list li {
  list-style: none;
}

/* Header */
.navigation {
  top: 0;
  left: 0;
  z-index: 99;
  position: fixed;
  color: var(--background);
  font-family: "Inter", serif;
  background: var(--background-menu);
  border-bottom: 1px solid var(--dark);
  width: 100%;
  height: var(--menu-height);
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.navigation > * {
  margin: 0 10px;
}
.navigation span.logo {
  cursor: default;
  font-family: "Inter", serif;
  font-size: 1.666666667em;
}
.navigation .list {
  left: 0;
  top: 100%;
  width: 100%;
  display: none;
  position: absolute;
  font-size: 1.222222222em;
  height: calc(100vh - 100%);
  background: var(--background-menu);
}
.navigation .list li {
  margin: 15px;
}
.navigation .list li a {
  text-decoration: none;
  color: var(--background);
}
.navigation .list li:hover a {
  color: var(--primary);
  text-decoration: underline;
}
.navigation input[type=checkbox] {
  display: none;
}
.navigation input[type=checkbox]:checked ~ .hamburger .line:nth-child(1), .navigation input[type=checkbox]:checked ~ .hamburger .line:nth-child(3) {
  transform: scaleY(0);
}
.navigation input[type=checkbox]:checked ~ .hamburger .cross .line:nth-child(1) {
  transform: rotate(45deg);
  -o-transform: rotate(45deg);
  -ms-transform: rotate(45deg);
  -webkit-transform: rotate(45deg);
}
.navigation input[type=checkbox]:checked ~ .hamburger .cross .line:nth-child(2) {
  transform: rotate(-45deg);
  -o-transform: rotate(-45deg);
  -ms-transform: rotate(-45deg);
  -webkit-transform: rotate(-45deg);
}
.navigation input[type=checkbox]:checked ~ ul {
  display: flex;
  align-items: center;
  flex-direction: column;
  justify-content: center;
}
@media (min-width: 900px) {
  .navigation nav label.hamburger {
    display: none;
  }
  .navigation nav .list {
    display: flex;
    position: unset;
    background: unset;
    flex-direction: row !important;
  }
}

.hamburger {
  width: 17px;
  height: 17px;
  display: flex;
  cursor: pointer;
  flex-direction: column;
  justify-content: space-between;
}
.hamburger * {
  width: 100%;
  height: 3px;
}
.hamburger .line {
  display: block;
  border-radius: 10px;
  transform-origin: 50% 50%;
  background: var(--primary);
  transition: all 0.35s ease-in-out;
  -o-transition: all 0.35s ease-in-out;
  -moz-transition: all 0.35s ease-in-out;
  -webkit-transition: all 0.35s ease-in-out;
}
.hamburger .cross {
  position: relative;
}
.hamburger .cross .line {
  position: absolute;
}

.space-animation {
  color: var(--background);
}
.space-animation, .space-animation > * {
  height: 100vh;
}
.space-animation section {
  top: 0;
  left: 0;
  right: 0;
  position: fixed;
}
.space-animation .space {
  z-index: -3;
  background-size: cover;
  -o-background-size: cover;
  -moz-background-size: cover;
  -webkit-background-size: cover;
  background-position: center center;
  background-repeat: no-repeat;
  background-attachment: fixed;
  background-image: url("/details/background.webp");
}
.space-animation .stars {
  z-index: -2;
  height: 100vh;
}
.space-animation .stars > * {
  position: absolute;
  animation-duration: 4s;
  -o-animation-duration: 4s;
  -moz-animation-duration: 4s;
  -webkit-animation-duration: 4s;
  animation-iteration-count: infinite;
  -o-animation-iteration-count: infinite;
  -moz-animation-iteration-count: infinite;
  -webkit-animation-iteration-count: infinite;
  animation-timing-function: linear;
  -o-animation-timing-function: linear;
  -moz-animation-timing-function: linear;
  -webkit-animation-timing-function: linear;
}
.space-animation .stars .small-bear {
  top: 40px;
  right: 40px;
  width: clamp(142px, 50%, 284px);
  animation-name: small-bear;
  -o-animation-name: small-bear;
  -moz-animation-name: small-bear;
  -webkit-animation-name: small-bear;
  animation-duration: 3.5s;
  -o-animation-duration: 3.5s;
  -moz-animation-duration: 3.5s;
  -webkit-animation-duration: 3.5s;
}
@keyframes small-bear {
  0% {
    top: 40px;
    right: 40px;
  }
  60% {
    top: 60px;
    right: 60px;
  }
  100% {
    top: 40px;
    right: 40px;
  }
}
.space-animation .stars .big-bear {
  left: 60px;
  bottom: 60px;
  width: clamp(150px, 50%, 300px);
  animation-name: big-bear;
  -o-animation-name: big-bear;
  -moz-animation-name: big-bear;
  -webkit-animation-name: big-bear;
}
@keyframes big-bear {
  0% {
    left: 60px;
    bottom: 60px;
  }
  50% {
    left: 40px;
    bottom: 40px;
  }
  100% {
    left: 60px;
    bottom: 60px;
  }
}
.space-animation .overlay {
  z-index: -1;
  background: var(--overlay);
}
.space-animation .informations {
  display: flex;
  align-items: center;
  flex-direction: column;
  justify-content: center;
  position: absolute !important;
}
.space-animation .informations h1 {
  font-size: 3.611111111em;
  font-family: "IM FELL English", serif;
}
.space-animation .informations .cta {
  font-size: 1.333333333em;
}

.home .space-animation .informations, .home .space-animation .stars {
  top: var(--menu-height);
  height: calc(100vh - var(--menu-height));
}
.home .space-animation .informations span {
  font-size: 2.5em;
}
.home .space-animation .informations div.title {
  display: flex;
  align-items: center;
  flex-direction: column;
}
.home .space-animation .informations div.title hr {
  width: 200px;
  border-color: var(--primary);
}
.home .space-animation .informations h2 {
  font-size: 2.222222222em;
}
.home .space-animation .informations .cta-container {
  display: flex;
  margin-top: 20px;
}
.home .space-animation .informations .cta-container .cta {
  margin: 0 8px;
}
.home .space-animation .informations .cta-container .cta:nth-child(2) {
  background: var(--secondary-brown);
}

.article .space-animation .space {
  height: 100% !important;
}
.article .space-animation, .article .space-animation > * {
  height: unset;
}
.article .space-animation .informations {
  align-items: unset;
  justify-content: unset;
  position: unset !important;
  background: rgba(122, 170, 204, 0.64);
}
.article .space-animation .informations nav {
  margin: 5px;
}
.article .space-animation .informations h1 {
  font-size: 2.5em;
  text-align: left;
  margin: 30px 10px;
}

.error .space-animation .informations h1 {
  text-align: center;
}
.error .space-animation .informations .cta {
  margin-top: 25px;
}

.additional-informations {
  display: flex;
  margin: 10px 0;
  text-align: center;
  font-size: 1.388888889em;
  justify-content: space-evenly;
}
.additional-informations h2 {
  color: var(--secondary-dark-grey);
}

/* Main */
main {
  background: var(--background);
}
main article {
  display: flex;
  align-items: center;
  flex-direction: column;
}
main article header {
  display: flex;
  align-items: center;
  flex-direction: column;
}
main article header h1 {
  font-size: 2.5em;
}
main article header hr {
  width: 200px;
  border: 1px solid var(--primary);
}

#about-me section {
  gap: 10px 0;
  display: grid;
  max-width: 900px;
  margin: 30px 20px;
  grid-template-columns: 1fr;
  grid-template-rows: 250px 1fr 35px 20px;
  grid-template-areas: "photographie" "text" "cta" "contact";
}
@media (min-width: 900px) {
  #about-me section {
    gap: 10px 40px;
    grid-template-rows: 1fr 60px;
    grid-template-columns: 1fr 3fr;
    grid-template-areas: "photographie text" "contact cta";
  }
}
#about-me section .photographie {
  margin-top: 25px;
  align-self: center;
  justify-self: center;
  grid-area: photographie;
  box-shadow: 0px 0px 0px 10px var(--primary) inset;
}
#about-me section .photographie img {
  width: auto;
  height: 225px;
  transform: translate(25px, -25px);
}
#about-me section span {
  grid-area: text;
  text-align: justify;
}
#about-me section .cta {
  grid-area: cta;
  align-self: end;
  font-size: 1.2em;
  justify-self: center;
}
#about-me section nav {
  justify-self: end;
  grid-area: contact;
}
@media (min-width: 900px) {
  #about-me section nav {
    justify-self: center;
  }
}
#about-me section nav li, #about-me section nav a, #about-me section nav svg {
  width: 35px;
  height: 35px;
}

.slider {
  width: 100%;
  margin: 15px 0;
  min-height: 250px;
  position: relative;
}
.slider .arrow {
  top: 20px;
  z-index: 1;
  width: 30px;
  height: 252px;
  display: flex;
  cursor: pointer;
  position: absolute;
  align-items: center;
  justify-content: center;
  background: rgba(196, 196, 196, 0.5);
}
.slider .arrow svg {
  width: 20px;
}
.slider .arrow.prev {
  border-radius: 0 4px 4px 0;
}
.slider .arrow.next {
  right: 0;
  border-radius: 4px 0 0 4px;
}
.slider .arrow:hover, .slider .arrow:active {
  box-shadow: 0 0 4px 4px rgba(134, 134, 134, 0.25);
}
.slider ul {
  --nbr-item: 1;
  width: 100%;
  height: 100%;
  display: flex;
  margin: 10px 0;
  padding: 10px 0;
  overflow-x: auto;
  scrollbar-width: none;
  scroll-behavior: smooth;
  -ms-overflow-style: none;
  justify-content: space-between;
}
.slider ul::-webkit-scrollbar {
  display: none;
}
@media (min-width: 660px) {
  .slider ul {
    --nbr-item: 2;
  }
}
@media (min-width: 930px) {
  .slider ul {
    --nbr-item: 3;
  }
}
.slider ul li {
  display: flex;
  list-style: none;
  --size-card: 250px;
}
.slider ul li:not(.item) {
  align-items: center;
  justify-content: center;
  scroll-snap-align: start;
  flex: 0 0 calc(var(--size-card) + 2 * (100% - (60px + var(--nbr-item) * var(--size-card))) / (2 * var(--nbr-item) + 2));
}
.slider ul li.item {
  --margin: calc(((100% - ((2 * 30px) + (var(--nbr-item) * var(--size-card)))) / (2 * var(--nbr-item) + 2)));
}
.slider ul li.item.left {
  margin-right: var(--margin);
}
.slider ul li.item.right {
  margin-left: var(--margin);
}
.slider ul li.item div {
  width: 30px;
  height: 100%;
}
@media (min-width: 900px) {
  .slider {
    width: unset;
    display: flex;
    position: unset;
    align-items: center;
    flex-direction: row;
  }
  .slider .arrow {
    position: unset;
    background: none;
  }
  .slider .arrow:hover, .slider .arrow:active {
    box-shadow: none;
  }
  .slider ul {
    margin: 0;
    width: 840px;
  }
  .slider ul li.item {
    display: none;
  }
  .slider ul li:not(.item) {
    flex: 0 0 calc(var(--size-card) + 2 * (100% - var(--nbr-item) * var(--size-card)) / (2 * var(--nbr-item)));
  }
}

#works li {
  --size-card: 202px;
}

.card h2 {
  font-size: 20px;
}
.card.card-hobby {
  width: 250px;
  height: 250px;
  display: flex;
  border-radius: 15px;
  align-items: center;
  flex-direction: column;
  justify-content: space-evenly;
  transition: background-color 600ms;
  box-shadow: 4px 4px 8px rgba(0, 0, 0, 0.25);
}
.card.card-hobby:hover, .card.card-hobby:active, .card.card-hobby:focus {
  background-color: var(--secondary-light-blue);
}
.card.card-hobby .animation {
  height: 170px;
  width: 170px;
  display: flex;
  position: relative;
  align-items: center;
  justify-content: center;
}
.card.card-hobby .title {
  display: flex;
  align-items: center;
  flex-direction: column;
}
.card.card-hobby .title h2 {
  cursor: default;
}
.card.card-hobby .title hr {
  width: 100px;
  border: 1px solid var(--primary);
}
.card.card-project {
  width: 250px;
  height: 250px;
  overflow: hidden;
  border-radius: 15px;
  box-shadow: 4px 4px 8px rgba(0, 0, 0, 0.25);
}
.card.card-project:hover .image img, .card.card-project:active .image img, .card.card-project:focus .image img {
  transform: scale(1.2);
}
.card.card-project .image {
  width: 100%;
  height: 194px;
  display: block;
  overflow: hidden;
}
.card.card-project .image img {
  transition: transform 600ms;
}
.card.card-project .title {
  width: 230px;
  height: 42px;
  display: grid;
  padding: 7px 10px;
  align-items: center;
  grid-template-rows: 27px 14px;
  grid-template-columns: 1fr 10px;
  grid-template-areas: "title link" "sub-title sub-title";
}
.card.card-project .title h2, .card.card-project .title span {
  text-align: left;
}
.card.card-project .title h2 {
  grid-area: title;
}
.card.card-project .title h2 a {
  text-decoration: none;
  color: var(--secondary-dark-grey);
}
.card.card-project .title a {
  grid-area: link;
}
.card.card-project .title span {
  font-size: 0.8em;
  font-family: Roboto, serif;
  grid-area: sub-title;
}
.card.card-work {
  width: 200px;
  height: 250px;
  text-align: center;
  border-radius: 5px;
  border: 1px solid var(--primary);
  transition: background-color 0.6s;
  box-shadow: 4px 4px 8px rgba(0, 0, 0, 0.25);
  display: flex;
  align-items: center;
  justify-content: center;
}
.card.card-work > div {
  gap: 8px;
  width: 170px;
  display: flex;
  align-items: center;
  flex-direction: column;
  justify-content: center;
}
.card.card-work .logo {
  width: 45px;
  height: 45px;
  padding: 8px;
  border-radius: 50%;
  border: 1px solid var(--secondary-brown);
}
.card.card-work .logo rect {
  stroke: var(--secondary-brown);
}
.card.card-work .logo path {
  fill: var(--secondary-brown);
}
.card.card-work span, .card.card-work h3 {
  font-size: 15px;
}
.card.card-work h3 {
  color: var(--primary);
}
.card.card-work .cta {
  display: none;
  background-color: var(--secondary-brown);
}
.card.card-work:hover, .card.card-work:active, .card.card-work:focus {
  color: var(--background);
  background-color: var(--primary);
}
.card.card-work:hover .logo, .card.card-work:active .logo, .card.card-work:focus .logo {
  border: 1px solid var(--background);
}
.card.card-work:hover svg rect, .card.card-work:active svg rect, .card.card-work:focus svg rect {
  stroke: var(--background);
}
.card.card-work:hover svg path, .card.card-work:active svg path, .card.card-work:focus svg path {
  fill: var(--background);
}
.card.card-work:hover h3, .card.card-work:active h3, .card.card-work:focus h3 {
  color: var(--background);
}
.card.card-work:hover a, .card.card-work:active a, .card.card-work:focus a {
  display: unset;
}

.article main {
  display: flex;
  padding: 0 40px;
  align-items: center;
  flex-direction: column;
  justify-content: space-evenly;
  min-height: calc(100% - 134px);
}
.article main article {
  width: 100%;
  max-width: 900px;
  align-items: start;
}
.article main article section {
  margin: 15px 10px;
}
.article main article section ul {
  margin-left: 25px;
}
.article main h1 {
  font-size: 1.388888889em;
}
.article main hr {
  width: 80%;
}

.summary {
  width: 100%;
  margin: 10px;
  max-width: 900px;
  padding: 5px 10px;
  border-radius: 4px;
  align-items: start;
  background-color: #F1F1F1;
  border-left: 4px solid var(--primary);
}
.summary ol {
  padding: 0 15px;
}

#read_more section {
  align-self: center;
}
#read_more section li {
  margin: 0 20px;
}
#read_more section li .cta {
  display: flex;
  align-items: center;
  justify-content: space-evenly;
}
#read_more section li:nth-child(2) .cta {
  background: var(--secondary-brown);
}

/* Footer */
footer {
  display: flex;
  align-items: center;
  flex-direction: column;
  justify-content: center;
  background: var(--primary);
}
footer .languages {
  width: 100%;
  display: flex;
  justify-content: space-evenly;
}
footer .languages svg {
  width: 100px;
}

a.button {
  right: 8px;
  width: 80px;
  bottom: 8px;
  height: 80px;
  display: flex;
  position: fixed;
  border-radius: 10px;
  align-items: center;
  background: #494F54;
  justify-content: center;
}
a.button svg {
  width: 60px;
  height: 60px;
}
a.button svg .flame {
  opacity: 0;
  transition: opacity 600ms;
}
a.button:hover svg, a.button:active svg {
  animation-name: take-off;
  -o-animation-name: take-off;
  -moz-animation-name: take-off;
  -webkit-animation-name: take-off;
  animation-duration: 0.5s;
  -o-animation-duration: 0.5s;
  -moz-animation-duration: 0.5s;
  -webkit-animation-duration: 0.5s;
  animation-iteration-count: infinite;
  -o-animation-iteration-count: infinite;
  -moz-animation-iteration-count: infinite;
  -webkit-animation-iteration-count: infinite;
  animation-timing-function: linear;
  -o-animation-timing-function: linear;
  -moz-animation-timing-function: linear;
  -webkit-animation-timing-function: linear;
}
@keyframes take-off {
  from {
    transform: rotateZ(0deg);
  }
  25% {
    transform: rotateZ(-10deg);
  }
  50% {
    transform: rotateZ(0deg);
  }
  75% {
    transform: rotateZ(10deg);
  }
  to {
    transform: rotateZ(0deg);
  }
}
a.button:hover svg .flame, a.button:active svg .flame {
  opacity: 1;
}

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