/* Global Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Roboto', sans-serif;
}

body {
    line-height: 1.6;
    background-color: #f4f4f4;
    color: #333;
    scroll-behavior: smooth;
}

/* Header */
header {
    background-color: #1a1a1a;
    padding: 1rem 5%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
}

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

nav ul li {
    margin: 0 1rem;
}

nav ul li a {
    color: #fff;
    text-decoration: none;
    font-size: 1rem;
    transition: color 0.3s;
}

nav ul li a:hover {
    color: #f4a261;
}

/* Sections */
section {
    padding: 4rem 5%;
    margin-bottom: 2rem;
}

#intro {
    background: linear-gradient(to right, #40e0d0, #2a2a72);
    color: #fff;
    text-align: center;
    padding: 6rem 5%;
}

#intro h2 {
    font-family: 'Lora', serif;
    font-size: 3rem;
    margin-bottom: 0.5rem;
}

#about {
    background-color: #fff;
    color: #333;
    text-align: center;
    padding: 4 rem 5%;
}

#about h2 {
    font-family: 'Great Vibes', cursive;
    font-size: 2.5rem;
    margin-bottom: 1rem;
}
.fun-fact-title{
    font-family: 'Great Vibes',cursive;
    font-size: 2.5rem;
    color: #2b2d42;
    text-align: center;
    margin-top: 20px;
    margin-bottom: 10px;
    letter-spacing: 0.5px;

}
.fun-fact-description{
    font-size: 1.2rem;
    line-height: 1.6;
    color: #333;
    text-align: center;
    font-style: italic;
    letter-spacing: 0.5px;
    padding: 10px 0;
    margin-bottom: 2rem;
    background-color: #f4a261;
    color:#fff;
    border-radius: 8px;
}
#about .fun-fact-title:hover{
    color:#f4a261;
    transition: color 0.3s ease;
}
/* Projects Section */
#projects {
    background-color: #fafafa;
    color: #333;
    text-align: center;
}

#projects h2 {
    font-family: 'Lora', serif;
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.project-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); /* Grid layout with flexible columns */
    gap: 2rem;
    padding: 2rem 0;
    max-width: 1200px; /* Add a max-width to avoid too wide a layout */
    margin: 0 auto; /* Center the grid container */
}

.project-item {
    background: #fff;
    padding: 2rem;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    position: relative;
}

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

.project-item img {
    height: 200px;
    width: 100%;
    object-fit: cover;
    border-radius: 8px;
    margin-bottom: 1rem; /* Add some space between the image and the text */
}

.project-item h3 {
    font-size: 1.25rem;
    margin-bottom: 1rem;
}

.project-item p {
    margin-bottom: 1.5rem;
}

.project-item a {
    display: inline-block;
    background-color: #140f0b;
    color:white;
    padding: 10px 50px;
    text-decoration: none;
    font-weight: bold;
    text-shadow: 2px 2px 5px rgba(0, 0, 0, 0.);
    transition: background-color 0.3s ease;
}

.project-item a:hover {
    background-color: #e76f51;
    text-decoration: underline;
}
#contact{
    background-color: #2f4f4f;
    color: white;
    text-align: center;
    padding: 2 rem;
}
#contact a {
    color:#e48d46;
    text-decoration: underline;
    font-weight: bold;
    
    transition: background-color 0.1s ease;
}

#contact a:hover {
    background-color: white;
    
}
#contact h2{
    font-family:'Ariel',smooth;
    font-size: 2.4rem;
    margin-bottom: 1rem;
    color: #fff;
}
#social-links{
    display: flex;
    justify-content: center;
    gap: 2rem;
    margin-top: 2rem;
}
#social-links a{
    display: inline-blocks;
    font-size: 1rem;
    color: black;
    transition: color 0.3s ease;

}
#social links a:hover{
    color: yellow;
}
#social-links img{
    width: 30px;
    height: 30px;
    transition: transform 0.3s ease;
}
#social-links img:hover{
    transform: scale(1.1);
}
#contact ul{
    list-style: none;
    display: flex;
    justify-content: center;
    gap: 2rem;
}
#contact ul li{
    margin: 0;

}
#contact ul li a{

    color:#61d2f4;
    font-size: 1.2rem;
    text-decoration: none;
    font-weight: bold;
    transition: color 0.3s;

}
#contact ul li a:hover{
    color: #2a9d8f;
}



