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

/*Section Styling*/
section {
  padding-top: 100px; 
}

/* Heading Styling */
h1{
  font-weight: bold;
  color: hotpink;
  font-size: 42px;
  margin-bottom: 20px;
  font-family: 'Lora', serif;
  text-shadow: 1px 1px 3px #ffc0cb
}

/*About Me container styling*/
.about-section{
  display: flex;
  flex-direction: row;
  justify-content: flex-end;
  align-items: center;
  flex-wrap: wrap;
  overflow: visible;  
  border-bottom-right-radius: 300px;
  padding: 50px;
  background-color: rgb(255, 228, 240); 
  gap: 30px;
  margin-top: -40px;
  position: relative;
  z-index: 1;
}

/*Paragraph stylin in about.html*/
.more{
  width:500px;
  font-family:lora;
  font-size: 20px;
  line-height: 1.8;
  color: #5e3a50; /* rosy-brown */
  padding: 25px;
  background-color: #fff0f8;
  border-radius: 25px;
  box-shadow: 0 8px 16px rgba(255, 182, 193, 0.4); /* pink shadow */
  transition: all 0.3s ease-in-out;
  
}

.more:hover {
  transform: scale(1.02);
  box-shadow: 0 12px 24px rgba(255, 182, 193, 0.5);
}

/*Background Editing and Styling*/
.background-container {
  background-image: url('../images/_.jpeg');
  background-position: center; /* Center the image */
  background-repeat: no-repeat;
  background-size: cover;
  width: 100%;
  height: 500px;               /* Set height */
  display: flex;
  justify-content: center;     /* Vertically center text */
  align-items: center;         /* Horizontally center text */
  text-align: center;
  padding: 40px;
  border-radius: 0 0 80px 80px;
  position: relative;
  z-index: 0;
  margin-top: 10px;
  box-shadow: inset 0 -20px 40px rgba(255, 182, 193, 0.3);
}

.background-container::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(255, 240, 245, 0.2); /* light pink overlay */
  z-index: -1;
}

/*Table styling*/
.cute-table-section {
  padding: 40px;
  background: #fff0f5; /* lavender blush */
  font-family: 'Lora', serif;
  text-align: center;
  border-radius: 25px;
  margin: 30px auto;
  width: 90%;
  box-shadow: 0 8px 20px rgba(255, 182, 193, 0.2);
}

.table-title {
  font-family: 'Tangerine', cursive;
  font-size: 42px;
  color: #d36e70;
  margin-bottom: 20px;
}

.cute-table {
  width: 100%;
  border-collapse: collapse;
  background-color: white;
  border-radius: 15px;
  overflow: hidden;
  box-shadow: 0 4px 12px rgba(255, 192, 203, 0.3);
}

.cute-table th,
.cute-table td {
  padding: 16px 20px;
  border-bottom: 1px solid #f8c8dc;
  color: #444;
}

.cute-table th {
  background-color: #ffe0ec;
  color: #a64d79;
  font-weight: bold;
}

.cute-table tr:hover {
  background-color: #fff5f8;
}

.table-img {
  width: 80px;
  border-radius: 12px;
  box-shadow: 0 2px 5px rgba(255, 192, 203, 0.2);
}

/*List styling ordered and unordered styling*/
.list-section {
  padding: 40px;
  background-color: #fff0f5; /* light pink background */
  border-radius: 20px;
  box-shadow: 0 8px 20px rgba(255, 182, 193, 0.2);
  text-align: center;
  font-family: 'Lora', serif;
  margin: 40px auto;
  width: 90%;
}

.list-title {
  font-family: 'Tangerine', cursive;
  font-size: 42px;
  color: #d36e70;
  margin-bottom: 20px;
}

.list-wrapper {
  display: flex;
  justify-content: center;
  gap: 50px;
  flex-wrap: wrap;
}

.cute-list {
  background-color: #fff;
  padding: 20px 30px;
  border-radius: 15px;
  box-shadow: 0 4px 15px rgba(255, 192, 203, 0.2);
  font-size: 18px;
  color: #555;
  text-align: left;
  width: 250px;
  list-style-position: inside;
}

.ordered {
  list-style-type: decimal;
}

.unordered {
  list-style-type: circle;
}


/* --------- Responsive for Tablets ----------- */
@media screen and (max-width: 768px) {
  .about-section {
    flex-direction: column;
    align-items: center;
    padding: 30px;
    border-bottom-right-radius: 150px;
  }

  .more {
    width: 90%;
    font-size: 18px;
  }

  .list-wrapper {
    flex-direction: column;
    align-items: center;
  }

  .cute-list {
    width: 80%;
  }

  .background-container {
    height: 400px;
    padding: 20px;
  }

  .cute-table-section {
    padding: 20px;
  }

  .table-img {
    width: 60px;
  }
}


/* --------- Responsive for Mobile ----------- */
@media screen and (max-width: 565px) {
  h1, .table-title, .list-title {
    font-size: 28px;
  }

  .more {
    font-size: 14px;
    padding: 15px;
  }

  .cute-table th,
  .cute-table td {
    padding: 10px;
    font-size: 14px;
  }

  .footer {
    text-align: center;
    padding: 20px;
  }

  .social-links {
    flex-wrap: wrap;
    justify-content: center;
  }

  .icons {
    width: 30px;
    margin: 5px;
  }
}

/* --------- Responsive for Mobile ----------- */
@media screen and (max-width: 417px) {
  h1, .table-title, .list-title {
    font-size: 28px;
  }

  .more {
    font-size: 8px;
    padding: 15px;
  }

  .cute-table th,
  .cute-table td {
    padding: 10px;
    font-size: 14px;
  }

  .footer {
    text-align: center;
    padding: 20px;
  }

  .social-links {
    flex-wrap: wrap;
    justify-content: center;
  }

  .icons {
    width: 30px;
    margin: 5px;
  }
}
