@charset "UTF-8";
/* http://meyerweb.com/eric/tools/css/reset/ 
   v2.0 | 20110126
   License: none (public domain)
*/
html, body, div, span, applet, object, iframe,
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
a, abbr, acronym, address, big, cite, code,
del, dfn, em, img, ins, kbd, q, s, samp,
small, strike, strong, sub, sup, tt, var,
b, u, i, center,
dl, dt, dd, ol, ul, li,
fieldset, form, label, legend,
table, caption, tbody, tfoot, thead, tr, th, td,
article, aside, canvas, details, embed,
figure, figcaption, footer, header, hgroup,
menu, nav, output, ruby, section, summary,
time, mark, audio, video {
  margin: 0;
  padding: 0;
  border: 0;
  font-size: 100%;
  font: inherit;
  vertical-align: baseline;
}

/* HTML5 display-role reset for older browsers */
article, aside, details, figcaption, figure,
footer, header, hgroup, menu, nav, section {
  display: block;
}

body {
  line-height: 1;
}

ol, ul {
  list-style: none;
}

blockquote, q {
  quotes: none;
}

blockquote:before, blockquote:after,
q:before, q:after {
  content: "";
  content: none;
}

table {
  border-collapse: collapse;
  border-spacing: 0;
}

/*** Règles générales  ***/
*,
*:before,
*:after {
  box-sizing: border-box;
}

html {
  font-size: 100%;
}

strong {
  font-weight: bold;
}

img {
  max-width: 100%;
  height: auto;
}

html {
  scroll-behavior: smooth;
}

/**** variables de couleur *********/
/* Main accent color - change this for easy theme customization */
/* Glass effect variables */
/* Transitions */
/* Ici on a défini l'ensemble des couleurs utilisées par le site */
.tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.tag {
  background-color: rgba(250, 250, 250, 0.2);
  color: hsl(0, 0%, 100%);
  padding: 0.25rem 0.5rem;
  border-radius: 9999px;
  font-size: 0.75rem;
  line-height: 1rem;
  text-transform: capitalize;
}

/**** Works *****/
.works {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(min(100%, 290px), 1fr));
  gap: 2rem;
}

.work {
  display: grid;
  grid-template-columns: 1fr;
  grid-template-rows: 1fr;
  text-align: left;
  overflow: hidden;
  clip-path: inset(0 round 24px);
}
.work__image {
  transition: transform ease-in-out 0.5s;
  z-index: -1;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.work__description, .work__image {
  grid-column: 1/1;
  grid-row: 1/1;
}
.work__description {
  display: flex;
  flex-direction: column;
  border-radius: 24px;
  cursor: pointer;
  justify-content: end;
  background: linear-gradient(to bottom, rgba(0, 0, 0, 0) 0%, rgba(0, 0, 0, 0.4) 70%, rgba(0, 0, 0, 0.7) 100%);
}
.work__description > :last-child {
  margin-bottom: 1rem;
}
.work__description > * {
  margin-inline: 2rem;
}
.work__category {
  color: hsl(10, 85%, 65%);
  text-transform: uppercase;
  font-weight: 600;
  margin-bottom: 1.5rem;
  margin-bottom: 0.5rem;
}
.work__title {
  font-size: 2rem;
  color: white;
  font-weight: 600;
  margin-bottom: 0.8rem;
}
.work:hover img {
  transform: scale(1.1);
}

/* Placez ici les styles permettant la mise en forme pour mobile */
.page {
  background-color: hsl(0, 0%, 98%);
  color: hsl(0, 0%, 10%);
  font-family: ui-sans-serif, system-ui, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji";
}

.heroe-section,
.main-content {
  max-width: 1300px;
  margin-inline: auto;
  padding: 2rem 3rem;
}

.heroe-section {
  min-height: 100vh;
}
@media (width > 700px) {
  .heroe-section {
    grid-template-columns: 1fr 1fr;
    display: grid;
    align-items: center;
    gap: 3rem;
  }
}
.heroe-section__description {
  margin-bottom: 3rem;
}
.heroe-section__image {
  border-radius: 24px;
}
.heroe-section__function {
  color: hsl(10, 85%, 65%);
  text-transform: uppercase;
  font-weight: 600;
  margin-bottom: 1.5rem;
}
.heroe-section__first-name-and-name {
  font-size: 4rem;
  font-weight: bold;
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-bottom: 1rem;
}
.heroe-section__name {
  color: hsl(10, 85%, 65%);
}
.heroe-section__text {
  line-height: 1.7;
  font-size: 1.2rem;
  color: hsl(0, 0%, 45%);
}

/****** Main *******/
.section-principale {
  padding-top: 6rem;
  margin-bottom: 3rem;
  text-align: center;
}
.section-principale__titre {
  color: hsl(10, 85%, 65%);
  text-transform: uppercase;
  font-weight: 600;
  margin-bottom: 1.5rem;
}
.section-principale__sous-titre {
  font-weight: bold;
  font-size: 3rem;
  margin-bottom: 3rem;
}

/**** Contacts ****/
.contacts {
  text-align: center;
  max-width: 50rem;
  margin-inline: auto;
  background-color: hsl(0, 0%, 100%);
  padding: 3rem;
  border-radius: 24px;
}
.contacts__text {
  line-height: 1.7;
  font-size: 1.2rem;
  color: hsl(0, 0%, 45%);
  margin-bottom: 3rem;
}

.contacts__group {
  justify-content: center;
  display: flex;
  flex-wrap: wrap;
  gap: 2rem;
}
.contacts__group a {
  text-decoration: none;
  color: hsl(10, 85%, 65%);
}

/*** MENU ***/
.main-menu {
  position: sticky;
  top: 0;
  left: 0;
  z-index: 100;
  background: hsla(0, 0%, 100%, 0.7);
  backdrop-filter: blur(12px) saturate(180%);
}
.main-menu__liste {
  display: flex;
  gap: 2rem;
  justify-content: center;
}
.main-menu__lien {
  text-decoration: none;
  color: inherit;
  text-transform: uppercase;
  font-weight: 600;
  display: block;
  padding: 1rem;
  transition: color ease-in 0.2s;
}
.main-menu__lien:hover {
  color: hsl(10, 90%, 60%);
}
@media (width > 700px) {
  .main-menu__lien {
    font-size: 3rem;
  }
}

/**** Modification des styles pour les écrans plus larges que ceux des mobiles ****/
@media screen and (width >= 45rem) {
  /* Ici, placez les mises en forme à effectuer*/
  /* par exemple*/
  .cartes {
    flex-direction: row;
  }
}