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

/* Variables for common colors */
:root {
    --primary-bg: rgba(0, 255, 255, 0.3);
    --primary-color: #3498db;
    --text-color: #333;
    --accent-color: yellow;
    --hover-bg: rgba(0, 255, 255, 0.6);
    --hover-text-color: rgba(0, 255, 10, 0.6);
    --shadow-color: rgba(50, 100, 220, 0.7);
}

/* Body */
body {
    background-image: url('../images/background.jpg');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    background-repeat: no-repeat;
    font-family: Arial, sans-serif;
    margin-bottom: 2rem;
    line-height: 1.4;
}

/* Header */
header {
    background-color: var(--primary-bg);
    color: white;
    text-align: center;
    width: 100%;
}

/* Navigation */
nav {
    background-color: #333;
    text-align: center;
    position: sticky;
    top: 0;
    z-index: 100;
    box-shadow: 0 0 20px var(--shadow-color);
}

nav a {
    color: cyan;
    padding: 1rem;
    text-decoration: none;
    display: inline-block;
}

nav a:hover, nav a.active {
    background-color: var(--accent-color);
    background: var(--hover-bg);
    color: var(--hover-text-color);
    box-shadow: 0 0 20px var(--shadow-color);
    filter: blur(0.5px);
}

/* Section */
section {
    margin-top: 2rem;
    margin-bottom: 2rem;
    padding: 2rem;
    background-color: white;
    background: rgba(255, 255, 255, 0.5);
    box-shadow: 0 0 20px var(--shadow-color);
}

section h2, section h3 {
    margin-top: 1rem;
    margin-bottom: 1rem;
    text-align: center;
    box-shadow: 0 0 20px var(--shadow-color);
}

section h2 {
    color: rgba(0, 100, 220, 8.7);
    filter: blur(0.5px);
}

section h3 {
    color: rgba(250, 250, 100, 0.7);
}

section ul, section p {
    margin-bottom: 1rem;
    color: black;
}

.container {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
}

.container > div {
    flex: 0 0 calc(50% - 0rem);
    padding: 1rem;
}

/* Footer */
footer {
    background-color: #333;
    color: cyan;
    text-align: center;
    padding: 1rem 0;
    position: fixed;
    bottom: 0;
    width: 100%;
}

/* Responsive */
@media (max-width: 800px) {
    .container > div {
        flex: 0 0 100%;
    }
}

/* Animations */
@keyframes slideOut {
    from {
        transform: translateX(0);
        opacity: 1;
    }
    to {
        transform: translateX(-100%);
        opacity: 0;
    }
}

@keyframes slideIn {
    from {
        transform: translateX(100%);
        opacity: 0;
    }
    to {
        transform: translateX(0);
        opacity: 1;
    }
}

#content {
    padding: 2rem;
    animation: slideIn 0.5s forwards;
}

/* Back to Top Button Styles */
#back-to-top {
    display: none;
    position: fixed;
    left: 50%;
    z-index: 100;
    padding: 8px 10px;
    border-radius: 50px;
    font-size: 16px;
    cursor: pointer;
    background: var(--primary-bg);
    color: var(--hover-text-color);
    box-shadow: 0 0 20px var(--shadow-color);
}

#back-to-top:hover {
    background: var(--hover-bg);
    color: var(--hover-text-color);
    box-shadow: 0 0 20px var(--shadow-color);
    filter: blur(0.9px);
}

/* Social Media Buttons Styles */
.social-icons-fixed {
    position: fixed;
    top: 50%;
    transform: translateY(-50%);
    z-index: 100;
    box-shadow: 0 0 20px var(--shadow-color);
}


.social-icons-fixed li {
    margin: 10px 0;
}

.social-icons-fixed a {
    color: #03c8fa7c;
    font-size: 20px;
    transition: transform 0.3s ease;
}

.social-icons-fixed a:hover {
    transform: scale(0.7);
    background: var(--primary-bg);
}

.social-icons-fixed li a::after {
    content: attr(data-name);
    position: absolute;
    left: 35px;
    top: 50%;
    transform: translateY(-50%);
    white-space: nowrap;
    background-color: var(--primary-bg);
    color: #ffe600;
    padding: 5px 0px;
    border-radius: 5px;
    opacity: 0;
    transition: opacity 0.3s ease;
    font-size: 16px;
}

.social-icons-fixed li a:hover::after {
    opacity: 1;
}
