:root {
    --color-primary: #4e54c8;
    --color-secondary: #8f94fb; 
    --color-dark: #343a40; 
    --color-light: #fff; 
    --color-text: #333; 
    --color-gray: #666;
    --color-link: #007bff; 
    --color-link-hover: #858585; 
    --color-bg: #f8f9fa; 

    --font-primary-latin: 'Roboto', sans-serif;
    --font-primary-cjk: 'Noto Sans CJK', sans-serif;
    --text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}


* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: var(--font-primary-latin), var(--font-primary-cjk);
    line-height: 1.6;
    background-color: var(--color-bg);
    color: var(--color-text);
    margin: 0;
    padding: 0;
    height: 100%;
}

header {
    position: sticky;
    top: 0;
    width: 100%;
    height: 80px; 
    background-color: #333;
    color: #FFF;
    z-index: 99999;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: url("images/headerBackground.jpg") no-repeat center center/cover;
    border-bottom: 1px solid #555454; 
    box-shadow: -1px 9px 9px 2px rgb(0 0 0 / 92%);
}

header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.75); 
    z-index: -1; 
}

.logo {
    display: flex;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.8);
    user-select: none;
    margin:20px;
}

.logo h1 {
    color: #FFA500;
    font-family: "Raleway", sans-serif;
    font-optical-sizing:auto;
    font-style: italic;
    font-size: 35px;
    font-weight: 800;
    text-transform: uppercase;
}

.spinner {
    --size: 23px;
    --first-block-clr: #ffffff;
    --second-block-clr: #fdfcf8;
    --clr: #111;
    width: 50px;
    height: 50px;
    position: relative;
    margin-right:12px;
}
   
.spinner::after,.spinner::before {
    box-sizing: border-box;
    position: absolute;
    content: "";
    width: var(--size);
    height: var(--size);
    top: 50%;
    animation: up 2.4s cubic-bezier(0, 0, 0.24, 1.21) infinite;
    left: 50%;
    background: var(--first-block-clr);
}
   
.spinner::after {
    background: var(--second-block-clr);
    top: calc(50% - var(--size));
    left: calc(50% - var(--size));
    animation: down 2.4s cubic-bezier(0, 0, 0.24, 1.21) infinite;
}
   
   @keyframes down {
    0%, 100% {
     transform: none;
    }
   
    25% {
     transform: translateX(100%);
    }
   
    50% {
     transform: translateX(100%) translateY(100%);
    }
   
    75% {
     transform: translateY(100%);
    }
   }
   
   @keyframes up {
    0%, 100% {
     transform: none;
    }
   
    25% {
     transform: translateX(-100%);
    }
   
    50% {
     transform: translateX(-100%) translateY(-100%);
    }
   
    75% {
     transform: translateY(-100%);
    }
   }

.navbar {
    list-style-type: none;
    padding: 0; 
    text-align: center; 
}

.navbar li {
    display: inline-block;
    margin: 0 15px;
    font-family: "Source Code Pro", monospace;
    font-weight: 300;
    font-style: normal;
    line-height: 1.6;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.8);
    vertical-align: middle;
}

.navbar a {
    color: #e7e5e5;
    text-decoration: none;
    font-size: 1.2rem;
    transition: color 0.3s ease;
    text-shadow: var(--text-shadow);
    text-decoration: none;
    display: inline-block;
    transition: color 0.3s ease, transform 0.2s ease;
}

.navbar a:hover {
    color: #ffbf35;
    transform: scale(1.3);
}

.language-switcher {
    margin-right:20px;
}

.language-switcher button {
    background-color: transparent;
    border: none;
    cursor: pointer;
    margin: 0 8px;
    padding: 0;
    transition: transform 0.2s ease;
}

.language-switcher img {
    width: 30px; 
    height: auto;
    filter: brightness(0.7) saturate(0.9);
}

.language-switcher button:hover img {
    transform: scale(1.1);
    filter:brightness(1.5);
}

.language-button.active img {
    border: 2px solid var(--primary-color);
    border-radius: 5px;
}

.hero {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    width: 100%;
    min-height: 100vh;
    color: var(--color-light);
}

.hero-content {
    z-index:12;
}
  
.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url("images/math-background.avif") no-repeat center center/cover;
    filter: brightness(0.7) saturate(1);
  }
  
.profile-container {
    width: 200px;
    height: 200px;
    position: relative;
    overflow: hidden;
    clip-path: polygon(25% 0%, 100% 0%, 75% 100%, 0% 100%);
    border: 3px solid rgba(255, 255, 255, 0.4);
    transition: transform 0.5s ease, filter 0.5s ease;
    margin: auto;
}

.profile-container::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;  
    background: linear-gradient(to bottom, rgba(31, 30, 30, 0.5) 0%, rgba(36, 36, 36, 0) 100%);
}

.profile-container:hover {
    transform: translateY(-20px) scale(1.1);
    filter: saturate(1.3);
    border-color: rgba(255, 255, 255, 0.8);
}
  
.profile-pic {
    position: absolute; 
    top: 0; 
    left: 5px; 
    width: 100%; 
    height: 100%;
}

.hero-content h2 {
    font-family: "Bungee", sans-serif;
    font-size: 2.2rem;
    font-weight: 400;
    margin-top: 10px;
    line-height: 1.2;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
    animation: fadeInUp 1s ease-out;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.hero-content h2::after {
    content: "";
    display: block;
    width: 250px;
    height: 3px; 
    background-color: #000000; 
    margin: 10px auto; 
}

.hero-content .symbol-left, .hero-content .symbol-right {
    display: inline-block;
    font-size:4rem;
    font-weight: 800;
    color: #FFD700;
    margin: 0 10px;
    transition: transform 0.6s ease;
    user-select: none;
}

@keyframes appearFromCenter {
    0% {
        transform: translateY(-50%) scale(0) rotate(0deg);
    }
    50% {
        transform: translateY(-50%) scale(1.2) rotate(0deg);
    }
    100% {
        transform: translateY(0) scale(1) rotate(var(--rotation-angle, 0deg));
    }
}

.hero-content .symbol-left
{
    --rotation-angle: -20deg; 
    transform: rotate(var(--rotation-angle));
}

.hero-content .symbol-right
{
    --rotation-angle: 20deg; 
    transform: rotate(var(--rotation-angle));
}

.hero-content .subtitle{
    font-size: 1rem;
    font-weight: 300;
    padding-bottom: 50px;
}

.symbol-left-sub ,
.symbol-right-sub {
    display: inline-block;
    transform: translateY(6px);
    font-size: 2rem;
    font-weight: 800;
    margin: 0 5px;
    user-select: none;
}

.symbol-left-sub:hover,
.symbol-right-sub:hover {
    transform: translateY(6px) scale(1.2); 
}
  
.button-contact {
    -moz-appearance: none;
    -webkit-appearance: none;
    appearance: none;
    border: none;
    background: none;
    min-width: 70%;
    color: #0f1923;
    cursor: pointer;
    position: relative;
    padding: 8px;
    margin-bottom: 20px;
    text-transform: uppercase;
    font-weight: bold;
    font-size: 15px;
    transition: all .15s ease;
}
  
.button-contact::before,
.button-contact::after {
    content: '';
    display: block;
    position: absolute;
    right: 0;
    left: 0;
    height: calc(50% - 5px);
    border: 1px solid #f1f2f3;
    transition: all .15s ease;
}
  
.button-contact::before {
    top: 0;
    border-bottom-width: 0;
}
  
.button-contact::after {
    bottom: 0;
    border-top-width: 0;
}
  
.button-contact:active,
.button-contact:focus {
    outline: none;
}
  
.button-contact:active::before,
.button-contact:active::after {
    right: 3px;
    left: 3px;
}
  
.button-contact:active::before {
    top: 3px;
}
  
.button-contact:active::after {
    bottom: 3px;
}
  
.button_lg {
    position: relative;
    display: block;
    padding: 10px 20px;
    color: #fff;
    background-color: #000000;
    overflow: hidden;
    box-shadow: inset 0px 0px 0px 1px transparent;
}
  
.button_lg::before {
    content: '';
    display: block;
    position: absolute;
    top: 0;
    left: 0;
    width: 2px;
    height: 2px;
    background-color: #0f1923;
}
  
.button_lg::after {
    content: '';
    display: block;
    position: absolute;
    right: 0;
    bottom: 0;
    width: 4px;
    height: 4px;
    background-color: #0f1923;
    transition: all .5s ease;
}
  
.button_sl {
    display: block;
    position: absolute;
    top: 0;
    bottom: -1px;
    left: -8px;
    width: 0;
    background-color: #a1101c;
    transform: skew(-15deg);
    transition: all .5s ease;
}
  
.button_text {
    position: relative;
}
  
.button-contact:hover {
    color: #0f1923;
    transform: scale(1.2) translateY(5px);
}
  
.button-contact:hover .button_sl {
    width: calc(100% + 15px);
}
  
.button-contact:hover .button_lg::after {
    background-color: #fff;
}
  
main {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
    padding: 80px 0;
    background-color:#1a1a1a;
    color: #FFF;
    border-top: 2px ridge #FFF;
}

section {
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
    width: 70%;
    background-color:#262626;
    padding: 22px 70px;
    margin-bottom:40px;
    margin-right: 5px;
    border-radius: 21px;
}

section::before,
section::after {
    content: "";
    position: absolute;
    width: 60px;
    height: 60px;
    background: #1a1a1a;
    z-index: 1;
  }
  
section::before {
    top: 0;
    right: 0;
    clip-path: polygon(100% 0, 0 0, 100% 100%);
  }
  
section::after {
    bottom: 0;
    left: 0;
    clip-path: polygon(0 0, 100% 100%, 0 100%);
  }
  
.section-content {
    width: 100%;
    margin-bottom:60px;
    z-index: 2;
  }

section h2 {
    display: inline-block;
    font-size: 1.8rem;
    letter-spacing: 2px;
    margin: 10px 0;
    color: #ffbf35;
    text-align: center;
    transform:skewY(4deg);
    text-shadow: -3px 6px 1px rgba(0, 0, 0, 0.3);
}

section h3 {
    font-size: 23px; 
    font-weight: bold; 
    text-align: center; 
    margin-bottom: 15px; 
    color: #e69500; 
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.5); 
    letter-spacing: 1px; 
    line-height: 1.2; 
}


section h2:hover {
    transform: skewY(7deg); 
    text-shadow: -3px 6px 10px rgba(0, 0, 0, 0.6);
}

section p {
    margin-bottom: 20px; 
    line-height: 1.6;
    font-size: 16px;
    color: #FFF;
}

section p:last-child {
    margin-bottom: 0;
}

#education {
    padding: 40px 20px;
    margin: 40px 0;
    border-radius: 12px;
    background-color: #262626;
}

.education-list {
    background-color: #262626;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    margin-top: 20px;
}

.education-list li {
    margin-bottom: 30px;
    padding-bottom: 20px;
    border-bottom: 1px solid #444;
    list-style: none;
}

.degree {
    font-size: 22px;
    color: #ffbf35;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.3);
    display: block;
    margin-bottom: 10px;
    text-decoration: none;
    transition: color 0.3s ease;
}

.degree:hover {
    color: #ff5733;
}

.university {
    font-size: 18px;
    color: #FFF;
    margin-top: 5px;
}

.education-description {
    font-size: 16px;
    line-height: 1.6;
    color: #FFF;
    margin-top: 10px;
}

#skills {
    background-color: #262626;
    padding: 40px 20px;
    margin: 40px 0;
    border-radius: 12px;
}

.buttons-container {
    display: flex;
    justify-content: space-around;
    margin-bottom: 20px;
}

.skill-button {
    background-color: #333;
    color: #FFF;
    border: none;
    border-radius: 8px;
    margin-left:5px;
    padding: 10px 20px;
    cursor: pointer;
    display: flex;
    align-items: center;
    transition: box-shadow 0.3s ease, transform 0.3s ease;
}

.skill-button:hover {
    background-color: #444;
}

.skill-button .icon {
    margin-right: 8px;
}

.skill-button .icon i {
    font-size: 18px;
}

.skill-button .title {
    font-size: 16px;
}

.skill-button.active {
    border-bottom-left-radius: 0;
    border-bottom-right-radius: 0;
    transform: translateY(12px);
}

.skills-content .skill {
    display: none;
    background-color: #333;
    padding: 25px;
    margin-top: 0;
    margin-bottom: 10px;
    border-radius: 0 0 12px 12px;
    box-shadow: 0 8px 15px rgba(0, 0, 0, 0.2);
    opacity: 0;
    max-height: 0;
    overflow: hidden;
    transition: max-height 1s ease, opacity 0.5s ease;
}

.skills-content .skill.active {
    opacity: 1;
    max-height: 500px; 
    display: block;
    margin-top: -10px;
    border-top: none;
    border-radius: 0 0 12px 12px;
}

.skill ul {
    list-style-type: none;
    padding-left: 20px;
}

.skill li {
    margin-bottom: 20px;
    font-size: 15px;
    line-height: 1.6;
    color: #FFF;
}


.skill li:hover {
    color: #ffbf35; 
    transition: color 0.3s ease;
}

.skill h3 {
    font-size: 21px;
    margin-bottom: 12px;
    color: #ff5733; 
}


#certifications-awards .section-content
{
    min-height: 290px;
    margin-bottom:0;
}

.certification-list {
    list-style-type: none;
    margin-top:12px;
    padding: 0;
}

.certification-list .certification-card {
    background-color: #333;
    border-left: 4px solid #ff6f61;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    border-radius: 8px;
    margin: 1.5rem;
    padding: 1rem;
    transition: transform 0.3s ease-in-out, box-shadow 0.3s ease-in-out;
}
  
.certification-list li:hover {
    transform: translateY(-4px);
    box-shadow: 0 6px 8px rgba(0, 0, 0, 0.2);
}
  
.certification-list .cert-duration {
    font-style: italic;
}

.swiper-container {
    width: 100%;
    overflow: hidden;
}

.swiper-slide {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;  
}

.swiper-button-prev,
.swiper-button-next {
  color: #fff;
}


.swiper-button-prev {
  left: 30px;
}

.swiper-button-next {
  right: 30px;
}

.swiper-pagination-bullet {
    background-color: #ff6f61;
    box-shadow: 0 6px 8px rgba(0, 0, 0, 0.2);
    width: 15px; 
    height: 15px;
    margin-right: 40px; 
}

.swiper-wrapper {
    position:static;
}

.tools-menu {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 20px;
    justify-items: center;
    margin-top: 40px;
    position: relative;
}

.tool-btn {
    padding: 15px;
    transition: background-color 0.3s, transform 0.3s, box-shadow 0.3s;
    text-align: center;
    width: 60px;
    color: #FFF;
    position: relative;
    z-index: 1;
}

.tool-btn:hover {
    filter: brightness(1.3) drop-shadow(-1px 4px 6px rgba(0, 0, 0, 0.5));
}

.tool-btn:hover img {
    transform: scale(1.2) translateY(-3px);
}


.tool-btn img {
    max-width: 35px;
    transition: transform 0.3s;
    filter: drop-shadow(-6px 1px 10px #000000);

}

.tool-btn:hover {
    cursor: pointer;
    filter: brightness(1.3) drop-shadow(-2px 8px 10px #000000);
}

.tool-btn:hover img {
    transform: scale(1.3) translateY(-5px);
}

.tool-btn:nth-child(1),
.tool-btn:nth-child(5) {
    transform: translateY(-20px);
}

.tool-btn:nth-child(2),
.tool-btn:nth-child(4) {
    transform: translateY(-10px);
}

.tool-btn:nth-child(6),
.tool-btn:nth-child(10) {
    transform: translateY(20px);
}

.tool-btn:nth-child(7),
.tool-btn:nth-child(9) {
    transform: translateY(10px);
}

.tool-content {
    position: relative;
    display:none;
    visibility:hidden;
    padding: 20px 55px;
    border-radius: 12px;
    background-color: #333;
    color: #FFF;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    margin-top: 35px;
    opacity: 0;
    transform: translateY(20px) skew(-12deg);
    transition: opacity 0.3s ease-in-out, transform 0.3s ease-in-out;
    pointer-events: none; 
}

.tool-content.active {
    visibility: visible;
    opacity: 1;
    transform: translateY(0) skew(-12deg);
    pointer-events: auto;
}

.tool-content::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0.8; 
    border-radius: 12px; 
    transform: skew(12deg);
    z-index: -1;
    transition: opacity 0.3s ease-in-out; 
}

.tool-content.active::before {
    opacity: 1; 
}

.tool-content p {
    font-size: 15px;
    line-height: 1.5;
    margin: 0;
    padding: 5px 10px;
}

#interests {
    padding: 2rem;
}
  
.interests-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1rem;
    list-style: none;
    padding: 0;
    margin: 0;
    justify-content: center;
}
  
.interest-card {
    background-color: #333;
    border: 1px solid #1a1919;
    border-radius: 8px;
    padding: 1rem;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s ease-in-out, box-shadow 0.2s;
    display: flex;
    align-items: flex-start;
}
  
.interest-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}
  
.interest-icon {
    width: 40px;
    height: 40px;
    margin-right: 1rem;
    filter: brightness(1.5) drop-shadow(-6px 1px 10px #000000);
}

.interest-card:hover .interest-icon 
{
    filter:brightness(1.8);
    transform: scale(1.05);
}

.interest-details {
    display: flex;
    flex-direction: column;
}
  
.interest-details strong {
    display: block;
    font-size: 1rem;
    color: #ffffff; 
    margin-bottom: 0.5rem;
    font-weight: bold;
}
  
  
.interest-details p {
    margin: 0;
}
  

#contact {
    padding: 40px 20px;
    margin: 40px 0;
}
  
form {
    display: flex;
    flex-direction: column;
    align-content: center;
    padding: 20px;
    border-radius: 12px;
}
  
.form-group {
    margin-bottom: 20px;
}
  
label {
    display: block;
    font-size: 1rem;
    color: #FFF;
    margin-bottom: 8px;
}
  
input[type="text"],
input[type="email"],
textarea {
    width: 100%;
    padding: 10px;
    outline: 1px solid #FEBF00;
    border: 0;
    border-radius: 6px;
    background-color: #444;
    color: #FFF;
    outline-offset: 3px;
    padding: 10px 1rem;
    transition: 0.25s;
}

input:focus,
textarea:focus {
    outline-offset: 5px;
    transform: scale(1.01);
}
  
textarea {
    min-height: 150px;
    resize: vertical;
}

  
button[type="submit"] {
    background-color: #ffbf35;
    color: #1a1a1a;
    border: none;
    padding: 12px 20px;
    border-radius: 8px;
    cursor: pointer;
    font-size: 1.3rem;
    font-weight: 200;
    transition: background-color 0.3s ease;
}
  
button[type="submit"]:hover {
    background-color: #ff5733;
    transform: scale(1.03) translateY(1px);
}
  
.contact-info {
    margin-top: 20px;
    text-align: center;
}

.contact-info ul {
    display: flex;
    justify-content: center;
    align-items: center;
    list-style: none;
}

.contact-info .social-icon {
    margin: 0 10px;
    position: relative;
    margin-top:40px;
  }

.contact-info .social-icon .tooltip {
    position: absolute;
    top: -50px;
    left: 50%;
    transform: translateX(-50%);
    color: #fff;
    padding: 6px 10px;
    border-radius: 5px;
    opacity: 0;
    visibility: hidden;
    font-size: 14px;
    transition: all 0.3s ease;
}

.contact-info .social-icon:hover .tooltip {
    opacity: 1;
    visibility: visible;
    top: -45px;
}

.contact-info .social-icon a {
    position: relative;
    overflow: hidden;
    display: flex;
    margin: 0 10px;
    justify-content: center;
    text-decoration: none;
    font-size: 1.5rem;
    align-items: center;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    color: #ffbf35;
    background-color: #444;
    transition: color 0.3s ease;
    z-index:1200;
}

.contact-info .social-icon a .filled {
    position: absolute;
    top: auto;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 0;
    background-color: #000;
    transition: all 0.3s ease-in-out;
    z-index:-1;
}
.contact-info .social-icon a:hover .filled {
    height: 100%;
}
  
.contact-info .social-icon a[data-social="linkedin"] .filled,
.contact-info .social-icon a[data-social="linkedin"] ~ .tooltip {
    background-color: #06324b;
}

.contact-info .social-icon a[data-social="github"] .filled,
.contact-info .social-icon a[data-social="github"] ~ .tooltip {
  background-color: #646472;
}

.contact-info .social-icon a[data-social="x"] .filled,
.contact-info .social-icon a[data-social="x"] ~ .tooltip {
  background-color: #000000;
}
  
  
.contact-info a:hover {
    color: #ff5733;
}
  
footer {
    position: relative;
    background: url("images/backgroundFooter.jpg") no-repeat center center / cover;
    color: #FFF;
    padding: 20px 0;
    text-align: center;
    display:flex;
    flex-direction: row;
    align-items:start;
    justify-content: space-between;
    width: 100%;
    z-index:12;
    border-top: 1px solid #555454; 
    box-shadow: 1px -8px 7px 5px rgb(0 0 0 / 92%);
}

footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.8);
    z-index: -1;
}

.footer-links {
    margin-top: 10px;
}
  
.footer-links a {
    color: var(--color-light);
    text-decoration: none;
    margin: 0 10px;
    transition: color 0.3s ease;
    font-size: 14px; 
}
  
.footer-links a:hover {
    color: var(--color-link-hover);
    opacity: 0.9;
    text-shadow: 0 0 10px rgba(0, 0, 0, 0.3);
}
  
.footer-links a[href="#home"]::before {
    content: "\1F3E0"; 
    margin-right: 5px;
}
  
.footer-links a[href="#about-me"]::before {
    content: "\1F393"; 
    margin-right: 5px;
}
  
.footer-links a[href="#contact"]::before {
    content: "\1F4E9"; 
    margin-right: 5px;
}

.center-footer {
    margin: 6px 0;
}
  
.left-footer-icon, .right-footer-icon {
    background-repeat: no-repeat;
    background-size: contain;
    display: block;
    width: 80px;
    height: 80px;
    margin: 0 40px;
}

.left-footer-icon {
    background-image:url("images/icon-footer-left.svg");
}

.right-footer-icon {
    background-image:url("images/icon-footer-right.svg");
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

.fade-in {
    animation: fadeIn 1s ease-in-out;
}

.fade-out-language {
    opacity: 0;
    transition: opacity 0.5s ease-out;
  }
  
.fade-in-language {
    opacity: 1;
    transition: opacity 0.5s ease-in;
}

@media screen and (max-width: 768px) {
    header {
        flex-direction: column;
        align-items: center;
        height: auto;
        padding: 10px 0;
    }

    .logo {
        margin: 10px 0;
    }

    .logo h1 {
        font-size: 28px;
    }

    .navbar {
        flex-direction: column;
        align-items: center;
    }

    .navbar li {
        margin-bottom:5px;
    }

    .navbar a {
        font-size: 1rem;
    }

    .language-switcher {
        margin-top: 10px;
    }

    .spinner {
        width: 40px;
        height: 40px;
    }
    
    .hero-content h2 {
        font-size: 1rem; 
        margin-top: 20px; 
    }
    .hero-content .symbol-left, .hero-content .symbol-right {
        font-size: 2rem; 
        margin: 0 5px;
    }
    .hero-content .subtitle {
        font-size:0.7rem;
    }
    section {
        width:90%;
        padding: 10px 30px;
    }
    section h2 {
        font-size:1.4rem;
    }
    .skill-button {
        text-align: center;
        padding: 15px;
    }

    .skill-button .icon 
    {
        margin:0;
    }

    .skill-button .title {
        display:none;
    }

    .tools-menu {
        grid-template-columns: repeat(3, 1fr);
    }

    .tool-btn {
        width: 50px;
    }

    .tool-btn:nth-child(1),
    .tool-btn:nth-child(3),
    .tool-btn:nth-child(4),
    .tool-btn:nth-child(6),
    .tool-btn:nth-child(7),
    .tool-btn:nth-child(9) {
        transform: translateY(-20px);
    }

    .tool-btn:nth-child(2),
    .tool-btn:nth-child(5),
    .tool-btn:nth-child(8) {
        transform: translateY(-10px);
    }

    .tool-btn:nth-child(10) {
        transform: translateY(-20px);
        grid-column: 2 / span 1; 
        justify-self: center;
    }

    .tool-content {
        padding: 15px 35px;
        transform: translateY(20px) skew(-5deg);
    }

    .tool-content p {
        font-size: 14px;
    }

    .swiper-button-prev {
        left: 10px;
    }
    .swiper-button-next {
        right: 10px;
    }

    footer {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

    .left-footer-icon, .right-footer-icon {
        width: 60px;
        height: 60px;
        margin: 10px 0;
    }

    .footer-links {
        margin: 20px 0;
    }

    .footer-links a {
        margin: 5px;
    }

    .center-footer {
        margin: 10px 0;
    }
}





  