@tailwind base;
@tailwind components;
@tailwind utilities;

@font-face {
    font-family: 'Poppins', sans-serif;
    font-weight: normal;
    font-style: normal;
}

body {
  /* height: 100vh; */
  font-family: 'Poppins', sans-serif;
  font-size: 1em;
  color: #FFF;
  margin: 0;
  padding: 0;
  overflow-x: hidden;
  background-color: #000;
  background-image: url('/contents/web/images/bg-shading-01.png');
  background-size: 80px;
  background-repeat: repeat-x;
  background-position: bottom;
  background-attachment: fixed;
}

a:link, a:visited{
  color: white;
  text-decoration: none;
}

a:hover{
  color: white;
  text-decoration: underline;
}

/********** Top Menu **********/

topmenu{
  position: fixed;
  display: flex;
  top: 0px;
  left: 0px;
  margin: 0px;
  width: 100%;
  /* padding: 20px; */
  z-index: 100;
  flex-direction: row;
  flex-flow: nowrap;
  justify-content: space-between;
}

topmenu div#logo{
  width: 5rem;
  height: 5rem;
  margin-left: 2rem;
  margin-top: 1rem;
  margin-bottom: 1rem;
}

topmenu div#logo img{
  width: 5rem;
  height: 5rem;
}

topmenu div#hamburger{
  width: 2rem;
  height: 2rem;
  margin-right: 2rem;
  margin-top: 1.5rem;
  cursor: pointer;
}

topmenu div#hamburger img{
  width: 2rem;
  height: 2rem;
}

/********** Side Menu **********/

img#bt-close{
  width: 2rem;
  height: 2rem;
  cursor: pointer;
  margin-right: 2rem;
  margin-top: 1.5rem;
}

div#side-menu{
  position: fixed;
  top: 0px;
  left: 100%;
  display: none;
  flex-direction: column;
  width: 450px;
  height: 100vh;
  z-index: 500;
  background-color: black;
  /* padding: 2rem; */
}

div#side-menu div:nth-child(1){
  width: 100%;
  display: flex;
  justify-content: flex-end;
}

div#side-menu div:nth-child(2){
  width: 100%;
}

div#side-menu ul{
  padding: 0px;
}

div#side-menu div:nth-child(2) ul li{
  font-size: 1.5rem;
  margin-top: 2rem;
  list-style-type: none;
  width: 75%;
  margin-left: auto;
  margin-right: auto;
}

a.mn-link:link, a.mn-link:visited{
  text-decoration: none;
}

a.mn-link:hover, a.mn-link:active{
  text-decoration: none;
  border-style: none none solid none;
  border-color: #EE6602;
}

div#overlay{
  display: none;
  position: fixed;
  top: 0px;
  left: 0px;
  width: 100%;
  height: 100%;
  background-color: black;
  opacity: 0.8;
  z-index: 499;
}

/* ********** Desktop *********** */

div.content-desktop{
  display: flex;
  flex-direction: row;
  flex-wrap: nowrap;
  max-width: 960px;
  width: 100%;
  margin-left: auto;
  margin-right: auto;
  margin-top: 10rem;
  justify-content: space-between;
}

div.content-desktop div.col-1, div.content-desktop div.col-2{
    width: 50%;
}

div.content-desktop div.col-1 div.title img{
  width: 200px;
}

div.content-desktop div.col-1 div.address {
  margin-top: 1.5rem;
}

div.content-desktop div.col-1 div.dot-line {
  margin-top: 1.5rem;
}

div.content-desktop div.col-1 div.tel {
  margin-top: 1.5rem;
}

div.content-desktop div.col-1 div.fb {
  margin-top: 1.5rem;
  margin-bottom: 1.5rem;
}

div.content-desktop div.col-1 div.copyright {
  margin-top: 3rem;
  margin-bottom: 3rem;
}

div.content-desktop div.col-1 div.copyright span{
  font-size: 0.8rem;
}

div.col-2 div.map div{
  width: 400px;
  height: 400px;
  /* margin-right: auto; */
  margin-left: 0px;
}

div.col-2 div.map img{
  width: 100%;
}

/********** Mobile ***********/

div.content-mobile{
  display: none;
  width: 100%;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
  margin-top: 5rem;
  /* padding-left: 2rem;
  padding-right: 2rem; */
}

div.content-mobile div.title img{
  width: 100%;
  max-width: 200px
}

div.content-mobile div.map img{
  width: 100%;
  /* max-width: 400px; */
}

div.content-mobile div.tel,
div.content-mobile div.dot-line,
div.content-mobile div.address,
div.content-mobile div.map,
div.content-mobile div.fb{
  margin-top: 1.5rem;
}

div.content-mobile div.copyright{
  margin-top: 3rem;
  margin-bottom: 3rem;
}

div.content-mobile div.copyright{
  text-align: center;
  font-size: 0.8rem;
}

/************************************/
/* 1024px                            */
/************************************/

@media screen and (max-width: 1024px) {
  /* 960px */

  div.content-desktop{
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    max-width: 800px;
    width: 100%;
    margin-left: auto;
    margin-right: auto;
    margin-top: 10rem;
    justify-content: space-between;
  }

  div.content-mobile{
    display: none;
  }


}

@media screen and (max-width: 1024px) and (orientation: landscape){

  div.content-desktop{
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    max-width: 800px;
    width: 100%;
    margin-left: auto;
    margin-right: auto;
    margin-top: 5rem;
    justify-content: space-between;
  }

  div.content-mobile{
    display: none;
  }

}

/************************************/
/* 768px & 854px                    */
/************************************/

@media screen and (max-width: 854px) and (orientation: landscape) {

  div.content-desktop{
    display: none;
  }

  div.content-mobile{
    display: block;
    width: 90%;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
    margin-top: 5rem;
    /* padding-left: 2rem;
    padding-right: 2rem; */
  }

}

@media screen and (max-width: 854px) {
  /* 760px */

  /* Top Menu */

  topmenu div#logo{
    width: 7rem;
    height: 7rem;
    margin-left: 2rem;
    margin-top: 1rem;
    margin-bottom: 1rem;
  }

  topmenu div#logo img{
    width: 7rem;
    height: 7rem;
  }

  topmenu div#hamburger {
    width: 3rem;
    height: 3rem;
    margin-right: 2rem;
    margin-top: 3rem;
  }

  topmenu div#hamburger img{
    width: 3rem;
    height: 3rem;
  }

  div.content-desktop{
    display: none;
  }

  div.content-mobile{
    display: block;
    width: 90%;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
    margin-top: 10rem;
    /* padding-left: 2rem;
    padding-right: 2rem; */
  }

  div#yst-map1{
    display: none;
  }

  div#yst-map2{
    width: 600px;
    height: 600px;
    margin-left: 0px;
  }


}

/************************************/
/* 600px                            */
/************************************/

@media screen and (max-width: 600px) and (orientation: landscape) {
  div.content-desktop{
    display: none;
  }

  div.content-mobile{
    display: block;
    width: 80%;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
    margin-top: 5rem;
    /* padding-left: 2rem;
    padding-right: 2rem; */
  }
}


@media screen and (max-width: 600px) {
  /* 600px */

  /* Top Menu */

  topmenu div#logo{
    width: 3rem;
    height: 3rem;
    margin-left: 1rem;
    margin-top: 0.5rem;
    margin-bottom: 0.5rem;
  }

  topmenu div#logo img{
    width: 3rem;
    height: 3rem;
  }

  topmenu div#hamburger {
    width: 1.5rem;
    height: 1.5rem;
    margin-right: 1rem;
    margin-top: 1.5rem;
  }

  topmenu div#hamburger img{
    width: 1.5rem;
    height: 1.5rem;
  }

  /* Side Menu */

  img#bt-close {
    width: 1.5rem;
    height: 1.5rem;
    cursor: pointer;
    margin-right: 1rem;
    margin-top: 1.5rem;
  }

  div.content-desktop{
    display: none;
  }

  div.content-mobile{
    display: block;
    width: 80%;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
    margin-top: 5rem;
    /* padding-left: 2rem;
    padding-right: 2rem; */
  }

  div#yst-map1{
    display: none;
  }

  div#yst-map2{
    width: 440px;
    height: 440px;
    margin-left: 0px;
  }

}

/************************************/
/* 414px                            */
/************************************/

@media screen and (max-width: 450px) and (orientation: landscape) {

  div.content-desktop{
    display: none;
  }

  div.content-mobile{
    display: block;
    width: 80%;
    max-width: 450px;
    margin-left: auto;
    margin-right: auto;
    margin-top: 5rem;
    /* padding-left: 2rem;
    padding-right: 2rem; */
  }

}

@media screen and (max-width: 450px) {
  /* 400px */

  /* Side Menu */

  div#side-menu div:nth-child(2) ul li{
    font-size: 1.5rem;
    margin-top: 2rem;
    list-style-type: none;
    width: 80%;
    margin-left: auto;
    margin-right: auto;
    text-align: center;
  }

  div.content-desktop{
    display: none;
  }

  div.content-mobile{
    display: block;
    width: 80%;
    max-width: 450px;
    margin-left: auto;
    margin-right: auto;
    margin-top: 5rem;
    /* padding-left: 2rem;
    padding-right: 2rem; */
  }

  div#yst-map1{
    display: none;
  }

  div#yst-map2{
    width: 330px;
    height: 330px;
    margin-left: 0px;
  }

}

/************************************/
/* 375px                            */
/************************************/

@media screen and (max-width: 375px) and (orientation: landscape) {

  div.content-desktop{
    display: none;
  }

  div.content-mobile{
    display: block;
    width: 80%;
    max-width: 375px;
    margin-left: auto;
    margin-right: auto;
    margin-top: 5rem;
    /* padding-left: 2rem;
    padding-right: 2rem; */
  }

}

@media screen and (max-width: 375px) {
  /* 360px */

  div.content-desktop{
    display: none;
  }

  div.content-mobile{
    display: block;
    width: 80%;
    max-width: 375px;
    margin-left: auto;
    margin-right: auto;
    margin-top: 5rem;
    /* padding-left: 2rem;
    padding-right: 2rem; */
  }

  div#yst-map1{
    display: none;
  }

  div#yst-map2{
    width: 300px;
    height: 300px;
    margin-left: 0px;
  }

}

/************************************/
/* 320px                            */
/************************************/

@media screen and (max-width: 320px) and (orientation: landscape) {

  div.content-desktop{
    display: none;
  }

  div.content-mobile{
    display: block;
    width: 80%;
    max-width: 320px;
    margin-left: auto;
    margin-right: auto;
    margin-top: 5rem;
    /* padding-left: 2rem;
    padding-right: 2rem; */
  }

}

@media screen and (max-width: 320px) {
  /* 280px */

  /* Top Menu */

  topmenu div#logo{
    width: 4rem;
    height: 4rem;
    margin-left: 1rem;
    margin-top: 1rem;
    margin-bottom: 1rem;
  }

  topmenu div#logo img{
    width: 4rem;
    height: 4rem;
  }

  topmenu div#hamburger {
    width: 2rem;
    height: 2rem;
    margin-right: 1rem;
    margin-top: 1.75rem;
  }

  topmenu div#hamburger img{
    width: 2rem;
    height: 2rem;
  }

  /* Side Menu */

  img#bt-close {
    width: 2rem;
    height: 2rem;
    cursor: pointer;
    margin-right: 1rem;
    margin-top: 1.75rem;
  }

  /* Content */

  div.content-desktop{
    display: none;
  }

  div.content-mobile{
    display: block;
    width: 80%;
    max-width: 320px;
    margin-left: auto;
    margin-right: auto;
    margin-top: 7rem;
    /* padding-left: 2rem;
    padding-right: 2rem; */
  }

  div#yst-map1{
    display: none;
  }
  
  div#yst-map2{
    width: 250px;
    height: 250px;
    margin-left: 0px;
  }

}
