html, body {
  margin: 0;
  padding: 0;
  height: 100vh;
  width: 100%;
  background-color:#e5e5e5;
}

.invalidWidth {
  position: fixed;
  display: none;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  text-align: center;
}


a {
  color: inherit;
  text-decoration: none;
}

* {
  box-sizing: border-box;
  -webkit-font-smoothing: antialiased;
}

.disclaimer {
  color: rgb(235, 114, 114);
  font-weight: 600;
  font-family: monospace;
  margin: 20px 10vw;
}

.scrollToTop {
  position: fixed;
  cursor: pointer;
  display: flex;
  flex-direction: column;
  user-select: none;
  bottom: 40px;
  right: 45px;
  width: 65px;
  height: 65px;
  background-color: rgb(123, 105, 145, 0.9);
  border-radius: 3px;
  padding: 5px;
  text-align: center;
  color: #fff;
  font-size: 14px;
  font-family: Nunito;
  align-items: center;
}

.scrollToTop > img {
  height: 30px;
  width: 32px;
  margin: auto;
}


section.home .icon {
  width: 32.5px;
  cursor: pointer;
  margin: auto;
}

.loader {
  display: block;
  position: absolute;
  margin: auto;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  height: 128px;
}

main {
  width: 100%;
  display: none;
}

section {
  display: inherit;
}

section.nav {
  display: flex;
  flex-direction: row-reverse;
  padding: 0 5%;
  margin-top: 40px;
  width: 100vw;
  height: 10vh;
  position: fixed;
}

section.nav .item {
  color: #fff;
  display: flex;
  box-sizing: content-box;
  font-family: Montserrat;
  padding: 0 20px;
  margin: 3vh 20px;
  font-size: 18px;
  cursor: pointer;
  border-radius: 25px;
}

section.nav .item.disabled {
  cursor: default;
}

section.nav .item.bold {
  background-color: rgb(123, 105, 145, 0.9);
}

section.nav .item > div {
  margin: auto;
}

section.home {
  color: #fff;
  display: flex;
  height: 100vh;
  background-repeat: no-repeat;
  background-size: cover;
}

section.home > .wrapper {
  width: 100%;
  background-image: linear-gradient(to left, rgba(0, 0, 0, 0.35), rgb(0, 0, 0));
  background-repeat: no-repeat;
  background-size: cover;
  padding: 12.5% 6.5%;
}

section.home > .wrapper > .content {
  padding: 2.5% 5%;
}

section.home .title {
  font-size: 80px;
  font-family: 'Segoe UI';
  font-weight: 700;
  line-height: 100px;
  user-select: none;
}
section.home .subtitle {
  font-size: 30px;
  font-family: monospace;
  padding: 0 7px;
  user-select: none;
}
section.home .link-bar {
  display: grid;
  width: min-content;
  grid-auto-flow: column;
  gap: 30px;
  padding: 20px 0;
}

section.home .box {
  display: flex;
  width: 65px; height: 65px;
  margin: 0 7px;
  border-radius: 10px;
  border: 3px solid;
}

.link-bar .name {
  font-size: 14px;
  font-weight: 700;
  width: min-content;
  padding-right: 1px;
  margin: auto;
  font-family: 'Segoe UI';
}


div.sidebar {
  display: flex;
  flex-direction: column;
  position: fixed;
  right: 5vw;
  height: 100vh;
  transition-duration:400ms;

}

div.sidebar.small {
  right: 2vw;
}

div.sidebar > .wrapper {
  width: inherit;
  margin: auto;
}

div.sidebar .box {
  padding: 5px 0;
  margin: 20px 0;
  background-color: #e2e2e2;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  max-width: 120px; height: 110px;
  width: 9vw;
  border-radius: 7px;
  font-size: 16px;
  font-weight: 700;
  font-family: 'Segoe UI';
  border: 3px solid;
  cursor: pointer;
  user-select: none;
  transition-duration:400ms;
}

div.sidebar .box.small {
  margin: 0;
  transform: scale(0.75, 0.75);
}

div.sidebar .icon {
  height: 45px;
  cursor: pointer;
  margin: auto;
}

div.sidebar .icon.larger {
  height: 55px;
}

section#about > .title,
section#experience > .title,
section#education > .title {
  font-size: 60px;
  font-family: 'Titillium Web';
  font-weight: 600;
  padding: 40px 100px 0 100px;
  height: 15%;
}


section#projects > .title  {
  width: 100%;
  font-size: 60px;
  font-family: 'Titillium Web';
  font-weight: 600;
  padding: 40px;
  text-align: center;
}

section#about {
  color: #000;
  display: flex;
  flex-direction: column;
  background-color: #ddd5c9;
  background-repeat: no-repeat;
  background-size: cover;
}

section#about > .wrapper {
  display: flex;
  width: 100%;
  padding: 0 50px;
}

section#about .content.left {
  display: flex;
  width: 25%;
  height: 100%;
  padding: 50px 0;
}

section#about .content.left > img {
  height: 25vw;
  width: 25vw;
  max-width: 375px;
  max-height: 375px;
  border-radius: 100%;
  margin: auto;
  border: 5px solid;
}

section#about .content.right {
  display: flex;
  flex-direction: column;
  width: 75%;
  height: 100%;
  padding: 0 15vw 40px 6.5%;
}

section#about .text {
  font-size: 18px;
  text-align: justify;
  font-family: Nunito;
}


section#about .list {
  font-size: 18px;
  text-align: center;
  font-family: Nunito;
}

section#about .list > div {
margin: 10px 0;
}

section#about .subtitle {
  font-size: 26px;
  font-family: Montserrat;
  text-align: center;
  padding: 3% 0;
}

section#experience {
  color: #000;
  display: flex;
  flex-direction: column;
  background-color: #e6e6e6;
  background-repeat: no-repeat;
  background-size: cover;
}

section#experience > .wrapper,
section#education > .wrapper {
  display: flex;
  flex-direction: column;
  padding: 0 18vw 2% 100px;
}

section#experience .experience {
  display: flex;
  width: 100%;
  border-radius: 5px;
  background-color: #d4d4d4;
  padding: 20px 40px;
  margin: 1.5% 0;
}

section#experience .experience .header {
  display: flex;
  width: 100%;
}

section#experience .experience > .image {
  display: inherit;
  width: 6.5%;
}

section#experience .experience > .image > img {
  height: 48px;
  margin: 5px 0;
}

section#experience .experience .header > .content {
  width: 100%;
  display: inherit;
  justify-content: space-between;
}

section#experience .experience .header {
  display: inherit;
}

section#experience .experience .title {
  font-family:  monospace;
  font-size: 26px;
  font-weight:bolder;
}

section#experience .experience .subtitle {
  font-size: 19px;
  font-weight: 600;
}

section#experience .experience .info {
  font-size: 16px;
  font-style: italic;
  font-family: Montserrat;
  text-align: right;
}

section#experience .experience > .body {
  width: 93.5%;
  display: flex;
  flex-direction: column;
}

section#experience .experience > .body > ul,
section#education ul {
  font-size: 16px;
  font-family: Nunito;
  margin: 7.5px 0 0 0;
}




section#projects {
  color: #fff;
  display: flex;
  flex-direction: column;
  background-color: #343434;
  background-repeat: no-repeat;
  background-size: cover;
}

section#projects > .wrapper {
  display: flex;
  margin: 0 10vw;
}

section#projects > .wrapper > .content {
  width: 50%;
  display: flex;
  flex-direction: column;
  align-items: center;
}

section#projects .content > * {
  margin: 10px 0;
}

section#projects .content > .title {
  font-weight: 700;
  font-size: 25px;
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

section#projects .content > .container.text {
  font-size: 15px;
  font-family: Nunito;
  width: 35vw;
  text-align: justify;
}

section#projects .content > .container.img {
  display: flex;
  max-height: 17vw;
  width: 85%;
  overflow: hidden;
  border-radius: 10px;
  border: 5px solid rgb(0, 0, 0);
}

section#projects img {
  margin: auto 0;

  width: 100%;
}

section#projects ul {
  margin: 5px 0;
}

section#projects li.yes::marker {
  content: '✓  ';
}

section#projects li.no::marker {
  content: 'X  ';
}



section#education {
  color: #000;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  background-color: #e2e1e4;
  /*background-color: #e9e3f3;*/
  background-repeat: no-repeat;
  background-size: cover;
}

section#education .container  {
  margin: 20px 0;
  display: inherit;
  width: 100%;
  justify-content: space-between;
  font-family: Nunito;
}

section#education .container > .title {
  font-family:  'Titillium Web';
  width: 100%;
  font-size: 36px;
  text-align: center;
  font-weight:bolder;
  margin-bottom: 20px;
}

section#education .content > .title {
  font-family:  monospace;
  font-size: 26px;
  font-weight:bolder;
}

section#education .content > .subtitle {
  font-family:  monospace;
  font-size: 19px;
  font-weight: 600;
}

section#education ul {
  font-family: Nunito;
  color: rgb(65, 65, 65);
}

section#education li::marker {
  content: '>  ';
  font-weight: 700;
}

section#education .row {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr 1fr;
  grid-template-rows: 1fr 1fr 1fr;
  gap: 2vw;
}


section#education .course {
  border: 3px solid;
  border-radius: 2px;
  min-height: 50px;
  padding: 3% 4%;
}

.mech {
  border-color:#bc2020 !important;
}

.elec {
  border-color:#c99b23 !important;
}

.syst {
  border-color:#7a49b9 !important;
} 

.math {
  border-color:#1a8823 !important;
} 

.comp {
  border-color:#1175b8 !important;
} 

.flex-col {
  flex-direction: column;
}

section#education .course .title {
  justify-content: space-between;
  font-size: 18px;
  font-weight: 800;
  font-family: Montserrat;
  line-height: 18px;
}
section#education .course .subtitle {
  font-size: 17px;
  font-weight: 700;
  font-family: monospace;
}

section#education .course .text {
  font-size: 12px;
  font-family: monospace;
  margin: 5px 0;
}

section#education .course .text b {
font-size: 13px;
text-decoration: underline;
font-family: Verdana, sans-serif;
}

.right {
  display: flex;
  justify-content: right;
}
.right > * {
  margin: auto 7px;
}

.square {
  height: 15px;
  width: 15px;
  border: 2px solid;
}

section#education .content > .right > .subtitle {
  font-family:  monospace;
  font-size: 16px;
  font-weight: 600;
}


@media only screen and (max-width: 1615px) {
  section#about .text {
    font-size: 16px;
    text-align: justify;
    font-family: Nunito;
  }
  section#about .subtitle {
    font-size: 22px;
    font-family: Montserrat;
    text-align: center;
    padding: 3% 0;
  }

  section#about .list {
    font-size: 16px;
    text-align: center;
    font-family: Nunito;
  }
  

  section#experience .experience .title {
    font-family:  monospace;
    font-size: 24px;
    font-weight:bolder;
  }
  
  section#experience .experience .subtitle {
    font-size: 17px;
    font-weight: 600;
  }
  
  section#experience .experience .info {
    font-size: 14px;
    font-style: italic;
    font-family: Montserrat;
    text-align: right;
  }
  section#experience .experience > .image {
    margin-right: 20px;
  }
  section#experience .experience > .body > ul,
  section#education ul {
    font-size: 14px;
  }

  section#projects .content > .title {
    font-size: 22px;
  }
}