html {
  font-size: var(--baseFont);
  scroll-behavior: smooth !important;
}

body {
  font-family: var(--primaryFont);
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  font-size: 1rem;
  line-height: 140%;
  margin: 0;
  color: var(--black-900);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
  background-color: var(--white-100);
  background-image: url(../img/background-bottom.svg);
  background-repeat: no-repeat;
  background-size: 100%;
  background-position: bottom left;
}

main{
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  gap: 4rem;
  margin: 0 auto;
  padding: var(--spacing-xxl);
  max-width: var(--main);
  @media screen and (max-width: 1080px) {
    max-width: 90%;
    flex-direction: column;
  }
}

.wrapper{
  display: flex;
  flex-direction: column;
  gap: var(--spacing-xxxl);
  max-width: var(--wrapper);
  padding-top: 3.5rem;
  @media screen and (max-width: 1080px) {
    max-width: 100%;
  }
  section {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-m);
    article{
      display: flex;
      flex-direction: column;
      gap: var(--spacing-m);
      .company{
        display: flex;
        flex-direction: row;
        align-items: center;
        gap: var(--spacing-xxs);
        @media screen and (max-width: 480px) {
          flex-direction: column;
          align-items: flex-start;
        }
        .name{
          display: flex;
          flex-direction: row;
          align-items: center;
          gap: var(--spacing-xxs);
        }
        p{
          font-weight: bold;
        }
      }
      ul{
        list-style: disc;
        padding-left: var(--spacing-l);
        li{
          padding-left: var(--spacing-xxs);
        }
      }
    }
  }
}

.logo {
  width: 10rem;
  height: auto;
  margin: 0 auto;
  @media screen and (max-width: 1080px) {
    margin-bottom: var(--spacing-xxl);
  }
}

.sidebar {
  display: grid;
  grid-template-columns: 1fr;
  align-items: center;
  @media screen and (min-width: 810px) and (max-width: 1080px) {
    grid-template-columns: 1fr 1fr;
  }
  @media screen and (max-width: 1080px) {
    .logo{
      max-width: 8rem;
    }
  }
  section{
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: var(--spacing-m);
    &:not(.informations){
      margin-bottom: var(--spacing-lg);
    }
  }
  a{
    color: var(--black-900);
    text-decoration: none;
  }
  ul {
    display: flex;
    flex-direction: column;
    align-items: center;
  }
  .contact{
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: var(--spacing-m);
    margin-bottom: var(--spacing-m);
  }
  .social{
    display: flex;
    flex-direction: row;
    justify-content: center;
    gap: var(--spacing-xxs);
    margin-bottom: var(--spacing-xs);
    @media screen and (max-width: 1080px) {
      margin-bottom: var(--spacing-xxl);
    }
  }
}

h1{
  font-size: 2.6rem;
  line-height: 140%;
  margin-bottom: var(--spacing-m);
  span{
    display: block;
  }
  @media screen and (max-width: 1080px) {
    line-height: 100%;
  }
}
h3{
  font-size: 1rem;
  font-weight: 300;
  line-height: auto;
  color: var(--grey-300);
}

.desktop{
  @media screen and (max-width: 1080px) {
    display: none;
  }
}
.mobile{
  display: none;
  @media screen and (max-width: 1080px) {
    display: flex;
  }
}
