/* ============================== */
/* General Styles */
/* ============================== */

body {
    font-family: Arial, sans-serif;
    margin: 0;
    padding: 0;
    background-color: #f0f0f0;
    line-height: 1.6;
}

/* ============================== */
/* Header & Navigation */
/* ============================== */

header {
    background-color: #333;
    color: white;
    padding: 10px 0;
    text-align: center;
}

header h1 {
    margin: 0;
}

nav {
    margin-top: 10px;
}

nav ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    justify-content: center;
}

nav ul li {
    margin: 0 15px;
}

nav ul li a {
    color: white;
    text-decoration: none;
}

nav a {
    color: #333;
    text-decoration: none;
    font-weight: bold;
    background-color: #e0e0e0;
    padding: 8px 15px;
    border-radius: 5px;
    display: inline-block;
    margin-top: 20px;
    transition: background-color 0.3s ease;
}

nav a:hover {
    background-color: #ccc;
}

/* ============================== */
/* About Section */
/* ============================== */

#about {
    padding: 20px;
}

.about-container {
    display: flex;
    align-items: center;
    width: 100%;
}

.emblem img {
    border-radius: 50%;
    width: 100px;
    height: 100px;
    object-fit: cover;
    margin-right: 20px;
}

.about-text {
    flex: 1;
}

/* ============================== */
/* Profile Image & Intro Section */
/* ============================== */

.profile img {
    width: 150px;
    height: 150px;
    border-radius: 50%;
    object-fit: cover;
}

.intro-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    height: 40vh;
}

/* ============================== */
/* Sections (General) */
/* ============================== */

section {
    padding: 20px;
    margin: 20px;
    background-color: white;
    border-radius: 10px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

h2 {
    margin-top: 0;
}

/* ============================== */
/* Logos Section */
/* ============================== */

.logos {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 20px;
    padding: 20px;
    overflow: hidden;
    white-space: nowrap;
    position: relative;
    padding: 20px 0;
}

.logos .logo-container {
    display: inline-flex;
    gap: 20px;
    animation: slide 10s linear infinite;
}

.logos span {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    padding: 10px 20px;
    width: 80px;
    height: 80px;
    background-color: #ddd;
    border-radius: 10px;
    text-align: center;
    font-size: 16px;
    font-weight: bold;
    color: #555;
}

/* ============================== */
/* Skills Section */
/* ============================== */

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

.skills-container span {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 15px 25px;
    margin: 10px;
    background-color: #f4f4f4;
    border-radius: 5px;
    font-weight: bold;
    text-align: center;
    white-space: nowrap;
    min-width: 100px;
    height: 50px;
    position: relative;
    top: 15px;
}

/* ============================== */
/* Animation for Logos */
/* ============================== */

@keyframes slide {
    from {
        transform: translateX(100%);
    }
    to {
        transform: translateX(-100%);
    }
}

/* ============================== */
/* Project Section */
/* ============================== */

.project {
    margin-bottom: 20px;
    background-color: #f9f9f9;
    border: 1px solid #ccc;
    border-radius: 8px;
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.project:hover {
    transform: translateY(-5px);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

.project h3 {
    margin: 0;
    background-color: #333;
    color: white;
    padding: 10px;
}

.project h3 a {
    text-decoration: none;
    color: white;
    display: block;
}

.project p {
    padding: 10px;
}

/* ============================== */
/* Project Details Page */
/* ============================== */

#project-details {
    padding: 20px;
}

#project-details img {
    max-width: 100%;
    height: auto;
    margin: 10px 0;
    border: 1px solid #ccc;
    border-radius: 5px;
}

#project-details p {
    font-size: 1.1em;
    line-height: 1.5;
}

/* ============================== */
/* Contact Section */
/* ============================== */

.contact-buttons {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-top: 15px;
}

.contact-btn {
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    color: white;
    font-size: 18px;
    font-weight: bold;
    padding: 12px 20px;
    border-radius: 8px;
    transition: 0.3s;
}

/* Contact Buttons - Colors */
.linkedin {
    background-color: #0077b5;
}

.github {
    background-color: #333;
}

.email {
    background-color: #d14836;
}

/* Hover effect */
.contact-btn:hover {
    opacity: 0.8;
}

/* Icon styling */
.contact-btn i {
    font-size: 24px;
}

/* ============================== */
/* Footer */
/* ============================== */

footer {
    background-color: #333;
    color: white;
    text-align: center;
    padding: 10px 0;
    width: 100%;
}
