@import url('https://fonts.googleapis.com/css?family=Roboto');


:root {
    --cursor-size: 28px;
    --bg: #FAF7EE;
}

#cursor {
    position: fixed;
    top: calc(var(--cursor-size) * -0.5);
    left: calc(var(--cursor-size) * -0.5);
    pointer-events: none;
    mix-blend-mode: difference;
    filter: url(#goo);
}

.cursor-circle {
    position: absolute;
    top: 0;
    left: 0;
    width: var(--cursor-size);
    height: var(--cursor-size);
    border-radius: var(--cursor-size);
    background: var(--bg);
    transform-origin: center center;
}

.goo {
    display: none;
}

body {
    margin: 0;
    padding: 0;
    font-family: 'Roboto', sans-serif;
    background-color: #101214;
    color: #7A7C80;
    overflow: hidden;
    transition: background-color 0.3s, color 0.3s;
}

.light-mode {
    background-color: #f0f0f0;
    color: #333;
}

.light-mode .white,
.light-mode h2,
.light-mode a {
    color: #333;
}

.theme-toggle {
    position: fixed;
    top: 10px;
    right: 10px;
    border: none;
    background: transparent;
    color: #f0f0f0;
    cursor: pointer;
    z-index: 1000;
    font-size: 1.5rem;
    transition: color 0.3s;
}

.theme-toggle:hover {
    color: #7A7C80;
}

.light-mode .theme-toggle {
    color: #333;
}

.grid-2 {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
}

.snow {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 9999;
}

.snowflake {
    position: absolute;
    top: -10px;
    width: 10px;
    height: 10px;
    background: #fff;
    opacity: 0.8;
    border-radius: 50%;
    animation: fall linear infinite;
}

@keyframes fall {
    0% {
        transform: translateY(-10px) scale(0.3);
        opacity: 0;
    }
    50% {
        opacity: 0.8;
    }
    100% {
        transform: translateY(100vh) scale(1);
        opacity: 0;
    }
}

h2, .white {
    color: #fff;
}

a {
    color: #7A7C80;
    text-decoration: none;
}

.section-1 {
    padding-top: 40vh;
    text-align: center;
}

.section-1 p {
    font-size: 1.1rem;
    padding-bottom: 10px;
    margin: 0;
    opacity: 0;
    transform: translateY(20px) rotate(-10deg);
    animation: bounceIn 0.7s forwards;
}

.section-1 h2 {
    font-size: 1.7rem;
    margin-bottom: 10px;
    opacity: 0;
    transform: translateY(20px) rotate(-10deg);
    animation: bounceIn 0.7s forwards;
    animation-delay: 0.2s;
}

.section-1 a {
    font-size: 1.5rem;
    padding: 10px;
    opacity: 0;
    transform: translateY(20px) rotate(-10deg);
    animation: bounceIn 0.7s forwards;
    animation-delay: 0.4s;
}

.section-2 {
    padding-top: 10vh;
    width: 70%;
}

.section-2 h2 {
    font-size: 1.7rem;
    margin-bottom: 10px;
    opacity: 0;
    transform: translateY(20px) rotate(-10deg);
    animation: bounceIn 0.7s forwards;
    animation-delay: 0.6s;
}

.section-2 p {
    font-size: 1.1rem;
    padding-bottom: 10px;
    margin: 0;
    opacity: 0;
    transform: translateY(20px) rotate(-10deg);
    animation: bounceIn 0.7s forwards;
    animation-delay: 0.8s;
}

.section-2 a {
    display: block;
    padding: 5px;
    font-size: 1.2rem;
    padding-left: 0;
    width: 100px;
    transition: transform 0.2s, color 0.2s;
    opacity: 0;
    transform: translateY(20px) rotate(-10deg);
    animation: bounceIn 0.7s forwards;
    animation-delay: 1s;
}

.section-2 a:hover {
    font-size: 1.3rem;
    color: #fff;
    cursor: pointer;
    transform: scale(1.1);
}

.section-1 a:hover {
    color: #fff;
    cursor: pointer;
    transition: color 0.3s, transform 0.3s;
    transform: scale(1.1);
}

.white:hover {
    position: relative;
    padding-left: 10px;
}

.white:hover::after {
    content: '';
    position: absolute;
    left: 0;
    right: 0;
    bottom: -2px;
    height: 2px;
    background-color: #fff;
    animation: slideIn 0.3s forwards;
}

@keyframes bounceIn {
    0% {
        opacity: 0;
        transform: translateY(30px) scale(0.5) rotate(-10deg);
    }
    50% {
        opacity: 0.5;
        transform: translateY(15px) scale(1.05) rotate(5deg);
    }
    100% {
        opacity: 1;
        transform: translateY(0) scale(1) rotate(0);
    }
}

.clipboard-message {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background-color: #868686;
    color: white;
    padding: 15px 20px;
    border-radius: 8px;
    box-shadow: 0 4px 20px rgba(255, 255, 255, 0.2);
    animation: popIn 0.5s forwards;
    z-index: 1000;
}

@keyframes popIn {
    0% {
        opacity: 0;
        transform: translate(-50%, -40%) scale(0.8);
    }
    100% {
        opacity: 1;
        transform: translate(-50%, -50%) scale(1);
    }
}

.fade-out {
    animation: fadeOut 0.5s forwards;
}

@keyframes fadeOut {
    0% {
        opacity: 1;
    }
    100% {
        opacity: 0;
    }
}

@keyframes slideIn {
    from {
        transform: scaleX(0);
    }
    to {
        transform: scaleX(1);
    }
}

@media(max-width: 780px) {
    .grid-2 {
        grid-template-columns: 1fr;
    }
    .section-1 {
        padding: 0;
        padding-top: 5rem;
    }
    .section-2 {
        padding: 0;
        padding-left: 1.5rem;
        padding-top: 2rem;
    }
}
