@keyframes animated_menu_show {
  0% { left: 100%; box-shadow: 0 0 0 transparent; }
  100% { left: 20%; box-shadow: 0 0 20px gray; }
}

@keyframes animated_menu_hide {
  0% { left: 20%; box-shadow: 0 0 20px gray; }
  100% { left: 100%; box-shadow: 0 0 0 transparent; }
}

:root {
  --light_color : rgba(255, 255, 255, 1.0);
  --light_opaque_color : rgba(255, 255, 255, 0.9);
  --main_color: rgb(212, 129, 112, 1.0);
  --main_opaque_color: rgba(212, 129, 112, 0.6);
  --icon_bg_color: rgba(213, 208, 221, 1.0);
  --gap_size: 10px;
}

body {
  font-family: 'Kanit', sans-serif;
  padding: 0;
  margin: 0;
  background-color: var(--light_color);
}

h1 {
  text-align: center;
  font-size: 2rem;
  font-weight: 200;
  color: var(--main_color);
  border-bottom: solid 1px var(--main_color);
}

h2 {
  text-align: center;
  font-size: 1.6rem;
  font-weight: 200;
}

h3 {
  text-align: center;
  font-size: 1.2rem;
  font-weight: 200;
}

p {
  font-size: 1rem;
  font-weight: 200;
}

.hidden {
  content-visibility: hidden !important;
  display: none !important;
  width: 0 !important;
  height: 0 !important;
  padding: 0 !important;
  margin: 0 !important;
  border: none !important;
  outline: none !important;
  box-shadow: none !important;
  visibility: hidden !important;
}

.nav_bar {
  position: relative;
  width: 100%;
  height: 3rem;
  display: flex;
  justify-content: space-between;
  z-index: 1;
}

.nav_home {
  width: 50%;
  height: 100%;
  display: block;
}

.nav_logo {
  width: 100%;
  height: 100%;
  object-position: left;
  object-fit: contain;
}

.nav_menu {
  padding: 0;
  margin: 0;
  width: 50%;
  height: 100%;
  display: none;
  justify-content: space-between;
  align-items: center;
  list-style: none;
  font-weight: 200;
}

.nav_item {
  padding: 0 0.8rem;
  text-decoration: none;
  color: var(--main_color);
  cursor: pointer;
  user-select: none;
}

.nav_item.active {
  color: var(--light_color);
  background-color: var(--main_color);
}

.nav_button {
  width: 50%;
  display: flex;
  justify-content: right;
  align-items: center;
}

.nav_locale {
  text-align: center;
  font-weight: 100;
  font-size: 1.5rem;
  color: var(--main_color);
  cursor: pointer;
	user-select: none;
}

.nav_locale::after {
	content: "\00a0\2228";
	display: inline-block;
  font-size: 1rem;
	height: 2rem;
	vertical-align: middle;
}

.nav_social {
  display: none;
  justify-content: space-evenly;
  flex-direction: row;
}

.nav_social_item {
  margin-left: var(--gap_size);
  width: 2rem;
  height: 2rem;
  display: flex;
  justify-content: center;
  flex-direction: row;
  align-items: center;
  border-radius: 50%;
  overflow: hidden;
}

.nav_social_logo {
  width: 111%;
  object-fit: cover;
  object-position: center;
}

.menu_button {
  margin-left: 1rem;
	height: 2rem;
  text-align: center;
  font-size: 1.8rem;
  line-height: 1.8rem;
  color: var(--main_color);
	cursor: pointer;
	user-select: none;
}

.menu_bg {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  backdrop-filter: blur(8px) brightness(80%) saturate(100%);
  -webkit-backdrop-filter: blur(8px) brightness(80%) saturate(100%);
  touch-action: none;
  z-index: 2;
}

.menu_container {
  position: absolute;
  width: 80%;
  height: 100vh;
  left: -80%;
  left: 20%;
  background-color: var(--light_color);
  box-shadow: 0 0 10px gray;
  overflow-y: auto;
  z-index: 3;
}

.menu_close {
  position: absolute;
  width: 3rem;
	height: 3rem;
  top: 0;
  right: 2vw;
  text-align: right;
  font-size: 1.8rem;
  line-height: 3rem;
  color: var(--main_color);
	cursor: pointer;
	user-select: none;
}

.menu_list {
  padding: 0 2vw;
  margin-top: 5rem;
  width: calc(100% - 4vw);
  list-style: none;
}

.menu_item {
  padding: 1rem 0;
  margin: 0 2rem;
  text-decoration: none;
  text-align: center;
  font-size: 1.2rem;
  font-weight: 200;
  color: var(--main_color);
  border-bottom: solid 0.5px var(--main_color);
}

.menu_item:last-child {
  border-bottom: none;
}

.menu_item.active {
  color: var(--light_color);
  background-color: var(--main_color);
}

.menu_social {
  padding: 0 3vw;
  margin-top: calc(var(--gap_size)*4);
  display: flex;
  justify-content: space-evenly;
  flex-direction: row;
}

.menu_social_item {
  width: 2.5rem;
  height: 2.5rem;
  display: flex;
  justify-content: center;
  flex-direction: row;
  align-items: center;
  border-radius: 50%;
  overflow: hidden;
}

.menu_social_logo {
  width: 111%;
  object-fit: cover;
  object-position: center;
}

.container {
  padding: 0 2vw;
}

.container.gap {
  margin-bottom: calc(var(--gap_size)*5);
}

.content {
  margin: 2rem auto 0 auto;
  width: 100%;
}

.content.flex {
  display: flex;
  flex-wrap: wrap;
}

.content.between {
  justify-content: space-between;
}

.footer {
  padding: calc(var(--gap_size)*4) 2% calc(var(--gap_size)*2) 2%;
  background-color: var(--main_color);
}

.footer_content {
  display: flex;
  justify-content: space-between;
  flex-direction: row;
  flex-wrap: wrap;
}

.footer_left {
  width: 100%;
}

.footer_logo {
  width: 100%;
  object-fit: contain;
}

.footer_social {
  margin-top: var(--gap_size);
  width: 100%;
  display: flex;
  justify-content: space-evenly;
  flex-direction: row;
}

.footer_social_item {
  width: 4rem;
  height: 4rem;
  display: flex;
  justify-content: center;
  flex-direction: row;
  align-items: center;
  border-radius: 50%;
  overflow: hidden;
}

.footer_social_logo {
  width: 111%;
  object-fit: cover;
  object-position: center;
}

.footer_right {
  width: 100%;
}

.footer_address {
  margin-top: calc(var(--gap_size)*2);
  width: 100%;
  text-align: center;
  font-size: 1rem;
  color: var(--light_color);
}

.footer_copyright {
  margin-top: calc(var(--gap_size)*4);
  width: 100%;
  text-align: center;
  font-size: 1rem;
  color: var(--light_color);
}

@media screen and (min-width: 576px) {
  .content {
    margin: 4rem auto 0 auto;
  }
}

@media screen and (min-width: 768px) {
  .menu_close {
    right: 5vw;
  }

  .container {
    padding: 0 5vw;
  }

  .content {
    margin: 6rem auto 0 auto;
  }

  .footer {
    padding: calc(var(--gap_size)*6) 5% calc(var(--gap_size)*2) 5%;
  }
}

@media screen and (min-width: 992px) {
  h1 {
    text-align: center;
    font-size: 3rem;
    font-weight: 100;
    color: var(--main_color);
  }
  
  h2 {
    text-align: center;
    font-size: 2.5rem;
    font-weight: 100;
  }
  
  h3 {
    text-align: center;
    font-size: 2rem;
    font-weight: 100;
  }
  
  p {
    font-size: 1.5rem;
    font-weight: 200;
  }

  .nav_bar {
    height: 5rem;
  }

  .nav_home {
    width: 15%;
  }

  .nav_menu {
    width: 60%;
    display: flex;
  }

  .nav_item:hover {
    color: var(--light_color);
    background-color: var(--main_opaque_color);
  }

  .nav_button {
    width: 15%;
  }

  .nav_social {
    display: flex;
  }

  .menu_button {
    display: none;
  }

  .container {
    padding: 0 10vw;
  }

  .container.gap {
    margin-bottom: calc(var(--gap_size)*8);
  }

  .content {
    margin: 8rem auto 0 auto;
  }

  .footer {
    padding: calc(var(--gap_size)*6) 10% calc(var(--gap_size)*2) 10%;
  }

  .footer_left {
    width: 35%;
  }

  .footer_right { 
    width: 55%;
  }

  .footer_address {
    margin-top: unset;
    text-align: right;
    font-size: 1.2rem;
    font-weight: lighter;
  }

  .footer_copyright {
    font-size: 1.2rem;
  }
}

@media screen and (min-width: 1200px) {
  .nav_menu {
    font-size: 1.2rem;
  }
}

@media screen and (min-width: 1500px) {
  .container {
    padding: 0 calc((100vw - 1200px)/2);
  }

  .footer {
    padding: calc(var(--gap_size)*6) calc((100vw - 1200px)/2) calc(var(--gap_size)*2) calc((100vw - 1200px)/2);
  }
}

@media screen and (orientation: landscape) {

}