/*
 * #id    = Use for one tag only on the page.
 * .class = Use for multiple tags on the page.
 */


/* Reset styles */

*,
*::before,
*::after {
  box-sizing: border-box;
}

* {
  margin: 0;
  padding: 0;
  text-decoration: none;
}


/* CSS variables */

:root {
  --color-dark: #0A0A09;
  --color-gray-1: #F2F2F2;
  --color-gray-2: #C4C4C4;
  --color-orange: #EF8A12;

  --color-border: #C4C4C4;

  --transition-duration: .2s;

  --z-index-header: 10;
  --z-index-footer: 10;
}


/* Global styles */

html,
body {
  height: 100%;
}

body {
  margin: 0;
  font-family: "Switzer", sans-serif;
  background-color: var(--color-dark);
}

.root {
  position: relative;
  height: 100%;
}

@media (min-width: 768px) {
  .root {
    display: flex;
    overflow-x: hidden;
  }
}


.root > * {
  flex-shrink: 0;
}

a {
  font-weight: 500;
  font-size: 16px;
  color: var(--color-gray-2);
  opacity: 1;
}
a:hover{
  color: var(--color-gray-1);
}


/* Animations */

@keyframes reveal {
  0% {
    transform: scaleX(100%)
  }
  100% {
    transform: scaleX(0)
  }
}

.animate-reveal {
  display: inline-flex;
  position: relative;
}

.animate-reveal::after {
  content: '';
  position: absolute;
  top: 5%;
  width: 100%;
  height: 100%;
  background: currentColor;
  backface-visibility: visible;
  animation: 1.7s reveal 1s cubic-bezier(0.5, 0, .15, 1) forwards;
  transform: scaleX(1);
  transform-origin: bottom right;
}

@keyframes spin {
  from {
    transform: rotate(0deg);
  }
  to {
    transform: rotate(360deg);
  }
}

.animate-spin {
  animation: spin 8s linear infinite;
}

@keyframes fade-up {
  from {
    transform: translateY(5rem);
  }
  to {
    transform: translateY(0);
  }
}

.animate-fade-up {
  animation: fade-up 1s cubic-bezier(.445, .05, .55, .95) forwards;
}

@keyframes fade-down {
  from {
    transform: translateY(-10rem);
  }
  to {
    transform: translateY(0);
  }
}

.animate-fade-down {
  animation: fade-down 1s cubic-bezier(.445, .05, .55, .95) forwards;
}


/* Header (fixed) */

.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-left: 2rem;
  border-bottom: 0.5px solid var(--color-border);
  z-index: var(--z-index-header);
  background-color: var(--color-dark);
}

.logo {
  filter: drop-shadow(0 2px 2px rgb(10 10 9 / 0.10));
  transition: opacity var(--transition-duration);
}

.logo {
  display: block;
  height: 30px;
}

.logo:hover {
  opacity: 0.5;
}

.nav {
  display: flex;
  align-items: center;
}

.header-item {
  padding: 1.5rem !important;
  border-right: 0.5px solid var(--color-border);
}

.header-item-2{
  padding: 1.5rem !important;
  border-left: 0.5px solid var(--color-border);
}

.header-item-3{
  padding: 1.5rem !important;
  border-left: 0.5px solid var(--color-border);
}

.header-item:first-child {
  padding-left: 0;
}

.header-item:last-child {
  padding-right: 0;
}

.header-item:not(:last-child) {
  padding-right: 1rem;
  border-right: 0.5px solid var(--color-border);
}

.header-link {
  transition: opacity var(--transition-duration);
}

.nav-link {
  text-transform: uppercase;
}

@media (min-width: 768px) {
  .header {
    padding: 0 4rem;
    background-color: transparent;
  }

  .header-item {
    padding: 3rem !important;
    border-right: 0.5px solid var(--color-border);
  }
  .header-item:hover{
    background-color: var(--color-orange);
  }

  .header-item-2{
    padding: 3rem !important;
    border-left: 0.5px solid var(--color-border);
  }
  .header-item-2:hover{
    background-color: var(--color-orange);
  }

  .header-item-3{
    padding: 3rem !important;
    border-right: 0.5px solid var(--color-border);
    border-left: 0.5px solid var(--color-border);
  }
  .header-item-3:hover{
    background-color: var(--color-orange);
  }
}

@media (min-width: 1280px) {
  .header {
    padding: 0 14rem;
  }
}


/* Footer (fixed) */

.footer {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-top: 0.5px solid var(--color-border);
  z-index: var(--z-index-footer);
}

.footer .header-item {
  padding: 1rem;
}


/* Hero section */

.hero {
  position: relative;
  display: flex;
  flex-direction: column;
  width: 100vw;
  height: 100vh;
  padding: 2rem;
  color: var(--color-gray-2);
}

.hero-content {
  flex-grow: 1;
  display: flex;
  height: 50vh;
  align-items: center;
  justify-content: center;
  margin: 0vh 0vw 0vh 0vw;
  padding: 0vh 0vw 0vh 0vw;
}

.hero-heading {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  width: 92vw;
  margin: -5vh -8vw 0vh 0vw;
}

.hero-heading-1,
.hero-heading-2 {
  font-size: 14vh;
}

.hero-heading-1 {
  margin-bottom: -3vh;
  font-weight: 200;
}

.hero-heading-2 {
  font-weight: 800;
  margin-left: 0rem;
  text-transform: uppercase;
}

.hero-subheading {
  font-size: 4vh;
  font-weight: 500;
}

.scroll-spin {
  position: absolute;
  right: 5rem;
  bottom: 10rem;
  width: 7rem;
  height: 7rem;
}

.image-circle {
  display: none;
}

br{
  display: block;
}


@media (min-width: 768px) {
  .hero-heading {
    margin: -15vh 0 0 0;
    align-items: center;
    width: 45vw;
    display:flex;
    position:relative;
  }

  .hero-heading-1,
  .hero-heading-2 {
    font-size: 22vh;
    margin-bottom: -4vh;
  }

  .hero-heading-1 {
    margin: 12vh 0 0 -10vw;
    margin-bottom: -5vh;
  }

  .hero-heading-2 {
    margin-left: 10vw;
  }

  .hero-subheading {
    font-size: 6vh;
    margin: 3vh 0 0 -5vw;
  }

  .scroll-spin {
    margin: 0 5vw 10vh 0;
    width: 6rem;
    height: 6rem;
    align-items: flex-end;
    justify-content: flex-end;
  }

  .image-circle {
    display: block;
    transform: rotate(0deg);
    height: 100vh;
  }

  br{
    display: contents;
  }

}


/* Sections */

.section-heading {
  margin: 2rem 0 2rem 0;
  font-weight: 700;
  font-size: 3.5rem;
  color: var(--color-orange);
  text-transform: uppercase;
}

@media (min-width: 768px) {
  .section {
    display: flex;
    align-items: center;
  }

  .section-heading {
    margin-right: 10rem;
    margin-bottom: 0;
    font-size: 4.75rem;
  }
}


/* Projects section */

.section-projects {
  padding: 3rem 1.5rem;
  background: #0A0A09;
}

.projects-card {
  position: relative;
  display: block;
  height: 12rem;
  padding: 1rem 1.5rem;
  border-radius: 4px;
  overflow: hidden;
}

.projects-card + .projects-card {
  margin-top: 1rem;
}

.projects-card-image {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: brightness(0.5) saturate(1.6) contrast(0.85);
  transition: filter .2s linear, transform .2s linear;
  z-index: 1;
}

.projects-cards-list:hover > .projects-card:not(:hover) .projects-card-image {
  filter: brightness(0.25) saturate(0) contrast(1.20);
}

.projects-card-content {
  position: relative;
  z-index: 2;
}

.projects-card-heading {
  font-weight: 600;
  font-size: 4vh;
  color: var(--color-gray-1);
  margin-bottom: 0.75vh;
  text-transform: uppercase;
}

.projects-card-description {
  font-weight: 400;
  font-size: 2vh;
  color: var(--color-gray-1);
}

@media (min-width: 768px) {
  .section-projects {
    padding: 0 8rem;
    background: #0A0A09;
  }

  .projects-cards-list {
    display: flex;
    margin-left: 8rem;
  }

  .projects-card {
    width: 18vw;
    height: 60vh;
    padding: 1rem 1.5rem;
    border-radius: 4px;
    overflow: hidden;
  }

  .projects-card + .projects-card {
    margin-top: 0;
    margin-left: 1rem;
  }
}


/* About section */

.section-about {
  padding: 3rem 1.5rem;
  background-color: var(--color-gray-1);
}

.about-avatar {
  display: block;
  width: 18rem;
  height: 18rem;
  margin: auto;
  padding: .75rem;
  object-fit: cover;
  border: 5px solid #588e3a;
  border-radius: 9999px; /* rounded full */
}

.about-headline {
  margin-top: 3rem;
  margin-bottom: 5rem;
  font-size: 2.5rem;
  font-weight: 600;
  color: var(--color-dark);
  font-style: italic;
}

.about-col + .about-col {
  margin-top: 3rem;
}

.about-heading {
  font-size: 1.125rem;
  font-weight: 500;
  color: var(--color-dark);
  text-transform: uppercase;
  line-height: 1.3;
}

.about-copy {
  margin-top: 1rem;
  font-size: 1rem;
  font-weight: 200;
  color: var(--color-dark);
  line-height: 1.4;
}

@media (min-width: 768px) {
  .section-about {
    padding: 0 8rem;
  }

  .about-content {
    display: contents;
    align-items: start;
    margin-left: 8rem;
    padding-right: 4rem;
  }

  .about-avatar {
    width: 25rem;
    height: 25rem;
    margin: 0;
    padding: .75rem;
    border-width: 6px;
  }

  .about-headline {
    margin-top: 0;
    font-size: 3rem;
  }

  .about-info {
    margin-left: 5rem;
  }

  .about-row {
    display: flex;
    align-items: flex-start;
  }

  .about-col {
    width: 26rem;
  }

  .about-col + .about-col {
    margin-top: 0;
    margin-left: 4rem;
  }

  .about-copy {
    margin-top: 2rem;
  }
}


/* Drawing section */

.section-drawing {
  color: var(--color-gray-1);
  background-color: var(--color-dark);
}

.drawing-content {
  padding: 3rem 1.5rem;
}

.drawing-heading {
  margin-bottom: 2rem;
  display: inline-flex;
  align-items: center;
  font-size: 1.125rem;
  font-weight: 500;
  text-transform: uppercase;
  line-height: 1.3;
}

.drawing-instagram-logo {
  width: 1.5rem;
  height: 1.5rem;
  margin-right: .5rem;
}

.drawing-quote {
  margin-bottom: 3rem;
  font-size: 2.5rem;
  font-weight: 200;
  font-style: italic;
}

.drawing-images-gallery {
  align-self: stretch;
}

.drawing-image-item {
  display: block;
  height: 8rem;
  transition: height .3s ease-in-out;
}

.drawing-image-item:hover {
  height: 12rem;
}

.drawing-image {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

@media (min-width: 768px) {
  .drawing-content {
    padding: 0 12rem 0 8rem;
  }

  .drawing-quote {
    width: 28rem;
    font-size: 3rem;
  }

  .drawing-images-gallery {
    align-self: stretch;
    display: flex;
    justify-content: center;
  }

  .drawing-image-item {
    display: block;
    width: 12rem;
    height: auto;
    transition: width .5s ease-in-out;
  }

  .drawing-image-item:hover {
    height: auto;
    width: 28rem;
  }
}

.button {
  display: inline-block;
  font-size: 1rem;
  font-weight: 600;
  padding: 1rem 2rem;
  text-align: center;
  color: #fff;
  background-color: var(--color-orange);
  border: 2px solid var(--color-orange);
  border-radius: 9999px; /* rounded full */
  text-transform: uppercase;
  transition: color var(--transition-duration) cubic-bezier(0.2, 0, 0.2, 1);
}

.button:hover {
  background-color: transparent;
  color: var(--color-orange);
}

.button:active {
  color: #fff;
  background-color: var(--color-orange);
}


/* Utilities */

.bg-noise {
  background-image: url("../images/Noise-background.gif");
  height: 100%;
  width: 100%;
  background-position: center;
  background-size: cover;
  position: fixed;
  z-index: -1;
  opacity: 0.08;
}
