:root {
  --main-white: #fdfffc;
  --main-black: #151515;
  --light-gray: #6f6d6d;
  --more-light-gray: #afafaf;
  --main-font: "Advent Pro", "Plus Jakarta Sans", "Roboto", sans-serif;
}
* {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
}

body {
  background-color: var(--main-white);
  font-family: var(--main-font);
  color: var(--main-black);
}

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

a:hover {
  color: var(--light-gray);
  cursor: pointer;
}

.textBox {
  display: grid;
  grid-template-columns: 30% auto;
  margin-top: 7%;
}

.textBoxHome {
  display: grid;
  grid-template-columns: 30% auto;
  margin-top: 7%;
}

.smallHeaderLeftSideTextBox {
  grid-column: 1;
}

.smallHeaderRightSideTextBox {
  grid-column: 2;
  padding-left: 20%;
}

.smallBigHeader {
  font-size: 48px;
}

.header {
  font-size: 72px;
  padding-top: 20%;
}

.smallHeader {
  font-size: 36px;
  margin-top: 2%;
}

.smallHeader:hover {
  color: var(--light-gray);
}

.text {
  font-size: 24px;
  font-weight: 200;
  margin-top: 10%;
}

#navigation {
  list-style: none;
  margin-right: 5%;
  padding: 0%;
  display: flex;
  flex-direction: row;
  position: fixed;
  padding-top: 2%;
  padding-bottom: 2%;
  margin-top: 0%;
  margin-bottom: 0%;
  top:0%;
  width: 100%;
  z-index: 1;
  background-color: var(--main-white);
}

.navigationElement {
  text-decoration: line-through 1.5px var(--main-black);
  flex: 1;
  font-size: 24px;
  font-weight: 500;
  justify-content: space-around;
  text-align: center;
}

#spacer{
  flex: 6;
}

.navigationElement:hover {
  text-decoration: none;
}

.current {
  text-decoration: none;
}

.headerBig {
  font-size: 72px;
  font-weight: 400;
  margin-left: -1px;
}

.smallSmallHeader {
  font-size: 24px;
  font-family: var(--main-font);
  margin-top: 2%;
}

.smallSmallHeader:hover {
  color: var(--light-gray);
}

.paragraphBox {
  margin-bottom: 10%;
  padding-left: 5%;
  padding-right: 5%;
  border-left: 0.05rem solid var(--main-black);
}

.paragraph {
  color: var(--light-gray);
  font-size: 24px;
  font-family: var(--main-font);
  font-weight: 400;
  padding-top: 1rem;
  padding-bottom: 1rem;
  margin-right: 5%;
}

@media screen and (max-width: 480px) {
  .paragraph{
    font-size: 18px;
  }
  .navigationElement{
    font-size: 18px;
  }
  .smallBigHeader {
    font-size: 28px;
  }
  .smallHeaderRightSideTextBox {
    padding-left: 10%;
  }
  .text {
    font-size: 22px;
    margin-top: 6%;
  }
  .smallHeader {
    font-size: 28px;
  }
  .header {
    font-size: 58px;
    padding-top: 0%;
  }
  #navigation {
    width: 96%;
    padding-top: 6%;
    padding-bottom: 6%;
  }
  #spacer{
    flex: 0;
  }
  #title {
    margin-bottom: 60%;
  }
  #name {
    margin-top: 100%;
  }
}

@media screen and (max-width: 480px) {
  .textBox {
    grid-template-columns: 100%;
  }
  .paddingLeftBox {
    padding-bottom: 5%;
  }
  .headerBig {
    margin-top: 20%;
    font-size: 58px;
  }
  footer{
    font-size: 14px !important;
  }
}

@media screen and (max-width: 768px) and (min-width:480px) {
  #spacer{
    flex: 1;
  }
}

#resumePage,
#portfolioPage {
  margin-left: 10%;
  margin-right: 10%;
  padding-top: 10%;
}

.mainPortfolioPage{
  height: 96vh;
}

.boxVertical {
  flex: 1;
  display: flex;
  align-items: center;
  flex-direction: row;
  justify-content: center;
}

#contactBox {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  width: 80%;
}

.lineHorizontal {
  width: 80%;
  margin-top: 2%;
  margin-bottom: 2%;
  border-bottom: 1px solid var(--main-black);
}

.lineVertical {
  position: absolute;
  bottom: 0;
  right: 0;
  margin-right: 20%;
  height: 10vw;
  border-right: 1px solid var(--carmine);
}

.smallNavElement {
  text-decoration: line-through 1.5px var(--main-black);
}

.image {
  width: 70%;
}

.portfolioLink {
  margin-top: 20%;
}

.date {
  font-size: 18px;
  font-weight: 200;
  font-style: italic;
}

.material-symbols-outlined {
  font-size: 48px !important;
  font-variation-settings: "FILL" 0, "wght" 100, "GRAD" 0, "opsz" 24;
}

footer {
  text-align: center;
  font-family: var(--main-font);
  color: var(--more-light-gray);
  font-size: 18px;
  width: 100%;
}
