@import url("https://fonts.googleapis.com/css2?family=Inter:wght@100;200;300;400;500;600;700;800;900&display=swap");
* {
  box-sizing: border-box;
  font-family: "Inter", sans-serif;
  margin: 0;
  padding: 0;
}

body {
  height: 100vh;
  position: relative;
}

a {
  color: inherit;
  position: relative;
  padding: 0 0 2px;
  text-decoration: none;
}
a::after {
  background: rgba(0, 0, 0, 0.3);
  bottom: 0;
  content: "";
  height: 1px;
  left: 0;
  position: absolute;
  transition: all 0.3s ease-in-out;
  width: 0;
}
a:hover {
  opacity: 0.8;
}
a:hover::after {
  transition: all 0.3s ease-in-out;
  width: 100%;
}

.picture {
  width: 100%;
}
.picture img {
  display: block;
  margin: 0 auto 20px;
  max-width: 100%;
}
@media (min-width: 1024px) {
  .picture img {
    max-width: 75%;
  }
}

.page-wrapper {
  margin: 0 auto;
  max-width: 1100px;
  padding: 20px 20px 80px;
}
@media (min-width: 1024px) {
  .page-wrapper {
    display: flex;
    flex-flow: row nowrap;
    height: 100%;
    padding: 70px 20px;
  }
}

.sidebar {
  align-items: flex-end;
  display: flex;
  flex-flow: column nowrap;
  justify-content: flex-start;
  margin: 0 0 15px;
}
@media (min-width: 1024px) {
  .sidebar {
    height: 100%;
    margin: 0;
    order: 2;
    width: 25%;
  }
}
.sidebar__title {
  cursor: pointer;
  font-weight: 500;
  font-size: 23px;
  letter-spacing: 3px;
  margin: 0 0 15px;
  text-align: right;
}
.sidebar__menu {
  color: dimgray;
  list-style: none;
}
.sidebar__menu-item {
  cursor: pointer;
  margin-bottom: 10px;
  text-align: right;
  width: auto;
}
.sidebar__menu-item--l {
  font-size: 16px;
}
.sidebar__menu-item--l:nth-child(2) {
  margin: 0;
}
.sidebar__menu-item--sm {
  align-items: center;
  display: flex;
  font-size: 13px;
  justify-content: flex-end;
}
.sidebar__menu-item--sm:nth-child(4) {
  margin-top: 20px;
}
.sidebar__menu-item--sm:hover {
  opacity: 0.7;
}
.sidebar__menu-item > a > span {
  display: inline-block;
}
.sidebar__menu-item > a:first-child > span {
  margin: 0 10px 0 0;
}
.sidebar__menu-item > a::after {
  display: none !important;
}
.sidebar__menu-item--icon {
  background-position: center;
  background-repeat: no-repeat;
  background-size: contain;
  height: 22px;
  width: 22px;
}
.sidebar__menu-item--icon.icon--instagram {
  background-image: url("../images/lg/icons/instagram.svg");
}
.sidebar__menu-item--icon.icon--mail {
  background-image: url("../images/lg/icons/mail.svg");
}
.sidebar__menu .projects__list {
  align-items: flex-end;
  display: flex;
  flex-flow: column nowrap;
  justify-content: center;
  list-style: none;
  position: relative;
  margin: 0 0 10px 0;
}
.sidebar__menu .projects__list-item {
  border-right: solid 1px rgba(0, 0, 0, 0.3);
  cursor: pointer;
  display: inline-block;
  font-size: 13px;
  margin: 5px 0;
  text-align: right;
  padding: 0 15px 0;
}
.sidebar__menu .projects__list-link--active {
  font-weight: 500;
  text-decoration: underline;
}
.sidebar__menu .projects__list-link--active::after {
  display: none !important;
}
.sidebar__menu-projects {
  transition: transform ease-in-out 0.3s;
}
.sidebar__menu-projects--hidden {
  height: 0;
  transform: rotateX(90deg);
  transition: none;
}
.sidebar__menu-projects--hidden a {
  display: none;
}
.sidebar .project-description {
  font-size: 13px;
  margin: 40px auto 10px;
}
@media (min-width: 650px) {
  .sidebar .project-description {
    padding: 0 8vw;
  }
}
@media (min-width: 1024px) {
  .sidebar .project-description {
    font-size: 13px;
    margin: auto auto 0;
    padding: 0 0 40px;
  }
}
.sidebar .project-description i {
  font-style: italic;
}

.project {
  display: flex;
  flex-direction: column;
}
@media (min-width: 650px) {
  .project {
    padding: 0 8vw;
  }
}
@media (min-width: 1024px) {
  .project {
    height: 100%;
    overflow: scroll;
    padding: 0;
    position: relative;
    width: 75%;
    scrollbar-width: none;
  }
}
.project .image-bar__item {
  display: block;
  margin: 0 auto 20px;
  max-height: 75vh;
  max-width: 100%;
}
@media (min-width: 1024px) {
  .project .image-bar__item {
    height: auto;
  }
}
.project::-webkit-scrollbar {
  display: none;
}
@media (min-width: 1024px) {
  .project .image-container {
    padding: 0 50px;
    position: relative;
  }
}
@media (min-width: 1024px) {
  .project .slide--to-top {
    cursor: n-resize;
    top: 0;
  }
}
@media (min-width: 1024px) {
  .project .slide--to-bottom {
    bottom: 0;
    cursor: s-resize;
  }
}
@media (min-width: 1024px) {
  .project .slide--to-top, .project .slide--to-bottom {
    position: absolute;
    width: 75%;
    left: 50%;
    margin-left: -37.5%;
  }
}
@media (min-width: 1024px) {
  .project .slide--extend {
    cursor: zoom-in;
    position: absolute;
    width: 75%;
    left: 50%;
    margin-left: -37.5%;
  }
}
@media (min-width: 1024px) {
  .project .picture img {
    margin: 0 0 20px auto;
  }
}

.image-modal {
  align-items: center;
  background: rgba(0, 0, 0, 0.95);
  display: flex;
  height: 100vh;
  justify-content: center;
  left: 0;
  position: absolute;
  top: 0;
  width: 100vw;
}
.image-modal img {
  color: red;
  max-height: 80vh;
  width: auto;
}
.image-modal--close {
  cursor: pointer;
  color: #f1f1f1;
  font-size: 53px;
  font-weight: 100;
  height: 40px;
  line-height: 40px;
  position: absolute;
  right: 40px;
  text-align: center;
  top: 40px;
  transform: scale(1, 0.7);
  transition: all 0.3s ease-in-out;
  width: 40px;
}
.image-modal--close:hover {
  color: rgba(255, 255, 255, 0.6);
  transform: scale(1, 0.7) rotateZ(180deg);
}

.project-description {
  font-size: 13px;
  margin: 40px auto 10px;
  padding: 0 8vw;
}
.project-description i {
  font-style: italic;
}
.project-description p {
  text-align: justify;
}
@media (min-width: 1024px) {
  .project-description {
    overflow-y: auto;
    padding: 0 10px 0 0 !important;
  }
  .project-description::-webkit-scrollbar {
    width: 1px;
  }
  .project-description::-webkit-scrollbar-track {
    background: #f1f1f1;
  }
  .project-description::-webkit-scrollbar-thumb {
    background: #c2c2c2;
  }
  .project-description::-webkit-scrollbar-thumb:hover {
    opacity: 0.8;
  }
}