:root {
  --full-size: 1920px;
}

body {
  display: flex;
  margin: 0;
  background-color: #302f2f;
  font-family: "Kanit", sans-serif;
  flex-direction: column;
  align-items: center;
  margin-left: auto;
  margin-right: auto;
}

/* Styles for Navbar */
nav {
  background-color: rgba(2, 2, 2, 0.8);
  display: flex;
  width: var(--full-size);
  height: 60px;
  position: fixed;
  z-index: 10;
}

.navcontent {
  display: flex;
  flex-direction: row;
  width: 100%;
  justify-content: space-between;
  align-items: center;
}

.logo {
  display: flex;
  justify-content: center;
  width: 40%;
}

.logobox {
  display: flex;
  flex-direction: row;
  width: 80%;
  
  align-items: center;
}

.logobox a {
  text-decoration: none;
  width: 50px;
  margin-right: 20px;
}

.navlinks {
  display: flex;
  flex-direction: row;
  justify-content: flex-end;
  align-items: center;
  width: 60%;
}

.navlinksbox {
  display: flex;
  flex-direction: row;
  justify-content: flex-end;
  margin-left: 300px;
  align-items: center;
  width: 80%;
  margin: 0;
}

.navlinksbox a {
  font-size: 14px;
  text-decoration: none;
  color: #fff;
  padding: 10px 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 20px;
  font-weight: 500;
}

.navlinksbox a:hover {
  background-color: #ddd;
  color: black;
  border-radius: 5px;
}

.navlinksbox a:hover {
  color: #000; /* เปลี่ยนสีข้อความเมื่อ hover */
}

.navlinksbox a.active {
  background-color: #ddd;
  color: black;
  border-radius: 5px;
}

.navlinksbox a.active {
  color: #000; /* เปลี่ยนสีข้อความของลิงก์ที่ active */
}


.containerdropdown {
  text-align: center;
  cursor: pointer;
  display: flex;
  justify-content: center;
}

.logobox h2 {
  text-decoration: none;
  width: 150px;
  font-size: 18px;
  color: #fff;
}

a {
  text-decoration: none;
}

.navRightLinkContainer {
  display: flex;
  align-items: center;
  justify-content: center;
}

.dropbtn {
  color: white;
  padding: 16px;
  display: flex;
  font-size: 15px;
  align-items: center;
  justify-content: center;
  border: none;
  height: 30px;
  cursor: pointer;
}

.dropdown {
  font-size: 15px;
  position: relative;
  display: inline-block;
  /* padding: 10px; */
  margin-right: 80px;
}

.dropdown a:hover {
  background-color: #ddd;
  color: black;
  border-radius: 5px;
}

.dropdown-content {
  display: none;
  position: absolute;
  background-color: rgba(2, 2, 2, 0.8);
  min-width: 50px;
  box-shadow: 0px 8px 16px 0px rgba(0, 0, 0, 0.2);
  z-index: 1;
}

.dropdown-content a {
  color: #fff;
  padding: 12px 16px;
  text-decoration: none;
  display: block;
}

.dropdown:hover .dropdown-content {
  display: block;
  width: 100%;
}

/* Styles for Burger Menu */
.burger-menu {
  display: none;
  font-size: 30px;
  cursor: pointer;
  color: white;
  padding: 0 20px;
}

@media screen and (max-width: 1200px) {
  .navlinks {
    display: none;
    flex-direction: column;
    width: 100%;
    background-color: rgba(2, 2, 2, 0.9);
    position: absolute;
    top: 60px;
    left: 0;
  }

  .burger-menu {
    display: block;
  }

  .navlinks.show {
    display: flex;
  }
}

#footer {
  display: flex;
  flex-direction: column;
  width: var(--full-size);
  height: 162px;
}

.footer-row1 {
  display: flex;
  justify-content: center;
  background-color: #535151;
  width: 100%;
  height: 55%;
}

.footer-row2 {
  display: flex;
  justify-content: center;
  background-color: #221f1f;
  width: 100%;
  height: 45%;
}

.footer-container1 {
  display: flex;
  flex-direction: row;
  width: 90%;
  height: 100%;
}

.footer-container2 {
  display: flex;
  flex-direction: row;
  width: 90%;
  height: 100%;
}

.footer-col1 {
  display: flex;
  flex-direction: row;
  align-items: center;
  width: 50%;
  height: 100%;
}

.footer-col2 {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-end;
  width: 50%;
  height: 100%;
}

.footer-col3 {
  display: flex;
  justify-content: flex-start;
  align-items: center;
  width: 50%;
  height: 100%;
}

.footer-col4 {
  display: flex;
  align-items: center;
  width: 50%;
  height: 100%;
  justify-content: flex-end;
}

.logofooter {
  width: 40px;
  height: 40px;
}

.textfooter-1 {
  margin-left: 10px;
  color: #d1cfcf;
  font-size: 15px;
  font-weight: 600;
  margin-bottom: 0;
}

.footer-text1 {
  display: flex;
  align-items: flex-start;
  justify-content: flex-start;
}

.footer-text2 {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.textfooter-2 {
  margin: 0;
  font-size: 20px;
  color: #fff;
}

.textfooter-3 {
  margin: 0;
  font-size: 14px;
  color: #d1cfcf;
}

.footer-text3 {
  display: flex;
  justify-content: flex-start;
  align-items: center;
}

.textfooter-4 {
  color: #d1cfcf;
  font-size: 10px;
}

.footer-icon {
  width: 30px;
  height: 30px;
}

.meworxlink {
  color: #d1cfcf;
  font-size: 10px;
  text-decoration: none;
}



.logo_img {
  width: 50px;
}

@media (min-width: 1200px) and (max-width: 1919px) {
  nav {
    width: 100%;
  }

  .navcontent {
    width: 100%;
  }

  .dropbtn {
    width: 100px;
  }

  .navlinksbox a {
    margin-right: 10px;
        font-size: 12px;
    width: 80px;
  }

  

  #footer {
    width: 100%;
  }
}

@media (max-width: 1199px) {
  nav {
    width: 100%;
  }

  .navlinks {
    display: none;
    flex-direction: column;
    align-items: flex-start;
    width: 100%;
    background-color: rgba(2, 2, 2, 0.9);
    position: absolute;
    top: 60px;
    left: 0;
    padding: 10px 0;
  }

  .navlinksbox {
    flex-direction: column;
    width: 100%;
  }

  .navlinksbox a {
    width: 100%;
    text-align: left;
    padding: 15px 20px;
    margin: 0;
  }

  .dropdown {
    margin-right: 0;
    width: 100%;
  }

  .dropdown-content {
    position: static;
    width: 100%;
  }

  .dropdown-content a {
    padding: 15px 20px;
  }

  .burger-menu {
    display: block;
  }

  .navlinks.show {
    display: flex;
    flex-direction: column;
    justify-content: center;
  }

  .dropbtn {
    justify-content: center;
  }

  .logobox {
    margin-left: 50px;
  }

  .logobox h2 {
    width: 120px;
    font-size: 14px;
    font-weight: 300px;
  }



  #footer {
    width: 100%;
  }

  .footer-col3 {
    width: 160%;
  }

  .footer-col1 {
    display: none;
  }

  .footer-col2 {
    align-items: flex-start;
  }

  .footer-container2 {
    width: 90%;
  }

  .dropdown-content {
    background-color:unset;
  }
}


