:root {
  --background: #FEF5E7;
  --text: #4D2B08;
  --secondary: #75420C;
  --accent: #EA8417;
}

.darkmode {
  --background: #4D2B08;
  --text: #FEF5E7;
  --secondary: #75420C;
  --accent: #FFA23F;
}

/* Meyer reset */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
}

/* Reset styles for HTML5 semantic elements */
body, h1, h2, h3, h4, h5, h6, p, ol, ul, figure, blockquote, dl, dd {
  margin: 0;
}

ol, ul {
  list-style: none;
}

blockquote, q {
  quotes: none;
}

blockquote::before,
blockquote::after,
q::before,
q::after {
  content: "";
}

table {
  border-collapse: collapse;
  border-spacing: 0;
}

/* Ensure media elements fit within container */
img,
picture,
video,
canvas,
svg {
  display: block;
  max-width: 100%;
}

/* Inherit fonts for form elements */
input, button, textarea, select {
  font: inherit;
}

/* Consistent appearance for buttons and forms */
button, [role=button] {
  cursor: pointer;
  background: transparent;
  border: none;
  padding: 0;
}

/* Font import */
@font-face {
  font-family: "Archivo";
  src: url("font/Archivo.ttf") format("truetype");
  font-weight: normal;
  font-style: normal;
  font-display: swap;
}
.content {
  font-family: "Archivo", sans-serif;
  width: 100%;
  color: var(--text);
}
.content h4 {
  font-family: "Raleway", sans-serif;
  font-size: 1rem;
  font-style: italic;
  margin-bottom: 0;
  font-weight: 300;
  letter-spacing: 1.2px;
  padding-top: 50px;
}
@media (min-width: 504px) {
  .content h4 {
    font-size: 22px;
  }
}
@media (min-width: 1024px) {
  .content h4 {
    font-size: 1rem;
  }
}
@media (min-width: 1600px) {
  .content h4 {
    font-size: 1.3rem;
  }
}
.content h1 {
  color: var(--accent);
  text-align: left;
  font-size: 33px;
  margin: 0;
}
@media (min-width: 504px) {
  .content h1 {
    font-size: 70px;
  }
}
@media (min-width: 1024px) {
  .content h1 {
    font-size: 3rem;
  }
}
@media (min-width: 1600px) {
  .content h1 {
    font-size: 3.8rem;
  }
}
.content h2 {
  color: var(--accent);
  text-align: left;
  font-size: 25px;
  margin: 0;
}
@media (min-width: 504px) {
  .content h2 {
    font-size: 33px;
  }
}
@media (min-width: 1024px) {
  .content h2 {
    font-size: 2.5rem;
  }
}
.content p {
  font-family: "Raleway", sans-serif;
  padding: 20px;
  font-size: 20px;
  letter-spacing: 1.5px;
  margin: 0;
}
@media (min-width: 504px) {
  .content p {
    padding-right: 15px;
  }
}
@media (min-width: 1024px) {
  .content p {
    font-size: 1.2rem;
    line-height: 30px;
  }
}
@media (min-width: 1600px) {
  .content p {
    font-size: 1.5rem;
    line-height: 2.1rem;
  }
}
.content span {
  font-weight: bolder;
  font-style: italic;
  color: var(--accent);
}
.content a {
  font-family: "Raleway", sans-serif;
  font-size: 19px;
  letter-spacing: 1.5px;
  font-weight: bolder;
  text-decoration: none;
  color: var(--accent);
}
.content a:hover {
  transition: all 0.2s ease-in-out;
  font-size: 1.3rem;
}
.content a p:hover {
  transition: all 0.2s ease-in-out;
  font-size: 1.3rem;
}

i {
  font-weight: 100;
  font-size: 1.8rem;
  color: var(--text);
}

/* Smooth scrolling */
html {
  scroll-behavior: smooth;
  scroll-padding-top: 50px;
}

body {
  min-height: 100vh;
  line-height: 1.5;
  scroll-behavior: smooth;
  text-rendering: optimizeLegibility;
  background: var(--background);
  color: var(--text);
}

aside {
  opacity: 0.5;
  position: fixed;
  width: 25%;
  top: 20px;
}
@media (min-width: 1024px) {
  aside {
    max-width: 50%;
  }
}
.darkmode aside {
  opacity: 1;
}

header {
  position: fixed;
  right: 0;
  top: 0;
  width: 100%;
  height: 1rem;
  justify-content: space-between;
  padding: 50px;
  z-index: 3;
}

/* Header logotype - commented out in original */
/* 
a#logotype {
    font-family: $font-primary;
    text-decoration: none;
    color: var(--text);
    font-size: 1.35rem;
    font-weight: bold;
    display: inline-block;
    letter-spacing: 1.8px;
    transition: all 10ms ease-in-out;
    z-index: 1;

    &:hover {
        transform: scale(1.08);
        color: var(--accent);
        cursor: pointer;
    }
}
*/
#navbar {
  font-family: "Archivo", sans-serif;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 50px;
  overflow: hidden;
  background: var(--background);
  box-sizing: border-box;
  padding: 30px;
  display: flex;
  justify-content: right;
  align-items: center;
}
#navbar a {
  transition: all 10ms ease-in-out;
  font-weight: 900;
}
#navbar a:hover {
  transform: scale(1.07);
  color: var(--accent);
  cursor: pointer;
}

#navlist {
  display: flex;
  justify-content: space-between;
  gap: 2rem;
}
#navlist li {
  list-style: none;
}
#navlist a {
  text-decoration: none;
  padding: 20px 0;
  color: var(--text);
  font-size: 1.3rem;
  display: inline-block;
  left: 20%;
  letter-spacing: 2px;
  transition: all 10ms ease-in-out;
}
@media (min-width: 1600px) {
  #navlist a {
    font-size: 1.5rem;
  }
}

section {
  display: block;
  justify-content: space-between;
  align-items: center;
  padding: 3rem;
  gap: 30px;
}
@media (min-width: 504px) {
  section {
    height: 100%;
  }
}
@media (min-width: 1024px) {
  section {
    grid-template-columns: repeat(2, 1fr);
    display: grid;
    padding: 50px;
    justify-content: space-between;
    transition: 0.2s;
  }
}
section img {
  width: 100%;
  height: auto;
  padding: 20px 0;
  border-radius: 50px;
}
@media (min-width: 1024px) {
  section img {
    max-width: 90%;
    display: block;
    align-items: center;
    padding: 30px;
  }
}
section video {
  width: 100%;
  height: auto;
  padding: 20px 0;
  border-radius: 50px;
}
@media (min-width: 1024px) {
  section video {
    max-width: 90%;
    display: block;
    justify-content: center;
    align-items: center;
    padding: 2rem;
    /* margin-left: 4rem; */
  }
}

#home,
#projects,
#services,
#about {
  grid-template-columns: 1fr;
  height: 100%;
}
@media (min-width: 1024px) {
  #home,
  #projects,
  #services,
  #about {
    grid-template-columns: 50% 50%;
  }
}

@media (min-width: 1024px) {
  #skills {
    padding-top: 0;
  }
}

footer {
  display: block;
  font-family: "Archivo", sans-serif;
  background: var(--background);
  color: var(--text);
  text-align: center;
  padding: 30px;
  bottom: 0;
  justify-content: space-between;
  line-height: 20px;
  letter-spacing: 1.5px;
}
footer p {
  font-size: 18px;
}

.icons {
  align-self: center;
  top: 50%;
  padding: 30px;
}
.icons a {
  text-decoration: none;
}
.icons a i:hover {
  color: var(--accent);
  font-size: 2.4rem;
}
.icons i {
  color: var(--text);
  font-size: 2.2rem;
  letter-spacing: 15px;
  transition: all 0.2s ease-in-out;
}

.button-link {
  text-decoration: none;
  padding: 10px 0;
  color: var(--background);
  display: inline-block;
}

.button {
  display: inline-block;
  border-radius: 40px;
  background: var(--background);
  border: 1.5px solid var(--accent);
  color: var(--accent);
  font-weight: 700;
  font-size: 20px;
  transition: all 0.2s ease-in-out;
  text-decoration: none;
  padding: 10px 0;
}
.button:hover {
  background: var(--accent);
  color: var(--background);
  cursor: pointer;
  transform: scale(1.02);
}
.button p {
  color: var(--background);
  text-align: center;
}
@media (max-width: 503px) {
  .button {
    font-size: 18px;
  }
}

#slider {
  margin: 10px auto;
  width: 100%;
  max-width: 100%;
  height: 100%;
  text-align: center;
}
@media (min-width: 1024px) {
  #slider {
    width: 90%;
  }
}
#slider input[type=radio] {
  display: none;
}
#slider label {
  cursor: pointer;
  text-decoration: none;
}

#slides {
  position: relative;
  overflow: hidden;
}

#overflow {
  width: 100%;
  overflow: hidden;
  border-radius: 50px;
}

#slide1:checked ~ #slides .inner {
  margin-left: -100%;
}

#slide2:checked ~ #slides .inner {
  margin-left: -200%;
}

#slide3:checked ~ #slides .inner {
  margin-left: -300%;
}

#slide4:checked ~ #slides .inner {
  margin-left: 0;
}

#slides .inner {
  transition: margin-left 0.8s cubic-bezier(0.77, 0, 0.175, 1);
  width: 400%;
  line-height: 0;
  height: 700px;
  z-index: 2;
  overflow: hidden;
}
#slides .slide {
  width: 25%;
  float: left;
  display: flex;
  justify-content: center;
  align-items: center;
  height: 100%;
  color: var(--background);
}
#slides .slide_1 {
  background: url("img/simulation.png") center top/cover no-repeat;
}
#slides .slide_2 {
  background: url("img/game.png") center/cover no-repeat;
}
#slides .slide_3 {
  background: url("img/poem.png") center/cover no-repeat;
}
#slides .slide_4 {
  background: url("img/pomodoro.png") top/cover no-repeat;
}
#slides .btn {
  border: 1.5px solid var(--accent);
  border-radius: 40px;
  background-color: var(--background);
  transition: all 0.2s ease-in-out;
}
#slides .btn:hover {
  background-color: var(--accent);
  color: var(--background);
}

.overlay {
  position: absolute;
  width: 100%;
  top: 350px;
  transition: 0.1s;
}
.overlay a {
  font-family: "Archivo", sans-serif;
  color: var(--accent);
  font-size: 25px;
  font-weight: bold;
  text-align: center;
  text-decoration: none;
  padding: 15px 20px;
}

#controls {
  margin: 1rem 0 0 0;
  width: 100%;
  height: 50px;
  position: relative;
  justify-content: center;
}
#controls label {
  transition: opacity 0.2s ease-in-out;
  display: none;
  width: 50px;
  height: 50px;
  background: var(--secondary);
  opacity: 0.4;
}
#controls label:hover {
  opacity: 1;
}

#slide1:checked ~ #controls label:nth-child(2),
#slide2:checked ~ #controls label:nth-child(3),
#slide3:checked ~ #controls label:nth-child(4),
#slide4:checked ~ #controls label:nth-child(1) {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M13.1714 12.0007L8.22168 7.05093L9.63589 5.63672L15.9999 12.0007L9.63589 18.3646L8.22168 16.9504L13.1714 12.0007Z' fill='rgba(234,132,23,1)'%3E%3C/path%3E%3C/svg%3E");
  float: right;
  margin: 0 100px 0 0;
  display: block;
}

#slide1:checked ~ #controls label:nth-child(4),
#slide2:checked ~ #controls label:nth-child(1),
#slide3:checked ~ #controls label:nth-child(2),
#slide4:checked ~ #controls label:nth-child(3) {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M10.8284 12.0007L15.7782 16.9504L14.364 18.3646L8 12.0007L14.364 5.63672L15.7782 7.05093L10.8284 12.0007Z' fill='rgba(234,132,23,1)'%3E%3C/path%3E%3C/svg%3E");
  float: left;
  margin: 0 0 0 100px;
  display: block;
}

#theme-switch {
  height: 40px;
  width: 40px;
  padding: 10px;
  border-radius: 50%;
  background-color: var(--text);
  display: flex;
  justify-content: center;
  align-items: center;
  position: fixed;
  top: 0.5rem;
  left: 0.8rem;
}
@media (min-width: 1024px) {
  #theme-switch {
    height: 50px;
    width: 50px;
  }
}
#theme-switch:hover {
  background-color: var(--accent);
  transition: all 0.2s ease-in-out;
}
#theme-switch svg {
  fill: var(--background);
}
#theme-switch svg:last-child {
  display: none;
}
.darkmode #theme-switch svg:first-child {
  display: none;
}
.darkmode #theme-switch svg:last-child {
  display: block;
}

::-webkit-scrollbar {
  width: 11px;
}
@media (min-width: 504px) {
  ::-webkit-scrollbar {
    width: 8px;
  }
}

::-webkit-scrollbar-thumb {
  background: var(--secondary);
}
::-webkit-scrollbar-thumb:hover {
  background: var(--accent);
}
::-webkit-scrollbar-thumb:active {
  background: var(--accent);
}

::-webkit-scrollbar-track {
  background: var(--background);
}

#skills-list {
  height: auto;
  padding: 0 0 40px 0;
}
@media (max-width: 503px) {
  #skills-list {
    padding-left: 1.2rem;
  }
}
@media (max-width: 1023px) {
  #skills-list {
    padding-left: 1.4rem;
  }
}
@media (min-width: 1024px) {
  #skills-list {
    padding-left: 1rem;
  }
}
#skills-list h3 {
  font-family: "Archivo", sans-serif;
  font-size: 20px;
  color: var(--accent);
  font-weight: bolder;
  letter-spacing: 1.5px;
  border-bottom: 3px dotted var(--accent);
  padding-bottom: 3px;
  width: 97%;
}
@media (min-width: 1024px) {
  #skills-list h3 {
    width: 421px;
  }
}
@media (min-width: 1600px) {
  #skills-list h3 {
    width: 97%;
    font-size: 1.6rem;
    line-height: 2rem;
  }
}
#skills-list p {
  font-family: "Raleway", sans-serif;
  font-size: 18px;
  color: var(--text);
  font-weight: 530;
  letter-spacing: 2px;
  line-height: 28px;
}
@media (min-width: 1024px) {
  #skills-list p {
    font-size: 1.2rem;
  }
}
@media (min-width: 1600px) {
  #skills-list p {
    font-size: 1.5rem;
    line-height: 2.5rem;
  }
}

@media (max-width: 503px) {
  .content {
    padding-left: 0;
  }
}
@media (min-width: 1024px) {
  .content {
    width: 100%;
  }
}

@media (max-width: 503px) {
  .row {
    display: none;
  }
}
@media (min-width: 1024px) {
  .row {
    width: 90%;
  }
}

@media (min-width: 504px) {
  section {
    height: 100%;
  }
  section img {
    width: 100%;
  }
}
@media (min-width: 1024px) {
  aside {
    max-width: 50%;
  }
}
@media (max-width: 503px) {
  .hide-mobile {
    display: none !important;
  }
}

@media (min-width: 1024px) {
  .hide-desktop {
    display: none !important;
  }
}

.show-mobile-only {
  display: none;
}
@media (max-width: 503px) {
  .show-mobile-only {
    display: block;
  }
}

.show-desktop-only {
  display: none;
}
@media (min-width: 1024px) {
  .show-desktop-only {
    display: block;
  }
}

/*# sourceMappingURL=stylesheet.css.map */
