
@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@400;700&family=Roboto:wght@400;700&display=swap');

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Roboto', sans-serif;
    background: linear-gradient(135deg, #000046, #1c1c3c, #2c3e50);
    color: #ffffff;
    line-height: 1.6;
    padding: 20px;
}

h1, h2, h3, h4 {
    font-family: 'Montserrat', sans-serif;
    color: #39ff14;
    text-shadow: 0 0 10px #39ff14, 0 0 20px #39ff14;
}

h1 {
    font-size: 2.5rem;
    margin-bottom: 20px;
    text-align: center;
}

h2 {
    font-size: 2rem;
    margin: 20px 0;
}

h3 {
    font-size: 1.75rem;
    margin: 15px 0;
}

h4 {
    font-size: 1.5rem;
    margin: 10px 0;
}

p {
    margin: 10px 0;
    padding: 0 10px;
}

a {
    color: #39ff14;
    text-decoration: none;
    transition: color 0.3s ease;
}

a:hover {
    color: #00e676;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
}

.grid-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
    padding: 20px 0;
}

.card {
    background: rgba(255, 255, 255, 0.1);
    border-radius: 15px;
    box-shadow: 0 0 15px rgba(57, 255, 20, 0.5);
    padding: 20px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.card:hover {
    transform: scale(1.05) rotateY(10deg);
    box-shadow: 0 0 25px rgba(57, 255, 20, 0.7);
}

button, .button {
    background: #39ff14;
    border: none;
    padding: 10px 20px;
    border-radius: 5px;
    cursor: pointer;
    font-family: 'Montserrat', sans-serif;
    font-size: 1rem;
    transition: background-color 0.3s ease, transform 0.3s ease;
    box-shadow: 0 0 10px rgba(57, 255, 20, 0.5);
}

button:hover, .button:hover {
    background: #00e676;
    transform: translateY(-2px);
    box-shadow: 0 0 20px rgba(57, 255, 20, 0.7);
}

button:active, .button:active {
    background: #00c853;
    box-shadow: 0 0 15px rgba(0, 230, 118, 0.5);
}

pre {
    background: rgba(0, 0, 0, 0.8);
    padding: 15px;
    border-radius: 10px;
    overflow-x: auto;
    margin: 10px 0;
}

code {
    font-family: 'Roboto Mono', monospace;
    color: #39ff14;
}

table {
    width: 100%;
    border-collapse: collapse;
    margin: 20px 0;
}

th, td {
    border: 1px solid #39ff14;
    padding: 10px;
    text-align: left;
}

th {
    background: rgba(57, 255, 20, 0.2);
}

tr:nth-child(even) {
    background: rgba(57, 255, 20, 0.1);
}

img {
    width: 100%;
    height: auto;
    border-radius: 10px;
}

.fade-in-element {
    animation: fadeIn 1s ease-in-out;
}

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

.navigation {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-bottom: 20px;
}

.navigation a {
    background: rgba(57, 255, 20, 0.2);
    padding: 10px 15px;
    border-radius: 50%;
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.3s ease, transform 0.3s ease;
}

.navigation a:hover {
    background: rgba(57, 255, 20, 0.4);
    transform: scale(1.1);
}

@media (max-width: 1440px) {
    h1 {
        font-size: 2.2rem;
    }
    h2 {
        font-size: 1.8rem;
    }
}

@media (max-width: 1200px) {
    .grid-container {
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    }
}

@media (max-width: 1024px) {
    .container {
        padding: 15px;
    }
    h1 {
        font-size: 2rem;
    }
    h2 {
        font-size: 1.6rem;
    }
}

@media (max-width: 768px) {
    .grid-container {
        grid-template-columns: 1fr;
    }
    h1 {
        font-size: 1.8rem;
    }
    h2 {
        font-size: 1.4rem;
    }
}

@media (max-width: 480px) {
    h1 {
        font-size: 1.5rem;
    }
    h2 {
        font-size: 1.2rem;
    }
}

@media (max-width: 320px) {
    body {
        padding: 10px;
    }
    .navigation a {
        width: 40px;
        height: 40px;
    }
}

