@import url("https://fonts.googleapis.com/css2?family=Kanit:wght@100;200;300;400;500;600;700;800;900&family=Lato:ital,wght@0,100;0,300;0,400;0,700;1,400;1,700&display=swap");

body {
  padding: 0;
  margin: 0;
  box-sizing: border-box;
  font-family: "lato", sans-serif;
}

a {
  text-decoration: 0;
}

@media (max-width: 1024px) {
  .first-logo,
  #first-nav-bar,
  .second-one,
  .forth-nav {
    display: none;
  }

  .hamburger {
    padding: 30px 0 40px 20px;
    justify-content: start;
  }

  .first {
    display: flex;
    justify-content: start;
  }

  .hamburger-container {
    background-color: #d3d3d3;
    width: 100vw;
    height: 100vh;
    position: fixed;
    z-index: 10;
    display: none;
  }

  .extended {
    display: block;
  }

  .main {
    list-style: none;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    font-size: 30px;
    font-style: normal;
    gap: 50px;
    padding: 10px 10px;
    transition: ease-in-out 1s;
  }

  .menu {
    color: #272a31;
    list-style: none;
    text-align: left;
    padding: 10px;
    margin: 10px;
  }

  .close {
    margin: 30px;
    display: flex;
    justify-content: end;
  }

  .heading {
    background-image: url("images/background.png");
    background-repeat: no-repeat;
    text-align: center;
  }

  .home {
    padding-bottom: 50px;
  }

  .hello,
  .sub-title,
  .logo-part {
    color: #ec5242;
  }

  .hello {
    font-size: 30px;
    padding: 15px 0 0 20px;
  }

  .sub-title {
    font-size: 50px;
    padding-left: 20px;
    margin: 0;
    width: 93%;
    font-weight: bolder;
  }

  .sub-title::after {
    content: "";
    display: block;
    margin: 0 auto;
    width: 20%;
    padding-top: 1rem;
    border-bottom: 2px solid #ec5242;
  }

  .description {
    color: #272a31;
    background-color: white;
    font-size: 18px;
    line-height: 2rem;
    margin: auto;
    width: 82%;
    padding: 20px;
  }

  .contact {
    text-align: center;
    color: #272a31;
    font-weight: bold;
    font-size: 16px;
  }

  .email {
    font-size: 20px;
    color: #272a31;
    padding-bottom: 30px;
    font-weight: bold;
  }

  #about-logo {
    display: flex;
    flex-direction: column;
    align-items: center;
  }

  .title-logo {
    font-size: 38px;
    font-weight: bold;
    text-align: center;
    color: #272a31;
  }

  .title-logo::after {
    content: "";
    display: block;
    margin: 0 auto;
    width: 20%;
    padding-top: 1rem;
    border-bottom: 2px solid #ec5242;
  }

  .description-logo {
    color: #272a31;
    margin: 0 20px;
    padding: 10px;
    line-height: 23px;
    font-size: 18px;
    text-align: center;
  }

  .logo-container {
    border: 2px solid #272a31;
    padding: 30px;
  }

  .logo-part {
    background-color: white;
    font-weight: bold;
    font-size: 40px;
    padding: 10px;
    border: 2px solid #ec5242;
    border-radius: 5px;
  }

  .past-container {
    background-color: white;
    padding-bottom: 20px;
  }

  .past {
    text-align: center;
    font-size: 25px;
    padding-top: 20px;
    color: #272a31;
  }

  .past::after {
    content: "";
    display: block;
    margin: 0 auto;
    width: 6%;
    padding-top: 1rem;
    border-bottom: 2px solid #ec5242;
  }

  .look {
    text-align: center;
    font-size: 20px;
    color: #272a31;
  }

  .image-container {
    display: flex;
    flex-direction: column;
    gap: 20px;
    justify-content: center;
    align-items: center;
    margin-top: 20px;
  }

  .one,
  .two {
    background-image: url(./images/new1.png);
    height: 250px;
    width: 280px;
  }

  .one-content,
  .two-content {
    background-color: #ec5342af;
    width: 100%;
    height: 100%;
    justify-content: center;
    align-items: center;
    display: flex;
    flex-direction: column;
  }

  .one-date,
  .two-date {
    color: white;
    font-size: 40px;
    text-align: center;
  }

  .one-p,
  .two-p {
    color: white;
    font-size: 20px;
    text-align: center;
  }

  #footer {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
    background-color: #272a31;
  }

  .middle {
    color: #d3d3d3;
    font-size: 17px;
  }
}

@media (min-width: 1025px) {
  .hamburger,
  .hamburger-container,
  .hello {
    display: none;
  }

  .header {
    display: flex;
    justify-content: end;
    align-items: center;
    padding: 5px 200px;
    gap: 20px;
    background-color: #272a31;
  }

  #first-icons {
    text-decoration: none;
    color: #d3d3d3;
    font-size: 14px;
    transition: ease-in-out 0.5s;
  }

  .first-logo {
    background-color: white;
    font-weight: bold;
    font-size: 20px;
    margin-left: 70px;
  }

  header {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    background-color: white;
    padding: 5px;
    height: 30px;
  }

  .second-one {
    display: flex;
    list-style: none;
    gap: 30px;
    margin-right: 200px;
  }

  .link {
    color: #272a31;
    font-size: 18px;
    transition: ease-in-out 0.5s;
  }

  .first-logo,
  .link:hover,
  #first-icons:hover,
  .sub-title,
  .logo-part {
    color: #ec5242;
  }

  .heading {
    background-image: url("images/background.png");
    background-repeat: no-repeat;
    background-position: center;
    background-color: #d3d3d3;
  }

  .home {
    text-align: center;
    padding-bottom: 100px;
  }

  .sub-title {
    font-size: 63px;
    padding-top: 60px;
    text-align: center;
    max-width: 500px;
    margin: auto;
    font-weight: bold;
  }

  .sub-title::after {
    content: "";
    display: block;
    margin: 0 auto;
    width: 10%;
    padding-top: 1rem;
    border-bottom: 2px solid #ec5242;
  }

  .description {
    color: #272a31;
    font-size: 16px;
    line-height: 40px;
    margin: auto;
    margin-top: 1%;
    border: 3px solid white;
    max-width: 600px;
    background-color: white;
  }

  .contact {
    text-align: center;
    color: #272a31;
    font-size: 18px;
    margin-top: 3%;
  }

  .email {
    font-size: 18px;
    color: #272a31;
    font-weight: bold;
    padding-bottom: 50px;
  }

  #about-logo {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
    margin-top: 20px;
  }

  .title-logo {
    font-size: 34px;
    font-weight: bold;
    text-align: center;
  }

  .title-logo::after {
    content: "";
    display: block;
    margin: 0 auto;
    width: 20%;
    padding-top: 1rem;
    border-bottom: 2px solid #ec5242;
  }

  .description-logo {
    color: rgb(110, 113, 117);
    margin-left: 20px;
    margin-right: 20px;
    margin-top: 0;
    line-height: 30px;
    font-size: 18px;
    font-family: "kanit", serif;
    max-width: 600px;
    text-align: center;
  }

  .logo-container {
    border: 2px solid #272a31;
    padding: 30px;
  }

  .logo-part {
    background-color: white;
    font-weight: bold;
    font-size: 50px;
    padding: 10px;
  }

  .past-container {
    background-color: white;
    margin: 0;
  }

  .past {
    text-align: center;
    font-size: 30px;
    padding-top: 20px;
    color: #272a31;
  }

  .past::after {
    content: "";
    display: block;
    margin: 0 auto;
    width: 6%;
    padding-top: 1rem;
    border-bottom: 2px solid #ec5242;
  }

  .look {
    text-align: center;
    font-size: 18px;
    color: #272a31;
  }

  .image-container {
    display: flex;
    gap: 20px;
    justify-content: center;
    margin: 50px 20px;
  }

  .one,
  .two {
    background-image: url(./images/new1.png);
    height: 300px;
    width: 400px;
  }

  .one-content,
  .two-content {
    background-color: #ec5342af;
    width: 100%;
    height: 100%;
    justify-content: center;
    align-items: center;
    display: flex;
    flex-direction: column;
  }

  .one-date,
  .two-date {
    color: white;
    font-size: 40px;
    text-align: center;
  }

  .one-p,
  .two-p {
    color: white;
    font-size: 20px;
  }

  .middle {
    color: white;
    font-size: 17px;
    padding: 10px 0;
    text-align: center;
    background-color: #272a31;
  }
}
