/* Reset some default styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
  }
  
  body {
    font-family: 'Segoe UI', sans-serif;
    line-height: 1.6;
    color: #333;

  }


  .body-two{
    width: 100vw;
    height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
  }
  
  @keyframes blink{
    from{
      opacity: 0;
    }
    to{
      opacity: 1;
    }
    
  }
  
  header {
    background: #333;
    color: #fff;
    padding: 1rem 2rem;
    position: sticky;
    top: 0;
  }
  
  nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
  }
  
  nav .logo {
    font-size: 1.5rem;
  }
  
  nav .nav-links {
    list-style: none;
    display: flex;
  }
  
  nav .nav-links li {
    margin-left: 2rem;
  }
  
  nav .nav-links a {
    color: #fff;
    text-decoration: none;
  }
  
  .hero {
    background: #f4f4f4;
    padding: 4rem 2rem;
    text-align: center;
  }
  
  .hero h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
  }
  
  .hero p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
  }
  
  .hero .btn {
    background: #333;
    color: #fff;
    padding: 0.75rem 2rem;
    text-decoration: none;
    border-radius: 4px;
  }
  
  section {
    padding: 4rem 2rem;
  }
  .mig{
    display: flex;  
    height: 100%;
    width: 100%;
    justify-content: space-around;
    margin: 2%;

    /* align-items: center; */
  }
  .mig p{
    width: 50%;
  }
  
  .projects .project-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
  }
  
  .project {
    background: #f9f9f9;
    padding: 2rem;
    border-radius: 8px;
  }
  
  .contact form {
    display: flex;
    flex-direction: column;
    max-width: 400px;
  }
  
  .contact input,
  .contact textarea {
    margin-bottom: 1rem;
    padding: 0.75rem;
    border: 1px solid #ccc;
    border-radius: 4px;
  }
  
  .contact button {
    background: #333;
    color: #fff;
    padding: 0.75rem;
    border: none;
    border-radius: 4px;
    cursor: pointer;
  }
  .project{
    display: flex;
    flex-direction: column;
    height: 100%;
    justify-content: center;
    align-items: center;

  }
  
  footer {
    background: #333;
    color: #fff;
    text-align: center;
    padding: 1rem;
  }
  
  .mycalc{
    height: 200px;
    width: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;

  }

  .mycalc input{
    outline: none;
    border: none;
    border-bottom: 1px solid black;
    margin: 2%;
    text-align: center;
    font-family: "leelawadee";
    font-size: large;
    width: 70%;
  }
  .mycalc button{
    padding: 10px 20px;
    background-color: #333;
    color: white;
    border: none;
    border-radius: 2px;
    cursor: pointer;
  }
  .result{
    display: flex;
    height: 100px;
    width: 100%;
    justify-content: center;
    align-items: center;
  }
  .text{
    color: red;
    font-style: italic;
  }
  .body-two h1{
    font-size: 40px;
    font-family: "leelawadee";
  }
  .body-two .me{
    animation-name: blink;
    animation-duration: 1s;
    animation-iteration-count: infinite;
    transition: all .4s ease;
  }

  .calc{
    display: flex;
    margin: 5%;
  }
  .calc .mycalc button{
    transition: all ease .2s;
  }
  .calc .mycalc button:hover{
    background-color: #333;
    color: white;
    padding: 12px 23px;
  }
  @media (max-width:767px){
    header{
      width: 100vw;
    }
    nav .logo{
      font-size: 1rem;
    }
    .mig{
      display: block;
    }
    .calc{
      display: block;
    }
    .calc .mycalc input{
      font-size: small;
    }
    .mig p{
      width: 100%;
    }
  }
