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

/* Body*/
body {
    font-family: 'Garamond', serif; 
    background-color: #FFFFF0;
    color: #333;
    line-height: 1.6;
    padding: 0;
    margin: 0;
   
}

/* Header */
header {
    background-color: #FFFFF0; 
    color: #333;
    padding: 1rem;
    text-align: center;
    box-shadow: 0px 2px 5px rgba(0, 0, 0, 0.1);
}

header h1 {
    font-size: 2.5rem;
    margin-bottom: 0.5rem;
}

header p {
    font-size: 1.2rem;
    margin-bottom: 0;
}

.project h3 {
    text-decoration: underline;
    font-weight: bold;
}

/* Navigation */
nav {
    background-color: #FFFFF0; 
    padding: 1rem 0;
    text-align: center;
    box-shadow: 0px 5px 10px rgba(0, 0, 0, 0.1);
}

nav ul {
    list-style-type: none;
    padding: 0;
}

nav ul li {
    display: inline-block;
    margin-right: 1rem;
}

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

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

/* Section */
section {
    background-color: #FFFFF0;
    margin: 2rem auto;
    padding: 2rem;
    border-radius: 10px;
    max-width: 800px; 
    margin-left: auto; 
    margin-right: auto; 
    box-shadow: 0px 5px 10px rgba(0, 0, 0, 0.1);
}

section h2 {
    font-size: 2rem;
    margin-bottom: 1.5rem;
    color: #333; 
    position: relative;
}

section h2::after {
    content: "";
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 100%;
    height: 2px;
    background-color: #333; 
}

section p {
    font-size: 1.1rem;
    margin-bottom: 1.5rem;
    color: #333; 
}

/* Footer */
footer {
    background-color: #FFFFF0; 
    color: #333;
    text-align: center;
    padding: 1rem 0;
    position: fixed;
    width: 100%;
    bottom: 0;
    box-shadow: 0px -2px 5px rgba(0, 0, 0, 0.1);
}

footer p {
    font-size: 1rem;
}


img {
    margin: 10px; 
    border-radius: 15px; 
}

.center {
    display: block;
    margin-left: auto;
    margin-right: auto;
    width: 50%;
  }

  .image-wrapper {
    max-width: 800px;
    margin: 20px auto;
}

.float-left {
    float: left;
    margin-right: 20px;
}


.project img {
    
    margin: 10px;
    max-width: 200px;
    height: auto;
    border-radius: 19px;
    background-color: #dfdfd0;
    border: 10px solid #dfdfd0;
    margin: 10px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1); 

}




/* fade-in animation */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}


/* Apply the fade-in animation */
.fade-in {
    opacity: .2;
    transition: opacity 0.5s ease;
}

.fade-in.visible {
    opacity: 1;
}


