html {
  line-height: 1.15;
  -ms-text-size-adjust: 100%;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
}

article,
aside,
footer,
header,
nav,
section {
  display: block;
}

h1 {
  font-size: 2em;
  margin: 0.67em 0;
}

figcaption,
figure,
main {
  display: block;
}

figure {
  margin: 1em 40px;
}

hr {
  -webkit-box-sizing: content-box;
          box-sizing: content-box;
  height: 0;
  overflow: visible;
}

pre {
  font-family: monospace, monospace;
  font-size: 1em;
}

a {
  background-color: transparent;
  -webkit-text-decoration-skip: objects;
}

abbr[title] {
  border-bottom: none;
  text-decoration: underline;
  -webkit-text-decoration: underline dotted;
          text-decoration: underline dotted;
}

b,
strong {
  font-weight: inherit;
}

b,
strong {
  font-weight: bolder;
}

code,
kbd,
samp {
  font-family: monospace, monospace;
  font-size: 1em;
}

dfn {
  font-style: italic;
}

mark {
  background-color: #ff0;
  color: #000;
}

small {
  font-size: 80%;
}

sub,
sup {
  font-size: 75%;
  line-height: 0;
  position: relative;
  vertical-align: baseline;
}

sub {
  bottom: -0.25em;
}

sup {
  top: -0.5em;
}

audio,
video {
  display: inline-block;
}

audio:not([controls]) {
  display: none;
  height: 0;
}

img {
  border-style: none;
}

svg:not(:root) {
  overflow: hidden;
}

button,
input,
optgroup,
select,
textarea {
  font-family: sans-serif;
  font-size: 100%;
  line-height: 1.15;
  margin: 0;
}

button,
input {
  overflow: visible;
}

button,
select {
  text-transform: none;
}

button,
html [type=button],
[type=reset],
[type=submit] {
  -webkit-appearance: button;
}

button::-moz-focus-inner,
[type=button]::-moz-focus-inner,
[type=reset]::-moz-focus-inner,
[type=submit]::-moz-focus-inner {
  border-style: none;
  padding: 0;
}

button:-moz-focusring,
[type=button]:-moz-focusring,
[type=reset]:-moz-focusring,
[type=submit]:-moz-focusring {
  outline: 1px dotted ButtonText;
}

fieldset {
  padding: 0.35em 0.75em 0.625em;
}

legend {
  -webkit-box-sizing: border-box;
          box-sizing: border-box;
  color: inherit;
  display: table;
  max-width: 100%;
  padding: 0;
  white-space: normal;
}

progress {
  display: inline-block;
  vertical-align: baseline;
}

textarea {
  overflow: auto;
}

[type=checkbox],
[type=radio] {
  -webkit-box-sizing: border-box;
          box-sizing: border-box;
  padding: 0;
}

[type=number]::-webkit-inner-spin-button,
[type=number]::-webkit-outer-spin-button {
  height: auto;
}

[type=search] {
  -webkit-appearance: textfield;
  outline-offset: -2px;
}

[type=search]::-webkit-search-cancel-button,
[type=search]::-webkit-search-decoration {
  -webkit-appearance: none;
}

::-webkit-file-upload-button {
  -webkit-appearance: button;
  font: inherit;
}

details,
menu {
  display: block;
}

summary {
  display: list-item;
}

canvas {
  display: inline-block;
}

template {
  display: none;
}

[hidden] {
  display: none;
}

.clearfix:after {
  visibility: hidden;
  display: block;
  font-size: 0;
  content: "";
  clear: both;
  height: 0;
}

html {
  -webkit-box-sizing: border-box;
  box-sizing: border-box;
}

*,
*:before,
*:after {
  -webkit-box-sizing: inherit;
          box-sizing: inherit;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  border: 0;
  padding: 0;
  white-space: nowrap;
  -webkit-clip-path: inset(100%);
          clip-path: inset(100%);
  clip: rect(0 0 0 0);
  overflow: hidden;
}

/* 1 rem == 10 px Font Size */
html {
  font-size: 62.5%;
}

body {
  font-size: 1.6rem;
}

body {
  font-family: "HelveticaNeue-Light", "Helvetica Neue Light", "Helvetica Neue", Helvetica, Arial, "Lucida Grande", sans-serif;
  font-weight: 300;
  color: black;
  line-height: 1.6;
}

h1,
h2,
h3,
h4,
h5 {
  font-weight: 400;
  line-height: 1;
  margin: 0;
}

h1 {
  font-size: calc(4.5rem + (150 - 45) * ((100vw - 320px) / (1080 - 320)));
  letter-spacing: 0px;
}

@media (max-width: 900px) {
  h1 {
    font-size: calc(4.5rem + (140 - 45) * ((100vw - 320px) / (840 - 320)));
  }
}
@media (min-width: 1440px) {
  h1 {
    font-size: 19rem;
  }
}
h2 {
  font-size: calc(3rem + (35 - 30) * ((100vw - 320px) / (1080 - 320)));
}

h3 {
  font-size: calc(2.5rem + (25 - 25) * ((100vw - 320px) / (1080 - 320)));
  color: #3f7ea8;
}

p {
  font-size: calc(1.4rem + (16 - 14) * ((100vw - 320px) / (1080 - 320)));
}

address {
  font-style: normal;
}

a {
  font-size: 1.8rem;
  font-weight: 500;
}

.theme-light {
  --color-background: white;
  --color-nav-background: rgba(255, 255, 255, 0.95);
  --color-font: black;
}

.theme-dark {
  --color-background: black;
  --color-font: white;
  --color-nav-background: rgba(0, 0, 0, 0.9);
}

*:focus {
  -webkit-box-shadow: 0px 0px 5px #ff4000;
          box-shadow: 0px 0px 5px #ff4000;
}

html {
  scroll-behavior: smooth;
}

body {
  background-color: var(--color-background);
  color: var(--color-font);
}

.wrapper {
  width: 80%;
  margin: 0 auto;
  max-width: 1080px;
}

h1::-moz-selection, h2::-moz-selection, h3::-moz-selection, h4::-moz-selection, p::-moz-selection, li::-moz-selection, address::-moz-selection {
  background: #ff4000;
  color: white;
}

h1::selection,
h2::selection,
h3::selection,
h4::selection,
p::selection,
li::selection,
address::selection {
  background: #ff4000;
  color: white;
}

a {
  color: var(--color-font);
  text-decoration: none;
  -webkit-transition: color 0.3s ease;
  transition: color 0.3s ease;
}

a:hover,
a:focus,
a:focus > i {
  color: #ff4000;
}

p {
  margin: 0;
  padding: 0;
}

ul {
  margin: 0;
  padding: 0;
}

li {
  list-style-type: none;
}

img {
  max-width: 100%;
  height: auto;
  vertical-align: middle;
  border: 0;
}

h2 {
  padding-bottom: 50px;
}

h3 {
  padding-bottom: 20px;
}

em {
  font-weight: 600;
}

.fab {
  font-size: 2rem;
}

.icon-container {
  padding-bottom: 20px;
}
.icon-container i {
  color: var(--color-font);
}
.icon-container i:hover {
  color: #ff4000;
}

header {
  min-height: 100vh;
  position: relative;
}

.header-content {
  padding-top: 130px;
  width: 75%;
}

.nav-bar {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  left: 0;
  right: 0;
  -webkit-box-pack: justify;
      -ms-flex-pack: justify;
          justify-content: space-between;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  position: fixed;
  padding: 25px 0;
  background-color: var(--color-nav-background);
  z-index: 2;
}

.nav-bar-flexbox {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
}

.nav-bar-black {
  background-color: black;
}

.menu-btn {
  position: relative;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  width: 20px;
  height: 30px;
  cursor: pointer;
  -webkit-transition: all 0.5s ease-in-out;
  transition: all 0.5s ease-in-out;
}

.burger {
  width: 100%;
  height: 4px;
  background: #005d8c;
  border-radius: 5px;
  -webkit-box-shadow: 0 2px 5px 4gba 255, 101, 47, 0.2;
          box-shadow: 0 2px 5px 4gba 255, 101, 47, 0.2;
  -webkit-transition: all 0.5s ease-in-out;
  transition: all 0.5s ease-in-out;
}

.burger::before,
.burger::after {
  content: "";
  position: absolute;
  width: 100%;
  height: 4px;
  background: #005d8c;
  border-radius: 5px;
  -webkit-box-shadow: 0 2px 5px rgba(255, 101, 47, 0.2);
          box-shadow: 0 2px 5px rgba(255, 101, 47, 0.2);
  -webkit-transition: all 0.5s ease-in-out;
  transition: all 0.5s ease-in-out;
}

.burger::before {
  -webkit-transform: translateY(-180%);
          transform: translateY(-180%);
}

.burger::after {
  -webkit-transform: translateY(180%);
          transform: translateY(180%);
}

/* Hamburger Menu Animation */
.menu-btn.open .burger {
  -webkit-transform: translateX(-50px);
          transform: translateX(-50px);
  background: transparent;
  -webkit-box-shadow: none;
          box-shadow: none;
}

.menu-btn.open .burger::before {
  -webkit-transform: rotate(45deg) translate(35px, -35px);
          transform: rotate(45deg) translate(35px, -35px);
}

.menu-btn.open .burger::after {
  -webkit-transform: rotate(-45deg) translate(35px, 35px);
          transform: rotate(-45deg) translate(35px, 35px);
}

.logo-container {
  margin-left: 20px;
}

.logo {
  width: 150px;
  font-size: 20px;
  font-weight: 600;
  color: #005d8c;
  letter-spacing: 3px;
  text-transform: uppercase;
}

.drawer-container {
  position: fixed;
  left: 0;
  right: 0;
  height: 100vh;
  background-color: var(--color-background);
  -webkit-transform: translateY(-50%);
          transform: translateY(-50%);
  visibility: hidden;
  z-index: -1;
  -webkit-transition: all 0.4s ease-in-out;
  transition: all 0.4s ease-in-out;
  -webkit-transition-property: visibility, -webkit-transform;
  transition-property: visibility, -webkit-transform;
  transition-property: transform, visibility;
  transition-property: transform, visibility, -webkit-transform;
  padding-top: 80px;
}
.drawer-container nav {
  width: 100%;
}
.drawer-container nav ul li {
  border-top: 2px solid;
  padding: 25px 0;
}
.drawer-container nav ul li a {
  font-size: 3.5rem;
}
.drawer-container nav ul li a:hover {
  color: #ff4000;
}

.open-drawer {
  -webkit-transform: translateY(45%);
          transform: translateY(45%);
  visibility: visible;
}

.intro-container {
  padding-bottom: 100px;
}
.intro-container p {
  font-size: calc(2rem + (32 - 20) * ((100vw - 320px) / (1080 - 320)));
  line-height: 1.2;
  margin-top: 60px;
}

.arrow-link {
  position: absolute;
  bottom: 5%;
  left: 50%;
  padding: 20px;
  -webkit-transform: translateX(-50%);
          transform: translateX(-50%);
}

.down-arrow {
  border: solid;
  border-width: 0 5px 5px 0;
  border-color: var(--color-font);
  display: inline-block;
  padding: 10px;
  -webkit-transform: rotate(45deg);
          transform: rotate(45deg);
}

.arrow-link:hover > i,
.arrow-link:focus > i {
  border-color: #ff4000;
}

section {
  border-top: 2px lightgrey solid;
  padding: 100px 0;
}

.about-section {
  min-height: 90vh;
}

.profile-img-container img {
  border-radius: 5px;
}

.about-contents h4 {
  padding-bottom: 30px;
  font-weight: 600;
}
.about-contents p {
  font-size: calc(1.6rem + (17 - 16) * ((100vw - 320px) / (1080 - 320)));
  line-height: 1.5;
  font-weight: 400;
}
.about-contents p:not(:last-child) {
  margin-bottom: 30px;
}

.about-top,
.about-skills {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -ms-flex-wrap: wrap;
      flex-wrap: wrap;
  gap: 40px;
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
}

.about-top > *,
.about-skills > * {
  width: calc(47.5%);
  min-width: 200px;
  -webkit-box-flex: 1;
      -ms-flex-positive: 1;
          flex-grow: 1;
}

.about-top {
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
}

.about-skills {
  margin-top: 100px;
}

.bordered-list-items {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -ms-flex-wrap: wrap;
      flex-wrap: wrap;
  gap: 8px;
}

.bordered-list-items li {
  display: inline-block;
  border-width: 1px;
  border-style: solid;
  padding: 0 5px;
  border-radius: 3px;
  font-weight: 400;
  font-size: 1.4rem;
}

.projects-section .projects-list > li {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -ms-flex-wrap: wrap;
      flex-wrap: wrap;
  gap: 20px 40px;
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
  margin-bottom: 100px;
}
.projects-section .projects-list > li > * {
  width: calc(47.5%);
  min-width: 200px;
  -webkit-box-flex: 1;
      -ms-flex-positive: 1;
          flex-grow: 1;
}
.projects-section .projects-list > li > * img {
  border-radius: 10px;
}
.projects-section .projects-list > li > * p {
  margin-top: 20px;
}
.projects-section .projects-list > li > * ul {
  gap: 5px;
}
.projects-section .projects-list > li > * li {
  color: #646464;
}
.projects-section .projects-list > li:last-child {
  margin-bottom: 0;
}
.projects-section .project-header-container {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  gap: 20px;
  -ms-flex-line-pack: center;
      align-content: center;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
}

.contact-container {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -ms-flex-wrap: wrap;
      flex-wrap: wrap;
  gap: 40px;
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
}

.contact-container > * {
  width: calc(47.5%);
  min-width: 200px;
  -webkit-box-flex: 1;
      -ms-flex-positive: 1;
          flex-grow: 1;
}

.contact-container a:hover,
.contact-container a:focus {
  color: #ff4000;
}

.contact-left p {
  margin: 0;
}

.contact-right li {
  margin-bottom: 10px;
}

footer {
  border-top: 2px lightgrey solid;
  padding: 5px;
}

footer p {
  font-size: 1.3rem;
}

.onoffswitch {
  position: relative;
  width: 53px;
}

.onoffswitch-label:hover,
.onoffswitch-checkbox:focus + .onoffswitch-label {
  -webkit-box-shadow: 0px 0px 5px #ff4000;
          box-shadow: 0px 0px 5px #ff4000;
}

.onoffswitch-checkbox {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.onoffswitch-label {
  display: block;
  overflow: hidden;
  cursor: pointer;
  border: 1px solid #999999;
  border-radius: 50px;
}

.onoffswitch-inner {
  display: block;
  width: 200%;
  margin-left: -100%;
  -webkit-transition: margin 0.3s ease-in 0s;
  transition: margin 0.3s ease-in 0s;
}

.onoffswitch-inner:before,
.onoffswitch-inner:after {
  display: block;
  float: left;
  width: 50%;
  height: 16px;
  padding: 0;
  line-height: 16px;
  font-size: 10px;
  color: white;
  font-family: Trebuchet, Arial, sans-serif;
  font-weight: bold;
  -webkit-box-sizing: border-box;
          box-sizing: border-box;
}

.onoffswitch-inner:before {
  content: "Day";
  padding-left: 8px;
  background-color: #ffffff;
  color: #000000;
}

.onoffswitch-inner:after {
  content: "Night";
  padding-right: 5px;
  background-color: #000000;
  color: #ffffff;
  text-align: right;
}

.onoffswitch-switch {
  display: block;
  width: 16px;
  margin: 1px;
  background: #ffffff;
  position: absolute;
  top: 0;
  bottom: 0;
  right: 35px;
  border: 1px solid #999999;
  border-radius: 50px;
  -webkit-transition: all 0.3s ease-in 0s;
  transition: all 0.3s ease-in 0s;
}

.onoffswitch-checkbox:checked + .onoffswitch-label .onoffswitch-inner {
  margin-left: 0;
}

.onoffswitch-checkbox:checked + .onoffswitch-label .onoffswitch-switch {
  right: 0px;
}

.dark-mode {
  background-color: black;
  color: white;
  border-color: white;
}

.nav-dark-mode {
  background-color: rgba(0, 0, 0, 0.95);
}

@media (max-width: 450px) {
  .arrow-link {
    bottom: 15%;
  }
}
@media (max-width: 900px) {
  .header-content {
    width: 100%;
  }
}