* {
  --primary-color: #27AE60;
  /* --background-color: #2a3146; */
  --background-color: #2f2e41;
}

*,
*::before,
*::after {
  margin: 0;
  padding: 0;
  box-sizing: inherit;
}

html {
  /*
    browser default = 16px
    (10px / 16px) * 100% = 62.5%
  */
  font-size: 62.5%;
}

body {
  box-sizing: border-box;

  font-size: 1.6rem;
  color: white;
  font-family: 'Trebuchet MS', 'Lucida Sans Unicode', 'Lucida Grande', 'Lucida Sans', Arial, sans-serif
}

img,
video {
  display: block;
  width: 100%;
  height: 100%;
}

.hidden {
  display: none;
}

.visible {
  visibility: visible !important;
  opacity: 100% !important;
}



body {
  position: relative;
  overflow: hidden;
}

.background {
  width: 100vw;
  height: 100vh;
  background-color: var(--background-color);
}

.background-image {
  position: absolute;
  height: 100vh;
  left: -5%;
  bottom: -10%;
}

.content {
  position: absolute;
  left: 63%;
  top: 18%;
  height: calc(100vh - 18%);
  width: 30%;

  display: flex;
  flex-direction: column;
}

.intro {
  width: max-content;
}

.title {
  font-family: 'Ubuntu', sans-serif;
  font-size: 8rem;
}

.credits {
  font-family: 'Ubuntu', sans-serif;
  font-size: 2rem;
  letter-spacing: 6px;
  margin-top: 2rem;

  float: right;
}

.clients {
  font-family: 'Ubuntu', sans-serif;
  font-size: 2.5rem;
  font-style: italic;
  letter-spacing: 2px;
  /* position: absolute;
  bottom: 30%; */
}

.project-references {
  margin-top: auto;
  /* margin-bottom: 25vh; */
  /* margin-bottom: 18vh; */
  margin-bottom: 10vh;
  margin-left: -10rem;
}

.project-references__container {
  display: flex;
  gap: 2rem 4rem;

  flex-wrap: wrap;
  margin-left: -4rem;
  margin-top: 5rem;

  align-items: center;
}

.project-references__image:hover {
  transform: scale(1.05);
  transition: all ease-in .15s;
}

.project-references__container img {
  object-fit: contain;
  width: 16rem;
  
  height: 5rem;
}

#numarics {
  background-color: white;
  padding: .4rem;

  height: min-content;
}

#numarics img {
  height: unset;
}

#homeswitch {
}

#villa-premasole {
  filter: invert(1);
}

#discover-adriatic {
  filter: invert(1);
  transform: scale(1.2);
}

@media (max-width: 1600px) {
  .content {
    width: 100%;
    height: 100%;
    left: 0;
    top: 0;
    padding: 2rem;
  }

  .intro {
    margin-left: auto;
  }

  .title {
    font-size: 5rem;
  }

  .credits {
    font-size: 1.2rem;
  }

  .clients {
    font-size: 1.8rem;
  }

  .project-references {
    margin-left: unset;
    margin-bottom: 2rem;
  }

  .project-references__container {
    gap: 2rem;
    margin-left: unset;
  }

  .project-references__container img {
    height: 3.2rem;
    width: 13rem;
  }
}