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

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

body {
  background: #000;
  font-family: 'Poppins', sans-serif;
  font-size: 1em;
  color: #FFF;
  margin: 0;
  padding: 0;
  overflow-x: hidden;
}

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;
}

/********** Projects Body **********/

div.our-project-body{
  width: 100%;
  margin-left: auto;
  margin-right: auto;
  background-image: url('/contents/web/images/bg-shading-01.png');
  background-size: 40px;
  background-repeat: repeat-x;
  background-position: bottom;
  padding-bottom: 12rem;
}

div.our-project-body div:nth-child(0){
  width: 95%;
  max-width: 960px;
  margin-left: auto;
  margin-right: auto;
}

/********** Tab Projects & Clients **********/

div.tab-projects, div.tab-clients{
  max-width: 640px;
  width: 100%;
  display: none;
  flex-direction: row;
  justify-content: space-evenly;
  margin-left: auto;
  margin-right: auto;
  margin-top: 10rem;
}

div.tab-projects > img, div.tab-clients > img{
  width: 45%;
  /* cursor: pointer; */
}

img#tab-p-client{
  cursor: pointer;
}

img#tab-c-project{
  cursor: pointer;
}

/********** group-project-destop **********/

div.group-project-desktop{
  /* display: flex; */
  display: none;
  flex-direction: column;
  justify-content: center;
  width: 960px;
  margin-left: auto;
  margin-right: auto;
  margin-top: 5rem;
  /* background-color: blue; */
}

/* project-row-1 */

div.project-row-1{
  display: flex;
  width: 900px;
  flex-direction: row;
  justify-content: flex-start;
  align-items:flex-end;
  margin-left: auto;
  margin-right: auto;
  /* background-color: yellow; */
}

div.project-row-1 div.project-out{
    margin: 0.5rem;
}

div.project-row-1 div.project-out:nth-child(1){
  position: relative;
  width: 30rem;
  height: 15rem;
}

div.project-row-1 div.project-out:nth-child(2){
  position: relative;
  width: 15rem;
  height: 10rem;
}

/* project-row-2 */

div.project-row-2{
  display: flex;
  width: 900px;
  flex-direction: row;
  justify-content: center;
  margin-left: auto;
  margin-right: auto;
  /* background-color: red; */
}

div.project-row-2 div.project-out{
    margin: 0.5rem;
}

div.project-row-2 div.project-out:nth-child(1){
  position: relative;
  width: 10rem;
  height: 15rem;
}

div.project-row-2 div.project-out:nth-child(2){
  position: relative;
  width: 30rem;
  height: 15rem;
}

/* project-row-3 */

div.project-row-3{
  display: flex;
  width: 530px;
  height: 19rem;
  flex-direction: column;
  flex-wrap: wrap;
  justify-content: center;
  align-items:flex-start;
  margin-left: auto;
  margin-right: auto;
  /* background-color: green; */
}

div.project-row-3 div.project-out{
    margin: 0.5rem;
}

div.project-row-3 div.project-out:nth-child(1){
  position: relative;
  width: 15rem;
  height: 18rem;
}

div.project-row-3 div.project-out:nth-child(2){
  position: relative;
  width: 15rem;
  height: 10rem;
}

div.project-row-3 div.project-out:nth-child(3){
  position: relative;
  width: 15rem;
  height: 7rem;
}

/* project-row-4 */

div.project-row-4{
  display: flex;
  width: 840px;
  flex-direction: row;
  justify-content: flex-start;
  align-items:flex-start;
  margin-left: auto;
  margin-right: auto;
  /* background-color: orange; */
}

div.project-row-4 div.project-out{
    margin: 0.5rem;
}

div.project-row-4 div.project-out:nth-child(1){
  position: relative;
  width: 25rem;
  height: 15rem;
}

div.project-row-4 div.project-out:nth-child(2){
  position: relative;
  width: 18rem;
  height: 15rem;
}

/* project-row-5 */

div.project-row-5{
  display: flex;
  width: 840px;
  flex-direction: row;
  justify-content: flex-end;
  align-items:flex-start;
  margin-left: auto;
  margin-right: auto;
  /* background-color: orange; */
}

div.project-row-5 div.project-out{
    margin: 0.5rem;
}

div.project-row-5 div.project-out:nth-child(1){
  position: relative;
  width: 25rem;
  height: 15rem;
}

div.project-row-5 div.project-out:nth-child(2){
  position: relative;
  width: 12rem;
  height: 15rem;
}

/* div.project-row-5 div.project-out video{
  height: 10rem;
  width: 10rem;
} */

div.project-in{
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

div.project-in img.bt-click2play{
  width: 10rem;
  height: 100%;
}

div#proj-see-more-desktop {
  display: none;
  text-align: center;
  margin-top: 2rem;
  cursor: pointer;
}

div#proj-see-more-desktop img{
    width: 100px;
    margin-left: auto;
    margin-right: auto;
}

/********** video-in **********/

div.video-in{
  /* display: none; */
  display: contents;
}

video.film-video-cover{
  object-fit: cover;
  width: 100%;
  height: 100%;
  /* position: fixed; */
  top: 0;
  left: 0;
}

/********** group-project-mobile **********/

div.group-project-mobile{
  display: none;
  max-width: 960px;
  width: 90%;
  margin-left: auto;
  margin-right: auto;
  margin-top: 5rem;
}

div.group-project-body{
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  justify-content: space-between;
  margin-left: auto;
  margin-right: auto;
}

div.project-out-mobile{
  margin-left: auto;
  margin-right: auto;
}

div.project-out-mobile div.title h3{
  margin-top: 0px;
  margin-bottom: 0px;
}

div.project-out-mobile div.title p{
  margin-top: 0px;
}

div.project-in-mobile{
  position: relative;
  display: inline-block;
  width: 340px;
  height: 194px;
}

div.project-in-mobile img.pic{
  position: absolute;
  display: inline-block;
  top: 0px;
  left: 0px;
  width: 340px;
  height: 194px;
}

div.project-in-mobile img.bt-click2play{
  position: absolute;
  display: inline-block;
  width: 5rem;
  height: 5rem;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

div#proj-see-more-mobile {
  display: none;
  text-align: center;
  margin-top: 2rem;
  cursor: pointer;
}

div#proj-see-more-mobile img{
  width: 50px;
  margin-left: auto;
  margin-right: auto;
}

/********** Group Clients Desktop **********/

div.group-clients-desktop{
  /* display: flex; */
  display: none;
  flex-direction: row;
  flex-wrap: wrap;
  max-width: 960px;
  width: 100%;
  margin-left: auto;
  margin-right: auto;
  margin-top: 5rem;
  justify-content: center;
}

div.group-clients-desktop > img.icon-clients{
  width: 13%;
  padding: 1rem;
}


/********** Group Clients Mobile **********/


/********** Modal ***********/

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

div.modal-top{
  /* padding: 1rem; */
  /* max-width: 960px; */
  margin-left: auto;
  margin-right: auto;
  text-align: right;
}

div.modal-top img{
  width: 2rem;
  height: 2rem;
  margin-right: 2rem;
  margin-top:1.5rem;
  cursor: pointer;
}

div.modal-head{
  width: 90%;
  max-width: 560px;
  margin-left: auto;
  margin-right: auto;
  text-align: left;
  color: #EE6602;
}

div.modal-head h2{
  font-size: 2rem;
  margin-block-end:0.5rem;
}

div.modal-head2{
  width: 100%;
  max-width: 560px;
  margin-left: auto;
  margin-right: auto;
  text-align: left;
  color: #EE6602;
  display: none;
}

div.modal-body{
  width: 90%;
  max-width: 560px;
  margin-left: auto;
  margin-right: auto;
  display: flex;
  flex-direction: column;
}

div.modal-video{
  position: relative;
  display: block;
  width: 560px;
  height: 315px;
  /* max-width: 620px; */
  margin-bottom: 0.5rem;
}

div.modal-content{
  /* width: 30%; */
  /* padding-left: 1rem; */
}

div.modal-content p{
  margin-block-start:0rem;
}

video#film-video-cover-modal{
  display: inline-block;
  object-fit: cover !important;
  width: 620px;
  height: 465px;
  position: absolute;
}

img#video-play{
  /* display: inline-block; */
  position: absolute;
  /* align-self: center;
  margin-left: auto;
  margin-right: auto; */
  width: 10rem;
  height: 10rem;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  cursor: pointer;
}

/************** Modal Mobile **************/

div.modal .mobile{
  display: none;
  position: fixed;
  flex-direction: column;
  /* padding: 2rem; */
  top: 0px;
  left: 0px;
  width: 100vw;
  height: 100vh;
  background-color: black;
  z-index: 100;
}

div.modal.mobile > div.modal-head{
  display: none;
}

div.modal.mobile > div.modal-body{
  width: 90vw;
  margin-top: 2rem;
  margin-left: auto;
  margin-right: auto;
  display: flex;
  flex-direction: column;
}

div.modal.mobile > div.modal-body > div.modal-video{
  /* position: relative; */
  /* display: block; */
  width: 90vw;
  height: 70vw;
  /* max-width: 620px; */
  margin-bottom: 0.5rem;
}

div.modal.mobile > div.modal-body > div.modal-video > video#film-video-cover-modal{
  /* display: block; */
  object-fit: cover !important;
  width: 90vw;
  height: 70vw;
  /* position: absolute; */
}

div.modal.mobile > div.modal-body > div.modal-video > img#video-play{
  /* display: inline-block; */
  position: absolute;
  /* align-self: center;
  margin-left: auto;
  margin-right: auto; */
  width: 5rem;
  height: 5rem;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

div.modal.mobile > div.modal-body > div.modal-head2{
  width: 90vw;
  margin-top: 0rem;
  margin-left: auto;
  margin-right: auto;
  text-align: left;
  /* padding-left: 1rem; */
  color: #EE6602;
  display: block;
}

div.modal.mobile > div.modal-body > div.modal-head2 > h2{
  font-size:1.5rem !important;
  margin-top: 0px;
  margin-bottom: 0px;
}

/* div.modal.mobile > div.modal-body > div.modal-content > p{
  width: 100%;
  margin-top: 0px;
} */

div.modal.mobile > div.modal-body > div.modal-content {
  width: 90vw;
  padding-left: 0px;
}

/********** Footer **********/

div.footer-container{
  position: relative;
  display: flex;
  flex-direction: column;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
  padding: 2rem;
  margin-top:2rem;
}

div.footer-container div.row{
  display: flex;
  flex-direction: row;
  text-align: left;
}

div.footer-container div.row:nth-child(2){
  margin-top: 2em;
}

div.footer-container img.get-in-touch{
  max-width: 200px;
  margin-bottom: 2em;
}

div.footer-container div.row div{
  width: 50%;
}

img.dot-line{
  width: 0.8rem;
  margin-top: 1.5rem;
  margin-bottom: 1.3rem;
}

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

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

  div.group-clients-desktop{
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    max-width: 960px;
    width: 90%;
    margin-left: auto;
    margin-right: auto;
    margin-top: 5rem;
    justify-content: center;
  }

  div.group-clients-desktop > img.icon-clients{
    width: 13%;
    padding: 1rem;
  }

  div.modal-body {
    width: 90%;
    max-width: 560px;
    margin-left: auto;
    margin-right: auto;
    display: flex;
    flex-direction: column;
  }

  div.modal-video {
    position: relative;
    display: block;
    width: 560px;
    height: 315px;
    margin-bottom: 0.5rem;
  }

  div.modal-content {
    /* width: 35%; */
    /* padding-left: 1rem; */
  }

}


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


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

  /* Top Menu */

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

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

  div.group-clients-desktop{
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    max-width: 760px;
    width: 90%;
    margin-left: auto;
    margin-right: auto;
    margin-top: 4rem;
    justify-content: center;
  }

  div.group-clients-desktop > img.icon-clients{
    width: 16%;
    padding: 1rem;
  }

  div.project-in-mobile{
    position: relative;
    display: inline-block;
    width: 320px;
    height: 180px;
  }

  div.project-in-mobile img.pic{
    position: absolute;
    display: inline-block;
    top: 0px;
    left: 0px;
    width: 320px;
    height: 180px;
  }

  /********** Footer **********/

  div.footer-container{
    position: relative;
    display: flex;
    flex-direction: column;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    padding: 5rem;
    margin-top:2rem;
  }

}

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

@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;
  }

  /* Modal */

  div.modal-top img{
    width: 1.5rem;
    height: 1.5rem;
    margin-right: 1rem;
    margin-top:1.5rem;
    cursor: pointer;
  }

  div.modal-content {
    width: 100%;
    padding-left:0px;
  }

  /* Side Menu */

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

  /* Tab */

  div.tab-projects, div.tab-clients {
    max-width: 640px;
    width: 100%;
    display: none;
    flex-direction: row;
    justify-content: space-evenly;
    margin-left: auto;
    margin-right: auto;
    margin-top: 5rem;
  }

  /* Group */

  div.group-clients-desktop{
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    max-width: 540px;
    width: 90%;
    margin-left: auto;
    margin-right: auto;
    margin-top: 4rem;
    justify-content: center;
  }

  div.group-clients-desktop > img.icon-clients{
    width: 16%;
    padding: 1rem;
  }

  div.group-project-mobile{
    display: block;
    width: 340px;
    margin-left: auto;
    margin-right: auto;
    margin-top: 3rem;
  }


  div.project-in-mobile{
    position: relative;
    display: inline-block;
    width: 340px;
    height: 191px;
  }

  div.project-in-mobile img.pic{
    position: absolute;
    display: inline-block;
    top: 0px;
    left: 0px;
    width: 340px;
    height: 191px;
  }

  /* Footer */

  div.footer-container{
    padding: 3rem;
    margin-top:2rem;
  }

  div.footer-container div.row:nth-child(1){
    display: flex;
    flex-direction: column;
    text-align: left;
  }

  div.footer-container div.row:nth-child(2){
    display: flex;
    flex-direction: column-reverse;
    text-align: left;
  }

  div.footer-container div.row div{
    width: 100%;
  }

  div.footer-container div.row:nth-child(2) div:nth-child(1){
    margin-top: 2em;
    text-align: center;
  }


}

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

@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: 90%;
    margin-left: auto;
    margin-right: auto;
    text-align: center;
  }

  div.group-clients-desktop{
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    max-width: 400px;
    width: 90%;
    margin-left: auto;
    margin-right: auto;
    margin-top: 4rem;
    justify-content: center;
  }

  div.group-clients-desktop > img.icon-clients{
    width: 13%;
    padding: 1rem;
  }

  div.group-project-mobile{
    display: block;
    /* max-width: 960px; */
    width: 400px;
    margin-left: auto;
    margin-right: auto;
    margin-top: 3rem;
  }

  div.group-project-body{
    width: 340px;


}

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

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

  div.group-clients-desktop{
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    max-width: 360px;
    width: 90%;
    margin-left: auto;
    margin-right: auto;
    margin-top: 3rem;
    justify-content: center;
  }

  div.group-clients-desktop > img.icon-clients{
    width: 13%;
    padding: 1rem;
  }

  div.group-project-mobile{
    display: block;
    max-width: 360px;
    /* width: 360px; */
    margin-left: auto;
    margin-right: auto;
    margin-top: 3rem;
  }

  div.group-project-body{
    width: 320px;
  }

  div.project-in-mobile{
    position: relative;
    display: inline-block;
    width: 320px;
    height: 180px;
  }

  div.project-in-mobile img.pic{
    position: absolute;
    display: inline-block;
    top: 0px;
    left: 0px;
    width: 320px;
    height: 180px;
  }

  div.modal-body {
    width: 90%;
    max-width: 560px;
    margin-left: auto;
    margin-right: auto;
    display: flex;
    flex-direction: column;
  }

}

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

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

  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;
  }

  /* Modal */

  div.modal-top img{
    width: 2rem;
    height: 2rem;
    margin-right: 1rem;
    margin-top: 1.75rem;
    cursor: pointer;
  }

  div.modal-head2 h2 {
    font-size: 1.5rem;
    margin-block-end: 0.5rem;
  }

  div.modal-content {
    width: 100%;
  }

  /* Side Menu */

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

  /* Tab */

  div.tab-projects, div.tab-clients {
    max-width: 640px;
    width: 100%;
    display: none;
    flex-direction: row;
    justify-content: space-evenly;
    margin-left: auto;
    margin-right: auto;
    margin-top: 6rem;
  }

  /* Group */

  div.group-clients-mobile, div.group-clients-desktop{
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    max-width: 280px;
    width: 90%;
    margin-left: auto;
    margin-right: auto;
    margin-top: 2rem;
    justify-content: center;
  }

  div.group-project-mobile, div.group-project-desktop {
    display: none;
    max-width: 320px;
    width: 90%;
    margin-left: auto;
    margin-right: auto;
    margin-top: 2rem;
  }

  div.group-clients-desktop > img.icon-clients{
    width: 13%;
    padding: 1rem;
  }

  div.group-project-body{
    width:250px;
  }

  div.project-in-mobile{
    position: relative;
    display: inline-block;
    width: 250px;
    height: 140px;
  }

  div.project-in-mobile img.pic{
    position: absolute;
    display: inline-block;
    top: 0px;
    left: 0px;
    width: 250px;
    height: 140px;
  }

  /* Footer */

  div.footer-container{
    padding: 2rem;
    margin-top:2rem;
  }

}
