/* General Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Arial', sans-serif;
    line-height: 1.6;
    background-color: #f4f4f4;
    color: #333;
}

a {
    text-decoration: none;
    color: blue;
}

ul {
    list-style-type: none;
}

/* Header Styles */
header {
    background: linear-gradient(to right, #173630, #171736, #173630);
    color: white;
    padding: 20px;
    width: 100%;

    /*Making it stay on the top of the page*/
    position: fixed;
    z-index: 1000;

}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

nav .logo h1 {
    font-size: 2rem;
}

nav ul {
    display: flex;
    gap: 20px;
}

nav ul li a {
    color: white;
    font-size: 1.1rem;
    font-family: 'Consolas';
}

/* Hero Section */
#hero {
    background: linear-gradient(to right, #173630, #171736, #173630);
    color: white;
    text-align: center;
    padding: 100px 20px 200px 20px;
}

#hero h2 {
    font-size: 3rem;
    margin-bottom: 20px;
}
#hero img {
    width: 20%;
    aspect-ratio: 1 / 1;
    border-radius: 50%;
}
#hero p {
    font-size: 1.3rem;
    margin-bottom: 30px;
}

#hero .btn {
    background: #282c34;
    color: white;
    padding: 10px 20px;
    border-radius: 5px;
    font-family: 'Consolas';
}

#hero .btn:hover {
    background: #1c1c1c;
}

/* Section Styles */
.section-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 100px 20px;

}

#about {
    background-color: #222831; /* dark gray-blue */
    color: #eeeeee; /* light text for contrast */
}

#projects {
    background-color: #393e46; /* slightly lighter dark gray */
}

#contact {
    background-color: #222831; /* match about section */
    color: #eeeeee;
    text-align: center;
}

/* Projects Section */
.project-cards {
    display: flex;
    gap: 20px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scrollbar-width: none; /* Firefox */
    -ms-overflow-style: none;  /* Internet Explorer 10+ */
}

.project-card {
    background-color: white;
    width: 50%;
    padding: 20px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    text-align: center;
    border-radius: 8px;

    flex: 0 0 auto;
    scroll-snap-align: center;
}

.project-cards::-webkit-scrollbar {
    display: none; /* Safari and Chrome */
}

.project-card img {
    border-radius: 8px;
}

.project-card h3 {
    margin-top: 15px;
    font-size: 1.5rem;
}

.project-card p {
    margin-top: 10px;
    font-size: 1rem;
}

/* Contact Form */
form {
    display: flex;
    flex-direction: column;
    gap: 10px;
    max-width: 600px;
    margin: 0 auto;
}

form input, form textarea {
    padding: 10px;
    font-size: 1rem;
    border-radius: 5px;
    border: 1px solid #ccc;
}
form textarea {
 font-family: 'Comic Sans MS';
}


form button {
    padding: 15px;
    background: #007BFF;
    color: white;
    border: none;
    border-radius: 5px;
    font-size: 1rem;
    cursor: pointer;
    font-family: 'Consolas';
}

form button:hover {
    background: #0056b3;
}

/* Footer */
footer {
    text-align: center;
    padding: 20px;
    background-color: #393e46;
    color: white;
}

#about, #contact, #projects {
    padding: 60px 20px;
    border-radius: 12px;
    margin: 20px;
}

@media (max-width: 768px) {
    #about, #contact, #projects {
	padding: 10px;
	border-radius: 12px;
	margin: 10px;
    .project-card {
        width: 75%;
    }
}