﻿:root {
    --i-radius: 20px;
    --image-border-radius: var(--i-radius) var(--i-radius) var(--i-radius) 60px;
    --image-border-radius-desktop: var(--i-radius) var(--i-radius) 50px var(--i-radius);
    --whole-page-margin: 75px;
    --card-max-width: 400px;
    --header-height: 60px;
    --max-width: 1600px;
    color: var(--neutral-color);
}

[data-theme="dark"] {
    --primary-color: #cbb4e4;
    --neutral-color: #201e23;
    --neutral-color-2: #322d36;
    --secondary-color: #F9F5FF;
    --accent-color: #768a2b;
    --intro-gradient: linear-gradient(91.7deg, rgb(50, 25, 79) -4.3%, rgb(122, 101, 149) 101.8%);

    .logo-full {
        content: url("images/my-logo-full-dark.svg");
    }
}

[data-theme="light"] {
    --primary-color: #765995;
    --neutral-color: rgb(249, 245, 255);
    --neutral-color-2: #efe6ff;
    --secondary-color: #363732;
    --accent-color: #c9eb4a;
    --intro-gradient: linear-gradient(68.7deg, rgb(235, 217, 221) 8%, rgb(216, 174, 211) 55.4%, rgb(145, 130, 196) 91.1%);
}

html {
    font-family: "League Spartan", sans-serif;
    color: var(--secondary-color);
    max-width: var(--max-width);
    font-size: 1.2rem;
    display: flex;
    margin: auto;
    flex-direction: column;
    justify-content: center;
    scroll-behavior: smooth;
}

body {
    margin: auto;
    max-width: 1200px;
    min-width: 400px;
    width: 100%;
    display: flex;
    background: var(--neutral-color);
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: var(--whole-page-margin);
    max-width: 1600px;
}

#projects-header {
    text-align: center;
    margin: 0;
    color: var(--secondary-color);
    scroll-margin-top: 120px;
}

.cta-section {
    font-size: 1.25rem;
    padding: 40px 20px;
    display: flex;
    flex-direction: column;
    justify-content: space-evenly;
    align-items: center;
    background: var(--intro-gradient);
    color: var(--secondary-color);
}

.about-section {
    font-size: 1.5rem;
    padding: 40px 20px;
    display: flex;
    flex-direction: column;
    justify-content: space-evenly;
    align-items: center;
    text-align: justify;
    background: var(--neutral-color-2);
    color: var(--secondary-color);
}

.about-section > p {
    font-size: 1rem;
    width: 100%;
    min-width: 300px;
    max-width: 800px;
    line-height: 2rem;
    text-align: justify;
}

#about-header {
    text-align: center;
    color: var(--secondary-color);
    scroll-margin-top: 120px;
}

.tools-section {
    font-size: 1.5rem;
    padding: 40px 20px;
    display: flex;
    flex-direction: column;
    justify-content: space-evenly;
    align-items: center;
    background: var(--neutral-color-2);
    color: var(--secondary-color);
}

.tools-section > p {
    width: 100%;
    min-width: 300px;
    max-width: 800px;
}


.cta-section > p {
    width: 100%;
    min-width: 300px;
    max-width: 800px;
    line-height: 2rem;
    text-align: center;
}

.logo {
    transition: filter 200ms ease-in-out;
}

.logo:hover {
    filter: drop-shadow(0 0 12px var(--accent-color));
}

/* Fade-in Animations */
@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

.fade-in {
    opacity: 0; /* Start hidden */
    transition: opacity 0.5s ease-in;
}

.fade-in.visible {
    animation: fadeIn 0.5s forwards;
}

.big-font {
    font-size: 3rem;
    font-weight: 900;
}

#tools-header {
    text-align: center;
    margin: 0;
    color: var(--secondary-color);
    scroll-margin-top: 120px;
}

/* Container */
.skills-container {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 30px;
}

/* Each step */
.tools-stack {
  display: flex;
  flex-direction: column;
  align-items: center;
  transition: 0.3s ease;
  border-radius: 5px;
  margin: 0 20px;
}

/* Images */
.tools-stack img {
  width: 70px;   /* auto scales your 250px images */
  height: 70px;
  object-fit: cover;
  padding: 10px;
  border-radius: 20px;
}

/* Labels */
.tools-stack p {
  margin-top: 12px;
  font-size: 1rem;
  color:var(--secondary-color);
}

/* Hover effect */
.tools-stack:hover {
  transform: translateY(-5px) scale(1.05);
  filter: drop-shadow(0 0 5px var(--primary-color));
  /* box-shadow: var(--primary-color) 0 0 0 5px; */
}