/* #region default */
@supports not selector(::-webkit-scrollbar) {
  html {
    scrollbar-width: thin;
    scrollbar-color: var(--thumb-color) var(--track-color);
  }
}
* {
  box-sizing: border-box;
  padding: 0%;
  margin: 0%;
  font-family: sans-serif;

  ::-webkit-scrollbar {
    width: 0.3rem;
  }

  ::-webkit-scrollbar-thumb {
    background-color: #707070;
    border-radius: 0.7rem;
  }

  ::-webkit-scrollbar-track {
    background-color: #00000000;
    border-radius: 0.7rem;
  }
}
::selection {
  background: #c1c1c1;
  color: black;
}
a {
  text-decoration: none;
}
html {
  margin: 0;
  padding: 0;
  font-size: 16px;
  scroll-behavior: smooth;
}
body {
  cursor: url('data:image/svg+xml,%3Csvg xmlns="http://www.w3.org/2000/svg" width="10" height="10"%3E%3Ccircle cx="5" cy="5" r="5" fill="white" /%3E%3C/svg%3E')
      5 5,
    auto;
  margin: 0;
  padding: 0;
  background-color: #fff;
  overflow-x: hidden;
  max-height: 100%;
  max-width: 100%;
  opacity: 0;
  transition: opacity 0.5s ease-in-out;
  display: flex;
}
body.fade-in {
  opacity: 1;
}

body.fade-out {
  opacity: 0;
}
.content {
  opacity: 1;
  position: relative;
  z-index: 1;
  transition: opacity 0.5s ease, transform 0.5s ease;
  max-height: 100%;
  width: 100vw;
  overflow-y: auto;
  /* transform: scale(1); */
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  width: 100%;
  justify-content: space-between;
}

a:hover,
li:hover,
p:hover {
  cursor: url('data:image/svg+xml,%3Csvg xmlns="http://www.w3.org/2000/svg" width="10" height="10"%3E%3Ccircle cx="5" cy="5" r="5" stroke-width="1" stroke="white" fill="none" /%3E%3C/svg%3E')
      5 5,
    pointer;
}

/* #endregion */

/* #region Dark mode  */

body.light-mode {
  background-color: #eaeaea;
  transition: opacity 0.5s ease-in-out;
  cursor: url('data:image/svg+xml,%3Csvg xmlns="http://www.w3.org/2000/svg" width="10" height="10"%3E%3Ccircle cx="5" cy="5" r="5" fill="black" /%3E%3C/svg%3E')
      5 5,
    auto;
}
body.dark-mode {
  background-color: #1c1c1c;
  transition: opacity 0.5s ease-in-out;
}
body.dark-mode .s-right {
  background-color: #1c1c1c;
  transition: opacity 0.5s ease-in-out;
}
body.dark-mode nav {
  background-color: rgba(0, 0, 0, 0.5);
  backdrop-filter: saturate(100%) blur(10px);
  -webkit-backdrop-filter: blur(10px);
  transform: translateZ(0);
}
body.dark-mode .p-title p,
body.dark-mode nav a,
body.dark-mode .pro-el p {
  color: #fff;
}
body.dark-mode .nav-trigger span {
  background-color: #fff;
}

/* #endregion */

/* #region nav */
nav .right a:nth-child(1),
nav .right a:nth-child(2),
nav .right a:nth-child(3),
nav .right a:nth-child(4) {
  display: none;
}
nav {
  padding: 1rem 0.3rem 1rem 0.3rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 49.75%;
  transition: all 1.5s ease-in-out;
  height: 3rem;
  background-color: rgba(255, 255, 255, 0.15);
  backdrop-filter: saturate(100%) blur(10px);

  -webkit-backdrop-filter: blur(10px);
  transform: translateZ(0);
  z-index: 9;
  position: fixed;
  top: 0;
  right: 0;
}

.nav-trigger:hover,
svg.moon:hover,
svg.sun:hover {
  color: #e7e7e7;
  transform: scale(0.9);
  -webkit-transform: scale(0.9);
}

nav.scroll-active {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 3rem;
  padding: 0 2rem;
  box-sizing: border-box;

  background-color: rgba(42, 42, 42, 0.15);
  backdrop-filter: saturate(100%) blur(10px);

  -webkit-backdrop-filter: blur(10px);
  transform: translateZ(0);
  border-radius: 5px;
  z-index: 59;

  transition: all 1.5s ease-in-out;
}

nav .right {
  display: flex;
  gap: 2rem;
  align-items: center;
}

.nav-trigger {
  width: 1.9rem;
  height: 100%;

  z-index: 20;
  cursor: pointer;
  transition: top 0.2s ease-in, opacity 0.6s ease, transform 0.6s ease;
}

.nav-trigger span {
  display: block;
  width: 100%;
  height: 2px;
  background: #000;

  transition: all 0.2s ease-in;
}
.nav-trigger span:nth-child(2) {
  margin: 0.3rem 0 0.3rem 0;
}

.nav-trigger.on span:first-child {
  transform: translateY(6px) rotate(45deg);
  background: #000;
}

.nav-trigger.on span:nth-child(2) {
  transform: translateX(50px);
  background: #000;
  opacity: 0;
}

.nav-trigger.on span:last-child {
  transform: translateY(-8px) rotate(-45deg);
  background: #000;
}
.nav-menu {
  position: fixed;
  top: 0;
  right: 0;
  width: 100%;
  max-height: 0;
  background: white;
  overflow: hidden;
  z-index: 11;
  transition: max-height 0.5s ease, opacity 0.5s ease;
}
.n-top {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  border-bottom: 1px solid #fff;
  box-shadow: 0px 2px 15px 0px #0000006f;
  background-color: #fff;
}

.nav-menu ul {
  margin: 0;
  padding: 0;
  list-style: none;
  gap: 1rem;
  display: flex;
  flex-direction: column;
}

.n-left {
  padding: 1rem 0 0 2rem;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  height: 2.5rem;
  width: 16rem;
}

.n-left p {
  font-size: 2rem;
}
.n-cp-left {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
}

.n-right {
  padding: 1rem 16rem 0 0;
  display: flex;
  justify-content: flex-start;

  flex-direction: column;
  align-items: flex-start;
  gap: 4rem;
  flex: 1;
  flex-wrap: wrap;
  align-content: flex-end;
}
.n-r-bot {
  padding-bottom: 4rem;
}

.nav-menu .n-close {
  margin: 0 0 3rem 0;
}
.nav-menu .n-close a {
  color: #757575;
  font-size: 1rem;
}

.nav-menu .n-cpright {
  margin: 0;
  padding: 0 2rem 0 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.nav-menu .n-cpright p {
  font-size: 10rem;
  margin-top: -3.5rem;
  z-index: -10;
}

.n-cpright .logo-container {
  display: flex;
  flex-wrap: wrap;
  flex: 1;
  justify-content: flex-end;
  padding-right: 5rem;
}
.n-cpright .logo-container .logo {
  width: 6rem;
  height: 6rem;
}

.nav-menu ul li a {
  text-decoration: none;
  font-size: 1.2rem;
  color: black;
  transition: color 0.3s ease;
}

.nav-menu ul li a:hover {
  color: gray;
}
.nav-menu.active {
  cursor: url('data:image/svg+xml,%3Csvg xmlns="http://www.w3.org/2000/svg" width="10" height="10"%3E%3Ccircle cx="5" cy="5" r="5" fill="black" /%3E%3C/svg%3E')
      5 5,
    auto;
  max-height: 80vh;
  visibility: visible;
  opacity: 1;
  box-shadow: 0px 2px 20px 0px #0000006f;
}
nav .right img {
  width: 1.7rem;
  height: 1.3rem;
}

nav a {
  font-size: 1.2rem;
  color: #000;
  text-decoration: none;
  transition: opacity 0.6s ease, transform 0.6s ease;
}
nav a:hover {
  color: #e7e7e7;
  transform: scale(0.98);
  -webkit-transform: scale(0.98);
}
/* #endregion */

/* #region footer */
footer a:hover,
footer li:hover,
footer p:hover {
  cursor: url('data:image/svg+xml,%3Csvg xmlns="http://www.w3.org/2000/svg" width="10" height="10"%3E%3Ccircle cx="5" cy="5" r="5" stroke-width="1" stroke="black" fill="black" /%3E%3C/svg%3E')
      5 5,
    pointer;
}
footer {
  cursor: url('data:image/svg+xml,%3Csvg xmlns="http://www.w3.org/2000/svg" width="10" height="10"%3E%3Ccircle cx="5" cy="5" r="5" fill="black" /%3E%3C/svg%3E')
      5 5,
    auto;
  background-color: #fff;
  padding: 3rem 0.3rem 0 0.3rem;
  width: 100%;
  text-align: center;
  position: relative;
  margin: 0;
  box-sizing: border-box;
  z-index: 1;
}
.footer-content {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  justify-content: flex-end;
  align-items: flex-start;
  align-content: center;
  width: 100%;
  height: 81%;
}

footer ul {
  list-style-type: none;

  display: flex;
  justify-content: center;
  gap: 1rem;
  flex-direction: column;
  align-items: center;
  flex-basis: 100%;
  flex: 1;
}
.footer-content .f-menu {
  padding-bottom: 1rem;
}
.footer-content .f-menu a {
  color: #757575;
  transition: color 0.6 ease;
}
.footer-content a {
  color: #000;
  transition: color 0.6 ease;
}

.footer-content a:hover {
  color: #757575;
}
.footer-content .f-menu a:hover {
  color: #000;
}

.cpright {
  padding: 2rem 0 1.5rem 0;

  display: flex;
  flex-direction: row;
  align-items: center;
  flex-basis: 100%;
  border-top: 1px solid #d7d7d7;
  /* border-bottom: 1px solid #797979; */

  justify-content: space-between;
  align-items: center;
}

.c-social {
  margin-right: 0.625rem;
  border-radius: 50%;
  background-color: #1c1c1c;
  width: 1.875rem;
  height: 1.875rem;
  display: inline-flex;
  justify-content: center;
  align-items: center;
  /* border: 1px solid #1C1C1C; */
  transition: background-color 0.6s cubic-bezier(0.075, 0.82, 0.165, 1),
    border-color 0.6s cubic-bezier(0.075, 0.82, 0.165, 1);
}

.logo-text {
  font-size: 0.9rem;
  color: #000;
}

.c-social .icon {
  width: 1rem;
  height: 1rem;
  fill: #fff;
  transition: fill 0.6s cubic-bezier(0.075, 0.82, 0.165, 1);
}

.c-social:hover {
  background-color: #fff;
}

.c-social:hover .icon {
  fill: #000;
}

.cpright .logo-container {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  justify-content: center;
  align-items: center;
}

.cpright .logo {
  height: 3rem;
  width: 3rem;
  z-index: 1;
  transition: transform 0.6s ease;
}
.cpright .logo:hover {
  transform: scale(1.05);
}

.sub-con {
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  align-content: flex-start;
  align-items: flex-start;
  gap: 1rem;

  padding-bottom: 1rem;
}

.sub-con > * {
  flex: 1;
}

.sub-con p {
  text-align: start;
  font-size: 2rem;
}

.f-left {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  height: 100%;
}
.email-container {
  display: flex;
  align-items: center;
  border-bottom: 1px solid #000;
  padding: 0.6rem 0;
  width: 100%;
}

.email-container input {
  border: none;
  outline: none;
  flex: 1;
  font-size: 1.3rem;

  color: #333;
}

.email-container input::placeholder {
  color: #aaa;
}

.email-container button {
  background: none;
  border: none;
  cursor: pointer;
  width: 2rem;
  height: 2rem;
}

.email-container button svg {
  width: 2rem;
  height: 2rem;
  fill: #333;
}

.email-container button:hover svg {
  fill: #000;
}

.c-left {
  text-align: start;
  margin: 0;
}

#toTop {
  display: flex;
  align-items: center;
  height: 1.1rem;
}
#toTop:hover {
  color: #808080;
}

div.arrow {
  width: 0.5rem;
  height: 0.5rem;
  box-sizing: border-box;
  margin: 0.2rem 0 0 0.6rem;
  transform: rotate(-45deg);
  transition: transform 0.2s ease, border-color 0.2s ease;
}

div.arrow::before {
  content: "";
  width: 100%;
  height: 100%;
  border-width: 0.1rem 0.1rem 0 0;
  border-style: solid;
  border-color: #000;
  transition: 0.2s ease;
  display: block;
  transform-origin: 100% 0;
}

div.arrow::after {
  content: "";
  float: left;
  position: relative;
  top: -100%;
  width: 100%;
  height: 100%;
  border-width: 0 0.1rem 0 0;
  border-style: solid;
  border-color: #000;
  transform-origin: 100% 0;
  transition: 0.2s ease;
}

#toTop:hover div.arrow::after {
  transform: rotate(45deg);
  border-color: #808080;

  height: 190%;
  margin: -0.04rem 0 0 0;
}

#toTop:hover div.arrow::before {
  border-color: #808080;
  margin: -0.3rem 0 0 0;
}

/* #endregion */

/* #region whole */

.s-left,
.s-right {
  width: 50%;
}
.s-left {
  height: 100vh;
  position: fixed;
  display: flex;
  flex-direction: column;

  overflow: hidden;
}

.s-left video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  border: none;
  pointer-events: none;
}

.s-right {
  display: flex;
  flex-direction: column;
  align-items: center;
  overflow-y: auto;
  background-color: #fff;
  margin-left: 50%;
}

/* #endregion */

/* #region column */
.p-title {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 30vh;
  padding: 0 0 0 0.3rem;
}
.p-title p {
  font-size: 1.5rem;
  color: #000;
}
.columns {
  display: flex;
  flex-direction: column;
  width: 100%;
}
.twopro {
  display: flex;
  flex-direction: row;
}
.twopro > * {
  flex: 1;
}
.pro-el {
  padding: 0.3rem 0.3rem 0.3rem 0.3rem;
  height: max-content;
  max-height: 100%;
}
.onepro .pro-el img {
  width: 100%; /* Let width adjust automatically to preserve aspect ratio */
  height: 40rem; /* Set a consistent height */
  object-fit: cover; /* Ensure the image fills the area proportionally */
}

.pro-el img {
  width: 100%; /* Let width adjust automatically to preserve aspect ratio */
  height: 20rem; /* Set a consistent height */
  object-fit: cover; /* Ensure the image fills the area proportionally */
}

.pro-cat {
  font-variant-caps: all-petite-caps;
}
.pro-el .pro-title {
  font-size: 2rem;
  font-weight: 100;
  font-variant-caps: all-petite-caps;
}
.pro-el p {
  font-size: 1rem;
  padding: 0.5rem 0;
  color: #000;
}

/* #endregion */

/* #region translation */
.language-selector {
  position: fixed;
  bottom: 50px;
  /* left: 20px; */
  display: inline-flex;
  align-items: center;
  justify-content: start; /* Align children to the start for consistent positioning */
  border: 1px solid #9c9c9c;
  border-radius: 30px;
  background-color: rgba(42, 42, 42, 0.15);
  backdrop-filter: saturate(100%) blur(10px);

  -webkit-backdrop-filter: blur(10px);
  transform: translateZ(0); /* Ensures hardware acceleration */
  color: #fff;
  font-size: 1rem;
  cursor: pointer;
  user-select: none;
  transition: width 0.6s ease, background-color 0.6s ease;
  width: 2.5rem; /* Default compact width */
  height: 2.5rem;
  z-index: 5;
  padding: 0 0.5rem 0 0.469rem; /* Prevent children from moving abruptly */
  margin-left: 2rem;
}
/* When scrolled, change color */
.language-selector.scrolled {
  background-color: rgba(0, 0, 0, 0.633);
}
.language-selector.scrolled:hover {
  background-color: rgba(0, 0, 0, 0.633);
}

.language-selector:hover,
.language-selector.active {
  width: 7rem; /* Expanded width on hover or active */
  background-color: rgba(255, 255, 255, 0.15);
}

.language-selector .l-circle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.6s ease; /* Smooth transform of SVG */
}

.language-selector .l-circle svg {
  width: 1.5rem;
  height: 1.5rem;
  stroke: #fff;
  fill: none;
}

#selectedLanguage {
  display: inline-block; /* Ensure it's an inline-block to take up space and animate smoothly */
  opacity: 0; /* Start invisible */
  padding-left: 0.5rem;
  white-space: nowrap;
  transition: opacity 0.6s ease, transform 0.6s ease; /* Animate opacity and transform */
  transform: translateX(-10px); /* Start with a slight shift */
}

.language-selector:hover #selectedLanguage,
.language-selector.active #selectedLanguage {
  opacity: 1; /* Fade in */
  transform: translateX(0); /* Move into place */
}

.language-dropdown {
  position: absolute;
  bottom: 100%; /* Expand upwards */
  left: 0;
  width: 100%;
  background-color: rgba(42, 42, 42, 0.55);

  border: 1px solid #9c9c9c;
  border-radius: 5px;
  margin-bottom: 1rem;
  list-style: none;
  padding: 0;
  z-index: 1000;
  overflow: hidden;

  /* Initially hidden */
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: opacity 0.3s ease, transform 0.3s ease, visibility 0.3s ease;
}

.language-dropdown.active {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.language-dropdown li {
  padding: 0.7rem;
  cursor: pointer;
  color: #fff;
  transition: opacity 0.3s ease, transform 0.3s ease, visibility 0.3s ease;
}

.language-dropdown li:hover {
  background-color: rgba(255, 255, 255, 0.85);
  color: #000;
}

.language-dropdown li.selected {
  background-color: rgba(255, 255, 255, 0.55);
}
.language-dropdown li.selected:hover {
  background-color: rgba(255, 255, 255, 0.85);
}
/* Change dropdown background when scrolled */
.language-selector.scrolled .language-dropdown {
  background-color: rgb(31, 31, 31) !important;
}

/* Light mode variants */
body.light-mode .language-selector {
  background-color: rgba(255, 255, 255, 0.8);
  color: #000;
  border-color: #c0c0c0;
}

body.light-mode .language-selector .l-circle svg {
  stroke: #000;
}

/* When scrolled in light mode: make it darker for contrast */
body.light-mode .language-selector.scrolled {
  background-color: rgba(0, 0, 0, 0.75);
  color: #fff;
}

body.light-mode .language-selector.scrolled .l-circle svg {
  stroke: #fff;
}
.language-selector {
  position: fixed;
  bottom: 50px;
  /* left: 20px; */
  display: inline-flex;
  align-items: center;
  justify-content: start; /* Align children to the start for consistent positioning */
  border: 1px solid #9c9c9c;
  border-radius: 30px;
  background-color: rgba(42, 42, 42, 0.15);
  backdrop-filter: saturate(100%) blur(10px);

  -webkit-backdrop-filter: blur(10px);
  transform: translateZ(0); /* Ensures hardware acceleration */
  color: #fff;
  font-size: 1rem;
  cursor: pointer;
  user-select: none;
  transition: width 0.6s ease, background-color 0.6s ease;
  width: 2.5rem; /* Default compact width */
  height: 2.5rem;
  z-index: 5;
  padding: 0 0.5rem; /* Prevent children from moving abruptly */
  margin-left: 2rem;
}
/* When scrolled, change color */
.language-selector.scrolled {
  background-color: rgba(0, 0, 0, 0.633);
}
.language-selector.scrolled:hover {
  background-color: rgba(0, 0, 0, 0.633);
}

.language-selector:hover,
.language-selector.active {
  width: 7rem; /* Expanded width on hover or active */
  background-color: rgba(255, 255, 255, 0.15);
}

.language-selector .l-circle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.6s ease; /* Smooth transform of SVG */
}

.language-selector .l-circle svg {
  width: 1.5rem;
  height: 1.5rem;
  stroke: #fff;
  fill: none;
}

#selectedLanguage {
  display: inline-block; /* Ensure it's an inline-block to take up space and animate smoothly */
  opacity: 0; /* Start invisible */
  padding-left: 0.5rem;
  white-space: nowrap;
  transition: opacity 0.6s ease, transform 0.6s ease; /* Animate opacity and transform */
  transform: translateX(-10px); /* Start with a slight shift */
}

.language-selector:hover #selectedLanguage,
.language-selector.active #selectedLanguage {
  opacity: 1; /* Fade in */
  transform: translateX(0); /* Move into place */
}

.language-dropdown {
  position: absolute;
  bottom: 100%; /* Expand upwards */
  left: 0;
  width: 100%;
  background-color: rgba(42, 42, 42, 0.55);

  border: 1px solid #9c9c9c;
  border-radius: 5px;
  margin-bottom: 1rem;
  list-style: none;
  padding: 0;
  z-index: 1000;
  overflow: hidden;

  /* Initially hidden */
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: opacity 0.3s ease, transform 0.3s ease, visibility 0.3s ease;
}

.language-dropdown.active {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.language-dropdown li {
  padding: 0.7rem;
  cursor: pointer;
  color: #fff;
  transition: opacity 0.3s ease, transform 0.3s ease, visibility 0.3s ease;
}

.language-dropdown li:hover {
  background-color: rgba(255, 255, 255, 0.85);
  color: #000;
}

.language-dropdown li.selected {
  background-color: rgba(255, 255, 255, 0.55);
}
.language-dropdown li.selected:hover {
  background-color: rgba(255, 255, 255, 0.85);
}
/* Change dropdown background when scrolled */
.language-selector.scrolled .language-dropdown {
  background-color: rgb(31, 31, 31) !important;
}

/* Light mode variants */
body.light-mode .language-selector {
  background-color: rgba(255, 255, 255, 0.8);
  color: #000;
  border-color: #c0c0c0;
}

body.light-mode .language-selector .l-circle svg {
  stroke: #000;
}

/* When scrolled in light mode: make it darker for contrast */
body.light-mode .language-selector.scrolled {
  background-color: rgba(0, 0, 0, 0.75);
  color: #fff;
}

body.light-mode .language-selector.scrolled .l-circle svg {
  stroke: #fff;
}
/* #endregion translation */

/* #region screensizes */
@media (min-width: 1920px) {
}
@media (min-width: 1280px) and (max-width: 1380px) {
}
@media (min-width: 768px) and (max-width: 1279px) {
  .projects .language-selector {
    margin-left: 0.3rem;
  }
  .footer-content {
    height: auto;
  }
  .n-cpright .logo-container {
    padding: 0;
  }
  .n-cpright .logo-container .logo {
    width: 3rem;
    height: 3rem;
  }
  .nav-menu .n-cpright p {
    font-size: 5rem;
    margin-top: -1.5rem;
  }
  .n-r-bot {
    padding-bottom: 1rem;
  }
  .n-right {
    padding: 4rem 3rem 0 0;
  }
  .cpright .logo-container {
    position: static;
    transform: translateX(0);
  }
  .cpright {
    padding: 1rem 0 0.5rem 0;
    gap: 0.5rem;
    flex-direction: column;
  }
  .c-left {
    text-align: center;
    margin-top: 1rem;
  }
  nav {
    width: 100%;
  }
  .f-left {
    width: 100%;
  }
  .sub-con > * {
    flex: none;
  }
  .sub-con {
    justify-content: space-around;
  }
  .s-right {
    margin: 0;
  }
  .s-left {
    padding-top: 3rem;
    position: relative;
    overflow: auto;
    height: 60vh;
  }
  .s-left,
  .s-right {
    width: 100%;
  }
  .content {
    flex-direction: column;
  }
  .language-selector {
    padding: 0 0.4rem 0 0.468rem;
  }
}

@media (min-width: 481px) and (max-width: 767px) {
  .projects .language-selector {
    margin-left: 0.3rem;
  }
  .footer-content {
    height: auto;
  }
  .n-cpright .logo-container {
    padding: 0;
  }
  .n-cpright .logo-container .logo {
    width: 3rem;
    height: 3rem;
  }
  .nav-menu .n-cpright p {
    font-size: 5rem;
    margin-top: -1.5rem;
  }
  .n-r-bot {
    padding-bottom: 1rem;
  }
  .n-right {
    padding: 4rem 3rem 0 0;
  }
  .cpright .logo-container {
    position: static;
    transform: translateX(0);
  }
  .cpright {
    padding: 1rem 0 0.5rem 0;
    gap: 0.5rem;
    flex-direction: column;
  }
  .c-left {
    text-align: center;
    margin-top: 1rem;
  }
  nav {
    width: 100%;
  }
  .f-left {
    width: 100%;
  }
  .sub-con > * {
    flex: none;
  }
  .sub-con {
    justify-content: space-around;
  }
  .s-right {
    margin: 0;
  }
  .s-left {
    padding-top: 3rem;
    position: relative;
    overflow: auto;
    height: 60vh;
  }
  .s-left,
  .s-right {
    width: 100%;
  }
  .content {
    flex-direction: column;
  }
  .language-selector {
    padding: 0 0.4rem;
  }
}

@media (max-width: 480px) {
  .pro-el img {
    height: 100%;
  }
  .projects .language-selector {
    margin-left: 0.3rem;
  }
  .footer-content {
    height: auto;
  }
  .n-cpright .logo-container {
    padding: 0;
  }
  .n-cpright .logo-container .logo {
    width: 3rem;
    height: 3rem;
  }
  .nav-menu .n-cpright p {
    font-size: 5rem;
    margin-top: -1.5rem;
  }
  .n-r-bot {
    padding-bottom: 1rem;
  }
  .n-right {
    padding: 4rem 3rem 0 0;
  }
  .cpright .logo-container {
    position: static;
    transform: translateX(0);
  }
  .cpright {
    padding: 1rem 0 0.5rem 0;
    gap: 0.5rem;
    flex-direction: column;
  }
  .c-left {
    text-align: center;
    margin-top: 1rem;
  }
  nav {
    width: 100%;
  }
  .f-left {
    width: 100%;
  }
  .sub-con > * {
    flex: none;
  }
  .sub-con {
    justify-content: space-around;
  }
  .s-right {
    margin: 0;
  }
  .s-left {
    padding-top: 3rem;
    position: relative;
    overflow: auto;
    height: 60vh;
  }
  .s-left,
  .s-right {
    width: 100%;
  }
  .content {
    flex-direction: column;
  }
  .language-selector {
    padding: 0 0.4rem;
  }
}
/* #endregion */
