:root {
    --primary: #034C53;
    --secondary: #007074;
    --accent: #F38C79;
    --background: #FFC1B4;
    --white: #FFFFFF;
}

body {
    margin: 0;
    padding: 0;
    background-color: var(--background);
    color: var(--primary);
    font-family: 'Arial', sans-serif;
    min-height: 100vh;
    overflow-x: hidden;
}

/* Section styling */
.section {
    min-height: 100vh;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    scroll-snap-align: start;
    padding: 2rem 0;
    box-sizing: border-box;
    position: relative;
}

/* Scroll down arrow */
.scroll-arrow {
    position: absolute;
    bottom: 2rem;
    right: 2rem;
    width: 40px;
    height: 40px;
    cursor: pointer;
    animation: bounce 2s infinite;
    opacity: 0.7;
    transition: opacity 0.3s ease;
}

.scroll-arrow:hover {
    opacity: 1;
}

.scroll-arrow svg {
    width: 100%;
    height: 100%;
}

.hero-section .scroll-arrow path {
    fill: var(--primary);
}

.boring-section .scroll-arrow path {
    fill: var(--background);
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {
        transform: translateY(0);
    }
    40% {
        transform: translateY(-10px);
    }
    60% {
        transform: translateY(-5px);
    }
}

/* Hero section */
.hero-section {
    background-color: var(--background);
}

.hero {
    text-align: center;
}

h1 {
    font-size: 6rem;
    margin: 0;
    color: var(--primary);
}

.tagline {
    font-size: 1.8rem;
    margin-top: 1rem;
    color: var(--secondary);
    font-weight: 300;
}

/* Boring section */
.boring-section {
    background-color: var(--primary);
    color: var(--white);
}

.content {
    text-align: center;
    padding: 2rem;
    width: 100%;
    max-width: 1200px;
}

h2 {
    font-size: 4.5rem;
    margin: 0;
    color: var(--white);
}

.boring-section .tagline {
    color: var(--background);
    font-size: 2.25rem;
    margin-top: 1.5rem;
}

/* Fun section */
.fun-section {
    background-color: var(--secondary);
    color: var(--white);
}

.fun-section h2 {
    color: var(--accent);
    margin-bottom: 1rem;
}

.fun-section .tagline {
    color: var(--white);
    margin-bottom: 2rem;
}

.projects-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 2rem;
    margin-top: 2rem;
    max-width: 1200px;
}

.project-card-link {
    text-decoration: none;
    color: inherit;
    display: block;
    transition: transform 0.3s ease;
}

.project-card-link:hover {
    transform: translateY(-5px);
}

.project-card {
    background-color: var(--primary);
    border-radius: 8px;
    padding: 1.5rem;
    width: 280px;
    text-align: left;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    transition: box-shadow 0.3s ease;
}

.project-card-link:hover .project-card {
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.3);
}

.project-card h3 {
    color: var(--accent);
    font-size: 1.5rem;
    margin: 0 0 1rem 0;
}

.project-card p {
    color: var(--background);
    font-size: 1rem;
    line-height: 1.5;
}

/* Video container styling */
.video-container {
    width: 100%;
    height: 160px;
    margin-bottom: 1rem;
    border-radius: 4px;
    overflow: hidden;
    opacity: 0.8;
    background-color: rgba(0, 0, 0, 0.2);
}

.video-container video {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Word carousel animation */
.word-carousel {
    display: inline-block;
    position: relative;
    text-align: left;
    height: 1.8em;
    vertical-align: top;
    overflow: hidden;
}

.word-carousel-words {
    display: inline-block;
    position: relative;
    white-space: nowrap;
    transition: transform 0.5s;
    height: 1.8em;
    width: 5em;
}

.word-carousel-words span {
    position: absolute;
    height: 100%;
    width: 100%;
    color: var(--accent);
    font-weight: 600;
    opacity: 0;
    transform: translateY(-100%);
    text-align: center;
    animation: rotateWord 10s linear infinite 0s;
}

.word-carousel-words span:nth-child(2) {
    animation-delay: 2s;
}

.word-carousel-words span:nth-child(3) {
    animation-delay: 4s;
}

.word-carousel-words span:nth-child(4) {
    animation-delay: 6s;
}

.word-carousel-words span:nth-child(5) {
    animation-delay: 8s;
}

@keyframes rotateWord {
    0% {
        opacity: 0;
        transform: translateY(-100%);
    }
    2% {
        opacity: 0;
        transform: translateY(-50%);
    }
    5% {
        opacity: 1;
        transform: translateY(0);
    }
    15% {
        opacity: 1;
        transform: translateY(0);
    }
    18% {
        opacity: 0;
        transform: translateY(50%);
    }
    20% {
        opacity: 0;
        transform: translateY(100%);
    }
    100% {
        opacity: 0;
        transform: translateY(100%);
    }
} 

.accent-link {
    color: var(--accent);
}

.cool-ass-text {
    font-size: 20vh;
    color: white;
    text-shadow:
            -1px -1px 0 #000,
            1px -1px 0 #000,
            -1px 1px 0 #000,
            1px 1px 0 #000,
            2px 2px 0 #E40303,
            4px 4px 0 #FF8C00,
            6px 6px 0 #FFED00,
            8px 8px 0 #008026,
            10px 10px 0 #24408E,
            12px 12px 0 #732982;
}
