body {
    background-color: #e5dcfb;
    font-family: Arial, sans-serif;
    margin: 0;
    padding: 0;
    transition: background-color 0.3s, color 0.3s;
    color: black;
}

header {
    background-color: #c38bd1;
    color: #fff;
}

.effect__fadein-basic {
    opacity: 0;
    transition: opacity 1s ease-in-out;
}

.frameType {
    background-color: #8e589b;
    border-radius: 4px;
    color: white;
    text-align: center;
    align-content: center;
    font-size: 15px;
}

a {
    text-decoration: none !important;
}

.topbarstyle {
    position: fixed;
    opacity: 0.5;
    z-index: 9999;
    background-color: #8e589b;
}

.container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 20px;
}

.active {
    opacity: 1;
}

h1 {
    margin: 0;
}

#menu-toggle {
    display: none;
    background: none;
    border: none;
    color: #fff;
    font-size: 1.5em;
}

nav ul {
    list-style-type: none;
    padding: 0;
    margin: 0;
}

nav ul li {
    padding: 10px 20px;
    border-bottom: 1px solid #ccc;
}

main {
    padding: 20px;
}

#project {
    margin-bottom: 30px;
}

.portal {
    border-radius: 10px;
    padding: 20px;
    margin-bottom: 30px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.light-mode .portal {
    background-color: #f9f9f9;
}

footer {
    background-color: #c38bd1;
    color: #fff;
    padding: 20px 0;
    text-align: center;
}

footer p {
    margin: 0;
}

footer ul {
    list-style-type: none;
    padding: 0;
}

footer ul li {
    display: inline;
    margin: 0 10px;
}

footer ul li a {
    color: #fff;
    text-decoration: none;
}

.underline-link {
    position: relative;
    display: inline-block;
}

.underline-link::after {
    content: '';
    position: absolute;
    width: 100%;
    height: 2px;
    bottom: 0;
    left: 0;
    background: linear-gradient(90deg, #FF5F6D, #FFC371, #24C6DC);
    transform: scaleX(0);
    transform-origin: bottom right;
    transition: transform 0.3s ease-out;
}

.underline-link:hover::after {
    transform: scaleX(1);
    transform-origin: bottom left;
}

.blank-space {
    height: 400px;
    background-color: transparent;
}

.welcomeText {
    text-align: center;
    align-content: center;
    position: absolute;
    font-size: 400%;
    width: 100%;
    height: 50%;
    color: #8e589b;
    white-space: nowrap;
    overflow: hidden;
    border-right: 2px solid #333;
    padding-right: 5px;
    animation: blink-caret 0.75s step-end infinite;
}

.welcomeText span {
    display: inline-block;
    opacity: 0;
    transform: translateY(0);
    transition: opacity 0.5s ease, color 0.5s ease;
}

@keyframes blink-caret {

    from,
    to {
        border-color: transparent;
    }

    50% {
        border-color: #333;
    }
}

.fade-in {
    animation: fadeIn 1s ease forwards;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.highlight {
    color: #f7b3d5;
}

.normal {
    color: #9b59b6;
}

/* TODO: Make shape an actual water droplet :D */

.droplet-line {
    position: relative;
    height: 30px;
    margin-top: 10px;
}

.droplet-line::before,
.droplet-line::after {
    content: '';
    position: absolute;
    width: 100%;
    height: 2px;
    background: linear-gradient(90deg, #FF5F6D, #FFC371, #24C6DC);
    bottom: 0;
    left: 0;
}

.droplet-line::before {
    top: 0;
    height: 30px;
    background: none;
    display: flex;
    justify-content: space-between;
    padding: 0 10px;
}

.droplet-line::before::after,
.droplet-line::before::before {
    content: '';
    width: 10px;
    height: 15px;
    border-radius: 50% 50% 0 0;
    background-color: #FF5F6D;
    box-shadow: 10px 0 #FFC371, 20px 0 #24C6DC;
    margin: 0 5px;
    transform: rotate(180deg);
}

.droplet-line::before::before {
    margin-left: 0;
    background-color: #FF5F6D;
}

.droplet-line::before::after {
    margin-right: 0;
    background-color: #24C6DC;
}