/* Basic Reset */
*, ::before, ::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

:root {
    --background-color: #4abdac; 
    --background-color-off: #296a60;
    --background-color-dark: black;
    --accent-color: #fc4a1a;
    --text-color: #dfdce3;
    --button-color: #f7b722;
    --button-color-light: #f8bc31;
    --button-color-hover: #00adb5;
    --button-color-hover-light: #00adb5;
    --image-fade-color: rgba(150, 150, 150, 0.3);
}

body {
    font-family: Avenir, sans-serif; 
    color: #f0f0f0; 
    background-color: var(--background-color-dark);
    background-attachment: fixed;
    line-height: 1.6;
    overflow-x: hidden;
}

@keyframes rotateBackground {
    from {
      transform: rotate(0deg);
    }
    to {
      transform: rotate(360deg);
    }
}

header {
    text-align: center;
    padding: 100px 0;
    background: var(--background-color-dark); /* Slightly different dark shade for the header */
}

header h1 {
    margin-bottom: 10px;
    color: #e94560; /* Accent color */
    font-size: 2.5em;
}

header p {
    font-size: 1.2em;
    color: #a3a3a3; /* Soft grey for subtitle */
}

.header-home {
    position: absolute;
    top: 140px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 1;
    background-color: rgba(0, 0, 0, 0.6);
    padding: 40px 40px;
    border-radius: 90px;
    width: 400px;
}

.header-home-content {
    width: 100%;
}

.container {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 60px;
    background: var(--background-color-dark);
}

.section-background {
    height: 10px;
    background: var(--background-color);
}

.container img {
    width: 200px;
    height: 200px;
    border-radius: 10px;
    background: black;
    -webkit-mask-image: radial-gradient(circle, black, transparent 75%, transparent); /* Apply a circular gradient mask */
    mask-image: radial-gradient(circle, black, transparent 75%, transparent); /* Apply a circular gradient mask */
}

.container > div {
    width: 70%;
    overflow: hidden
}

h2 {
    margin-bottom: 20px;
    color: #00ced9; /* Accent color for section titles */
}

p, a {
    font-size: 1em;
    color: #eeeeee; /* Light color for text */
    text-decoration: none;
}

.learn-more, .go-home {
    display: inline-block;
    background: var(--button-color);
    color: #17162a;
    margin-top: 20px;
    padding: 10px 20px;
    border-radius: 5px;
    transition: background-color 0.3s ease;
    cursor: pointer;
}

.learn-more:hover, .go-home:hover {
    background-color: var(--button-color-hover);
}

.left-image {
    flex-direction: row-reverse;
}

.right-image {
    flex-direction: row;
}

.container.left-image div {
    text-align: left;
}

.container.right-image div {
    text-align: right;
}

footer {
    text-align: center;
    padding: 20px;
    background: var(--background-color-dark);
    color: #a3a3a3;
}

@keyframes fadeInCenter {
	0% {
		opacity: 0;
	}

	100% {
		opacity: 1;
	}
}


/* slider stuff */
.app {
    min-width: 100vw;
    min-height: 500px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
}

.tag-list {
    width: 35rem;
    max-width: 100vw;
    display: flex;
    flex-shrink: 0;
    flex-direction: column;
    gap: 1rem 0;
    position: relative;
    padding: 1.5rem 0;
    overflow: hidden;
}

.loop-slider {
    .inner {
        display: flex;
        width: fit-content;
        animation-name: loop;
        animation-timing-function: linear;
        animation-iteration-count: infinite;
        animation-direction: var(--direction);
        animation-duration: var(--duration);
    }
}

.tag {
    display: flex;
    align-items: center;
    gap: 0 0.2rem;
    color: #b6bbc1;
    font-size: 0.9rem;
    background-color: #102a4e;
    border-radius: 0.4rem;
    padding: 0.7rem 1rem;
    margin-right: 1rem; 
    box-shadow: 
        0 0.1rem 0.2rem rgba(0, 0, 0, 0.2),
        0 0.1rem 0.5rem rgb(0 0 0 / 30%),
        0 0.2rem 1.5rem rgb(0 0 0 / 40%);

    span {
        font-size: 1.2rem;
        color: #65e6d5;
    }
}

.fade {
    pointer-events: none;
    background: linear-gradient(90deg, var(--background-color-dark), transparent 30%, transparent 70%, var(--background-color-dark));
    position: absolute;
    inset: 0;
}

@keyframes loop {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(-50%);
    }
}

.links-container {
    width: 90%;
    margin: 20px auto;
    padding: 5px;
    text-align: left;
}

.links-container a {
    text-align: center;
    font-size: 1em;
    color: #eeeeee; /* Light color for text */
    text-decoration: none;
    font-weight: 700;
    display: inline-block;
    background: var(--button-color-light);
    color: #17162a;
    margin-top: 10px;
    padding: 5px 10px;
    border-radius: 5px;
    transition: background-color 0.3s ease;
    cursor: pointer;
    width: 60%;
}

.links-container a:hover {
    background-color: var(--button-color-hover-light);
}

@media (max-width: 768px) {
    .container {
        flex-direction: column;
        text-align: center;
        padding: 20px;
    }

    .container div {
        width: 100%;
    }

    .left-image, .right-image {
        flex-direction: column;
    }

    .container.left-image div, .container.right-image div {
        text-align: center;
    }

    .container img {
        width: 100px;
        height: 100px;
    }

    .links-container {
        text-align: center;
    }

    .links-container a {
        width: 100%;
    }
}