*,
*::before,
*::after {
  cursor: url("assets/square.svg"), auto;

}

@font-face {
  font-family: 'Suisse Intl Condensed Bold';
  src: url("/font/Suisse_Intl_Condensed_Bold.otf") format('opentype');
  font-weight: 600;
  font-style: normal;
}

html,
body {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: 'Suisse Intl Condensed Bold', sans-serif;
  font-size: 1rem;
  line-height: 1.5rem;
  color: black;
  background-color: white;
  height: 100%;
  width: 100%;
}

body {
  background-color: #F3F2ED;
  display: flex;
  flex-direction: column-reverse;
}

#photo-container {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.poteau {
  --size: 1.5rem;
  width: var(--size);
  height: var(--size);
  background-color: black;
  position: absolute;
  z-index: 2;

  &.is-mobile {
    --size: 3rem;
  }

  &.haut {
    top: 0;
  }

  &.milieu {
    top: calc(50% - var(--size) / 2);
  }

  &.bas {
    bottom: 0;
  }

  &.gauche {
    left: 0;
  }

  &.droite {
    right: 0;
  }
}

.logo {
  position: absolute;
  top: 3rem;
  left: 50%;
  transform: translateX(-50%);
  width: 75%;
  max-width: 1150px;

  &.is-mobile {
    top: 8rem;
    width: 80%;
  }
}

.footer {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  padding: 0 3rem;
  position: relative;
  font-size: 22px;
  margin-bottom: 3rem;
  line-height: 0.8;

  &.is-mobile {
    flex-direction: column;
    align-items: center;
    gap: 2rem;
    font-size: 52px;
    line-height: 0.9;

    .contact {
      align-items: center;
    }
  }

  .infos {
    display: flex;
    flex-direction: column;
    align-items: center;

    &.is-mobile {
      order: 1;
    }
  }

  .contact,
  #portfolio-link {
    width: 220px;
  }

  .contact {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
  }

  a {
    text-decoration: none;
    color: black;
  }

  *:hover {
    cursor: url("assets/cursor.svg"), auto;
  }
}

@media (max-width: 820px) {
  .footer {
    flex-direction: column;
    align-items: center;
    gap: 2rem;

    #portfolio-link {
      text-align: center;
    }

    .contact {
      align-items: center;
    }

    .infos {
      order: 1;
    }
  }
}