*,
*:before,
*:after {
  -webkit-box-sizing: border-box;
  -moz-box-sizing: border-box;
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

:root {
  font-size: 16px;
  --margin: 3rem;
  --padding: 8rem;
  --transition: 110ms ease;
  --black: #1c1c1c;
  --white: #ffffff;
  --link: #fd9000;
  --link: #fd9000;
  --hover: #FD9000;
}

::selection {
  background-color: rgba(0, 0, 0, 0.99);
  color: #ffffff;
}

html {
  overflow: hidden;
  height: 100%;
}

::-webkit-scrollbar {
    width: 10px;
}

::-webkit-scrollbar-track {
    background: transparent;
}

::-webkit-scrollbar-thumb {
    background: #FFF;
}

::-webkit-scrollbar-thumb:hover {
    background: #555;
}

body {  
  background: var(--white);
  color: var(--black);
  height: 100%;
  display: flex;
  margin: auto;
  overflow-x: scroll;
  overflow-y: hidden;
  hyphens: manual;
  -moz-hyphens: manual;
  -webkit-hyphens: manual;
  -webkit-overflow-scrolling: touch;
  -moz-osx-font-smoothing: grayscale;
  -webkit-font-smoothing: antialiased;
  font-family: -apple-system, system-ui, BlinkMacSystemFont, sans-serif;
}

.text {
  padding: 0 var(--padding);
}

h1,
h2,
h3,
h4,
h5,
h6 {
  text-rendering: geometricPrecision;
}

a {
  color: var(--link);
  transition: var(--transition);
  font-weight: 400;
}

a:hover {
  box-shadow: 0px 4px 0px var(--hover);
}

h1 {
  font-size: 6rem;
  line-height: 1;
}

h2 {
  font-size: 5rem;
  font-weight: 700;
  margin-bottom: 3rem;
}

h3 {
  font-size: 2.8rem;
}

p {
  font-size: 2rem;
  line-height: 1.35;
  max-width: 80rem;
}

strong {
  font-weight: 800;
}

header {
  width: auto;
  height: 100vh;
  display: flex;
  justify-content: center;
  flex-direction: column;
  padding-right: 60vw;
}

nav {
  margin-top: 1.8rem;
}

ul {
  list-style: none;
  display: inline-flex;
  position: relative;
}

ul li a {
  color: var(--link);
  margin-right: 1.5rem;
  font-size: 1.8rem;
  text-decoration: none;
}

main {
  display: flex;
  
}

section {
  height: 100vh;
  width: 100vw;
  display: flex;
  justify-content: center;
  flex-direction: column;
  padding: 0 var(--padding);
}

section:nth-child(1) {
  background: rgba(80, 80, 80, 0.1);
  margin: 0;
  padding: var(--padding);
}

#skill-blocks {
  display: flex;
  justify-content: flex-start;
  flex-wrap: wrap;
  position: relative;
}

#skill-blocks li {
  font-weight: 500;
  border-radius: 0.015rem;
  list-style: none;
  font-size: 1.25rem;
  margin: 0.4rem 0.4rem 0rem 0rem;
  padding: 1rem 2rem;
  background-color: var(--black);
  color: var(--white);
  cursor: default;
}

.lessx {
  opacity: 0.74;
}

.project h2 {
  color: #FD9000;
  margin-bottom: 1.25rem;
}

.project h3 {
  margin-bottom: 1.75rem;
  font-size: 2.25rem;
}

.project a {
  text-decoration: none;
}

@media (prefers-color-scheme: light) {
  :root {
    --black: #1C1C1C;
    --white: #ffffff;
  }
}

@media (prefers-color-scheme: dark) {
  :root {
    --black: #ffffff;
    --white: #1C1C1C;
  }
}

@media (max-width: 1200px) {
  :root {
    font-size: 13px;
    --padding: 4rem;
  }
}

@media (max-width: 700px) {
  :root {
    font-size: 10px;
    --padding: 1.75rem;
  }
}

@media (max-height: 800px) {
  :root {
    font-size: 10px;
  }
}

@media (max-height: 400px) {
  :root {
    font-size: 7px;
  }
}