@font-face {
  font-family: "RobotoFlex";
  src: url(Fonts/RobotoFlex.ttf) format("truetype");
  font-stretch: 100%;
  font-style: normal;
  font-weight: 100 1000;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  text-decoration: none; /* cancels automatic text styling (uderline for links, for example)  */
  font-family: "RobotoFlex", sans-serif;
  color: black;
}

body {
  background-color: #ffffff;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  margin: 0;
}

.homepage-image {
  display: block;
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 100vw;
  height: auto;
  z-index: 0;
}

#some-works-container-mobile {
  display: none;
}

.navbar {
  position: relative;
  z-index: 1;
  display: flex;
  width: 70%;
  margin: auto;
  height: 15vh;
  justify-content: space-between;
  align-items: center;
}

.navbar-icons {
  display: none;
  width: 20px;
}

.navbar-items {
  display: flex;
  list-style: none;
  gap: 16px;
}

.navbar-mail {
  margin-top: auto;
  padding-bottom: 30px;
}

.navbar-mail p {
  font-size: 15px;
  font-variation-settings: "GRAD" 700;
}

#some-works-button-mobile {
  display: none;
}

.navbar-item,
.logo {
  padding: 4px 10px;
  display: inline-block;
  border-bottom: 2px solid #000000;
}

.navbar-item:hover,
.navbar-item-active {
  font-variation-settings: "GRAD" 700;
}

.logo {
  font-weight: 400;
}

.navbar-mail {
  display: none;
}

/* SOME WORKS */
.some-works-container {
  display: flex;
  flex-direction: column;
  width: 60%;
  margin: 0 auto;
  flex: 1;
  z-index: 0;
}

.artwork-image-wrap {
  display: flex;
  height: 60vh;
  align-items: center;
  justify-content: center;
}

.artwork-image-wrap img {
  max-height: 100%;
  width: auto;
  object-fit: contain;
  display: block;
}

.artwork-details {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: space-between; /* pushes counter to bottom */
}

.artwork-text p {
  color: rgb(65, 65, 65);
}

#artwork-title {
  font-weight: 400;
  font-size: 18px;
  margin: 32px 0 16px 0;
}

.artworks-counter {
  padding: 10px 0;
  text-align: center;
}

.click-zone {
  position: fixed;
  top: 15vh; /* below navbar */
  bottom: 0;
  width: 50%;
  z-index: 5;
}

.left-zone {
  left: 0;
  cursor: url("Icons/ArrowLeft.svg"), auto;
}

.right-zone {
  right: 0;
  cursor: url("Icons/ArrowRight.svg"), auto;
}

/* ABOUT PAGE */
.about-container {
  width: 70vw;
  margin: auto;
  display: flex;
  align-items: start;
  gap: 10rem;
  min-height: 70vh;
}

.about-text {
  flex: 4 1 0;
}

.about-image-wrap {
  flex: 3 1 0;
  min-height: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}

.about-image-wrap img {
  width: 100%;
  height: auto;
  object-fit: contain;
  display: block;
}

.about-text p {
  margin-bottom: 10px;
  text-align: justify;
}

.about-contact {
  margin-top: 100px;
}

.about-contact img {
  height: 16px;
  margin-right: 10px;
}

.about-contact a {
  text-decoration: underline;
}

@media (max-width: 768px) {
  .homepage-image {
    display: none;
  }

  #some-works-container-mobile {
    display: block;
  }

  .navbar {
    width: 100%;
    height: 10vh;
    padding: 30px;
    z-index: 10;
  }

  #some-works-button {
    display: none;
  }

  #some-works-button-mobile {
    display: block;
  }

  .navbar-icons {
    display: inline;
  }

  .navbar-items {
    display: none;
    flex-direction: column;
    position: fixed;
    right: 0;
    top: 0;
    bottom: 0;
    left: 50vw;
    background-color: #ffffff;
    border-left: 2px solid black;
  }

  .navbar-items li {
    display: flex;
    align-items: center;
    padding-left: 10px;
  }

  .navbar-mail {
    flex-direction: column;
  }

  .menu-header {
    display: flex;
    justify-content: flex-end;
    padding: 10px;
  }

  .navbar-item {
    padding: 10px;
    display: inline-block;
    border-bottom: 0;
  }

  .navbar-mail {
    display: inline;
  }

  .some-works-container {
    display: none;
  }

  .artwork-image-wrap {
    width: 100%;
    height: auto;
  }

  .artwork-image-wrap img {
    width: 100%;
  }

  .artwork-text {
    padding: 20px 30px 50px 30px;
    border-top: 2px solid black;
    border-bottom: 2px solid black;
  }

  #artwork-title {
    margin-top: 0;
  }

  .click-zone {
    display: none;
  }

  .about-container {
    width: 100%;
    padding: 30px;
    margin: 0;
    flex-direction: column;
    gap: 2rem;
    min-height: auto;
    align-items: stretch;
  }

  .about-image-wrap {
    flex: 0;
  }

  .about-contact {
    margin-top: 30px;
  }
}
