body{
    background-color: #f6f6f6;
    background-size: cover;

}
.container{
    max-width:960px;
    margin: auto;
}
#header{
    background-color: #000000;
}
nav{
    display: flex;
    justify-content:space-between;
    justify-items: center;
}
#logo{
    padding: 5px 0px;
}
#logo img{
    max-width: 50px;
    height: auto;
}
#main-menu{
    display: flex;
    list-style: none;
    margin: 0;
    padding: 0;

}
#main-menu li a{
    color: #f6f6f6 ;
    display: block;
    padding: 18px 20px;
    text-decoration: none;
}
.main-header {
  width: 100%;
  height: 300px;
  overflow: hidden;
  box-shadow: 0 4px 8px rgba(0,0,0,0.2);
  border-radius: 0 0 12px 12px;
}

.main-header img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Centered text */
.center {
  text-align: center;
  margin: 20px 0;
}

/* Content */
.content {
  padding: 20px;
  max-width: 900px;
  margin: auto;
}

/* Gallery / Card section */
.gallery {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 20px;
  padding: 20px;
}

.card {
  width: 220px;
  text-align: center;
}

.card img {
  width: 100%;
  height: 150px;
  object-fit: cover;
  border-radius: 10px;
  box-shadow: 0 4px 8px rgba(0,0,0,0.2);
  transition: transform 0.3s ease;
}

.card img:hover {
  transform: scale(1.05);
}

.card p {
  margin-top: 10px;
  font-weight: bold;
}
.footer{
  background-color: #000;     
  color: #fff;                
  text-align: center;            
  font-family: 'Times New Roman', Times, serif; 
  padding: 5px 0;                  
  font-size: 14px;   
}
h1, h3 {
    text-align: center;
}

p {
    text-align: center;
    font-family: "Times New Roman", sans-serif;
    font-weight: normal;
}

img {
    display: block;
    margin: auto;
    width: 350px;
    height: 200px;
    border-radius: 12px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}
.mon-an {
    margin-bottom: 40px;
    text-align: center;
}

.mon-an p {
    max-width: 800px;
    margin: 0 auto 20px;
    font-size: 16px;
    color: #333;
}

.mon-an img {
    display: block;
    margin: auto;
    width: 350px;
    height: 200px;
    border-radius: 12px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}
.profile {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-bottom: 30px;
}

.profile-img {
    width: 200px;
    height: 200px;
    border-radius: 50%;
    object-fit: cover;
    box-shadow: 0 4px 10px rgba(0,0,0,0.2);
    margin-bottom: 15px;
}

.info p {
    margin: 5px 0;
    font-size: 18px;
}

.section {
    margin-top: 40px;
}
.hobbies {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 15px;
    margin-top: 20px;
}

.hobby-card {
    background: linear-gradient(135deg, #4e9bd5 0%, #bfd9f4 100%);
    color: #fff;
    font-size: 18px;
    font-weight: 500;
    padding: 15px 25px;
    border-radius: 12px;
    box-shadow: 0 4px 8px rgba(0,0,0,0.15);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.hobby-card:hover {
    transform: scale(1.05);
    box-shadow: 0 6px 16px rgba(0,0,0,0.2);
}

.hobby-card span {
    margin-left: 10px;
}

.timeline {
    position: relative;
    margin: 40px auto;
    padding-left: 30px;
    max-width: 700px;
    border-left: 3px solid #00a6ff;
}

.timeline-item {
    position: relative;
    margin-bottom: 30px;
    padding-left: 30px;
}

.timeline-icon {
    position: absolute;
    left: -25px;
    top: 0;
    background-color: #fff;
    color: #0077ff;
    font-size: 20px;
    border: 2px solid #0095ffd9;
    border-radius: 50%;
    width: 30px;
    height: 30px;
    text-align: center;
    line-height: 26px;
    font-weight: bold;
    box-shadow: 0 0 0 4px #fff;
}

.timeline-content h3 {
    margin: 0;
    color: #333;
    font-size: 18px;
}

.timeline-content p {
    margin: 5px 0 0;
    font-size: 16px;
    color: #0e0c0c;}
    .contact-form-section {
  max-width: 600px;
  margin: 0 auto;
  padding: 40px 20px;
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.contact-form label {
  font-weight: 600;
  margin-bottom: 5px;
}

.contact-form input,
.contact-form textarea {
  padding: 10px;
  border-radius: 5px;
  border: 1px solid #ccc;
  font-family: inherit;
  font-size: 16px;
}

.contact-form input:focus,
.contact-form textarea:focus {
  outline: none;
  border-color: #0b0907;
}

.contact-form button {
  background-color: #030202;
  color: white;
  padding: 12px 20px;
  font-size: 16px;
  border: none;
  border-radius: 6px;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.contact-form button:hover {
  background-color: #0e0b09;
}