
*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    scroll-behavior: smooth;
}



body {
    font-family: 'Arial', sans-serif;
    background: #0e0f1f url('stars-background.jpg') no-repeat center center fixed;
    background-size: cover;
    color: #f0f0f0;
    line-height: 1.6;
    overflow-x: hidden;
}



nav {
    background-color: rgba(26, 26, 46, 0.9);
    padding: 1rem 0;
    position: sticky;
    top: 0;
    z-index: 10;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.2);
}

nav .container {
    display: flex;
    justify-content: center;
}

nav ul {
    list-style: none;
    display: flex;
    gap: 2rem;
}

nav ul li a {
    color: #f0f0f0;
    font-size: 1.1rem;
    font-weight: bold;
    text-transform: uppercase;
    text-decoration: none;
    transition: color 0.3s ease;
}

nav ul li a:hover {
    color: #38a1db;
    transform: scale(1.1);
}



main.container {
    max-width: 1100px;
    margin: 3rem auto;
    padding: 1rem;
    text-align: center;
}

h1 {
    font-size: 2.8rem;
    color: #38a1db;
    margin-bottom: 1.5rem;
}



.certifications-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.certifications-grid div {
    background-color: rgba(26, 26, 46, 0.95);
    padding: 1.5rem;
    border-radius: 8px;
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.15);
}

.certifications-grid div:hover {
    transform: translateY(-10px);
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.3);
}

.certifications-grid img {
    border-radius: 5px;
    margin-bottom: 1rem;
}

.certifications-grid h3 {
    color: #38a1db;
    font-size: 1.25rem;
    margin: 0.5rem 0;
}

.certifications-grid p {
    color: #9c9c9c;
}

.certifications-grid a.button {
    display: inline-block;
    margin-top: 1rem;
    padding: 0.5rem 1rem;
    background-color: #38a1db;
    color: #ffffff;
    font-weight: bold;
    text-decoration: none;
    border-radius: 5px;
    transition: background-color 0.3s ease;
}

.certifications-grid a.button:hover {
    background-color: #2e93c5;
}


footer {
    background-color: #1a1a2e;
    padding: 1.5rem;
    text-align: center;
    color: #9c9c9c;
    margin-top: 3rem;
    border-top: 1px solid #2e2e4d;
}

footer a {
    color: #f0f0f0;
    margin: 0 0.5rem;
    transition: color 0.3s ease;
}

footer a:hover {
    color: #38a1db;
}

footer .icon {
    width: 24px;
    height: 24px;
    vertical-align: middle;
    margin: 0 5px;
}


.page-transition {
    animation: fadeIn 1s ease-out;
}

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


nav ul li a svg.icon,
footer a svg.icon {
    transition: fill 0.3s ease;
}

nav ul li a:hover svg.icon,
footer a:hover svg.icon {
    fill: #38a1db;
}


@media (max-width: 768px) {
    nav ul {
        flex-direction: column;
        gap: 1rem;
    }
    .certifications-grid {
        grid-template-columns: 1fr;
    }
    h1 {
        font-size: 2rem;
    }
}


#background-music {
    display: none; 
}

#stars-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle, rgba(14, 15, 31, 0.8), #0e0f1f);
    z-index: -1;
}
