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

.nav-bar {
    display: flex;
    padding: 10px 20px;
    align-items: center;
    justify-content: space-between;
    margin-top: 30px;
}

.nav-bar ul {
    position: absolute;
    top: 100px;
    left: 0;
    right: 0;
    flex-direction: column;
    text-align: center;
    gap: 20px;
    list-style: none;
    font-size: 19px;
    background-color: white;
}

.nav-bar:hover a {
    color: black;
}

.nav-bar ul li {
    padding: 20px;
    background-color: white;
}

.nav-bar a {
    text-decoration: none;
    color: black;
}

#menuList {
    transition: max-height 0.3s ease-out, opacity 0.3s ease-out;
    max-height: 0;
    opacity: 0;
}

#menuList.open {
    max-height: 300px;
    opacity: 1;
}

.nav-bar h1 {
    font-size: 37px;
    color: #414141;
}

.nav-bar p {
    font-size: 17px;
    margin-top: 8px;
}

.menu-icon i {
    color: #414141;
    font-size: 35px;
    display: block;
}

.personal img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: 50% 50%;
}

.Thoughts h2 {
    margin: 30px;
    font-size: 38px;
    color: #414141;
}

.Thoughts img {
    width: 100%;
    height: 50%;
    object-fit: cover;
    object-position: 50% 50%;
    padding: 0 30px;
}

.Thoughts h3 {
    text-align: start;
    margin: auto;
    /* padding: 2px; */
    font-size: 29px;
    width: 250px;
    color: #414141;
    margin-bottom: 20px;
}

.Thoughts p {
    color: #414141;
    font-size: 18px;
    margin: auto 20px;
    text-align: start;
    padding: 0 35px;
    line-height: 1.5;
}

.Thoughts button {
    margin: auto 110px;
    align-items: center;
    height: 50px;
    width: 150px;
    margin-top: 30px;
    font-size: 16px;
    background-color: white;
    border-color: black;
}
#blog-container {
      max-width: 800px;
      margin: 20px auto;
      padding: 0 20px;
     
    }

    .blog-post {
      padding: 20px;
      margin-bottom: 25px;
      border-radius: 8px;
    }

    .blog-post img {
      width: 100%;
      max-height: 200px;
      object-fit: cover;
      margin-bottom: 15px;
    }

    .blog-post h2 {
      margin: 0 0 10px;
    color: #333;
    }

    .blog-post .meta {
      font-size: 0.9em;
      color: #6b7280;
      margin-bottom: 10px;
    }

    .blog-post .description {
         color: #6b7280;
      font-size: 1em;
      margin-bottom: 10px;
    }

    .blog-post .comments {
      font-size: 0.9em;
      color: #9ca3af;
    }
    .blog-link {
  text-decoration: none;      
  color: inherit;             
  display: block;             
  transition: transform 0.2s ease;
}

.blog-link:hover {
  transform: scale(1.02);     
  box-shadow: 0 4px 20px rgba(0,0,0,0.1);
}


hr {
    margin: 20px;
}

.quote img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: 50% 50%;

}

.quote h2 {
    font-size: 30px;
    width: 380px;
    padding: 0 15px;
    text-align: center;
    color: #322e2e;
}

.quote p {
    font-size: 16px;
    margin: 20px;
}

.about {
    background-color: rgb(240 209 201 / 32%);
}

.about img {
    width: 100%;
    height: 100%;
    padding: 0 30px;

}

.about h2 {
    text-align: center;
    font-size: 29px;
    margin: 30px;
    color: #322e2e;
}

.about p {
    width: 320px;
    text-align: center;
    color: #322e2e;
    font-size: 20px;
    padding: 0 10px;
    margin: 10px 30px;
}

.about a {
    text-decoration: none;
}
.button-link {
  display: inline-block;
  padding: 10px 20px;
   margin: 40px auto;
    justify-content: center;
    font-size: 17px;
    border-color: white;
    color: white;
    background-color: black;
    width: 160px;
    height: 50px;
    display: flex;
    align-items: center;
    text-align: center;
  border-radius: 5px;
  cursor: pointer;
}

.about button {

    margin: 40px auto;
    justify-content: center;
    font-size: 17px;
    border-color: black;
    color: black;
    background-color: white;
    width: 160px;
    height: 50px;
    display: flex;
    align-items: center;
    text-align: center;
}

.section-smile h2 {
    font-size: 40px;
    margin: 0 60px;
    padding: 20px;
    color: #322e2e;
}

.smile {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
}

.smile img {
    width: 100%;
    height: 100%;
}

.newsletter-section h2 {
    text-align: center;
    font-size: 45px;
    width: 300px;
    margin: 30px;
    color: #322e2e;
}

.newsletter-section p {
    width: 280px;
    color: #322e2e;
    text-align: center;
    font-size: 24px;
    margin: 30px;
}


#newsletter-form label {
    font-weight: bold;
    color: #625d5d;
    font-size: 18px;
    margin: 20px;
}

.checkbox-group {
    display: flex;
    align-items: center;
    gap: 5px;
   padding: 30px;


}

#newsletter-form input[type="text"],
#newsletter-form input[type="email"] {
    padding: 5px;
border: none;
  border-color: none;
  width: 240px;
    color: #322e2e;
    margin: 10px;
   
  
}

#newsletter-form button {
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    margin: 0 auto;
    padding: 15px 0;
    margin-top: 0px;
    margin-bottom: 20px;
    background: white;
    border-color: rgb(206, 206, 206);
    width: 200px;
    color: black;
    font-size: 18px;
    border-radius: px;
    cursor: pointer;
}

#newsletter-form button:hover {
    background: black;
    color: white;
}

#newsletter-form textarea {
    padding: 10px;
    font-size: 20px;
    border: px solid #ccc;
    width: 100%;
    max-width: 350px;
    margin: 20px;
}

.main-footer {
    background-color: black;
    color: white;
}

.main-footer i {
    font-size: 34px;
    margin: 15px;
    color: white;
}

.main-footer h3 {
    font-size: 40px;
}

.main-footer p {
    margin: 20PX;
    font-size: 20px;
}

.inside-footer h2 {
    font-size: 34px;
    margin: 10px;
}



@media screen and (min-width: 992px) {
    .nav-bar ul {
        position: static;
        list-style: none;
        gap: 50px;
        display: flex;
        flex-direction: row;
        justify-content: space-between;
      
        padding: 20px 160px; 
        background-color: transparent;
    }

    .nav-bar ul li {
        color: black;
        padding: 0;
        display: inline-block;
    }

    #menuList{
        opacity: 100;
    }

    .nav-bar h1 {
        font-size: 42px;
    }

    .nav-bar a {
        text-decoration: none;
        color: black;
        margin: 30px;
    }

    .menu-icon {
        display: none;
    }

    .personals {
        display: grid;
        grid-template-columns: 1fr 1fr;
        margin-top: 90px;
    }

    .Thoughts img {
        padding: 20px 100px;
        height: 50%;
        margin-top: 20px;
    }

    .Thoughts h2 {
        text-align: center;
        font-weight: 100;
        color: #414141;
        font-size: 30px;
    }

    .personal img {
        height: 80%;


    }

    .Thoughts h3 {
        width: 100%;
        font-weight: 100;
        text-align: center;

    }

    .Thoughts p {
        width: 72%;
        text-align: start;
        margin: auto;

    }

    .Thoughts button {
        margin: 80px 250px;
    }

      .blog-post img {
      width: 100%;
      max-height: 100%;
     height: 100%;
    
      object-fit: cover;
      margin-bottom: 5px;
    }
 .blog-post {
    display: grid;
    grid-template-columns: 1fr 1fr;
    column-gap: 20px;
      background-color: #fff;
      padding: 10px;
      margin-bottom: 25px;
      border-radius: 8px;
      box-shadow: 0 1px 4px rgba(0, 0, 0, 0.1);
    }

    hr {
        width: 400px;
    }

    .quote {
        display: grid;
        grid-template-columns: 1fr 1fr;
        margin-top: 20px;
    }

    .quote h2 {
        width: 650px;
        font-size: 50px;
        text-align: center;
        padding: 70px;
    }

    .about {
        background: none;
        display: grid;
        grid-template-columns: 1fr 1fr;
    }

    .about img {
        background-color: rgb(240 209 201 / 32%);
        width: 100%;
        padding: 70px;
    }

    .about h2 {
        font-size: 50px;
        margin-top: 60px;
    }

    .about p {
        text-align: start;
        margin: 0 auto;
        line-height: 1.5;
        width: 410px;
        padding: 10px;
        font-weight: 100;
    }

    .section-smile h2 {
        text-align: center;
        margin: 60px;
        font-size: 53px;
    }

    .smile {
        display: grid;
        grid-template-columns: 1fr 1fr 1fr 1fr 1fr;
        padding: 0 40px;
        gap: 18px;
    }

    .newsletter-section h2 {
        width: 90%;
        font-size: 60px;
        color: #322e2e;
    }

    .newsletter-section p {
        width: 90%;
        color: #322e2e;
    }

    .newsletter { 
        padding:  0 270px;
    }

.newsletter hr{
   width: 700px;
}
    #newsletter-form input[type="text"],
    #newsletter-form input[type="email"] {
          display: grid;
     grid-template-columns: 1fr;

        padding: 1px;
        font-size: 30px;
        width: 400px;

    }

   

    #newsletter-form button {
        width: 100px;
        padding: 10px;
        margin-left: 150px;

    }

    .main-footer {
        display: grid;
        grid-template-columns: 1fr 1fr;
    }

    .footer {
        margin: 60px;
    }

    .newsletter-form textarea {
        max-width: 600px;
    }

}