html {
  scroll-behavior: smooth;
}

body {
  font-family: -apple-system, system-ui, -apple-system, BlinkMacSystemFont,
    Segoe UI, Roboto, Oxygen, Ubuntu, Cantarell, Droid Sans, Helvetica Neue,
    "Segoe UI", Roboto, Ubuntu, "Helvetica Neue", "Lucida Grande", sans-serif;
  margin: 0px;
  line-height: 1.1;
  min-width: 300px;
  width: auto !important;
  /*background-color: #FAFAFF;*/
  background-color: white;
  position: relative;
  overflow-x: hidden;
  overflow-y: overlay;
}

body::-webkit-scrollbar,
.modal-card-body::-webkit-scrollbar,
#folder-modal .project-gallery::-webkit-scrollbar,
#folder-modal .project-details::-webkit-scrollbar,
#folder-modal .cards::-webkit-scrollbar {
  width: 0px;
  transition: all 0.5s;
}

#folder-modal .project-gallery::-webkit-scrollbar,
#folder-modal .project-details::-webkit-scrollbar {
  width: 12.5px;
}

.hero-section .prompt-console::-webkit-scrollbar {
  width: 10px;
}

body:hover::-webkit-scrollbar,
body::-webkit-scrollbar:hover,
.modal-card-body:hover::-webkit-scrollbar,
.modal-card-body::-webkit-scrollbar:hover,
#folder-modal .project-gallery:hover::-webkit-scrollbar,
#folder-modal .project-gallery::-webkit-scrollbar:hover,
#folder-modal .project-details:hover::-webkit-scrollbar,
#folder-modal .project-details::-webkit-scrollbar:hover,
#folder-modal .cards:hover::-webkit-scrollbar,
#folder-modal .cards::-webkit-scrollbar:hover {
  width: 12.5px;
}

.hero-section .prompt-console:hover::-webkit-scrollbar,
.hero-section .prompt-console::-webkit-scrollbar:hover {
  width: 10px;
}

/* Track */
body::-webkit-scrollbar-track,
.modal-card-body::-webkit-scrollbar-track,
#folder-modal .project-gallery::-webkit-scrollbar-track,
#folder-modal .project-details::-webkit-scrollbar-track,
#folder-modal .cards::-webkit-scrollbar-track,
.hero-section .prompt-console::-webkit-scrollbar-track {
  background: transparent;
  transition: all 0.5s;
}

#folder-modal .modal-card-body::-webkit-scrollbar-track {
  margin-top: 100px;
  margin-bottom: 40px;
}

.hero-section .prompt-console::-webkit-scrollbar-track {
  margin: 10px 0;
}

/* Handle */
body::-webkit-scrollbar-thumb,
.modal-card-body::-webkit-scrollbar-thumb,
#folder-modal .project-gallery::-webkit-scrollbar-thumb,
#folder-modal .project-details::-webkit-scrollbar-thumb,
#folder-modal .cards::-webkit-scrollbar-thumb,
.hero-section .prompt-console::-webkit-scrollbar-thumb {
  background: rgba(172, 172, 172, 0.75);
  border: 3.5px solid transparent;
  background-clip: content-box;
  border-radius: 10px;
  /*transition: all 0.5s;*/
}

#folder-modal .project-gallery::-webkit-scrollbar-thumb,
#folder-modal .project-details::-webkit-scrollbar-thumb {
  background: rgba(173, 182, 190, 0.75);
  background-clip: content-box;
  border: 3.5px solid transparent;
}

.hero-section .prompt-console::-webkit-scrollbar-thumb {
  background-color: rgba(107, 123, 139, 0.5);
}

/* Handle on hover */
body::-webkit-scrollbar-thumb:hover,
.modal-card-body::-webkit-scrollbar-thumb:hover,
#folder-modal .project-gallery::-webkit-scrollbar-thumb:hover,
#folder-modal .project-details::-webkit-scrollbar-thumb:hover,
#folder-modal .cards::-webkit-scrollbar-thumb:hover,
.hero-section .prompt-console::-webkit-scrollbar-thumb:hover {
  background: rgba(172, 172, 172, 1);
  background-clip: content-box;
}

#folder-modal .project-gallery::-webkit-scrollbar-thumb:hover,
#folder-modal .project-details::-webkit-scrollbar-thumb:hover {
  background: rgba(173, 182, 190, 1);
  background-clip: content-box;
}

.hero-section .prompt-console::-webkit-scrollbar-thumb:hover {
  background-color: rgba(107, 123, 139, 0.75);
}

/* -------------------- General Options -------------------- */

* {
  box-sizing: border-box;
}

ul,
li {
  margin: 0;
  padding: 0;
}

ul {
  list-style: none;
}

/* -------------------- General Layout -------------------- */

.page-header {
  margin-left: auto;
  margin-right: auto;
  background-color: transparent;
  /*border: 1px solid green;*/
}

.page-content {
  background-color: transparent;
  margin-left: auto;
  margin-right: auto;
  /*border: 1px solid blue;*/
}

.page-footer {
}

@media (min-width: 1280px) {
  .page-header {
    width: 1280px;
  }
  .page-content {
    width: 1280px;
  }
}

/* -------------------- Page Menu -------------------- */

.page-menu {
  display: flex;
  justify-content: flex-start;
  align-items: center;
  margin-right: auto;
  margin-left: auto;
}

.page-menu-left,
.page-menu-right {
  display: flex;
  align-items: center;
  z-index: 2;
}

/* --- Section 1. Page Menu Left --- */
.page-menu-left {
  justify-content: flex-start;
  /*background-color: #FAFAFF;*/
  width: 65%;
  min-height: 80px;
  padding-left: 164px;
  border-top-right-radius: 120px;
}

/* Header */
.page-menu-header {
}

.logo-frame {
  display: flex;
  justify-content: center;
  align-items: center;
  border-radius: 100%;
  background-color: #02203c;
  color: white;
  user-select: none;
  cursor: pointer;
}

.page-menu-header .logo-frame {
  width: 50px;
  height: 50px;
  margin-right: 25px;
  font-size: 1.3rem;
  font-weight: bold;
}

/* Navbar */
.page-menu-navbar {
  display: flex;
  align-items: center;
  width: 100%;
}

.page-menu-navbar ul {
  display: flex;
  align-items: center;
}

.page-menu-navbar ul li {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  /*padding: 7px 7px;*/
}

.page-menu .menu-item {
  text-decoration: none;
  margin: 0 18px;
  font-size: 0.8rem;
  color: #02203c;
  opacity: 0.7;
  letter-spacing: 1px;
  line-height: 25px;
  font-weight: bold;
  background: none;
  /*text-transform: uppercase;*/
  /*transition: all 200ms ease-in-out;*/
}

.page-menu .menu-item:hover {
  opacity: 1;
  color: #02203c;
}

.page-menu .menu-item:after {
  display: block;
  content: "";
  border-bottom: 1px solid #02203c;
  opacity: 0.7;
  transform: scaleX(0);
  transition: all 200ms ease-in-out;
}

.page-menu .menu-item:hover:after {
  transform: scaleX(1);
  opacity: 1;
  border-color: #02203c;
}

/* --- Section 2. Page Menu Right --- */
.page-menu-right {
  position: relative;
  justify-content: center;
  /*background-color: #02203c;*/
  /*background: radial-gradient(#2b547c, #08233d);*/
  background: radial-gradient(rgb(26, 54, 81), rgb(2, 17, 31));
  width: calc(35%);
  height: 80px;
  border-bottom-left-radius: 1000px;
  border-bottom-right-radius: 1000px;
}

/*
.page-menu-right::after{
    content: '';
    position: absolute;
    background-color: #02203C;
    width: 100px;
    height: 80px;
    top:0;
    left: 100%;
    border-bottom-right-radius: 120px;
}
*/

.social-networks {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 5px;
}

.social-networks .link-button {
  /*border: 1px solid #221e41;*/
  border-radius: 100%;
  width: 40px;
  height: 40px;
  display: flex;
  justify-content: center;
  align-items: center;
}

.social-networks .link-button:hover {
  opacity: 0.7;
}

.social-networks .link-button:hover svg {
  fill: white;
}

/* -------------------- Action button -------------------- */

/* General */
.action-button {
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
}

.action-button .button-content {
  display: flex;
  justify-content: center;
  align-items: center;
  transition: all 0.15s ease-in-out;
  user-select: none;
}

.action-button .button-content:hover {
  cursor: pointer;
}

.action-button .button-content:hover {
  opacity: 0.9;
}

.action-button .button-content .button-text {
  white-space: nowrap;
  /*transition: all 0.15s ease-in-out;*/
}

.action-button .button-content .button-icon {
  display: flex;
  justify-content: center;
  align-items: center;
  transition: all 0.15s ease-in-out;
}

.action-button .button-content .button-icon svg {
  transition: all 0.15s ease-in-out;
}

/* Dropdown */
.dropdown-button-content {
  z-index: 2;
  position: absolute;
  display: block;
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 5px 20px rgb(0 0 0 / 15%);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.15s;
  user-select: none;
  text-align: left;
  cursor: default;
}

.dropdown-button-content.bottom {
  top: calc(100% + 13px);
  left: 50%;
  transform: translateX(-50%);
}

.dropdown-button-content.top {
  top: 0;
  left: 50%;
  transform: translateX(-50%) translateY(calc(-100% - 13px));
}

.dropdown-button-content::before {
  content: "";
  position: absolute;
  width: 0;
  height: 0;
  border: 6px solid transparent;
}

.dropdown-button-content.bottom::before {
  top: 0;
  left: 50%;
  margin-left: -6px;
  margin-top: -6px;
  border-top: 0;
  border-bottom-color: white;
}

.dropdown-button-content.top::before {
  top: 100%;
  left: 50%;
  margin-left: -6px;
  margin-top: -1px;
  border-bottom: 0;
  border-top-color: white;
}

.dropdown-options {
  margin: 8px 0;
}

.dropdown-options .option {
  display: flex;
  align-items: center;
  padding: 0 16px;
  color: #000;
  font-size: 14px;
  line-height: 20px;
  cursor: pointer;
  height: 40px;
  white-space: nowrap;
  pointer-events: all;
}

.dropdown-options .option .option-text {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 5px;
}

.dropdown-options .option:hover {
  background: #fafafa;
}

.dropdown-options .option.is-selected {
  color: deepskyblue;
}

/* Custom changes for Page Menu Area */
.page-menu .action-button .button-content {
  background-color: #02203c;
  color: white;
  border-radius: 10px;
  padding: 10px 20px;
}

.page-menu .action-button .button-content:hover {
  opacity: 0.9;
}

.page-menu .action-button .button-content .button-text {
  font-size: 0.9rem;
  font-weight: 600;
}

/* Custom changes for Hero Section Area */
.hero-section .action-button .button-content {
  background-color: white;
  color: #02203c;
  border-radius: 10px;
  padding: 10px 20px;
}

.hero-section .action-button .button-content .button-text {
  font-size: 1rem;
  font-weight: 700;
}

/* Custom changes for Profile Info Area */
.profile-info .action-button {
  margin-top: auto;
}

.profile-info .action-button .button-content {
  border: solid 2px #ffffff;
  border-color: transparent;
  position: relative;
}

.profile-info .action-button:hover .button-content {
  background: #2096f3 !important;
  color: white;
}

.profile-info .action-button:hover .button-content .button-icon .svg-icon {
  fill: white !important;
}

.profile-info .action-button .button-content .button-icon {
  position: relative;
  animation: linear infinite alternate;
  animation-name: toProjAnim;
  animation-duration: 1s;
}

.profile-info .action-button:hover .button-content .button-icon {
  animation: none;
}

.profile-info .action-button .button-content::before {
  content: "";
  visibility: hidden;
  position: absolute;
  width: 100%;
  height: 100%;
  border: solid 1px #2096f3;
  border-radius: 10px;
  z-index: -1;
  top: 7px;
  left: 7px;
}

.profile-info .action-button:hover .button-content::before {
  top: 0;
  left: 0;
  transition: all 0.3s ease-in-out;
  z-index: -1;
}

@keyframes toProjAnim {
  0% {
    left: -3%;
  }
  50% {
    left: 0%;
  }
  100% {
    left: 3%;
  }
}

@keyframes fadeInRightAnim {
  0% {
    opacity: 0;
    transform: translateX(-100%);
  }
  100% {
    opacity: 1;
    transform: none;
  }
}

@keyframes fadeInLeftAnim {
  0% {
    opacity: 0;
    transform: translateX(100%);
  }
  100% {
    opacity: 1;
    transform: none;
  }
}

@keyframes fadeInUpAnim {
  0% {
    opacity: 0;
    transform: translateY(100%);
  }
  100% {
    opacity: 1;
    transform: none;
  }
}

@keyframes fadeInBottomAnim {
  0% {
    opacity: 0;
    transform: translateY(-100%);
  }
  100% {
    opacity: 1;
    transform: none;
  }
}

/* Custom changes for Hero Section Prompt Area */
.hero-section-prompt .action-button .button-content {
  background-color: #008529;
  color: white;
  border-radius: 5px;
  padding: 7px 30px;
  padding: 0;
  width: 80px;
  height: 26px;
}

.hero-section-prompt .action-button:hover .button-content {
  background-color: #2096f3 !important;
  cursor: pointer;
}

.hero-section-prompt .action-button.is-loading .button-content {
  background-color: #ffffff5c;
}

.hero-section-prompt .action-button .button-content .button-text {
  font-size: 0.7rem;
  font-weight: 600;
}

/* Custom changes for About Section Area */
.about-section .action-button {
  margin-right: auto;
  margin-top: auto;
}

.about-section .action-button .button-content {
  background-color: #02203c;
  color: white;
  border-radius: 1000px;
  padding: 15px 20px;
  border: 2px solid transparent;
}

.about-section .action-button .button-content .button-text {
  font-size: 1.1rem;
  font-weight: 700;
}

.about-section .action-button:hover .button-content {
  background-color: transparent;
  border-color: #02203c;
  color: #02203c;
}

.about-section .action-button:hover .button-content .button-icon svg {
  fill: #02203c !important;
  stroke: #02203c;
}

/* Custom changes for Projects Section Area */
.projects-menu .action-button:not(.filter-button) {
  justify-content: flex-end;
  flex-grow: 1;
  /*margin-left: 20px;*/
}

.projects-menu .action-button:not(.filter-button) .button-content {
  background-color: white;
  color: #02203c;
  border-radius: 1000px;
  padding: 10px 30px;
  border: 2px solid transparent;
}

.projects-menu .action-button:not(.filter-button) .button-content .button-text {
  font-size: 1.1rem;
  font-weight: 700;
}

.projects-menu .action-button .button-content:hover {
  background-color: #2096f3;
  border-color: #2096f3;
  color: white;
}

/* Custom changes for Projects Menu Filter Button */
.projects-menu .action-button.filter-button {
}

.projects-menu .action-button.filter-button .button-content {
  background-color: white;
  color: #02203c;
  border-radius: 1000px;
  padding: 7.5px 22.5px;
}

.projects-menu .action-button.filter-button .button-content .button-text {
  font-size: 0.825rem;
  font-weight: 700;
}

.projects-menu .action-button.filter-button:hover .button-content,
.projects-menu .action-button.filter-button.dropdown-visible .button-content {
  background-color: #2096f3;
  border-color: #2096f3;
  color: white;
}

.projects-menu
  .action-button.filter-button:hover
  .button-content
  .button-icon
  svg,
.projects-menu
  .action-button.filter-button.dropdown-visible
  .button-content
  .button-icon
  svg {
  fill: white !important;
}

/* Custom changes for Project Slideshow Area */
.projects-slideshow .action-button {
  justify-content: flex-start;
  margin-top: auto;
}

.projects-slideshow .action-button .button-content {
  background-color: #2096f3;
  color: white;
  border-radius: 1000px;
  padding: 10px 24px;
  border: 2px solid transparent;
}

.projects-slideshow .action-button .button-content .button-text {
  font-size: 1.1rem;
  font-weight: 700;
}

.projects-slideshow .action-button:hover .button-content {
  background-color: transparent;
  border-color: white;
  color: white;
}

/* Custom changes for Contact Section Area */
.contact-section .action-button {
  justify-content: flex-start;
  margin-left: 170px;
  /*margin-right: 340px;*/
}

.contact-section .action-button .button-content {
  background-color: #2096f3;
  color: white;
  border-radius: 10px;
  padding: 12.5px 25px;
  border: 1.5px solid white;
}

.contact-section .action-button .button-content .button-text {
  font-size: 1.2rem;
  font-weight: 700;
}

.contact-section .action-button:hover .button-content {
  background-color: white;
  border-color: white;
  color: #2096f3;
}

.contact-section .action-button:hover .button-content .button-icon svg {
  fill: #2096f3 !important;
}

/* -------------------- Hero Section -------------------- */

.hero-section {
  position: relative;
  width: 100%;
  height: 640px;
  padding-top: 50px;
  background-color: transparent;
}

/* --- Section 1.  Header --- */
.hero-section .hero-section-header {
  position: relative;
  display: flex;
  justify-content: flex-start;
  align-items: center;
  /*background-color: #02203c;*/
  background: radial-gradient(#38658f, #02111f);
  /* background: radial-gradient(#295885, #02111f); */
  border-radius: 1000px;
  margin-right: 150px;
  padding: 60px 60px;
  transform: translateX(-40px);
  transform-origin: bottom left;
  overflow: hidden;
}

/*
.hero-section .hero-section-header::after{
    content: '';
    position: absolute;
    top: 100%;
    left: 500px;
    width: 0;
    height: 0;
    border-top: 45px solid #02203C;
    border-right: 70px solid transparent;
    transform: rotate(0deg) translateY(-10px);
}
*/

.hero-section .hero-section-header-pin {
  position: absolute;
  top: 70%;
  left: 460px;
  width: 0;
  height: 0;
  /*border-top: 45px solid #02203c;*/
  border-top: 45px solid #102a43;
  border-right: 70px solid transparent;
  transform: rotate(0deg) translateY(-10px);
  z-index: -1;
}

/* Profile Picture */
.profile-picture-frame {
  position: relative;
  width: 280px;
  height: 280px;
  border-radius: 50%;
  border: 7px solid white;
  flex-shrink: 0;
}

.profile-picture-frame img {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  width: 100%;
  height: 100%;
  padding: 0px;
  object-fit: cover;
  overflow: hidden;
  background-repeat: no-repeat;
  border-radius: inherit;
}

/* Profile Info */
.hero-section-header .profile-info {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: flex-start;
  color: white;
  margin-right: auto;
  margin-left: 20px;
  height: 280px;
  padding: 15px 0px;
  max-width: 300px;
  min-width: 240px; /*300px*/
}

.fixed-wall {
  display: block;
  width: 60px;
  min-width: 60px;
}

.profile-info .info-row {
  font-weight: bold;
  line-height: 1.2;
}

#info-row--name {
  font-size: 4rem;
  white-space: nowrap;
}

#info-row--title {
  font-size: 1.35rem;
  padding-top: 5px;
  padding-bottom: 10px;
}

#info-row--description {
  font-size: 1rem;
  font-weight: 500;
  opacity: 0.75;
  padding: 5px 0px;
}

/* Circuit */
.hero-section-header .circuit {
  position: absolute;
  right: -25px;
  transform-origin: center right;
  transform: scaleX(-1) scale(0.7) translateX(100%);
}

/* --- Section 2.  Prompt --- */
.hero-section-prompt-container {
  position: absolute;
  perspective: 600px;
  top: 65px;
  right: 85px;
  width: 380px;
  height: 370px;
  transform-origin: center right;
  display: flex;
}

.hero-section .hero-section-prompt {
  border-radius: 10px;
  height: 100%;
  width: 100%;
  border: 1px solid black;
  background-color: #15314b;
  display: flex;
  flex-direction: column;
  transform: rotateY(-20deg) rotateX(5deg);
  transition: all 0.25s ease;
  overflow: hidden;
  align-self: center;
  opacity: 1;
}

/*.hero-section .hero-section-prompt:focus,*/
.hero-section .hero-section-prompt.is-focused {
  box-shadow: 0px 5px 15px 0 rgb(255 255 255 / 30%);
  outline: 0;
  /*outline: white auto 1px;*/
}

.hero-section-prompt.is-closed {
  height: 0;
  opacity: 0.5;
  border: none;
}

.hero-section-prompt .prompt-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: white;
  margin: 6px 14px;
}

.prompt-header .prompt-name {
  font-weight: 700;
  font-size: 0.9rem;
}

.hero-section-prompt .prompt-console {
  background-color: black;
  margin-left: 4px;
  margin-right: 4px;
  margin-bottom: 4px;
  border-bottom-left-radius: 6px;
  border-bottom-right-radius: 6px;
  display: flex;
  flex-direction: column;
  padding: 10px 0px;
  line-height: 1.25;
  flex-grow: 1;
  overflow-x: hidden;
  overflow-y: overlay;
}

.prompt-console .console-line {
  padding: 3px 15px;
  font-family: Consolas;
  font-size: 1rem;
  font-weight: 300;
  color: white;
}

.prompt-console .console-line.is-invisible {
  visibility: hidden;
}

.prompt-console .blinking-underline.is-invisible {
  visibility: hidden;
}

/* --- Section 3. Animated Gif --- */
.hero-section .hero-section-gif {
  position: absolute;
  bottom: 0;
  left: 285px;
  width: 300px;
  height: 165px;
  overflow: hidden;
  /*clip-path: polygon(0 0, 100% 0, 100% 50%, 0 50%);*/
}

.hero-section .hero-section-gif img {
  width: 100%;
}

/* -------------------- About Section -------------------- */

.about-section {
  position: relative;
  width: 100%;
  background-color: #eff6fa;
  border-top-right-radius: 333px;
  padding: 50px 80px;
  padding-bottom: 70px;
}

.about-section-pin {
  position: absolute;
  top: 0;
  left: -82px;
}

.about-section-pin img {
  position: absolute;
  top: 0;
  left: 50%;
  width: 23%;
  transform: translateX(-47%) translateY(22px); /*23.785*/
}

.about-section-header {
  color: #02203c;
  margin-left: 150px;
}

.about-section-title {
  font-size: 3.125rem;
  font-weight: 700;
  transition: all 0.15s ease-in-out;
}

.about-section-subtitle {
  font-size: 1.46rem;
  font-weight: 700;
  opacity: 0.85;
  margin-left: 45px;
  transition: all 0.15s ease-in-out;
}

.about-section .circuit.top-right {
  position: absolute;
  top: -84px;
  right: -100px;
}

.about-section .circuit.bottom-left {
  position: absolute;
  bottom: -180px;
  left: -200px;
  transform: scale(-1) rotate(45deg);
}

.about-section .about-section-content {
  position: relative;
  margin-top: 70px;
}

.about-section-content .card-info {
  width: 600px;
  height: 390px;
  border-radius: 48px;
  padding: 35px 60px;
  display: flex;
  flex-direction: column;
  position: relative;
  /*transition: all 0.15s ease-in-out;*/
}

#card-info-introduction {
  background-color: white;
  margin-right: auto;
  overflow: hidden;
}

#card-info-introduction .card-header {
  color: #02203c;
}

.card-title {
  font-size: 2.1rem;
  font-weight: 700;
  transition: all 0.15s ease-in-out;
}

.card-menu {
  display: flex;
  align-items: center;
  margin: 30px 0;
  transition: all 0.15s ease-in-out;
}

.card-tab {
  font-size: 1.35rem;
  font-weight: 700;
  margin-right: 40px;
  cursor: pointer;
  padding-bottom: 7.5px;
  position: relative;
  transition: all 0.15s ease-in-out;
}

.card-tab.is-visited:after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  bottom: 0;
  right: 0;
  border-bottom: 2.5px solid #02203c;
  transition: all 200ms ease-in-out;
  transform: scaleX(0.8);
}

.card-tab-content {
  display: none;
}

#card-info-introduction .card-content {
  font-size: 1.1rem;
  color: #02203c;
  opacity: 0.7;
  font-weight: 700;
  line-height: 1.3;
  text-align: justify;
  transition: all 0.15s ease-in-out;
}

#card-info-introduction .circuit {
  position: absolute;
  top: 23px;
  right: 0;
  transition: all 0.15s ease-in-out;
}

/* Skills Card */
#card-info-skills {
  /*background-color: #02203c;*/
  background: radial-gradient(#1a3651, #02111f);
  margin-left: auto;
  margin-top: -130px;
  overflow: hidden;
}

#card-info-skills .card-header {
  color: white;
}

#card-info-skills .card-content {
  display: flex;
  flex-direction: column;
  flex-wrap: wrap;
  overflow: hidden;
  margin-top: 30px;
  margin-left: -15px;
  margin-right: -15px;
}

.skill-element {
  display: flex;
  justify-content: flex-start;
  align-items: center;
  width: 230px;
  height: 43px;
  margin-bottom: 20px;
  margin-right: 50px;
}

.skill-element .skill-icon {
  width: 40px;
  height: 40px;
  display: flex;
  justify-content: center;
  align-items: center;
}

.skill-element .skill-icon img {
  height: 100%;
}

.skill-element .skill-text {
  color: white;
  margin-left: 20px;
  display: flex;
  flex-direction: column;
  justify-content: space-around;
  height: 100%;
}

#card-info-skills .circuit {
  position: absolute;
  bottom: 23px;
  right: 0;
  transform: scaleY(-1);
}

/* -------------------- Projects Section -------------------- */
.about-section::before {
  content: "";
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  height: 233px;
  background-color: #eff6fa;
}

.projects-section {
  position: relative;
  width: 100%;
  /*background-color: #02203c;*/
  background: radial-gradient(rgb(26, 54, 81), rgb(2, 17, 31));
  border-top-left-radius: 133px;
  border-top-right-radius: 133px;
  padding: 50px 80px;
  padding-bottom: 80px;
  margin-top: 70px;
}

.projects-section-pin {
  position: absolute;
  top: -90px;
  left: -60px;
  transform-origin: center left;
}

.projects-section .circuit {
  position: absolute;
  top: 125px;
  left: -55px;
  transform-origin: center left;
}

.projects-section .microcontroller {
  position: absolute;
  bottom: -200px;
  right: -80px;
  transform: rotate(45deg);
}

.projects-section .microcontroller img {
  width: 600px;
  opacity: 0.1;
}

.projects-section-header {
  color: white;
  margin-left: 150px;
  display: flex;
  align-items: baseline;
  transition: all 0.15s ease-in-out;
}

.projects-section-title {
  font-size: 3.125rem;
  font-weight: 700;
  transition: all 0.15s ease-in-out;
}

.projects-section-subtitle {
  font-size: 1.46rem;
  font-weight: 700;
  margin-left: 45px;
  white-space: nowrap;
  opacity: 0.85;
  transition: all 0.15s ease-in-out;
}

.projects-section-subheader {
  margin-top: 30px;
  margin-left: 150px;
  display: flex;
  align-items: center;
  transition: all 0.15s ease-in-out;
}

.projects-section-description {
  font-size: 1.05rem;
  font-weight: 700;
  line-height: 1.5;
  color: white;
  width: 50%;
  min-width: 520px;
  text-align: justify;
}

.coding-networks {
  flex-grow: 1;
  display: flex;
  justify-content: flex-end;
  align-items: center;
  align-self: center;
  margin-right: 24px;
}

.coding-networks .link-button {
  /*border: 1px solid #221e41;*/
  border-radius: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
}

.coding-networks a:not(:last-of-type) {
  margin-right: 20px;
}

.coding-networks .link-button:hover {
  opacity: 0.7;
}

.coding-networks .link-button:hover svg {
  fill: white;
}

.projects-section .projects-section-content {
  position: relative;
  display: flex;
  flex-direction: column;
}

.projects-menu {
  display: flex;
  align-items: center;
  margin-top: 50px;
  margin-left: 150px;
  transition: all 0.15s ease-in-out;
}

.projects-menu > ul {
  display: flex;
  align-items: center;
  width: 100%;
}

.projects-tab {
  font-size: 1.2rem;
  font-weight: 700;
  margin-right: 60px;
  cursor: pointer;
  padding: 10px 0;
  position: relative;
  transition: all 0.15s ease-in-out;
  color: white;
  white-space: nowrap;
  z-index: 1;
}

.projects-tab:not(.is-visited)::after {
  content: "";
  position: absolute;
  top: -5px;
  left: -20px;
  right: -20px;
  bottom: -5px;
  background-color: transparent;
  border-radius: 1000px;
  transition: all 0.15s ease-in-out;
  z-index: -1;
}

.projects-tab:not(.is-visited):hover::after {
  background-color: rgba(0, 0, 0, 0.25);
}

.projects-tab > span {
  display: block;
  transition: all 0.2s ease-in-out;
}

.projects-tab:not(.is-visited):hover > span {
  transform: scale(0.9);
}

/*
.projects-tab:hover{
    transform: scale(1.1);
}
*/

.projects-tab.is-visited:after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  bottom: 0;
  right: 0;
  border-bottom: 2.5px solid white;
  transition: all 0.15s ease-in-out;
  transform: scaleX(0.8);
  /*transform-origin: bottom;*/
}

.projects-tab.is-visited.pre-animation:after {
  border-width: 0;
  transform: scaleY(0);
}

/* Project Slideshow */
.projects-slideshow {
  margin-top: 120px;
  display: flex;
  flex-direction: column;
  align-self: center;
}

.projects-content {
  display: flex;
  align-items: center;
  height: 240px;
}

.projects-template {
  display: flex;
  height: 100%;
  position: relative;
  overflow: hidden;
}

.projects-template > .project-image,
.projects-template > .project-info {
  visibility: hidden;
}

.projects-template .project-card {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  display: flex;
  height: 100%;
  transition: all 0.3s ease;
}

.projects-handle {
  width: 150px;
  flex-shrink: 0;
  display: flex;
  justify-content: flex-start;
  align-items: center;
  padding-left: 50px;
}

.projects-handle.is-disabled {
  pointer-events: none;
}

.projects-handle.is-disabled svg {
  fill: rgba(255, 255, 255, 0.25) !important;
}

.projects-handle svg {
  transition: all 0.25s ease;
}

.projects-handle svg:hover {
  cursor: pointer;
  transform: scale(1.25);
}

.projects-handle.left {
  transform: scaleX(-1);
}

.project-image {
  position: relative;
  width: 336px;
  height: 100%;
  /*background-color: #ddd;*/
  background-color: #eff6fa;
  border-radius: 25px;
  flex-shrink: 0;
  user-select: none;
  overflow: hidden;
}

.project-image img {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  width: 100%;
  height: 100%;
  padding: 0px;
  object-fit: cover;
  overflow: hidden;
  background-repeat: no-repeat;
  border-radius: inherit;
}

.project-info {
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: flex-start;
  align-self: flex-start;
  color: white;
  margin-left: 60px;
  padding: 10px 0;
  height: 100%;
  width: 336px;
  text-align: justify;
}

.project-info-header {
  display: flex;
  align-items: center;
  gap: 10px;
}

.project-info .project-name {
  font-size: 1.4rem;
  font-weight: 700;
  text-decoration: none;
  color: white;
}

.project-info .project-name.is-link:hover {
  color: #1e8de5;
}

.project-info .project-description {
  font-size: 1.1rem;
  font-weight: 600;
  line-height: 1.3;
  opacity: 0.7;
  margin-top: 20px;
}

.projects-selector {
  display: flex;
  justify-content: center;
  align-items: center;
  margin-top: 60px;
}

.projects-selector .selector {
  width: 8px;
  height: 8px;
  background-color: white;
  border-radius: 100%;
  cursor: pointer;
  margin-left: 7.5px;
  margin-right: 7.5px;
}

.projects-selector .selector:not(:last-of-type) {
  /*margin-right: 15px;*/
}

.projects-selector .selector.is-visited {
  background-color: #2096f3;
}

/* -------------------- Contact Section -------------------- */
.projects-section::before {
  content: "";
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  height: 375px;
  /* background-color: #02203c; */
  background: radial-gradient(rgb(26, 54, 81), rgb(2, 17, 31));
}

.contact-section {
  position: relative;
  height: 345px;
  width: calc(100% - 80px);
  margin-left: 80px;
  background-color: #2096f3;
  border-top-left-radius: 133px;
  margin-top: 30px;
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

.contact-section .circuit {
  position: absolute;
  top: -42px;
  right: -55px;
  transform: scaleX(-1);
}

.contact-section .line {
  position: absolute;
  bottom: 60px;
  left: -80px;
  transform-origin: center right;
}

.contact-section-content {
  height: calc(100% - 70px);
  display: flex;
  align-items: center;
}

.contact-section-header {
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: flex-start;
  color: white;
  width: 420px;
  padding-top: 60px;
  padding-left: 120px;
  padding-bottom: 60px;
  height: 100%;
}

.contact-section-header .title {
  font-size: 2.3rem;
  font-weight: 700;
  line-height: 1.3;
  margin-bottom: 20px;
}

.contact-section-header .subtitle {
  font-size: 1rem;
  font-weight: 400;
  line-height: 1.3;
  width: 300px;
}

.contact-section-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-grow: 1;
  color: white;
  margin-left: 120px;
  margin-right: 120px;
  position: relative;
}

.contact-section-footer .credits {
  font-size: 0.75rem;
  font-weight: 400;
  opacity: 0.7;
  line-height: 1.4;
}

.contact-section-footer .contact-info {
  font-size: 0.75rem;
  font-weight: 400;
  opacity: 0.7;
  visibility: visible;
  display: flex;
  justify-content: center;
  margin-left: 30px;
  margin-right: 30px;
}

.contact-section-footer .contact-info .email {
}

.contact-section-footer .contact-info .phone {
  margin-left: 40px;
}

.contact-section .social-networks {
  visibility: visible;
}

/* ------------------------------------------------------------ */
/* -------------------- Responsive changes -------------------- */
/* ------------------------------------------------------------ */
/* --- 1. Max Width 1280. When page width becomes less than 1280 px the hero section content slowly begins to narrow down to make more room --- */
@media (max-width: 1280px) {
  .page-menu-right {
    border-bottom-right-radius: 0;
  }

  .hero-section-header .profile-info {
    margin-left: auto;
    margin-right: auto;
  }

  .hero-section .hero-section-header {
    padding-right: 325px;
    justify-content: flex-end;
    padding-left: 35px;
    min-width: 1000px; /*1060px*/
  }

  .profile-picture-frame {
    margin-left: auto;
  }

  .page-menu .menu-item {
    margin: 0 1.328125vw;
  }

  /*
    .hero-section{
        overflow: hidden;
    }
    */

  .about-section {
    /*overflow: hidden;*/
  }

  /* Projects Section */
  .projects-tab {
    margin-right: 4.6875vw;
  }

  .projects-section-header,
  .projects-section-subheader,
  .projects-menu {
    margin-left: 10vw;
  }

  .projects-handle {
    padding-left: 3.90625vw;
  }

  .project-info {
    margin-left: 4.6875vw;
  }

  /* Contact Section */
  .contact-section {
    margin-left: 6.25vw;
    width: calc(100% - 6.25%);
  }

  .contact-section-header {
    padding-left: 9.5vw;
  }

  .contact-section-footer {
    margin-left: 9.5vw;
    margin-right: 9.5vw;
  }

  .contact-section-footer .contact-info .email {
  }

  .contact-section-footer .contact-info .phone {
    margin-left: 3.125vw;
  }
}

/* --- 2. Max Width 1202. When page width becomes less than 1202 px the info row that states the subject's name becomes smaller to maintain profile info proportions --- */
@media (max-width: 1202px) {
  /*#info-row--name{
        font-size: 3rem!important;
    }*/
}

/* --- 3. Max Width 1100. When page width becomes less than 1100 px some layout changes are made to keep a respectable content/area ratio --- */
/* --- Responsive change on menu navbar. Javascript is used in the backend. --- */
.page-menu-navbar.dropdown {
  display: flex;
  flex-direction: column;
  position: absolute;
  background-color: #fafaff;
  padding: 25px;
  padding-top: 65px;
  top: 0;
  z-index: 1;
  border-bottom-left-radius: 80px;
  border-bottom-right-radius: 80px;
  box-shadow: 0 5px 15px 0 rgb(0 0 0 / 10%), inset 0 -1px 1px 0 rgb(0 0 0 / 10%) !important;
  width: auto;
  user-select: none;
  overflow: hidden;
  transition: all 0.25s ease-in-out;
  opacity: 1;
}

.page-menu-navbar.dropdown.is-collapsed {
  height: 0px !important;
  padding: 0px !important;
  opacity: 0 !important;
}

.page-menu-navbar.dropdown ul {
  flex-direction: column;
}

.page-menu-navbar.dropdown ul li {
  padding: 15px;
}

/* Custom changes for action buttons */
.page-menu-navbar.dropdown .action-button {
  display: flex !important;
  margin: 15px 0;
}

@media (max-width: 1109px) {
  #card-info-skills {
    margin-top: 70px !important;
  }
}

/* --- CSS changes --- */
@media (max-width: 1100px) {
  /* Whole menu disappears and a menu button appears to toggle it's visibility */
  .page-menu-header .logo-frame,
  .page-menu-navbar {
    display: none;
  }

  .page-menu-header {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-grow: 1;
  }

  .page-menu-header .logo-frame {
    width: 30px;
    height: 30px;
    margin-right: 0px;
    font-size: 0.9rem;
  }

  #menu-button {
    display: flex !important;
  }

  #menu-button .button-content {
    /*opacity: 1;*/
    transition: opacity 0.25s ease-in-out;
  }

  #menu-button.is-closed #close-menu-button-content {
    display: none;
  }

  #menu-button:not(.is-closed) #open-menu-button-content {
    display: none;
  }

  #menu-button.disappear .button-content {
    /* optional */
    opacity: 0 !important;
  }

  #close-menu-button-content {
    background-color: transparent;
    border: 1.5px solid #02203c !important;
    color: #02203c;
    padding: 8.5px 20px;
  }

  /* Other changes */
  .page-menu-right {
    width: 50%;
  }

  .hero-section-header {
    padding-right: 265px !important;
  }

  #info-row--name {
    font-size: 4rem !important;
  }

  .hero-section-prompt-container {
    /*display: none;*/
  }

  /*Projects Section*/
  /*
    .projects-tab{
        font-size: 0.9rem;
        margin-right: 45px;
        padding: 8px 0;
    }

    .projects-tab.is-visited:after{
        border-width: 1.875px;
    }

    .projects-menu .action-button:not(.filter-button){
        margin-right: 16px;
    }

    .projects-menu .action-button:not(.filter-button) .button-content{
        padding: 7.5px 22.5px;
    }
    
    .projects-menu .action-button:not(.filter-button) .button-content .button-text{
        font-size: 0.825rem;
        font-weight: 700;
    }

    .projects-slideshow{
        margin-top: 112px;
    }

    .projects-content{
        height: 208px;
    }

    .projects-handle{
        padding-left: 40px;
    }

    .projects-handle svg{
        width: 40px;
        height: 40px;
    }

    .project-image{
        width: 291px;
        border-radius: 20px;
    }

    .project-info{
        margin-left: 64px;
        padding: 8px 0;
        min-width: 296px;
    }

    .project-info .project-name{
        font-size: 1.3rem;
    }

    .project-info .project-description{
        font-size: 1rem;
        margin-top: 16px;
    }

    .projects-slideshow .action-button .button-content{
        padding: 10px 20px;
        padding-right: 12px!important;
    }
    
    .projects-slideshow .action-button .button-content .button-text{
        font-size: 0.9rem;
    }

    .projects-slideshow .action-button .button-content .button-icon{
        margin-left: 6.4px!important;
        transform: translateY(1.6px)!important;
    }

    .projects-slideshow .action-button .button-content .button-icon svg{
        width: 16px;
        height: 16px;
    }

    .projects-selector{
        margin-top: 56px;
    }
*/
}

@media (max-width: 1000px) {
  .about-section > .circuit {
    display: none;
  }

  .projects-section > .circuit {
    /*display: none;*/
  }
}

/* --- 4. Max Width 921. At this exact size the header area is proportional to the page's sides and changes are made to impose a fixed width to the hero section header --- */

@media (max-width: 921px) {
  .hero-section {
    /*overflow: hidden;*/
  }

  .hero-section-header {
    min-width: 0 !important;
    width: calc(100vw + 80px) !important;
    padding-right: 35px !important;
    justify-content: flex-start !important;
  }

  .profile-picture-frame {
    margin: 0 !important;
  }

  .profile-info {
    margin: 0 !important;
  }

  .about-section-header {
    margin-left: 16.3vw;
  }
}

@media (max-width: 950px) {
  /*Projects Section*/

  .projects-section-title {
    font-size: 2.35rem !important;
  }

  .projects-section-subtitle {
    font-size: 1.168rem !important;
    margin-left: 33.75px !important;
  }

  .projects-section-description {
    font-size: 0.8rem;
    width: 400px;
    min-width: auto;
  }

  .projects-section > .circuit {
    display: none;
  }

  .coding-networks {
    margin-right: 12px;
  }

  .coding-networks .link-button svg {
    width: 22.5px;
    height: 22.5px;
  }

  .projects-tab {
    font-size: 0.9rem;
    margin-right: 45px;
    padding: 8px 0;
  }

  .projects-tab:not(.is-visited)::after {
    top: -3px;
    left: -15px;
    right: -15px;
    bottom: -3px;
  }

  .projects-tab.is-visited:after {
    border-width: 1.875px;
  }

  .projects-menu .action-button:not(.filter-button) .button-content {
    padding: 7.5px 22.5px;
  }

  .projects-menu
    .action-button:not(.filter-button)
    .button-content
    .button-text {
    font-size: 0.825rem;
    font-weight: 700;
  }

  .projects-slideshow {
    margin-top: 75px;
  }

  .projects-content {
    height: 500px;
  }

  .projects-template,
  .project-card {
    flex-direction: column;
    align-items: center;
  }

  .projects-template .project-image {
    height: 240px;
    width: 336px;
    border-radius: 25px;
  }

  .project-info {
    margin-left: 0;
    margin-top: 40px;
    width: 336px;
    padding: 0;
  }

  .projects-handle {
    padding-left: 4vw;
  }

  .projects-handle svg {
    width: 50px;
    height: 50px;
  }

  .project-info .project-name {
    font-size: 1.4rem;
  }

  .project-info .project-description {
    font-size: 1.1rem;
    margin-top: 20px;
  }

  .projects-slideshow .action-button .button-content {
    padding: 10px 24px;
    padding-right: 15px !important;
  }

  .projects-slideshow .action-button .button-content .button-text {
    font-size: 1.1rem;
  }

  .projects-slideshow .action-button .button-content .button-icon {
    margin-left: 8px !important;
    transform: translateY(1px) !important;
  }

  .projects-slideshow .action-button .button-content .button-icon svg {
    width: 20px;
    height: 20px;
  }

  .projects-selector {
    margin-top: 45px; /* *** */
  }

  /*Contact Section*/
  .projects-section::before {
    height: 320px;
  }

  .contact-section {
    height: 290px;
  }

  .contact-section-header {
    width: 335px;
    padding-top: 45px;
    padding-bottom: 45px;
    padding-left: 11vw;
  }

  .contact-section-header .title {
    font-size: 1.725rem;
    margin-bottom: 15px;
  }

  .contact-section-header .subtitle {
    font-size: 0.9rem;
    width: 260px;
  }

  .contact-section .action-button .button-content {
    padding: 9.375px 18.75px;
    padding-right: 11.25px !important;
  }

  .contact-section .action-button .button-content .button-text {
    font-size: 0.9rem;
  }

  .contact-section .action-button .button-content .button-icon {
    margin-left: 7.5px !important;
    transform: translateY(1px) !important;
  }

  .contact-section .action-button .button-content .button-icon svg {
    width: 18.75px;
    height: 18.75px;
  }

  .contact-section-footer {
    margin-left: 11vw;
    margin-right: 11vw;
  }

  .contact-section-footer .credits {
    font-size: 0.65rem;
  }

  .contact-section-footer .contact-info {
    font-size: 0.65rem;
    flex-direction: column;
    flex-shrink: 0;
  }

  .contact-section-footer .contact-info .email {
    margin-bottom: 3px;
  }

  .contact-section-footer .contact-info .phone {
    margin-left: 0;
  }

  .contact-section-footer .social-networks {
    /*margin-right: 15px;*/
  }

  .contact-section-footer .social-networks .link-button {
    width: 30px;
    height: 30px;
  }

  .contact-section-footer .social-networks svg {
    width: 15px;
    height: 15px;
  }
}

/* --- 5. Max Width 800. When page width becomes less than 800 px the hero section header will begin to narrow equally from both page sides --- */

@media (max-width: 800px) {
  /*750px*/
  .hero-section-header {
    margin-right: 0 !important;
    margin-left: 50% !important;
    transform: translateX(-50%) !important;
    min-width: 880px !important; /*830px*/
  }
}

/* --- 5. Max Width 750. When page width becomes less than 750 px the wide phone layout kicks in --- */
.bottom-menu {
  display: none;
}

@media (max-width: 760px) {
  .page-content {
    /*background-color: #02203c;*/
    background-color: #031629;
  }
  .page-menu {
    display: none;
  }

  .hero-section {
    padding-top: 0;
    height: calc(721.6px - 60px);
  }

  .hero-section-header {
    width: 100vw !important;
    transform: none !important;
    margin: 0 !important;
    border-radius: 0 !important;
    padding: 60px !important;
    flex-direction: column;
    align-items: flex-start !important;
    min-width: auto !important;
    height: 100%;
  }

  .hero-section-header .action-button {
    margin-top: 23px;
  }

  .profile-info {
    padding-top: 0px !important;
    padding-bottom: 0 !important;
    max-width: 350px !important;
    justify-content: flex-end !important;
  }

  .hero-section-header .circuit {
    /*transform: scaleX(-1) scale(1) translateX(90%) translateY(-7.5%)!important;*/
  }

  .hero-section-header-pin,
  .hero-section .hero-section-gif,
  .fixed-wall {
    display: none;
  }

  /* Bottom Menu */
  .bottom-menu {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 60px;
    background-color: white;
    /*background-color: #FAFAFF;*/
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 1;
    padding: 0 60px;
    box-shadow: 0 -5px 20px 0 rgb(0 0 0 / 10%),
      inset 0 -1px 1px 0 rgb(0 0 0 / 10%);
  }

  .bottom-menu .logo-frame {
    width: 35px;
    height: 35px;
    font-size: 0.9rem;
    font-weight: bold;
  }

  .bottom-menu .menu-popup {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    height: auto;
    width: 100%;
    left: 0;
    right: 0;
    top: 100%;
    transform: translateY(calc(100% + 1px));
    transition: transform 0.25s ease-in-out;
    display: flex !important;
    position: absolute;
    background-color: white;
    box-shadow: 0 -15px 15px -15px rgb(0 0 0 / 10%);
    padding: 0 10px;
  }

  .bottom-menu .menu-popup.is-visible {
    transform: translateY(-100%);
  }

  .menu-popup-content {
    display: flex;
    justify-content: space-around;
    flex-wrap: wrap;
    margin-top: 30px;
    margin-bottom: 30px;
  }

  .menu-items-row {
    display: flex;
    justify-content: space-around;
    width: 50%;
  }

  .bottom-menu .menu-item {
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    margin: 0px;
    color: #02203c;
    opacity: 1;
    letter-spacing: 1px;
    line-height: 25px;
    font-weight: bold;
    background: none;
    transition: all 200ms ease-in-out;
    flex-grow: 1;
    flex-basis: 100%;
    cursor: default;
    border-radius: 20px;
  }

  .bottom-menu .menu-item-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    transition: all 0.25s ease;
    position: relative;
  }

  .bottom-menu .menu-item-content::after {
    content: "";
    position: absolute;
    top: -15px;
    left: -15px;
    right: -15px;
    bottom: -15px;
    background-color: transparent;
    border-radius: 10px;
    transition: all 0.25s ease;
  }

  .bottom-menu .menu-item.is-active .menu-item-content::after {
    background-color: rgba(0, 0, 0, 0.06);
  }

  .bottom-menu .menu-item.is-active .menu-item-content svg {
    /*stroke-width: 1;*/
  }

  .bottom-menu .action-button {
    transition: all 0.25s ease;
  }

  .bottom-menu /*.menu-item:not(.is-active)*/ .menu-item-content:hover,
  .bottom-menu .action-button:hover {
    cursor: pointer;
    transform: scale(1.2);
  }

  .bottom-menu .menu-item-icon {
  }

  .bottom-menu .menu-item-text {
    font-size: 1.05rem;
  }

  .menu-popup-footer {
    height: 60px;
    display: flex;
    justify-content: flex-end;
    align-items: center;
  }

  .profile-picture-frame {
    margin-left: 80px !important;
  }

  .hero-section-header .social-networks {
    flex-direction: column;
    position: absolute;
    top: 200px;
    left: 60px;
    transform: translateY(-50%);
    gap: 0;
  }

  .hero-section-header .social-networks .link-button {
    width: auto;
    height: auto;
    padding: 20px 0;
  }

  .about-section {
    padding-left: 0;
    padding-right: 0;
    border-bottom: 1px solid #ddd;
  }

  .about-section::before {
    top: calc(100% + 1px);
  }

  .card-info {
    margin-right: auto;
    margin-left: auto;
    transition: all 0.15s ease-in-out;
  }

  .about-section-header {
    margin-left: 60px;
    /*margin-left: 0;
        display: flex;
        justify-content: center;
        align-items: baseline;*/
  }

  .about-section-pin {
    display: none;
  }

  .about-section-content {
    /*margin-bottom: 60px;*/
  }

  #card-info-introduction {
    margin-left: 0;
    border-top-left-radius: 0;
    border-bottom-left-radius: 0;
  }

  #card-info-skills {
    margin-right: 0;
    border-top-right-radius: 0;
    border-bottom-right-radius: 0;
  }

  /*Projects Section*/
  .projects-section {
    padding-left: 0;
    padding-right: 0;
    border-top-left-radius: 0;
    overflow: hidden;
  }

  .projects-section-pin {
    display: none;
  }

  .projects-section-header,
  .projects-section-subheader {
    margin-left: 60px;
    transition: none;
  }

  /*Projects Section*/
  .projects-menu {
    margin-left: 60px !important;
    margin-right: 60px;
    transition: none;
  }

  .projects-tab {
    margin-right: 5.92vw;
  }

  .coding-networks {
    margin-right: 75px;
  }

  .projects-menu .action-button:not(.filter-button) {
    /*margin-left: 2.5vw;*/
    margin-right: 0;
  }

  /*Contact Section*/
  .projects-section::before {
    height: 380px;
  }

  .contact-section {
    margin-bottom: 60px;
    margin-top: 0;
    margin-left: 0;
    width: 100%;
  }
}

@media (max-width: 700px) {
  /*
    #card-info-introduction{
        margin-left: 0;
        border-top-left-radius: 0;
        border-bottom-left-radius: 0;
    }

    #card-info-skills{
        margin-right: 0;
        border-top-right-radius: 0;
        border-bottom-right-radius: 0;
    }
    */
}

@media (max-width: 550px) {
  .hero-section {
    height: 580px !important;
  }

  .hero-section-header {
    padding: 50px 40px !important;
  }

  .hero-section-header .profile-picture-frame {
    width: 235px;
    height: 235px;
    margin-left: 16vw !important;
  }

  .hero-section-header .profile-info {
    max-width: 300px !important;
  }

  .hero-section-header #info-row--name {
    font-size: 3rem !important;
  }

  .hero-section-header #info-row--title {
    font-size: 1.15rem !important;
  }

  .hero-section-header #info-row--description {
    font-size: 0.9rem !important;
  }

  .hero-section-header .social-networks {
    top: 167.5px;
    left: 40px;
  }
}

@media (max-width: 405px) {
  .hero-section-header .profile-picture-frame {
    align-self: center;
    margin-left: 0 !important;
  }

  .hero-section-header .social-networks {
    flex-direction: row;
    right: 10px;
    top: 25px;
    left: auto;
    transform: translateY(-50%);
  }

  .hero-section-header .social-networks .link-button {
    padding: 0;
    width: 38px;
    height: 38px;
  }

  .hero-section-header .social-networks .link-button svg {
    width: 18px;
    height: 18px;
  }

  .hero-section-header .profile-info {
    width: 100%;
    min-width: 0 !important;
  }
}

@media (max-width: 660px) {
  /* schimbam la 0.7 tot */

  .about-section-header {
    margin-left: 40px;
    transition: all 0.15s ease-in-out;
  }

  .about-section-title {
    font-size: 2.35rem;
  }

  .about-section-subtitle {
    font-size: 1.168rem;
    margin-left: 33.75px;
  }

  .card-info {
    width: 420px !important;
    height: 273px !important;
    padding: 25px 40px !important;
  }

  #card-info-introduction {
    border-top-right-radius: 33.6px !important;
    border-bottom-right-radius: 33.6px !important;
  }

  #card-info-skills {
    border-top-left-radius: 33.6px !important;
    border-bottom-left-radius: 33.6px !important;
  }

  #card-info-introduction .card-title {
    /*.card-info .card-title*/
    font-size: 1.47rem;
  }

  #card-info-skills .card-title {
    /*.card-info .card-title*/
    font-size: 1.8rem;
    margin-left: 15px;
  }

  #card-info-introduction .card-menu {
    margin: 21px 0;
  }

  #card-info-introduction .card-tab {
    font-size: 0.945rem;
    margin-right: 28px;
    padding-bottom: 5.25px;
  }

  #card-info-introduction .card-tab.is-visited:after {
    border-width: 1.75px;
  }

  #card-info-introduction .card-content {
    font-size: 0.77rem;
    /*line-height: 1.2;*/
  }

  #card-info-introduction .action-button .button-content {
    padding: 10.5px 14px;
  }

  #card-info-introduction .action-button .button-content .button-text {
    font-size: 0.77rem;
  }

  #card-info-introduction .action-button .button-content .button-icon {
    transform: none !important;
  }

  #card-info-introduction .action-button .button-content .button-icon svg {
    width: 14px;
    height: 14px;
  }

  #card-info-introduction .circuit {
    transform: scale(0.7);
    transform-origin: top right;
  }

  #card-info-skills {
    height: auto !important;
    margin-top: 49px !important;
  }

  #card-info-skills .card-content {
    margin-left: 0;
    margin-right: 0;
    /*margin-bottom: 10px;*/
  }

  .skill-element {
    margin-right: 0;
  }

  .bottom-menu {
    padding: 0 40px;
  }

  .projects-slideshow {
    margin-top: 60px;
  }

  .projects-content {
    height: 388px;
  }

  .projects-template .project-image {
    height: 188px;
    width: 264px;
    border-radius: 25px;
  }

  .project-info {
    margin-top: 30px;
    width: 264px;
  }

  .projects-handle {
    padding-left: 3vw;
  }

  .projects-handle svg {
    width: 30px;
    height: 30px;
  }

  .project-info .project-name {
    font-size: 1.2rem;
  }

  .project-info .project-description {
    font-size: 0.9rem;
    margin-top: 15px;
  }

  .projects-slideshow .action-button .button-content {
    padding: 7.5px 18px;
    padding-right: 12px !important;
  }

  .projects-slideshow .action-button .button-content .button-text {
    font-size: 0.825rem;
  }

  .projects-slideshow .action-button .button-content .button-icon {
    margin-left: 6.4px !important;
    transform: translateY(1.6px) !important;
  }

  .projects-slideshow .action-button .button-content .button-icon svg {
    width: 16px;
    height: 16px;
  }

  .projects-selector {
    margin-top: 36px; /* *** */
  }

  .projects-section-header,
  .projects-section-subheader {
    margin-left: 40px;
    margin-right: 40px;
  }

  .projects-section-title {
  }

  .projects-menu {
    margin-left: 40px !important;
    margin-right: 40px !important;
    transition: none;
  }

  .projects-menu > ul {
    display: none;
  }

  .projects-menu .action-button.filter-button {
    display: flex !important;
  }

  .coding-networks {
    margin-right: 0;
  }

  /*Contact Section*/
  .projects-section::before {
    height: 310px;
  }

  .contact-section {
    height: 280px;
  }

  .contact-section .circuit {
    display: none;
  }

  .contact-section-header {
    width: 60%;
  }

  .contact-section-header .subtitle {
    width: auto;
  }

  .contact-section .action-button {
    width: 40%;
    margin-left: auto !important;
    margin-right: auto !important;
    justify-content: center;
  }

  .contact-section-footer {
    /*margin-left: 8.7vw;
        margin-right: 8.7vw;*/
    margin-left: 40px;
    margin-right: 40px;
  }

  .contact-section-footer .social-networks {
    /*margin-right: -21px;*/
  }

  /*Menu Popup*/
  .menu-popup-content {
    flex-direction: column;
    justify-content: space-between;
  }

  .menu-items-row {
    width: 100%;
    justify-content: space-between;
  }

  .menu-items-row:first-of-type {
    margin-bottom: 30px;
  }
}

@media (max-width: 460px) {
  .about-section-content-background {
    content: "";
    display: block;
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: -80px;
    background-color: white;
    border-top-left-radius: 33.6px;
    border-top-right-radius: 33.6px;
  }

  #card-info-introduction {
    /*margin-right: 0;
        margin-left: auto;
        border-radius: 0!important;
        border-top-left-radius: 33.6px!important;
        border-bottom-left-radius: 33.6px!important;
        width: calc(100% - 20px)!important;
        height: auto!important;
        transition: none;
        padding-right: 8.69vw!important;
        padding-left: 8.69vw!important;*/
    width: 100% !important;
    height: auto !important;
    border-radius: 0 !important;
    transition: none;
  }

  #card-info-introduction .circuit {
    transition: none;
  }

  #card-info-introduction .action-button {
    margin-top: 36px;
  }

  #card-info-skills {
    width: calc(100% - 40px) !important;
    margin-left: auto;
    transition: none;
    /*margin-top: 20px!important;*/
  }

  .about-section-header,
  .projects-section-header {
    display: flex;
    flex-direction: column;
  }

  .about-section-subtitle,
  .projects-section-subtitle {
    /*margin-left: 0;*/
    margin-top: 5px;
  }

  .about-section-content {
    margin-top: 39.33px !important;
  }

  /*Projects Section */
  .projects-section .microcontroller {
    position: absolute;
    right: auto;
    left: 50%;
    transform: rotate(45deg) translateX(50%);
  }

  /*Contact Section*/
  .projects-section::before {
    height: 380px;
  }

  .contact-section {
    height: 350px;
  }

  .contact-section-content {
    flex-direction: column;
  }

  .contact-section-header {
    padding-left: 50px;
    padding-right: 50px;
    padding-bottom: 0;
    text-align: center;
    width: 100%;
    align-items: center;
  }

  .contact-section-header .subtitle {
    font-size: 1rem;
    width: 250px;
  }

  .contact-section .action-button {
    margin-bottom: 40px;
    margin-top: 30px;
    width: auto;
  }

  .contact-section-footer {
    margin-left: 40px;
    margin-right: 40px;
  }

  .contact-section-footer .contact-info {
    margin-right: 0;
  }

  .contact-section-footer .social-networks {
    display: none;
  }

  /*Menu Popup*/
  .menu-popup-content {
    flex-direction: column;
    justify-content: space-between;
    margin-top: 22.5px;
    margin-bottom: 22.5px;
  }

  .menu-items-row {
  }

  .menu-items-row:first-of-type {
    margin-bottom: 22.5px;
  }

  .bottom-menu .menu-item {
  }

  .bottom-menu .menu-item-icon svg {
    width: 18.75px;
    height: 18.75px;
  }

  .bottom-menu .menu-item-text {
    font-size: 0.825rem;
  }
}

@media (max-width: 360px) {
  .contact-section-footer .credits {
    display: flex;
    flex-direction: column;
    flex-shrink: 0;
  }

  .contact-section-footer .credits .credits--1 {
    /*margin-bottom: 2px;*/
  }
}

@media (max-width: 346px) {
  /*
    .contact-section{
        margin-left: 50%;
        margin-right: 0;
        transform: translateX(-50%);
        min-width: 346px;
    }*/
}

/* ------------------------------------------------------------ */
/* -------------------------- Modal --------------------------- */
/* ------------------------------------------------------------ */

.modal {
  align-items: center;
  display: none;
  flex-direction: column;
  justify-content: center;
  overflow: visible; /**/
  position: fixed;
  transform: translate3d(0px, 0px, 0px);
  z-index: 500;
  bottom: 0;
  left: 0;
  right: 0;
  top: 0;
  transition: all 0.3s ease;
}

.modal::before {
  content: "";
  display: none;
  position: absolute;
  z-index: -1;
  top: -150px;
  left: 0;
  right: 0;
  bottom: -150px;
  background-color: white;
}

.modal.is-active {
  display: flex;
  opacity: 1;
}

.modal.pre-animation {
  opacity: 0;
}

.modal-background {
  background-color: rgba(10, 10, 10, 0.86);
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  top: 0;
}

.modal-card {
  display: flex;
  flex-direction: column;
  opacity: 1;
  overflow-y: overlay;
  overflow-x: hidden;
  transition: all 0.3s ease;
  position: relative;
}

.modal-card-wrapper {
  position: relative;
  height: 100% !important;
  min-height: unset !important;
}

#chat-modal .modal-close {
  z-index: 1;
  position: absolute;
  top: 56px;
  right: 56px;
  display: flex;
  opacity: 0.6;
  transition: opacity 0.2s;
  cursor: pointer;
}

#chat-modal .modal-close:hover {
  opacity: 1;
}

.modal-card .circuit {
  position: absolute;
  /*z-index: 1;*/
}

.modal-card-header {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.modal-card .title {
  font-size: 3rem;
  font-weight: 700;
}

.modal-card .subtitle {
  font-size: 1rem;
  font-weight: 400;
  line-height: 1.7;
  margin-top: 20px;
  margin-bottom: 20px;
  text-align: justify;
}

.modal-card-body {
  display: flex;
}

.modal-card .action-button {
}

.modal-card .action-button .button-content {
  background-color: #02203c;
  color: white;
  border-radius: 1000px;
  padding: 12.5px 25px;
  padding-right: 20px;
  border: 2px solid transparent;
}

#chat-modal .action-button .button-content {
  padding: 0;
  width: 180px;
  height: 50px;
}

#chat-modal .action-button.is-loading .button-content {
  background-color: #6b7b8a !important;
  border-color: transparent !important;
}

.modal-card .action-button .button-content .button-text {
  font-size: 1rem;
  font-weight: 600;
}

.modal-card .action-button:hover .button-content {
  background-color: transparent;
  border-color: #02203c;
  color: #02203c;
}

.modal-card .action-button:hover .button-content .button-icon svg {
  fill: #02203c !important;
  stroke: #02203c;
}

.modal-card-footer {
}

/* Chat Modal */
#chat-modal {
  min-height: 100vh;
}

#chat-modal .modal-card {
  width: 742px;
  height: 90vh;
  max-height: 918px;
  /* clip-path: path(
    "M30.723868,23.5811095 C144.050861,7.86036983 257.377853,0 370.704846,0 C484.031838,0 597.358831,7.86036982 710.685823,23.5811095 L710.685823,23.5811095 C717.704865,24.5547922 723.272289,32.000975 724.059029,41.467178 C735.626137,180.644785 741.409692,319.822393 741.409692,459 C741.409692,598.177607 735.626137,737.355214 724.059029,876.532821 L724.05903,876.532821 C723.27229,885.999025 717.704865,893.445208 710.685824,894.418891 C597.358831,910.139631 484.031838,918 370.704846,918 C257.377853,918 144.050861,910.139631 30.7238682,894.418891 L30.7238682,894.41889 C23.7048271,893.445208 18.1374026,885.999025 17.3506626,876.532822 C5.7835542,737.355215 0,598.177607 0,459 C0,319.822393 5.78355416,180.644786 17.3506625,41.4671796 L17.3506612,41.4671794 C18.1374013,32.0009757 23.7048263,24.5547922 30.723868,23.5811095 Z"
  ); */
  border-radius: 100px;
  background-color: white;
  z-index: 2;
}

#chat-modal .modal-card.pre-animation,
#folder-modal .modal-card.pre-animation {
  max-height: 0px;
  padding-top: 0;
  opacity: 0;
}

#chat-modal .modal-card-wrapper {
  padding: 120px 120px 0;
  padding-bottom: 87px;
  height: unset !important;
  overflow: hidden;
}

#chat-modal .circuit.top-left {
  top: 40px;
  left: -6px;
  transform: scaleX(-1);
}

#chat-modal .circuit.bottom-right {
  bottom: 40px;
  right: -6px;
  transform: scaleY(-1);
}

#chat-modal .modal-card-header {
  color: #02203c;
}

#chat-modal .modal-card-body {
  flex-direction: column;
  align-items: flex-start;
  height: 100%;
  overflow: overlay;
  padding: 0 18px;
}

#chat-modal .chat-form {
  width: 100%;
  margin-bottom: 10px;
}

#chat-modal .chat-form .form-input {
  width: 100%;
  padding-top: 20px;
  margin-bottom: 20px;
  position: relative;
  cursor: text;
}

#chat-modal .chat-form .form-input .form-input-label {
  position: absolute;
  z-index: 0;
  top: 23px;
  margin: 0;
  font-size: 14px;
  line-height: 1;
  letter-spacing: 0.5px;
  color: #02203c;
  transition: all 0.25s ease;
  font-weight: 400;
  opacity: 0.9;
  pointer-events: none;
}

#chat-modal .chat-form .form-input .form-input-label.focus {
  top: 6px;
  font-size: 9px;
  transition: all 0.25s ease;
}

#chat-modal .chat-form .form-input .input-text,
.modal-card .chat-form .form-input .input-textarea {
  height: 32px;
  width: 100%;
  padding-bottom: 10px;
  font-size: 0.9rem;
  line-height: 1;
  letter-spacing: 0.5px;
  color: #02203c;
  outline: 0;
  box-shadow: none;
  border: none;
  border-bottom: 1px solid rgba(2, 32, 60, 0.7);
  z-index: 1;
}

#chat-modal .chat-form .form-input .input-textarea {
  overflow: auto;
  overflow-wrap: break-word;
  resize: none;
  height: 100px !important;
  max-height: 100px !important;
  line-height: 1.5 !important;
  font-family: -apple-system, system-ui, -apple-system, BlinkMacSystemFont,
    Segoe UI, Roboto, Oxygen, Ubuntu, Cantarell, Droid Sans, Helvetica Neue,
    "Segoe UI", Roboto, Ubuntu, "Helvetica Neue", "Lucida Grande", sans-serif;
}

#chat-modal .chat-form .form-input .input-text:focus,
.modal-card .chat-form .form-input .input-textarea:focus {
  border-color: rgba(2, 32, 60, 1);
  border-width: 2px;
}

#chat-modal .g-recaptcha {
  margin-bottom: 40px;
}

#chat-modal .g-recaptcha > div {
  width: 280px !important;
}

/* Folder modal */
#folder-modal .modal-card {
  width: 1000px;
  height: 90vh;
  max-height: 760px;
  /*background-color: #15314b;*/
  background-color: white;
  border-radius: 30px;
  z-index: 0;
  display: flex;
  flex-direction: column;
}

#folder-modal .modal-card-wrapper {
  /*min-height: 750px;*/
  display: flex;
  flex-direction: column;
  /*background-color: #02203C;*/
  background-color: white;
}

#folder-modal .circuit.bottom-right {
  bottom: 40px;
  right: -6px;
  transform: scaleY(-1);
  transform-origin: right;
}

#folder-modal .modal-close {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  flex-grow: 1;
  position: absolute;
  right: 20px;
}

#folder-modal .modal-close svg {
  width: 20px;
  height: 20px;
  opacity: 0.6;
  transition: opacity 0.2s;
  cursor: pointer;
}

#folder-modal .modal-close svg:hover {
  opacity: 1;
}

#folder-modal .modal-card-header {
  color: white;
  /*background-color: #02203C;*/
  background-color: #eff6fa;
  flex-direction: row;
  align-items: center;
  height: 60px;
  min-height: 60px;
  box-shadow: 5px 10px 20px rgb(0 0 0 / 20%) inset;
  position: relative;
}

#folder-modal .modal-card-header::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  height: 100%;
  width: 30px;
  background-color: black;
}

/*
#folder-modal .modal-card-header > span{
    font-size: 1.2rem;
    margin-left: 50px;
    margin-top: 30px;
    font-weight: 600;
}
*/

#folder-modal .folder-tab {
  padding: 0 50px;
  display: flex;
  justify-content: center;
  align-items: center;
  cursor: pointer;
  height: 100%;
  transition: all 0.25s ease-in-out;
  opacity: 1;
  /*box-shadow: 0 5px 20px rgb(0 0 0 / 15%);*/
}

#folder-modal .folder-tab::before {
  transition: all 0.25s ease-in-out;
}

#folder-modal .folder-tab.is-invisible {
  /*visibility: hidden;*/
  opacity: 0;
  pointer-events: none;
}

#folder-modal .folder-tab.is-last {
  border-top-right-radius: 30px;
  border-bottom-right-radius: 0;
}

#folder-modal .folder-tab:not(.is-last) {
  border-top-right-radius: 0;
  border-bottom-right-radius: 30px;
}

#folder-modal .folder-tab.main {
  /*color: #02203C;*/
  color: white;
  /*background-color: white;*/
  background-color: #2e4b65;
  border-top-left-radius: 30px;
  z-index: 3;
  font-size: 1.3rem;
}

#folder-modal .folder-tab.main:not(.is-last):hover {
  padding-left: 65px;
  margin-right: -15px;
}

#folder-modal .folder-tab.main::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 30px;
  height: 100%;
  transform: translateX(-100%);
  background-color: white;
}

#folder-modal .folder-tab.category {
  /*color: #02203C;
    background-color: #f0f0f0;*/
  color: white;
  /*background-color: #2096F3;*/
  background-color: #56b5ff;
  /*background-color: white;*/
  z-index: 2;
  font-size: 1.3rem;
  position: relative;
  margin-left: -15px;
}

#folder-modal .folder-tab.category:not(.is-last):hover {
  margin-left: 0;
  margin-right: -15px;
}

#folder-modal .folder-tab.category::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 30px;
  height: 100%;
  transform: translateX(-98%);
  /*background-color: #56b5ff;*/
  background-color: var(--background);
}

#folder-modal .folder-tab.selected-project {
  color: #02203c;
  /*background-color: #e1e1e1;*/
  /*background-color: #15314b;*/
  background-color: white;
  z-index: 1;
  position: relative;
  margin-left: -15px;
  font-size: 1.3rem;
}

#folder-modal .folder-tab.selected-project::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 30px;
  height: 100%;
  transform: translateX(-100%);
  background-color: white;
}

#folder-modal .folder-tab-name {
  font-weight: 600;
  text-align: center;
}

#folder-modal .modal-card-body {
  background-color: transparent;
  color: #02203c;
  opacity: 1;
  transition: all 0.2s ease-in-out;
  z-index: 1;
  display: flex;
  flex-grow: 1;
  overflow: overlay;
  /*margin: 10px 0;*/
  position: relative;
}

#folder-modal .modal-card-body.projects-by-category {
  background-color: rgba(255, 255, 255, 0.85);
}

#folder-modal .modal-card-body.pre-animation {
  /*height: 0px!important;*/
  opacity: 0 !important;
}

#folder-modal .cards {
  flex-grow: 1;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  overflow-x: hidden;
  overflow-y: overlay;
}

#folder-modal .cards.categories {
  grid-template-rows: repeat(4, max-content);
  padding: 0 2rem;
  column-gap: 2rem;
}

#folder-modal .cards.projects {
  grid-template-rows: max-content;
  padding: 2rem;
  row-gap: 2rem;
  column-gap: 2rem;
}

@media (max-width: 450px) {
  /* #folder-modal .cards.projects {
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)) !important;
  } */

  #folder-modal .cards.categories {
    grid-template-rows: repeat(4, max-content);
    padding: 0 1.25rem;
    column-gap: 1.25rem;
  }

  #folder-modal .cards.projects {
    grid-template-rows: max-content;
    padding: 1.25rem;
    row-gap: 1.25rem;
    column-gap: 1.25rem;
  }
}

#folder-modal .project-gallery {
  width: 65%;
  margin-top: 40px;
  margin-bottom: 40px;
  padding-left: 25px;
  padding-right: 25px;
  display: flex;
  flex-direction: column;
  align-items: center;
  /*border-right: 1.5px solid #04182c;*/
  border-right: 1.5px solid #adb6be;
  overflow: overlay;
}

#folder-modal .project-gallery .image {
  position: relative;
  width: 590px;
  height: 421px;
  /*background-color: #ddd;*/
  background-color: #eff6fa;
  border-radius: 15px;
  flex-shrink: 0;
  user-select: none;
  overflow: hidden;
}

#folder-modal .project-gallery .image:not(:last-of-type) {
  margin-bottom: 20px;
}

#folder-modal .project-gallery .image img {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  width: 100%;
  height: 100%;
  padding: 0px;
  /*object-fit: cover;*/
  /*object-fit: contain;*/
  overflow: hidden;
  background-repeat: no-repeat;
  border-radius: inherit;
}

#folder-modal .section-splitter {
  border-top: 1.5px solid #adb6be;
  margin-bottom: 30px;
  display: none;
}

#folder-modal .project-details {
  width: 35%;
  margin-top: 40px;
  /*padding-bottom: 40px;*/
  margin-bottom: 40px;
  padding-left: 25px;
  padding-right: 25px;
  overflow: overlay;
}

#folder-modal .project-details .section {
  display: flex;
  flex-direction: column;
}

#folder-modal .project-details .section:not(:last-of-type) {
  padding-bottom: 20px;
  position: relative;
}

#folder-modal .project-details .section:not(:last-of-type)::before {
  content: "";
  position: absolute;
  top: 0;
  left: -25px;
  right: -25px;
  bottom: 0;
  background-color: rgba(255, 255, 255, 0.85);
  z-index: -1;
  /*border-radius: 50px;*/
  border-radius: 0;
}

#folder-modal .project-details .section .header {
  font-size: 1.3rem;
  font-weight: 600;
  padding-bottom: 15px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

#folder-modal .project-details .section .header .year {
  font-size: 0.8rem;
  /*background-color: #04182c;*/
  background-color: #adb6be;
  color: white;
  padding: 4px 8px;
  border-radius: 5px;
}

#folder-modal .project-details .section .content {
  font-size: 1rem;
  text-align: justify;
}

#folder-modal .project-details .section .content.links {
  display: flex;
  align-items: center;
  gap: 15px;
}

#folder-modal .project-details .showmoreorless {
  color: #adb6be;
  cursor: pointer;
}

#folder-modal .project-details .showmoreorless:hover {
  color: #868b8f;
}

#folder-modal .project-details .section .content.techs {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px 15px;
}

#folder-modal .project-tech {
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 6px 12px;
  font-size: 0.8rem;
  /*background-color: #04182c;*/
  background-color: #adb6be;
  color: white;
  /*border: 1px solid white;*/
  border-radius: 5px;
  font-weight: 400;
}

#folder-modal .project-tech:not(:last-of-type) {
  /*margin-right: 15px;*/
}

#folder-modal .project-feature {
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 6px 12px;
  font-size: 0.8rem;
  background-color: transparent;
  /*color: #737373;*/
  color: #2e4b65;
  border-radius: 5px;
  font-weight: 400;
  /*border: 1px solid #919191;*/
  border: 1px solid #2e4b65;
}

#folder-modal .link-button {
  text-decoration: none;
  display: flex;
}

#folder-modal .link-button-content {
  display: flex;
  justify-content: center;
  align-items: center;
  color: white;
}

#folder-modal .category-card {
  position: relative;
  perspective: 1000px;
  aspect-ratio: 1;
}

#folder-modal .category-card .folder-cover {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  transition: all 0.2s ease-in-out;
  transform-origin: bottom;
  transform: perspective(2000px);
  transform-style: preserve-3d;
}

#folder-modal .category-card .folder-backface,
#folder-modal .category-card .folder-frontface {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
}

#folder-modal .category-card:hover .folder-cover {
  cursor: pointer;
  transform: perspective(2000px) rotateX(-25deg);
}

#folder-modal .category-card .category-icon {
  position: absolute;
  top: 40%;
  left: 50%;
  width: 25%;
  height: 25%;
  transform: translateX(-50%);
  display: flex;
  justify-content: center;
  align-items: center;
}

#folder-modal .category-card .category-name {
  position: absolute;
  top: 68%;
  left: 50%;
  transform: translateX(-50%);
  font-size: 1.5rem;
  font-weight: 600;
  color: white;
  display: flex;
  justify-content: center;
  align-items: center;
}

#folder-modal .project-card {
  position: relative;
  /* width: 336px;
  height: 240px; */
  /*margin-top: 30px;
    margin-right: 30px;*/
  cursor: pointer;
  border-radius: 15px;
  overflow: hidden;
  z-index: 1;
  aspect-ratio: 1.4;
  max-width: 100%;
}

#folder-modal .project-card:first-of-type {
  /*margin-left: 30px;*/
}

#folder-modal .project-card .project-image {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  /*background-color: #ddd;*/
  background-color: #eff6fa;
  user-select: none;
  border-radius: inherit;
  width: 100%;
}

#folder-modal .project-card .project-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  overflow: hidden;
  background-repeat: no-repeat;
  border-radius: inherit;
}

#folder-modal .project-card .project-bar {
  position: absolute;
  z-index: 1;
  right: 0;
  left: 0;
  bottom: 0;
  display: flex;
  padding: 15px 20px;
  border-bottom-right-radius: inherit;
  border-bottom-left-radius: inherit;
  background-color: transparent;
  transition: all 0.2s ease-in-out;
  color: #fff;
  pointer-events: none;
  height: 30%;
  align-items: flex-end;
}

#folder-modal .project-card .project-bar::before {
  background-image: linear-gradient(
    to top,
    rgba(0, 0, 0, 0.6) 0%,
    rgba(0, 0, 0, 0.4428) 19%,
    rgba(0, 0, 0, 0.3246) 34%,
    rgba(0, 0, 0, 0.2292) 47%,
    rgba(0, 0, 0, 0.1668) 56.5%,
    rgba(0, 0, 0, 0.1164) 65%,
    rgba(0, 0, 0, 0.0756) 73%,
    rgba(0, 0, 0, 0.045) 80.2%,
    rgba(0, 0, 0, 0.0252) 86.1%,
    rgba(0, 0, 0, 0.0126) 91%,
    rgba(0, 0, 0, 0.0048) 95.2%,
    rgba(0, 0, 0, 0.0012) 98.2%,
    transparent 100%
  );
  position: absolute;
  top: -100%;
  right: 0;
  bottom: 0;
  left: 0;
  content: "";
  border-bottom-left-radius: inherit;
  border-bottom-right-radius: inherit;
  transition: all 0.2s ease-in-out;
  /*visibility: hidden;*/
  z-index: -1;
  pointer-events: none;
  opacity: 0.5;
}

#folder-modal .project-card:hover .project-bar {
  /*transform: translateY(-100%);*/
  transform: translateY(max(-70%, -80px));
}

#folder-modal .project-card:hover .project-bar::before {
  visibility: visible;
  opacity: 1;
  border-bottom-left-radius: 0;
  border-bottom-right-radius: 0;
  transform: translateY(40px);
  top: -170%;
}

#folder-modal .project-card .project-bar-info {
  width: 100%;
}

#folder-modal .project-card .project-bar-info .info-row {
  display: flex;
}

#folder-modal .project-card .project-bar-info .project-name {
  font-size: 1.25rem;
  font-weight: 600;
  text-stroke-width: 0.15px;
  text-stroke-color: black;
  -webkit-text-stroke-width: 0.15px;
  -webkit-text-stroke-color: black;
}

#folder-modal .project-card .project-bar-info .techs {
  flex-wrap: wrap;
  gap: 8px 12px;
}

#folder-modal .project-card .project-bar-info .project-tech {
  font-size: 0.75rem;
  /*padding: 5px 10px; */
}

#folder-modal .project-card .project-bar-actions {
  position: absolute;
  z-index: 1;
  top: 100%;
  right: 0;
  left: 0;
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 1.2rem;
  height: 70%;
  max-height: 80px;
  /*
    border-right: 1px solid #e0e0e0;
    border-bottom: 1px solid #e0e0e0;
    border-left: 1px solid #e0e0e0;
    */
  border-bottom-right-radius: inherit;
  border-bottom-left-radius: inherit;
  background-color: white;
  color: #02203c;
  transition: transform 0.2s ease-in-out;
  pointer-events: auto;
  box-shadow: 0px 5px 15px rgb(0 0 0 / 5%) inset;
}

@media (max-width: 1000px) {
  .modal::before {
    display: block;
  }

  #folder-modal {
    justify-content: flex-start;
  }

  #folder-modal .modal-background {
    background-color: white;
  }

  #folder-modal .modal-card {
    width: 100% !important;
    height: 100%;
    max-height: none;
    border-radius: 0;
    transition: none;
  }

  #folder-modal .modal-card-wrapper {
    /*height: 100%;
        min-height: 0;*/
    flex-grow: 1;
  }

  #folder-modal .modal-card-header {
    box-shadow: none;
  }

  #folder-modal .folder-tab.main {
    border-top-left-radius: 0;
  }

  #folder-modal .modal-card-body {
  }

  #folder-modal .modal-card-body.selected-project {
    flex-direction: column;
  }

  #folder-modal .project-gallery {
    width: 100%;
    border-right: none;
    flex-shrink: 0;
    padding-left: 30px;
    padding-right: 30px;
  }

  #folder-modal .project-details {
    width: 100%;
    margin-top: 0;
    margin-bottom: 40px;
    padding-left: 40px;
    padding-right: 40px;
    position: relative;
  }

  #folder-modal .project-details .section:not(:last-of-type)::before {
    left: -40px;
    right: -40px;
    /*background-color: rgba(255, 255, 255, 1);*/
    border-radius: 0;
  }

  #folder-modal .section-splitter {
    display: block;
    margin-left: 40px;
    margin-right: 40px;
  }

  /*
    #folder-modal .project-details::after{
        content: '';
        position: absolute;
        top: 0;
        right: 40px;
        left: 40px;
        bottom: 0;
        border-top: 1.5px solid #adb6be;
    }
    */
}

@media (max-width: 760px) {
  #chat-modal .modal-background {
    background-color: white;
  }

  #chat-modal .modal-card {
    clip-path: none;
    width: 760px;
    transition: none;
    border-radius: 0;
  }

  #chat-modal .modal-close {
    transform: translateX(50%);
  }
}

@media (max-width: 650px) {
  #folder-modal .modal-close {
    right: 10px;
  }

  #folder-modal .project-gallery .image {
    width: 100%;
  }

  .cards {
  }

  #folder-modal .modal-card-header {
    height: 48px;
    min-height: 48px;
  }

  #folder-modal .folder-tab {
    padding: 0 6.9vw;
  }

  #folder-modal .folder-tab.main,
  #folder-modal .folder-tab.category,
  #folder-modal .folder-tab.selected-project {
    font-size: 0.9rem;
  }

  #folder-modal .folder-tab.main:not(.is-last):hover {
    padding-left: 8.28vw;
    margin-right: -1.38vw;
  }

  #folder-modal .folder-tab.category {
    margin-left: -9px;
  }

  #folder-modal .folder-tab.category:not(.is-last):hover {
    margin-left: 0;
    margin-right: -9px;
  }

  #folder-modal .folder-tab.selected-project {
    margin-left: -9px;
  }

  #folder-modal .modal-close svg {
    width: 15px;
    height: 15px;
  }

  #folder-modal .project-gallery {
    margin-top: 30px;
    margin-bottom: 30px;
  }

  #folder-modal .project-details {
    margin-bottom: 30px;
    padding-left: 30px;
    padding-right: 30px;
  }

  #folder-modal .project-details .section:not(:last-of-type)::before {
    left: -30px;
    right: -30px;
  }

  /*
    #folder-modal .project-details::after{
        left: 30px;
        right: 30px;
    }
    */

  #folder-modal .section-splitter {
    margin-left: 30px;
    margin-right: 30px;
  }
}

@media (max-width: 660px) {
  #chat-modal .modal-card {
    width: 100% !important;
  }

  #chat-modal .modal-card-wrapper {
    padding-left: 20px;
    padding-right: 20px;
  }

  #chat-modal .modal-card .circuit.top-left {
    top: 20px;
    left: -56px;
  }

  #chat-modal .modal-card .circuit.bottom-right {
    right: -56px;
    bottom: 20px;
  }

  #chat-modal .modal-close {
    top: 40px;
  }
}

@media (max-width: 450px) {
  #folder-modal .circuit.bottom-right {
    transform: scaleY(-1) scale(0.75);
    bottom: 20px;
  }

  #folder-modal .modal-close svg {
    width: 16px;
    height: 16px;
  }
}

.operations-messages {
  position: fixed;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  padding: 1.25rem;
  z-index: 500;
}

.operation-message {
  display: flex;
  align-items: center;
  max-width: 380px;
  min-width: 300px;
  margin-bottom: 0.5rem;
  border: 1px solid transparent;
  border-radius: 0.5rem;
  color: #000;
  font-family: Verdana, sans-serif;
  font-size: 0.8125rem;
  line-height: 1.5;
  opacity: 0;
  transition: opacity 0.3s;
}

.operation-message.trigger-visibility {
  opacity: 1;
}

.operation-message-column {
  padding: 0.75rem;
}

.operation-message-icon {
  width: 1.25rem;
  height: 1.25rem;
}

.operation-message-close {
  display: flex;
  padding: 0.25rem;
  border-radius: 100%;
  cursor: pointer;
}

@media screen and (min-width: 640px) {
  .operation-message {
    font-size: 0.875rem;
  }

  .operation-message-icon {
    width: 2.5rem;
    height: 2.5rem;
  }

  .operation-message-column.has-icon {
    padding: 1.25rem;
  }
}

.operation-message.error-message {
  color: #d71240;
  border-color: #ffb7b7;
  background-color: #ffebeb;
  box-shadow: 0 10px 15px 0 rgb(215 18 64 / 20%);
}

.operation-message.warning-message {
  color: #604d00;
  border-color: #ffd942;
  background-color: #fff7d7;
  box-shadow: 0 10px 15px 0 rgb(247 200 16 / 30%);
}

.operation-message.success-message {
  color: #117900;
  border-color: #9add8f;
  background-color: #d0ffc8;
  box-shadow: 0 10px 20px 0 rgb(51 225 68 / 30%);
}

.operation-message.error-message .operation-message-close {
  background-color: #ffb7b7;
}

.operation-message.warning-message .operation-message-close {
  background-color: #ffd942;
}

.operation-message.success-message .operation-message-close {
  background-color: #9add8f;
}
