/*Reset base from Andy Bell, https://piccalil.li/blog/a-more-modern-css-reset/, with personal modifications */
/* Box sizing rules */
*,
*::before,
*::after {
  box-sizing: border-box;
}

/* Prevent font size inflation */
html {
  -moz-text-size-adjust: none;
  -webkit-text-size-adjust: none;
  text-size-adjust: none;
}

/* Remove default margin in favour of better control in authored CSS */
body, h1, h2, h3, h4, p,
figure, blockquote, dl, dd {
  margin: 0;
}

/* Remove list styles on ul, ol elements with a list role, which suggests default styling will be removed */
ul[role=list],
ol[role=list] {
  list-style: none;
}

/* Set core body defaults */
body {
  min-height: 100vh;
  line-height: 1.5;
}

/* Set shorter line heights on headings and interactive elements */
h1, h2, h3, h4,
button, input, label {
  line-height: 1.1;
}

/* Balance text wrapping on headings */
h1, h2,
h3, h4 {
  text-wrap: balance;
}

/* A elements that don't have a class get default styles */
a:not([class]) {
  -webkit-text-decoration-skip: ink;
          text-decoration-skip-ink: auto;
  color: currentColor;
}

/* Make images easier to work with */
img,
picture {
  max-width: 100%;
  display: block;
}

/* Inherit fonts for inputs and buttons */
input, button,
textarea, select {
  font-family: inherit;
  font-size: inherit;
}

/* Make sure textareas without a rows attribute are not tiny */
textarea:not([rows]) {
  min-height: 10em;
}

/* Anything that has been anchored to should have extra scroll margin */
:target {
  scroll-margin-block: 5ex;
}

/* Buttons should be easy to spot for general UX and accessibility*/
button {
  cursor: pointer;
}

/* Scrollbar personal addition */
* {
  scrollbar-width: thin;
}

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

.light {
  --text: #4d3800;
  --background: #e2eed3;
}
.light .to-light-theme {
  display: none;
}
.light .neumorphism-base {
  background: rgba(0, 0, 0, 0.05);
  box-shadow: #fff 0 1px 1px, rgba(0, 0, 0, 0.2) 0 1px 5px 0px inset;
}
.light .neumorphism-raised {
  background: var(--background);
  box-shadow: 3px 3px 0px #d0dbc2, -3px -3px 0px #f4ffe4;
}

.dark {
  --text: #ffebb3;
  --background: #293e0f;
}
.dark .to-dark-theme {
  display: none;
}
.dark .neumorphism-base {
  background: rgba(32, 44, 17, 0.2);
  box-shadow: inset 5px 5px 10px #0d1207, inset -5px -5px 10px #33461b;
}
.dark .neumorphism-raised {
  background: var(--background);
  box-shadow: 4px 4px 10px #17200c, -4px -4px 10px #293816;
}
.dark .neumorphism-raised-hover {
  background: #202c11;
  box-shadow: 10px 10px 5px #17200c, -10px -10px 5px #293816;
}

body {
  background-color: var(--background);
  color: var(--text);
  --accent: #62b60184;
}

.to-dark-theme,
.to-light-theme {
  cursor: pointer;
}

.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;
}

html {
  font-size: 100%;
}

body {
  font-family: Rajdhani, "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
  font-size: 1.125rem;
}

em {
  border-bottom: 2px solid var(--accent);
}

strong {
  text-shadow: 3px -2px var(--accent);
}

body {
  min-width: 320px;
  display: flex;
  flex-direction: column;
}
body:has(dialog[open]) {
  overflow: hidden;
}

main {
  max-width: 1440px;
  width: 90%;
  margin-inline: auto;
}

@media screen and (min-width: 1280px) {
  .small-nav {
    display: none;
  }
}

.large-nav {
  display: none;
}
@media screen and (min-width: 1280px) {
  .large-nav {
    display: flex;
  }
}

#projects,
#skills,
#contact {
  width: 100%;
  margin-inline: auto;
  margin-top: 1em;
  margin-bottom: 1em;
  padding: 1em;
  border-radius: 10px;
}
#projects h2,
#skills h2,
#contact h2 {
  display: flex;
  gap: 4px;
  margin-bottom: 0.5em;
  width: -moz-fit-content;
  width: fit-content;
  font-family: "Indie Flower", Rajdhani, "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
  font-weight: 400;
  font-size: 1.8em;
  border-bottom: 2px solid var(--accent);
}
#projects h2 .lucide,
#skills h2 .lucide,
#contact h2 .lucide {
  height: 32px;
  width: 32px;
  padding: 4px;
}

h1 {
  text-shadow: 4px -2px var(--accent);
  font-size: 2.5em;
  text-align: center;
  font-weight: 600;
  margin: 0.25em;
}

.contact__text {
  font-size: 1.3em;
  font-weight: 500;
  padding: 0.5em;
}
.contact__text > p {
  padding-bottom: 0.5em;
}
.contact__text + .lucide-leaf {
  display: block;
  margin-inline: auto;
  margin-bottom: 0.5em;
  color: var(--text);
  fill: var(--accent);
  height: 32px;
  width: 32px;
}

.unfold {
  opacity: 0;
  transform: scaleX(75%);
  transition: opacity 400ms ease-in-out, transform 400ms ease-in-out;
}

.unfold.active {
  transform: scaleX(100%);
  opacity: 1;
}

.bloom {
  opacity: 0;
  transform: scale(50%);
  transition: opacity 320ms ease-in-out, transform 320ms ease-in-out;
}

.bloom.active {
  transform: scale(100%);
  opacity: 1;
}

.scroll-to-top {
  position: sticky;
  margin-bottom: 0.75em;
  bottom: 1em;
  float: right;
  border-radius: 10px;
  border: 1px solid var(--text);
  color: inherit;
  width: 2.5em;
  height: 2.5em;
  transform: scale(1);
  transition: transform 50ms ease-in-out;
}
.scroll-to-top:hover {
  transform: scale(1.2);
}
.scroll-to-top > svg {
  height: 32px;
  width: 32px;
}

@media screen and (min-width: 1200px) {
  .scroll-to-top {
    margin-right: -3em;
  }
}
.header {
  margin: 1em;
  padding: 0.5em;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 50px;
  border-radius: 30px;
}
@media screen and (min-width: 768px) {
  .header {
    padding: 1em;
    height: 60px;
  }
}
@media screen and (min-width: 1280px) {
  .header {
    height: 70px;
  }
}
.header > .lucide-lamp-desk {
  fill: var(--accent);
}
@media screen and (min-width: 768px) {
  .header > .lucide-lamp-desk {
    height: 32px;
    width: 32px;
  }
}
@media screen and (min-width: 1280px) {
  .header > .lucide-lamp-desk {
    height: 40px;
    width: 40px;
  }
}
.header__portfolio {
  font-family: "Indie Flower", Rajdhani, "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
  font-size: 1.6em;
  text-shadow: 2px 2px var(--accent);
}
@media screen and (min-width: 768px) {
  .header__portfolio {
    font-size: 1.8em;
  }
}
@media screen and (min-width: 1280px) {
  .header__portfolio {
    font-size: 2em;
  }
}
.header__portfolio > span {
  display: none;
}
@media screen and (min-width: 768px) {
  .header__portfolio > span {
    display: initial;
  }
}
.header__interact {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5em;
}
@media screen and (min-width: 768px) {
  .header__interact {
    gap: 1.5em;
  }
}
.header__menu--button {
  background: var(--background);
  border-radius: 10px;
  color: inherit;
  border: none;
}
.header__menu--button.close {
  float: right;
}
.header__menu--icon {
  padding-top: 0.3em;
  height: 30px;
  width: auto;
}
@media screen and (min-width: 768px) {
  .header__menu--icon {
    height: 35px;
  }
}
@media screen and (min-width: 1280px) {
  .header__menu--icon {
    height: 40px;
  }
}
.header__menu--icon:hover {
  transform: scale(1.2);
}
.header__menu--dialog {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding-block: 3em;
}
@media screen and (min-width: 768px) {
  .header__menu--dialog {
    padding-block: 1em;
  }
}
.header__menu--list {
  list-style: none;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-items: baseline;
  gap: 2em;
  padding: 2em;
}
@media screen and (min-width: 1280px) {
  .header__menu--list {
    flex-direction: row;
    justify-content: space-around;
    align-items: center;
    gap: 1em;
    padding: 0;
  }
}
.header__menu--listitem {
  list-style: none;
  font-size: 1.6em;
  font-weight: 500;
}
.header__menu--link {
  text-decoration: none;
  color: inherit;
  position: relative;
  display: flex;
  align-items: center;
}
.header__menu--link::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background-color: var(--accent);
  transition: width 0.2s ease-in;
}
.header__menu--link:hover::after {
  width: 100%;
}
.header__menu--link svg {
  margin-top: 0.1em;
  margin-right: 0.5em;
}
@media screen and (min-width: 768px) {
  .header__menu--link svg {
    height: 32px;
    width: 32px;
  }
}

#dialog__menu {
  display: flex;
  flex-direction: column;
  height: 100%;
}
@media screen and (min-width: 768px) {
  #dialog__menu {
    font-size: 1.5em;
  }
}
#dialog__menu .footer__connect {
  margin-top: auto;
  display: flex;
  justify-content: space-around;
  padding: 2em;
}
@media screen and (min-width: 768px) {
  #dialog__menu .footer__connect .lucide {
    height: 32px;
    width: 32px;
  }
}

.theme-toggle-icon {
  fill: var(--accent);
}
@media screen and (min-width: 768px) {
  .theme-toggle-icon {
    height: 35px;
    width: auto;
  }
}
@media screen and (min-width: 1280px) {
  .theme-toggle-icon {
    height: 40px;
  }
}
.theme-toggle-icon:hover {
  transform: scale(1.2);
}

.locale-switcher {
  background-color: inherit;
  color: inherit;
  border-radius: 10px;
  font-size: 1.25em;
  font-weight: 600;
  border: 2px solid var(--accent);
  cursor: pointer;
}
@media screen and (min-width: 1280px) {
  .locale-switcher {
    font-size: 1.4em;
  }
}
.locale-switcher option[value=en],
.locale-switcher option[value=fr] {
  color: inherit;
  background-color: var(--background);
}
.locale-switcher:hover {
  transform: scale(1.1);
}

.footer {
  margin: 1em;
  padding: 1em;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 50px;
  border-radius: 30px;
  margin-top: auto;
}
@media screen and (min-width: 768px) {
  .footer {
    height: 60px;
  }
}
@media screen and (min-width: 1280px) {
  .footer {
    height: 70px;
  }
}
.footer__copyright {
  font-weight: 600;
  font-size: 1.125rem;
  padding-top: 0.1em;
}
@media screen and (min-width: 768px) {
  .footer__copyright {
    font-size: 1.3rem;
  }
}
@media screen and (min-width: 1280px) {
  .footer__copyright {
    font-size: 1.4rem;
  }
}
.footer__connect {
  display: flex;
  gap: 0.5em;
  justify-content: space-between;
  align-items: center;
  padding-top: 0.3em;
}
@media screen and (min-width: 768px) {
  .footer__connect {
    gap: 1em;
  }
}
@media screen and (min-width: 1280px) {
  .footer__connect {
    gap: 2em;
  }
}
.footer__connect--icon:hover {
  transform: scale(1.2);
}

.tech-skills {
  display: grid;
  gap: 10px 10px;
  grid-template-columns: repeat(auto-fit, minmax(110px, 1fr));
  justify-items: center;
  padding: 0 0.5em;
}
@media screen and (min-width: 768px) {
  .tech-skills {
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  }
}

.tech-skill__item {
  display: flex;
  flex-direction: column;
  justify-content: space-around;
  align-items: center;
  gap: 5px;
  width: 110px;
  height: 110px;
  padding: 1em;
  border-radius: 16px;
  margin: 1em;
}
@media screen and (min-width: 768px) {
  .tech-skill__item {
    width: 130px;
    height: 130px;
  }
}
.tech-skill__item--logo {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 40px;
  width: auto;
}
.tech-skill__item--name {
  font-weight: 400;
  font-size: 1.3em;
}

.dialog {
  box-sizing: content-box;
  background-color: transparent;
  color: inherit;
  position: absolute;
  height: 100vh;
  width: 100vw;
  -webkit-backdrop-filter: blur(10px);
          backdrop-filter: blur(10px);
  --webkit-backdrop-filter: blur(10px);
  --moz-backdrop-filter: blur(10px);
  border-radius: 30px;
  border: 1px var(--text) solid;
}

::backdrop {
  -webkit-backdrop-filter: blur(2px);
          backdrop-filter: blur(2px);
  --webkit-backdrop-filter: blur(2px);
  --moz-backdrop-filter: blur(2px);
}

.close-dialog {
  margin-left: auto;
}

.project-showcase {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  row-gap: 2em;
  -moz-column-gap: 2em;
       column-gap: 2em;
  justify-items: center;
  padding: 0 0.5em;
  margin: 2em 0 1em 0;
}
.project-showcase .project {
  min-width: 250px;
  min-height: 300px;
  border-radius: 16px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-around;
  gap: 0.5em;
  padding: 1em;
}
.project-showcase .project__title {
  font-weight: 600;
  font-size: 1.7em;
  text-align: center;
  border-bottom: 2px dashed var(--accent);
}
.project-showcase .project__techs {
  display: flex;
  justify-content: space-around;
  align-items: center;
  gap: 0.5em;
  border-radius: 10px;
  padding: 0.5em;
}
.project-showcase .project__blurb {
  max-width: 200px;
  min-height: 120px;
  text-align: center;
  font-size: 1.5em;
  font-weight: 500;
  display: flex;
  justify-content: center;
  align-items: center;
}
.project-showcase .project__tech {
  display: flex;
  justify-content: space-around;
  align-items: center;
}
.project-showcase .project__tech--img {
  width: auto;
  height: 25px;
}
.project-showcase .project__button {
  font-family: "Indie Flower", Rajdhani, "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
  text-shadow: 2px 1px var(--accent);
  border-radius: 10px;
  color: inherit;
  border: none;
  padding: 0.5em;
  font-size: 1.6em;
  margin-top: 0.5em;
  transition: transform 200ms ease-out;
}

.light .project__button:hover {
  background: var(--background);
  transform: scale(1.1);
}

.dark .project__button:hover {
  background: var(--background);
  box-shadow: 10px 10px 5px #17200c, -10px -10px 5px #293816;
  transform: scale(1.05);
}

.project__modal {
  display: flex;
  flex-direction: column;
  justify-content: space-around;
  align-items: center;
  margin: 1em;
}
.project__close {
  border-radius: 10px;
  color: inherit;
  border: none;
  margin-bottom: 2em;
}
.project__close > svg {
  padding-top: 0.3em;
  height: 30px;
  width: auto;
}
.project__close:hover {
  transform: scale(1.2);
}
.project__cover {
  border-radius: 10px;
  -o-object-fit: cover;
     object-fit: cover;
  margin: 1em;
}
.project__desc {
  font-size: 1.4em;
  font-weight: 500;
  margin: 1em;
}
.project__links {
  margin-top: 2em;
  width: 50%;
  display: flex;
  justify-content: space-around;
  align-items: center;
}
.project__links .lucide {
  width: 32px;
  height: 32px;
}
.project__links .lucide:hover {
  transform: scale(1.2);
}

@media screen and (min-width: 768px) {
  .project-dialog {
    max-width: 768px;
    height: -moz-fit-content;
    height: fit-content;
    margin-inline: auto;
  }
}

#introduction {
  padding-bottom: 0.5em;
}
#introduction a {
  text-decoration-line: none;
  border: 3px solid var(--accent);
  padding: 4px;
  border-radius: 10px;
  font-weight: bold;
  transition: background 200ms ease-out;
}
#introduction a:hover {
  background: var(--accent);
}

.intro__main--wrap {
  display: flex;
}
.intro__main--title {
  border-bottom: 2px solid var(--accent);
  width: -moz-fit-content;
  width: fit-content;
  margin-top: 0.5em;
  margin-inline: auto;
  margin-bottom: 0.5em;
  text-shadow: 3px -3px var(--accent);
  font-size: 2em;
}
@media screen and (min-width: 768px) {
  .intro__main--title {
    margin-left: 2em;
  }
}
.intro__main--text {
  display: flex;
  flex-direction: column;
  padding: 0.5em;
}
.intro__main--text p {
  font-size: 1.4em;
  font-weight: 500;
  padding: 0.5em;
  padding-top: 0;
  text-indent: 1em;
}
@media screen and (min-width: 768px) {
  .intro__main--text p {
    text-indent: 0;
    font-size: 1.5em;
  }
}
@media screen and (min-width: 1280px) {
  .intro__main--text p {
    text-indent: 0;
    font-size: 1.6em;
  }
}
.intro__main--img {
  display: none;
}
@media screen and (min-width: 1280px) {
  .intro__main--img {
    display: block;
    height: 250px;
    align-self: center;
    filter: blur(0);
    transition: filter 300ms ease-in-out;
  }
}
.intro__main--img:hover {
  filter: blur(10px);
}
.intro__main--img > img {
  border-radius: 50%;
  border: 4px solid var(--accent);
  max-width: 250px;
}
.intro__aside {
  border-radius: 20px;
  text-align: center;
  padding: 0.5em;
  margin-block: 0.5em;
  margin-inline: auto;
}
@media screen and (min-width: 768px) {
  .intro__aside {
    width: 75%;
  }
}
@media screen and (min-width: 1280px) {
  .intro__aside {
    width: 50%;
  }
}
.intro__aside--journey {
  padding: 0.5em;
  font-size: 1.3em;
  font-weight: 500;
}
@media screen and (min-width: 768px) {
  .intro__aside--journey {
    font-size: 1.4em;
  }
}
@media screen and (min-width: 1280px) {
  .intro__aside--journey {
    font-size: 1.5em;
  }
}/*# sourceMappingURL=style.css.map */