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

body {
    font-family: 'Courier new', monospace;
    background-color: #f5f5f5;
    color: #333;
    line-height: 1.6;
    padding: 20px;
}

/* Hero Section */
.hero {
    text-align: center;
    padding: 75px 0;
    background-color: #fff;
}

.hero h1 {
    font-size: 1.5rem;
    margin-bottom: 10px;
}

.hero p {
    font-size: 1.2rem;
    color: #555;
}

/* About Section */
.about {
    padding: 60px 0;
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

.about h2 {
    font-size: 1.75rem;
    margin-bottom: 20px;
}

/* Skills Section */
.skills {
    padding: 60px 0;
    background-color: #fff;
    text-align: center;
}

.skills h2 {
    font-size: 1.75rem;
    margin-bottom: 20px;
}

.skill-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    max-width: 800px;
    margin: 0 auto;
}

/* Projects Section */
.projects {
    padding: 60px 0;
    text-align: center;
}

.projects h2 {
    font-size: 1.75rem;
    margin-bottom: 40px;
}

.project-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 20px;
    max-width: 1000px;
    margin: 0 auto;
}

.project {
    background-color: #fff;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.project:hover {
    transform: translateY(-10px);
}

.project img {
    width: 100%;
    border-radius: 8px;
}

/* Contact Section */
.contact {
    padding: 60px 0;
    text-align: center;
}

.contact-info a {
    margin: 0 15px;
    text-decoration: none;
    color: #333;
    font-size: 1.2rem;
    transition: color 0.3s ease;
}

.contact-info a:hover {
    color: #007BFF;
}

/* Responsive */
@media (max-width: 1024px) {
    .skill-grid {
        grid-template-columns: 1fr;
    }

    .project-grid {
        grid-template-columns: 1fr;
    }
}

.circle-image {
    width: 300px; /* Adjust the size as needed */
    height: 300px; /* Must be the same as width to maintain circular shape */
    border-radius: 50%; /* This creates the circle */
    object-fit: cover; /* Ensures the image covers the entire container without distortion */
}

/* Gallery Section */
.gallery {
    padding: 60px 20px;
    text-align: center;
}

.gallery h2 {
    font-size: 1.75rem;
    margin-bottom: 20px;
}

.gallery-container {
    display: flex;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    padding: 10px 0;
    gap: 20px;
}

.gallery-item {
    flex: 0 0 auto;
    width: 300px; /* Adjust width as needed */
    scroll-snap-align: start;
}

.gallery-item img {
    width: 100%;
    height: auto;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.gallery-item img:hover {
    transform: scale(1.05);
}

/* Optional: Hide scrollbar in WebKit browsers */
.gallery-container::-webkit-scrollbar {
    display: none;
}

/* Ensure the container fills the screen width and handles overflow */
@media (max-width: 768px) {
    .gallery-item {
        width: 250px; /* Adjust width for smaller screens */
    }
}
