
/* website styles */
body {
    background-color: #ffffff;
    margin: 0px;
    opacity: 0;
    transition: opacity 0.4s ease;
}
body.fade-in {
    opacity: 1;
}

h1, h2, h3, p, a, li, label {
    color: black;
    margin: 0px;
}

hr {
    color: darkgray;
    border-style: solid;
}

.header-title {
    display:flex;
    justify-content: center;
}

.header-name-title {
    display: inline-block;
    font-size: 64px;

    text-align: center;
    margin: 0;
    margin-top: 20px;
}

main {
    margin: 48px;
}

.navbar {
    display: flex;
    justify-content: center;
    flex-wrap: wrap; 
}

.navbar > a {
    font-size: 24px;
    text-decoration: none;
    margin: 16px;
    margin-left: 32px;
    margin-right: 32px;
}

.main-title-welcome {
    font-size: 72px;
    margin: 0px;
}

.main-introduction {
    font-size: 34px;
}

.hi-welcome-div {
    display: flex;
    flex-direction: row;
}

.introduction-fact-list {
    font-size: 28px;
    list-style: none;
}

p {
    font-size: 26px;
}

.introduction-fact-list > li {
    margin-bottom: 8px;
}

h2 {
    font-size:32px;
}

footer {
    padding: 32px;
    display: flex;
    align-items: center;
    gap: 64px;
}

#chart {
    display: flex;
    justify-content: center;
}

#chart > img {
    background-color: lightsteelblue;
    width:90%;
    padding: 16px;
    border-radius: 8px;
}

.text-gradient {
  display: inline-block;
  background: linear-gradient(90deg, 
    #008300, 
    #00ff00, 
    #e5ff00, 
    #ff9100, 
    #ff0000, 
    #d400ff, 
    #00a2ff
  );
  background-size: 300% 300%;
  background-position: 0% 50%;
  background-repeat: repeat;
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
  animation: gradientFlow 6s linear infinite;
  will-change: background-position;
}

@keyframes gradientFlow {
  0% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}

a {
  color: #ff6600; /* fun but readable */
  text-decoration: none;
  transition: all 0.2s ease;
}

a:hover {
  color: #3a9b3a;
  text-decoration: underline;
  transform: scale(1.05);
}

.socials-container {
    display: flex;
    gap: 40px;
    align-items: center;
}

.socials-container > h2 {
    font-size:48px;
}

.category-title {
    font-size: 48px;
}

.wave {
  display: inline-block;
  margin-left: 12px;
  font-size: 4rem;
  transform-origin: 70% 70%;
  animation: wave 1s infinite;
  vertical-align: middle;
}

@keyframes wave {
  0% { transform: rotate(0deg); }
  15% { transform: rotate(15deg); }
  30% { transform: rotate(-10deg); }
  45% { transform: rotate(15deg); }
  60% { transform: rotate(-10deg); }
  75% { transform: rotate(15deg); }
  100% { transform: rotate(0deg); }
}

.heart {
  display: inline-block;
  animation: beat 0.6s infinite;
}

@keyframes beat {
  0%, 100% { transform: scale(0.8); }
  50% { transform: scale(1); }
}

@keyframes glide {
  0% { transform: translateX(0) rotate(0deg); }
  50% { transform: translateX(20px) rotate(15deg); }
  100% { transform: translateX(0) rotate(0deg); }
}

.plane {
  display: inline-block;
  animation: glide 2s ease-in-out infinite;
}

@media(prefers-color-scheme: dark) {
    body {
        background-color: #111;
    }

    h1, h2, h3, p,a,li, label  {
        color: white;
    } 

    hr {
        border-color: rgb(92, 92, 92);
    }

    mark {
        background-color: cyan;
    }
}

@media(max-width:400px) {
    .header-name-title {
        font-size:45px;
    }
    .hi-welcome-div {
        flex-direction: column;
    }
    .main-introduction {
        font-size: 24px;
    }
    .introduction-fact-list {
        font-size: 22px;
        padding-left: 0;
    }
    footer{
        flex-direction: column;
    }
    .productivity {
        visibility: collapse;
        width: 0;
        height: 0;
        display: none;
    }
    .wave {
        margin-bottom: 32px;
    }
    .category-title {
        text-align: center;
    }
}