@import "../node_modules/@splidejs/splide/dist/css/splide.min.css";
* {
  margin: 0;
  padding: 0;
  scroll-behavior: smooth;
  font-optical-sizing: auto;
  font-style: normal;
}

.lang-ja {
  display: none;
  font-family: "Noto Serif JP", serif;
}

body.ja-mode .lang-en {
  display: none;
}

body.ja-mode .lang-ja {
  display: inline;
}

header.main, main, footer, .hr-div {
  padding: 0 1rem;
}

h1 {
  font-family: "Playfair Display", serif;
  font-weight: 600;
  font-size: 5rem;
  line-height: 120%;
  letter-spacing: 1px;
}

h2 {
  font-family: "Playfair Display", serif;
  font-weight: 600;
  font-size: 4rem;
  margin-bottom: 1rem;
}

h3 {
  font-family: "Playfair Display", serif;
  font-size: 2rem;
}

h4 {
  font-family: "Playfair Display", serif;
  font-size: 1.3rem;
}

p {
  font-family: "Raleway", sans-serif;
  font-size: 1.2rem;
  line-height: 1.6;
}

button, .radio-label {
  font-family: "Raleway", sans-serif;
}

button#lang-btn {
  font-family: "Noto Serif JP", serif;
}

a {
  font-family: "Raleway", sans-serif;
  text-decoration: none;
  color: inherit;
}

.highlight {
  color: #0470db;
  font-weight: 600;
}

.selected {
  background: #0470db !important;
  color: #e6f2ff !important;
  font-weight: 600;
}

@media (min-width: 768px) {
  header.main, main, footer, .hr-div {
    padding: 0 10rem;
  }
}
@media (min-width: 1024px) {
  header.main, main, footer, .hr-div {
    padding: 0 17rem;
  }
}
@media (min-width: 1200px) {
  header.main, main, footer, .hr-div {
    padding: 0 22rem;
  }
}
nav button {
  cursor: pointer;
  margin: 1rem;
  padding: 0.5rem 1rem;
  background: transparent;
  color: #030e2a;
  border: 1px solid #030e2a;
  border-radius: 10px;
  height: 50px;
  padding: 0;
  transition: all 0.3s ease-in-out;
}
nav #theme-btn {
  width: 60px;
}
nav #theme-btn:hover {
  border-radius: 50%;
  color: rgb(247, 253, 255);
  background-color: #030e2a;
}
nav #lang-btn {
  font-size: 1.5rem;
  width: 120px;
}
nav #lang-btn:hover {
  border-radius: 30px;
  font-weight: 800;
}

/* back to home arrow */
a#arrow-icon {
  cursor: pointer;
  margin: 1rem;
  padding: 0.5rem 1rem;
  background: transparent;
  color: #030e2a;
  border: 1px solid #030e2a;
  border-radius: 10px;
  background: rgb(247, 253, 255);
  display: inline-block;
  position: fixed;
  bottom: 0.5rem;
  right: 0.5rem;
  z-index: 1000;
  transition: all 0.3s ease;
}
a#arrow-icon:hover {
  border-radius: 50%;
}
a#arrow-icon i {
  font-size: 1.5rem;
  color: #030e2a;
}

.filter-btns {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 1rem;
  margin: 1.5rem 0;
}
.filter-btns button {
  cursor: pointer;
  margin: 1rem;
  padding: 0.5rem 1rem;
  background: transparent;
  color: #030e2a;
  border: 1px solid #030e2a;
  border-radius: 10px;
  background: rgb(247, 253, 255);
  width: 30%;
  margin: 0;
  padding: 0.6rem 0;
  font-size: 0.8rem;
  text-align: center;
  transition: all 0.2s ease-in-out;
}
.filter-btns button:hover {
  background-color: rgba(4, 111, 219, 0.2156862745);
}
.filter-btns button:active {
  background-color: #0470db;
}

button#reset-filter {
  display: none;
  cursor: pointer;
  margin: 1rem;
  padding: 0.5rem 1rem;
  background: transparent;
  color: #030e2a;
  border: 1px solid #030e2a;
  border-radius: 10px;
  background: rgb(247, 253, 255);
  margin: 0;
  transition: all 0.2s ease-in-out;
}
button#reset-filter:hover {
  background-color: rgba(4, 111, 219, 0.2156862745);
}
button#reset-filter:active {
  background-color: #0470db;
}

/* skills radio buttons */
section#skills .skills-radio {
  border: 1px solid #030e2a;
  border-radius: 20px;
  width: 90%;
}
section#skills .top, section#skills .bottom {
  display: flex;
  flex-direction: row;
  align-items: center;
}
section#skills .top {
  border-bottom: 1px solid #030e2a;
}
section#skills .radio-input {
  display: none;
}
section#skills .radio-label {
  cursor: pointer;
  padding: 10px 14px;
  width: 50%;
  font-size: 1rem;
  text-align: center;
  transition: all 0.2s ease-in-out;
}
section#skills .radio-label:hover {
  background-color: rgba(4, 111, 219, 0.2156862745);
}
section#skills .radio-label.lang {
  border-radius: 18px 0 0 0;
}
section#skills .radio-label.fworks {
  border-radius: 0 18px 0 0;
}
section#skills .radio-label.tools {
  border-radius: 0 0 0 18px;
}
section#skills .radio-label.db {
  border-radius: 0 0 18px 0;
}
section#skills .radio-label:not(:last-of-type) {
  border-right: 1px solid #030e2a;
}
section#skills .radio-input:checked + .radio-label {
  background: #0470db !important;
  color: #e6f2ff !important;
  font-weight: 600;
}

#copy-btn {
  cursor: copy;
  background: transparent;
  border: none;
}
#copy-btn:disabled {
  cursor: not-allowed;
}

@media (min-width: 768px) {
  section#skills .skills-radio {
    display: flex;
    flex-direction: row;
    align-items: center;
    width: auto;
  }
  section#skills .top {
    border-bottom: none;
    border-right: 1px solid #030e2a;
  }
  section#skills .radio-label.lang {
    border-radius: 18px 0 0 18px;
  }
  section#skills .radio-label.fworks,
  section#skills .radio-label.tools {
    border-radius: 0px;
  }
  section#skills .radio-label.db {
    border-radius: 0 18px 18px 0;
  }
}
@media (min-width: 1200px) {
  section#skills .skills-radio {
    width: 90%;
  }
  section#skills .top, section#skills .bottom {
    width: 100%;
  }
  section#skills .top {
    border: none;
    align-items: center;
  }
  section#skills .radio-label.fworks {
    border-right: 1px solid #030e2a;
  }
  .filter-btns button {
    width: 20%;
  }
}
.project-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  border-radius: 10px;
  transition: all 0.3s ease-in-out;
}
.project-card__top-and-image, .project-card__top, .project-card__text {
  display: flex;
  flex-direction: column;
  align-items: center;
  align-items: flex-start;
}
.project-card__top-and-image {
  height: 100%;
  gap: 1rem;
}
.project-card__top, .project-card__text {
  gap: 0.5rem;
}
.project-card__tech-icons-container {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 0.5rem;
  padding: 1rem 0 0.5rem 0;
}
.project-card__description {
  margin: 0.5rem 0;
}
.project-card__links {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 1rem;
  justify-self: flex-end;
  padding-top: 0.5rem;
}
.project-card__link {
  cursor: pointer;
  margin: 1rem;
  padding: 0.5rem 1rem;
  background: transparent;
  color: #030e2a;
  border: 1px solid #030e2a;
  border-radius: 10px;
  margin: 0;
  transition: all 0.3s ease-in-out;
}
.project-card__link:hover {
  border-radius: 50%;
}
.project-card .splide {
  box-shadow: 0 3px 12px rgba(0, 2, 33, 0.316);
  border-radius: 10px;
}
.project-card .splide__slide img {
  width: 100%;
  height: auto;
  display: block;
}
.project-card .splide__track, .project-card .splide__slide img {
  border-radius: 10px;
}

@media (min-width: 1200px) {
  .project-card {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 2rem;
    padding-bottom: 1rem;
  }
  .project-card__top-and-image, .project-card__text {
    width: 65%;
  }
  .project-card__text {
    width: 35%;
  }
  .project-card__tech-icons-container {
    padding: 0.5rem 0;
  }
}
hr {
  height: 1px;
  width: 100%;
  margin: auto;
  background-color: #030e2a;
  border: none;
}

hr.inbetween {
  margin: 1rem auto;
}

.project-card__tech-icons-container i {
  font-size: 3rem;
}

.project-card__links i, nav button i {
  font-size: 1.5rem;
}

footer i {
  font-size: 2rem;
  color: #030e2a;
}

section#skills .skills-icons {
  font-size: 2.5rem;
  color: #030e2a;
  transition: all 0.5s ease-in-out;
}

.fa-copy {
  font-size: 1.5rem;
}

@media (min-width: 1200px) {
  section#skills .skills-icons {
    font-size: 3rem;
  }
  .project-card__tech-icons-container i {
    font-size: 2rem;
  }
}
.brighten {
  animation: brighten 0.6s ease;
}

.hidden {
  opacity: 0;
}

.slide-up {
  animation: slideUp 1.2s ease;
}

.slide-up-dark {
  animation: slideUpDark 0.8s ease;
}

.slide-up-expand {
  animation: slideUpExpand 1.2s ease;
}

.slide-up-fade {
  animation: slideUpFade 1.2s ease;
}

.slide-right {
  animation: slideRight 3s ease;
}

.slide-left {
  animation: slideLeft 3s ease;
}

.slide-right-center {
  animation: slideRightCenter 3s ease;
}

.slide-left-center {
  animation: slideLeftCenter 3s ease;
}

.fade {
  opacity: 0.4;
  filter: blur(1px);
}

.expand {
  transform: scale(1.3);
  color: #0470db;
}

/* color gradient */
@keyframes gradient {
  0% {
    background-position: 0% 25%;
  }
  25% {
    background-position: 25% 50%;
  }
  50% {
    background-position: 100% 50%;
  }
  75% {
    background-position: 25% 50%;
  }
  100% {
    background-position: 0% 25%;
  }
}
/* darken element */
@keyframes darken {
  0% {
    filter: brightness(1);
  }
  25% {
    filter: brightness(0.8);
  }
  50% {
    filter: brightness(0.6);
  }
  75% {
    filter: brightness(0.4);
  }
  100% {
    filter: brightness(0.2);
  }
}
/* brighten element */
@keyframes brighten {
  0% {
    filter: brightness(0.2);
  }
  25% {
    filter: brightness(0.4);
  }
  50% {
    filter: brightness(0.6);
  }
  75% {
    filter: brightness(0.8);
  }
  100% {
    filter: brightness(1);
  }
}
/* slide element up */
@keyframes slideUp {
  from {
    opacity: 0;
    transform: translate3d(0, 20%, 0);
  }
  to {
    opacity: 1;
    transform: translate3d(0, 0, 0);
  }
}
@keyframes slideUpDark {
  from {
    opacity: 0;
    transform: translate3d(0, 70%, 0);
  }
  to {
    opacity: 0.8;
    transform: translate3d(0, 0, 0);
  }
}
@keyframes slideUpExpand {
  from {
    opacity: 0;
    transform: translate3d(0, 10%, 0) scale(1);
  }
  to {
    opacity: 1;
    transform: translate3d(0, 0, 0) scale(1.1);
  }
}
@keyframes slideUpFade {
  from {
    opacity: 0;
    transform: translate3d(0, 10%, 0);
  }
  to {
    opacity: 0.2;
    transform: translate3d(0, 0, 0);
  }
}
/* slide element to right */
@keyframes slideRight {
  0% {
    opacity: 0;
    transform: translateX(-900px);
  }
  100% {
    opacity: 1;
    transform: translateX(-154px);
  }
}
/* slide element to right mobile */
@keyframes slideRightCenter {
  0% {
    opacity: 0;
    transform: translateX(-900px);
  }
  100% {
    opacity: 1;
    transform: translateX(0);
  }
}
/* slide element to left */
@keyframes slideLeft {
  0% {
    opacity: 0;
    transform: translateX(900px);
  }
  100% {
    opacity: 1;
    transform: translateX(192);
  }
}
/* slide element to left mobile */
@keyframes slideLeftCenter {
  0% {
    opacity: 0;
    transform: translateX(900px);
  }
  100% {
    opacity: 1;
    transform: translateX(0);
  }
}
footer {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 2rem;
}
footer .footer-left, footer .footer-right {
  display: flex;
  flex-direction: row;
  align-items: center;
}
footer .footer-left {
  gap: 1rem;
}
footer .footer-right {
  gap: 0.5rem;
}
footer .footer-right {
  width: 210px;
  justify-content: space-between;
}
footer .footer-right button {
  justify-self: start;
}

header.main {
  display: flex;
  flex-direction: column;
  align-items: center;
  align-items: normal;
  gap: 1rem;
  margin: 10rem 0;
}
header.main p {
  margin: 1rem 0;
  transition: all 0.3s ease-in-out;
}
header.main .highlight.heading {
  cursor: default;
  transition: all 0.3s ease-in-out;
}
header.main p:has(.highlight.heading:hover) {
  color: rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease-in-out;
}
header.main p:has(.highlight.heading:hover) .highlight.heading:hover {
  opacity: 1;
  filter: none;
  color: #0470db;
}

nav {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  margin: 1rem 0;
  background: transparent;
}

section#projects {
  margin: 5rem 0;
}
section#projects header.projects {
  display: flex;
  flex-direction: column;
  align-items: center;
  align-items: flex-start;
}
section#projects header.projects h2 {
  margin: 0;
}
section#projects header.projects .subheader {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 1rem;
  width: 100%;
}
section#projects .grid {
  display: grid;
  grid-template-columns: repeat(1, 1fr);
  gap: 15rem;
}

section#skills {
  margin: 5rem 0;
}
section#skills .card-and-button-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2rem;
}
section#skills div.skills-icons {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  justify-items: center;
  align-items: center;
  gap: 1.5rem;
  width: 100%;
  padding: 1rem 0;
  box-shadow: 0 0px 6px rgba(0, 2, 33, 0.316);
  border-radius: 10px;
}

@media (min-width: 768px) {
  section#skills .card-and-button-container .skills-icons {
    grid-template-columns: repeat(5, 1fr);
  }
}
@media (min-width: 1200px) {
  section#skills .card-and-button-container .skills-icons {
    grid-template-columns: repeat(4, 1fr);
  }
}
body.dark {
  color: rgb(247, 253, 255);
  background-color: #030e2a;
}

hr.dark {
  background-color: rgb(247, 253, 255);
}

:is(#theme-btn, #lang-btn).dark {
  color: rgb(247, 253, 255);
}

#theme-btn.dark:hover {
  color: #030e2a;
  background: rgb(247, 253, 255);
}

#lang-btn.dark:hover {
  color: inherit;
  background: inherit;
}

button.dark, .project-card__link.dark {
  border: 1px solid rgb(247, 253, 255);
}
button.dark:hover, .project-card__link.dark:hover {
  background-color: rgb(247, 253, 255);
  color: #030e2a;
}

a#arrow-icon.dark {
  background: rgb(247, 253, 255);
  border: 1px solid rgb(247, 253, 255);
}

section#skills .skills-radio.dark {
  border: 1px solid rgb(247, 253, 255);
}
section#skills .skills-icons.dark {
  box-shadow: 0 0px 6px rgba(247, 253, 255, 0.179);
  color: rgb(247, 253, 255);
}

span.highlight.dark {
  color: #80befd;
}
span.highlight.dark:hover {
  color: #80befd;
}

body.light {
  background-color: rgb(247, 253, 255);
  color: #030e2a;
}

.section-title {
  font-size: 3rem;
}

.hide {
  opacity: 0;
}

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