:root {
    --primary-color: #00d1b2;
    --secondary-color: #fff;
    --link-color: #00d1b2;
    --link-hover-color: #00c1a7;
    --background-color: #f5f5f5;
}

body {
    font-family: Arial, sans-serif;
    margin: 0;
    padding: 0;
    background-color: var(--background-color);
    animation: fadeIn 1s ease;
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

header {
    background-color: var(--primary-color);
    color: var(--secondary-color);
    padding: 20px;
    text-align: center;
    animation: slideInDown 0.5s ease;
}

@keyframes slideInDown {
    from {
        transform: translateY(-50%);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

nav {
    margin-top: 20px;
    opacity: 0;
    transform: translateY(-50px) rotateZ(-10deg);
    animation: fadeInRotate 1s cubic-bezier(0.68, -0.55, 0.265, 1.55) forwards,
               rotateIn 0.8s cubic-bezier(0.18, 0.89, 0.32, 1.28) 0.3s forwards;
    transition: transform 0.5s ease, opacity 0.5s ease;
}

@keyframes fadeInRotate {
    to {
        opacity: 1;
        transform: translateY(0) rotateZ(0);
    }
}

@keyframes rotateIn {
    from {
        transform: rotateZ(-200deg);
    }
    to {
        transform: rotateZ(0);
    }
}

nav a {
    color: var(--secondary-color);
    text-decoration: none;
    margin: 0 10px;
    transition: color 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94), transform 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

nav a:hover {
    color: var(--link-hover-color);
    transform: translateY(-3px);
}

.container {
    max-width: 800px;
    margin: 20px auto;
    padding: 0 20px;
    animation: zoomIn 0.5s ease;
}

@keyframes zoomIn {
    from {
        transform: scale(0);
    }
    to {
        transform: scale(1);
    }
}

.tools {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
}

.tool {
    background-color: var(--secondary-color);
    border-radius: 5px;
    padding: 20px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    animation: fadeInUp 0.5s ease;
}

.tool:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

@keyframes fadeInUp {
    from {
        transform: translateY(50%);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

.tool h3 {
    color: var(--primary-color);
    margin-bottom: 10px;
}

.tool p {
    color: #666;
}

.tool a {
    display: inline-block;
    margin-top: 10px;
    background-color: var(--primary-color);
    color: var(--secondary-color);
    padding: 8px 15px;
    text-decoration: none;
    border-radius: 5px;
    transition: background-color 0.3s ease;
}

.tool a:hover {
    background-color: var(--link-hover-color);
}
