/*
From Josh Comeau's Blog:
https://www.joshwcomeau.com/css/custom-css-reset/
*/
/* 1. Use a more-intuitive box-sizing model */
*,
*::before,
*::after {
  box-sizing: border-box;
}

/* 2. Remove default margin */
* {
  margin: 0;
}

body {
  /* 3. Add accessible line-height */
  line-height: 1.5;
  /* 4. Improve text rendering */
  -webkit-font-smoothing: antialiased;
}

/* 5. Improve media defaults */
img,
picture,
video,
canvas,
svg {
  display: block;
  max-width: 100%;
}

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

/* 7. Avoid text overflows */
p,
h1,
h2,
h3,
h4,
h5,
h6 {
  overflow-wrap: break-word;
}

/* 8. Improve line wrapping */
p {
  text-wrap: pretty;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  text-wrap: balance;
}

/*
  9. Create a root stacking context
*/
#root,
#__next {
  isolation: isolate;
}

:root[data-theme=dark] {
  --text-primary: #f5f2f7;
  --link-color: #52c5c2;
  --link-visited-color: #b19cd9;
  --bg-navbar: #1a1221;
  --bg-section-1: #2b1b35bf;
  --bg-section-2: #211428;
  --bg-section-3: #2d1a37;
  --bg-section-4: #1e1125;
  --bg-footer: #150a1b;
  --accent-light-gold: #c5a14c;
  --accent-gold: #d7a634;
  --bg-hover: #5b367c;
  --bg-active: #8b56bd;
}

/* Font importing. */
@font-face {
  font-family: "Roboto";
  src: url("../fonts/roboto/Roboto-Regular.ttf");
  font-weight: normal;
}
@font-face {
  font-family: "Roboto";
  src: url("../fonts/roboto/Roboto-Bold.ttf");
  font-weight: bold;
}
@font-face {
  font-family: "Roboto-Light";
  src: url("../fonts/roboto/Roboto-Light.ttf");
}
@font-face {
  font-family: "Avenixel";
  src: url("../fonts/avenixel/Avenixel-Regular.ttf");
}
@font-face {
  font-family: "Pixelify";
  src: url("../fonts/pixelify-sans/PixelifySans-Regular.ttf");
}
body.overlay-active {
  overflow: hidden;
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

:root {
  --navbar-height: 70px;
  --slideshow-height: 800px;
  --footer-height: 75px;
}
@media only screen and (min-width: 992px) {
  :root {
    --navbar-height: 90px;
  }
}

body {
  font-family: "Roboto";
  color: var(--text-primary);
}

a:link {
  color: var(--link-color);
}
a:visited {
  color: var(--link-visited-color);
}

nav {
  --text-gap: 40px;
  position: fixed;
  z-index: 2;
  min-width: 273px;
  width: 100%;
  min-height: var(--navbar-height);
  padding: 0 0 0 1vw;
  background-color: var(--bg-navbar);
  box-shadow: 0 10px 15px rgba(0, 0, 0, 0.2);
}
nav h1 {
  float: left;
  line-height: var(--navbar-height);
  font-family: "Avenixel";
  font-size: 45px;
  font-weight: normal;
  color: var(--accent-light-gold);
  text-wrap: nowrap;
  user-select: none;
}
nav ul {
  display: none;
  height: 100%;
  padding: 0;
  align-items: center;
  justify-content: end;
  gap: var(--text-gap);
  list-style: none;
}
nav ul li a {
  font-size: 24px;
  line-height: var(--navbar-height);
  font-weight: bold;
  text-decoration: none;
  cursor: pointer;
}
nav ul li a, nav ul li a:link, nav ul li a:visited {
  color: var(--accent-light-gold);
}
nav .navicon {
  float: right;
  width: var(--navbar-height);
  height: var(--navbar-height);
  text-align: center;
  line-height: var(--navbar-height);
  font-size: 38px;
  color: white;
  background: none;
  border: none;
  text-decoration: none;
  cursor: pointer;
}
nav .navicon:hover {
  background-color: rgba(153, 170, 187, 0.2);
}
@media only screen and (max-width: 360px) {
  nav h1 {
    font-size: 35px;
  }
}
@media screen and (max-width: 992px) {
  nav.responsive {
    padding: 0;
  }
  nav.responsive h1 {
    display: none;
  }
  nav.responsive .navicon {
    position: absolute;
    right: 0;
    top: 0;
  }
  nav.responsive > ul {
    float: none;
  }
  nav.responsive ul {
    display: block;
    width: 100%;
    text-align: left;
  }
  nav.responsive li {
    height: var(--navbar-height);
    padding: 0 10px;
    line-height: var(--navbar-height);
  }
  nav.responsive li:hover {
    background-color: rgba(153, 170, 187, 0.2);
  }
  nav.responsive li a {
    float: none;
    display: block;
    text-align: left;
  }
  nav.responsive li.active {
    background-color: var(--bg-active);
  }
  nav.responsive li.active:hover {
    background-color: var(--bg-hover);
  }
}
@media only screen and (min-width: 992px) {
  nav {
    padding: 0 var(--text-gap);
  }
  nav h1 {
    font-size: 60px;
  }
  nav ul {
    display: flex;
  }
  nav .navicon {
    display: none;
  }
}

section {
  box-sizing: content-box;
  padding-bottom: 60px;
}
section .section-container {
  width: 98vw;
}

.hero {
  display: flex;
  min-height: 579px;
  height: 100vh;
  padding-top: var(--navbar-height);
  box-sizing: border-box;
  /* Fixed hero image with color overlay */
}
.hero::before {
  content: "";
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  background-position: center;
  background-size: cover;
  background-image: linear-gradient(var(--bg-section-1), var(--bg-section-1)), url("../img/hero.png");
  z-index: -1;
  pointer-events: none;
  will-change: transform;
  image-rendering: pixelated;
  image-rendering: crisp-edges;
}
.hero {
  align-items: flex-start;
  justify-content: flex-start;
}
.hero .text-and-character {
  display: flex;
  margin-top: 15px;
  margin-left: 1vw;
  flex-direction: column;
}
.hero .text-and-character .text {
  text-align: initial;
  line-height: 1.1;
  color: var(--accent-gold);
}
.hero .text-and-character .text h2 {
  display: none;
  font-family: "Avenixel";
  font-size: 115px;
  font-weight: normal !important;
}
.hero .text-and-character .text h3 {
  font-family: "Pixelify";
  font-size: 47px;
}
.hero .text-and-character .text h3 span {
  font-size: 40px;
}
.hero .text-and-character .character {
  position: relative;
  top: 15px;
  left: 125px;
  width: 0;
  height: 0;
  overflow: visible;
}
.hero .text-and-character .character img {
  max-width: initial;
  image-rendering: pixelated;
  image-rendering: crisp-edges;
}
@media only screen and (min-width: 992px) {
  .hero {
    align-items: center;
    justify-content: center;
  }
  .hero .text-and-character {
    flex-direction: row;
  }
  .hero .text-and-character .text h2 {
    display: initial;
  }
  .hero .text-and-character .text {
    text-align: right;
  }
  .hero .text-and-character .character {
    top: -150px;
    left: calc((100vw - 100%) / 2 * 0.33);
  }
}

.border-overlay {
  --height: 50px;
  height: var(--height);
  margin-top: calc(-1 * 0.9 * var(--height));
  margin-bottom: -2px;
  clip-path: polygon(0% 50%, 36% 0%, 36% 50%, 72% 0%, 72% 50%, 100% 0%, 100% 100%, 0% 100%);
}

h2.title {
  width: max-content;
  padding: 9px 0;
  margin: 0 auto;
  font-size: 30px;
  color: white;
}
@media only screen and (min-width: 992px) {
  h2.title {
    padding: 9px 0 28px 0;
  }
}

.bg-color-2 {
  background-color: var(--bg-section-2);
}

.projects {
  padding-bottom: 60px;
  margin: 0 auto;
  background-color: var(--bg-section-2);
}
.projects .section-container {
  display: flex;
  max-width: 1420px;
  justify-content: space-evenly;
  flex-wrap: wrap;
  gap: 30px;
  margin: 0 auto;
}
.projects .section-container .project {
  display: flex;
  width: 98vw;
  max-width: 400px;
  font-size: 15px;
  color: white;
  flex-shrink: 0;
  flex-direction: column;
}
.projects .section-container .project h3 {
  font-size: 20px;
}
.projects .section-container .project .image {
  aspect-ratio: 4/3;
  width: 400px;
  height: auto;
  margin-bottom: 20px;
  border-radius: 15px;
  background-color: white;
  cursor: pointer;
  object-position: center;
  object-fit: cover;
  filter: drop-shadow(0 5px 7px rgba(0, 0, 0, 0.4117647059));
}
.projects .section-container .project .text .links {
  display: flex;
  justify-content: space-between;
}
.projects .section-container .project .text .links a,
.projects .section-container .project .text .links .private-repo {
  font-size: 14px;
  font-weight: bold;
  text-decoration: none;
}
.projects .section-container .project .text .links .private-repo {
  color: #999;
  user-select: none;
}
.projects .section-container .project .text .description {
  line-height: 1.5;
  margin-top: 5px;
  overflow: hidden;
  flex-grow: 1;
  text-align: center;
}
.projects .section-container .project .text .softwares {
  display: flex;
  align-items: center;
}
.projects .section-container .project .text .softwares .icon {
  display: inline;
  height: 3em;
}
@media only screen and (min-width: 992px) {
  .projects h2.title {
    padding-top: 75px;
  }
}

.about {
  margin: 0 auto;
  background-color: var(--bg-section-3);
}
.about .section-container {
  display: flex;
  max-width: 1255px;
  margin: 0 auto;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}
.about .section-container img {
  width: 500px;
  height: 300px;
  border-radius: 4%;
  object-fit: cover;
}
.about .section-container p {
  font-size: 20px;
  color: white;
  text-align: center;
}
@media only screen and (max-width: 600px) {
  .about .section-container p {
    font-size: 17px;
  }
}
@media only screen and (min-width: 992px) {
  .about .section-container {
    flex-direction: row;
  }
  .about .section-container img {
    width: 333px;
    margin-right: 60px;
    align-self: start;
  }
}

.contact {
  background-color: var(--bg-section-4);
}
.contact form {
  display: flex;
  width: 95vw;
  max-width: 570px;
  margin: 0 auto;
  flex-direction: column;
}
.contact form input,
.contact form textarea {
  height: 53px;
  background: none;
  margin: 5px 0;
  border: 3px solid white;
  border-radius: 5px;
  color: white;
}
.contact form textarea {
  height: 200px;
}
.contact form .submit {
  width: 135px;
  height: 45px;
  border-radius: 16px;
  margin-right: -5px;
  align-self: end;
  font-size: 18px;
  font-weight: bold;
  letter-spacing: 2px;
  color: white;
  cursor: pointer;
}
.contact form .submit:hover {
  background-color: var(--bg-hover);
}
.contact form .submit:active {
  background-color: var(--bg-active);
}
.contact form .submit.sent {
  background-color: #2b7c46 !important;
}
.contact form .success-message {
  color: #76ff76;
  margin-top: 15px;
  text-align: center;
  font-weight: bold;
}

footer {
  display: flex;
  min-height: var(--footer-height);
  padding: 10px 0;
  background-color: var(--bg-footer);
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  row-gap: 5px;
}
footer .copyright span {
  text-wrap: nowrap;
}
footer .connections {
  width: 550px;
}
footer .connections .flexbox {
  display: flex;
  justify-content: space-evenly;
  align-items: center;
}
footer .connections .connect-button {
  display: inline-block;
  aspect-ratio: 50/20;
  width: 125px;
  padding: 10px;
  background-color: white;
  border: lightgray solid;
  border-radius: 50px;
  text-align: center;
  font-size: 18px;
  font-weight: bold;
  letter-spacing: 2px;
  color: white;
  cursor: pointer;
}
footer .connections .connect-button img {
  height: 100%;
}
@media only screen and (max-width: 600px) {
  footer .copyright {
    padding: 0;
  }
  footer .connections .flexbox {
    width: 325px;
    max-width: 98vw;
    margin: 0 auto;
    justify-content: space-between;
    gap: 10px 5px;
    flex-wrap: wrap;
  }
}

#overlay {
  position: fixed;
  display: none;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: rgba(211, 211, 211, 0.8);
  z-index: 3;
  cursor: pointer;
  overflow: auto;
}
#overlay.active {
  display: block;
}

.click-overrider,
.is-active {
  cursor: initial;
}

.slideshow-wrapper {
  z-index: 4;
  position: relative;
  top: 100px;
  color: black;
}

.splide {
  width: 1000px;
  margin: 0 auto;
  mask-image: linear-gradient(90deg, rgba(255, 255, 255, 0) 0%, rgb(255, 255, 255) 10%, rgb(255, 255, 255) 90%, rgba(255, 255, 255, 0) 100%);
}

.splide__arrow--prev {
  left: 12em;
}

.splide__arrow--next {
  right: 12em;
}

.splide__slide {
  width: 640px;
  height: 450px;
}

.splide__slide img {
  width: 100%;
  height: auto;
}

.slideshow-wrapper p {
  width: 640px;
  height: 200px;
  margin: 0 auto;
  margin-top: 20px;
  background-color: white;
  border-radius: 12px;
  padding: 5px;
}

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