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

/* Remove default margin */
body,
h1,
h2,
h3,
h4,
p,
figure,
blockquote,
dl,
dd {
  margin: 0;
}

/* Remove list styles on ul, ol elements with a list role, which suggests default styling will be removed */
ul[role='list'],
ol[role='list'] {
  list-style: none;
}
html {
  scroll-behavior: smooth;
}
.transition-up {
  top: 100%;
  transition: top 1s ease-in-out;
}
.transition-up.is-active {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: 100%;
  z-index: 101;
  background-color: black;
  opacity: 0.33;
}
.main-container {
  width: 100%;
  background-color: rgb(238, 231, 225);
  color: hsl(0, 0%, 1%);
}

.home-page,
.projects-page,
.contact {
  display: grid;
  grid-template-columns: 10% 30% auto;
  width: 100%;
  height: 100vh;
}
.menu-cont {
  grid-column-start: 1;
  grid-column-end: 2;
  position: fixed;
  display: flex;
  align-items: baseline;
  width: 100vh;
  height: 50px;
  transform-origin: left top;
  transform: rotate(-90deg) translateX(-100%);
  font-family: 'cormorant';
  font-size: 16px;
  font-weight: 100;
}
.menu {
  width: 50%;
  padding: 16px;
}
.nav {
  width: 50%;
  height: 100%;
  display: flex;
}
.nav ul {
  display: flex;
  text-decoration: none;
  list-style: none;
  text-align: end;
}
.nav ul li {
  padding-right: 10px;
}
.nav ul li:hover {
  text-decoration: line-through;
}
.li {
  text-decoration: none;
  color: inherit;
}
.menu-cont-line {
  border-style: solid;
  border-color: black;
  border-width: 0.5px;
  width: 100px;
  height: 0;
  margin-left: 25%;
  margin-top: 20px;
}
.name-cont {
  grid-column-start: 2;
  grid-column-end: 3;
  display: flex;
  flex-direction: column;
}
.name-cont1 {
  margin-top: 120%;
  padding-top: 20px;
  padding-right: 20px;
  padding-bottom: 20px;
  padding-left: 50px;
}
.name-cont-name {
  font-size: 22px;
  line-height: 1.5;
  letter-spacing: 2px;
  font-family: 'Cinzel';
  font-weight: bold;
}
.name-cont-job-title {
  line-height: 2;
  font-family: 'Cormorant';
  letter-spacing: 1px;
}
.name-cont-description {
  font-family: 'Cormorant';
}
.links-cont {
  grid-column-start: 3;
  grid-column-end: 4;

  display: flex;
  flex-direction: column;
  justify-content: flex-end;
}
.links-cont-cont {
  width: 100%;
  font-family: 'Newsreader';
  font-weight: 300;
  margin-bottom: 100px;
}
.links-work {
  font-size: 16vw;
  letter-spacing: 12px;
  text-decoration: none;
  color: inherit;
}
.links-work a,
.links-contact a {
  text-decoration: none;
  color: inherit;
}
.links-work:hover {
  font-style: italic;
}

.links-contact {
  font-size: 15vw;
  letter-spacing: 12px;
}
.links-contact:hover {
  font-style: italic;
}
.projects-page {
  color: rgb(238, 231, 226);
  background-color: rgb(26, 25, 25);
  height: 100vh;
}
.projects-cont {
  grid-column-start: 3;
  grid-column-end: 4;
  overflow: auto;
}
.projects {
  width: 100%;
  height: 100%;
  padding-top: 25px;
  display: flex;
  flex-direction: column;
}
.project {
  width: 100%;
  font-size: 6vw;
  font-family: 'Newsreader';
  padding-bottom: 50px;
}
.project a {
  text-decoration: none;
  color: inherit;
}
.stack {
  font-size: 18px;
}
.conatact {
  background-color: rgb(238, 231, 225);
  color: hsl(0, 0%, 1%);
}
.contact-cont {
  grid-column-start: 2;
  grid-column-end: 3;
  display: flex;
  justify-content: center;
  align-items: left;
  flex-direction: column;
  height: 100%;
  width: 100%;
}
.hello {
  font-family: 'Newsreader';
  font-size: 14vw;
  letter-spacing: 5px;
}
.social {
  font-size: 18px;
  text-align: left;
  color: black;
  font-family: 'Newsreader';
  letter-spacing: 2px;
}
.hello-link {
  color: black;
  font-family: 'Newsreader';
}
.darkbackground {
  color: rgb(238, 231, 226);
  background-color: rgb(26, 25, 25);
}

@media only screen and (max-width: 869px) {
  .home-page {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-between;
  }
  .menu-cont {
    position: fixed;
    display: flex;
    align-items: baseline;
    width: 100%;
    height: 50px;
    transform-origin: none;
    transform: none;
    font-family: 'cormorant';
    font-size: 16px;
    font-weight: 100;
  }
  .name-cont {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: calc((100vh - 50px) / 2);
    width: 100%;
    margin-top: 50px;
  }
  .name-cont1 {
    margin-top: 0;
    padding-top: 20px;
    padding-right: 20px;
    padding-bottom: 20px;
    padding-left: 50px;
  }
  .links-cont {
    align-items: center;
    width: 100%;
    margin: 0;
    height: calc((100vh - 50px) / 2);
    justify-content: space-evenly;
  }
  .links-cont-cont {
    display: flex;
    flex-direction: column;
    justify-content: space-evenly;
    margin: 0;
    height: 100%;
  }
  .links-work {
    text-align: center;
  }
  .links-contact {
    text-align: center;
  }
  .nav ul li:hover {
    text-decoration: line-through;
  }
  .projects-page {
    display: flex;
    flex-direction: column;
  }
  .projects-cont {
    text-align: center;
    height: calc(100vh - 50px / 2);
  }
  .contact {
    display: flex;
    text-align: center;
    justify-content: center;

    width: 100%;
  }
  .contact-cont {
    display: flex;
    align-items: center;
    flex-direction: column;
    height: calc((100vh - 50px) / 2);
    width: 100%;
    padding-top: 60px;
  }
  .social {
    font-size: 14px;
    line-height: 1.5;
  }
}
