:root {
  --color-bg: #363636;
  --color-text: #ececec;
  --rotation-1: rotate(0deg);
  --rotation-2: rotate(0deg);
  --rotation-3: rotate(0deg);
  --rotation-4: rotate(0deg);
  --rotation-5: rotate(0deg);
  --rotation-6: rotate(0deg);
}

body {
  font-family: "Roboto", sans-serif;
  font-size: 24px;
  line-height: 32px;
  margin: 0;
  padding: 0;
  background-color: var(--color-bg);
  color: var(--color-text);
  letter-spacing: 1px;
  /*background: linear-gradient(to right, #e3e3e3, #c4c4c4);*/
  opacity: 1;
  transition: 0.4s opacity ease;
  overflow-y: scroll;

  /* width: 100vw; */
  height: 100vh;
}

::selection {
  color: black;
  background: yellow;
}

::-moz-selection {
  color: black;
  background: yellow;
}

button:focus {
  outline: 0;
}

.fade-out {
  opacity: 0;
  transition: none;
}

/*LINKS*/

a {
  color: var(--color-text);
  text-decoration: none;
}

.project__title--underline {
  display: inline-block;
  border-bottom: 4px solid;
  transition: 0.4s;
}

:is(a).project__title--underline:hover {
  transition: 0.4s;
  background: black;
}

.text--underline {
  border-bottom: 2px solid;
}

.text--underline:hover {
  transition: 0.4s;
}

.name--underline {
  border-bottom: 2px solid;
}

.name--underline:hover {
  transition: 0.4s;
}

a:visited {
  color: var(--color-text);
}

h1 {
  display: flex;
  font-weight: normal;
  font-style: normal;
  font-size: 100%;
  margin: 0;
  padding: 0;
  user-select: none;
  -webkit-user-select: none; /* Safari */
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
}

h1 span {
  transition: transform 0.1s;
}

h2 {
  display: inline;
  margin: 0;
  padding: 0;
  font-weight: inherit;
  font-style: inherit;
  font-size: 100%;
  font-family: inherit;
}

span {
  display: table;
}

/*CONTENT*/

.container {
  display: none;
  flex-direction: column;
  align-items: center;
  /* margin-top: 80px; */
  opacity: 0;
  transition-duration: 1.5s;
  transition-property: opacity;

  /* width: 100vw; */
  /* height: 4000px; */
}

.container--active {
  opacity: 1;
  /* transform: translateY(20px); */
  /* transition: 1.5s; */
}

/* .container--moved {
  transform: translateX(-200px);
  transition: 0.2s;
} */

.banner {
  margin-bottom: 45px;
  opacity: 0;
  /* transition: 0.5s; */
  /*font-family: 'Merriweather', serif;*/
  /*font-family: 'Quicksand', sans-serif;*/
}

.logo {
  width: 100%;
  letter-spacing: 20px;
}

.banner-text {
  display: flex;
  justify-content: center;
  font-size: 195px;
  font-family: "Alegreya Sans SC", sans-serif;
  font-weight: 100;
  line-height: 200%;
}

.introduction {
  display: flex;
  max-width: calc(350px + 25vw);
  margin-bottom: 250px;
  flex-wrap: wrap;
}

.introduction__contact-holder {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
}

.introduction__contact-mail {
  display: flex;
  align-items: center;
}

.arrow {
  width: 100%;
  margin-top: 50px;
  text-align: center;
}

.arrow-icon {
  max-width: 30px;
}

.header {
  margin-bottom: 20px;
  width: 100%;
}

.header__text {
  max-width: calc(350px + 25vw);
  font-size: 40px;
  line-height: 100%;
  padding: 3px;
}

/*PROJECTS*/

.projects {
  display: flex;
  max-width: calc(350px + 25vw);
  flex-direction: column;
  align-items: center;
}

.projects__text {
  display: flex;
  max-width: calc(350px + 25vw);
  margin-bottom: 90px;
  flex-wrap: wrap;
}

.timeline {
  position: absolute;
  top: 2px; /* to clear 2px border  */
  width: 0%;
  height: 6px;
  background-color: var(--color-text);
  transition: width 0.2s ease;
}

.projects__video {
  /* width: calc(350px + 25vw); */
  position: relative;
  margin-bottom: 180px;
  color: black;
  /* transition: width 2s; */
}

.total {
  position: absolute;
  right: -3px;
  top: -35px;
  font-size: 18px;
}

video {
  width: 100%;
  height: auto;
  border: 2px solid;
  display: block;
  background-color: white;
  transition: 0.2s ease;
}

img.images--vertical {
  max-height: 100%;
  max-width: 32%;
  object-fit: contain;
  margin-right: 10px;
}

.projects__images--horizontal {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  width: 90vw;
  margin-bottom: 90px;
  max-height: 100%;
  object-fit: contain;
}

img.images--horizontal {
  max-width: 49%;
  max-height: 100%;
  object-fit: contain;
  margin-right: 10px;
  padding-bottom: 10px;
}

/*CONTACT*/

.contact {
  display: flex;
  max-width: calc(350px + 25vw);
  margin-bottom: 90px;
  flex-wrap: wrap;
  justify-content: center;
}

.contact__header {
  display: flex;
  justify-content: center;
  margin-bottom: 20px;
  width: 100%;
  text-align: center;
}

.fix {
  padding: 8px;
  border-bottom: 4px solid black;
}

.contact__information {
  width: 100%;
  padding-top: 45px;
  margin-bottom: 45px;
  text-align: center;
}

.contact__information a {
  letter-spacing: 1px;
}

.contact__information:last-child {
  padding-top: 0px;
  margin-bottom: 0px;
}

.icons {
  padding-right: 15px;
}

.fa-phone {
  padding-left: 50px;
  padding-right: 10px;
}

.ps {
  display: flex;
  width: calc(350px + 25vw);
  margin-bottom: 180px;
  flex-wrap: wrap;
}

/*MEDIA*/

@media (max-width: 1023px) {
  .header__text {
    font-size: 32px;
  }
}

@media (max-width: 768px) {
  body {
    font-size: 1.1em;
    line-height: 1.6em;
  }
  .project__title--underline {
    background-image: none;
    border-bottom: 2px solid;
  }
  .container {
    margin-top: 0px;
  }
  .banner {
    font-size: 45px;
    width: 100vw;
  }
  .banner-text {
    width: 100%;
    font-size: 95px;
  }
  h1 {
    font-size: 80%;
  }
  .introduction {
    max-width: 85vw;
    margin-bottom: 125px;
  }
  .introduction__contact-mail {
    width: 100%;
    margin-bottom: 1em;
  }
  .fa-phone {
    padding-left: 0;
    padding-right: 15px;
  }
  .header__text {
    font-size: 1.4em;
  }
  .header__text {
    max-width: 85vw;
  }
  .projects {
    max-width: 93vw;
  }
  .projects__text {
    max-width: 85vw;
  }
  .projects__video {
    max-width: 92vw;
  }
  .total {
    right: -2px;
    top: -28px;
  }
  .ps {
    max-width: 85vw;
  }
  .contact {
    max-width: 85vw;
  }
  .fix {
    padding: 4px;
    border-bottom: 2px solid black;
  }
  .contact__information {
    padding-top: 25px;
    margin-bottom: 25px;
  }
  .ps {
    width: 85vw;
    margin-bottom: 90px;
  }
}
