@charset "utf-8";
* {
	margin: 0;
	padding: 0;
}

body {
  margin: 0;
  font-family: sans-serif;
  color: #1e1e1e;
  background-color: #3D4756;
  width: 100%;
  height: 100%;
}

.wrapper {
  position: relative;
  max-width: 100vw;
  height: 100vh;
}

html{
  scroll-behavior: smooth;  /*smooth scrooll*/
}

/* .page-section {
  -moz-box-sizing: border-box;
  box-sizing: border-box;
  max-width: 100vw;
  margin-right: -1.5rem;
  margin-left: -1.5rem;
  background-color: teal;
  z-index: 1;
  
} */

.section-services {
  position: relative;
  width: 100vw;
  height: 110vh;
  background-color: #fff;
  margin-left: -17px;
  margin-right: -17px;
  padding-top: 15px;
}

.section-portfolio {
  position: relative;
  width: 100vw;
  height: 100vh;
  background-color: #3D4756;
  margin-left: -17px;
  margin-right: -17px;
  padding-top: 15px;
}

.section-about {
  position: relative;
  width: 100vw;
  height: 100vh;
  background-color: white;
  margin-left: -17px;
  margin-right: -17px;
  padding-top: 15px;
}

.section-message {
  position: relative;
  width: 100vw;
  height: 90vh;
  background-color: #3D4756;
  margin-left: -17px;
  margin-right: -17px;
  /* padding-top: 30px; */
}
.container {
  width: 100%;
  padding-top: 55px;
}

h1 {
  color: gray;
  font-family: 'Montserrat', sans-serif;
}

h3 {
  color: gray;
  font-family: 'Montserrat', sans-serif;
}

.container-nav {
  width: 100%;
  margin-left: -0.9%;
}
.col {
  /* padding: 0; */
}

.row {
  display: flex;
  flex-wrap: wrap;
  width: 100%;
  padding-left: 0.9%;
  /* margin-right: -15px;
  margin-left: -15px;
  padding-right: -15px;
  padding-left: -15px; */
  -moz-box-sizing: border-box;
  box-sizing: border-box;
  
}

.box {
  display: flex;
  flex-wrap: wrap;
  /* position: relative; */
  width: auto;
  height: auto;
  background-color: none;
  margin: 10px 0px 30px 0px;
  /* -webkit-box-shadow: 0px 0px 2px 2px #ccc;
  box-shadow: 0px 0px 2px 2px #ccc; */
}

.box-img {
  width: 100%;
  height: auto;
  /* padding: 5px; */
  text-align: center;
}
img {
  width: 100%;
  height: auto;
  border-radius: 3px;
}

.service-img-title {
  position: relative;
  margin-top: -1px;
  padding-left: 0.5rem;
  background-color: #3D4756;
  width: 100%;
  height: 30px;
  color: white;
  border-radius: 1px;
  font-family: 'Montserrat', sans-serif;
  font-size: 1rem;
}
.about-box-img {
  width: 100%;
  height: auto;
  margin-left: 5px;
  margin-right: 5px;
  border-radius: 3px;
}

#message {
  position: relative;
  top: 0;
  left: 0;
  width: 100%;
  height: 90%;
  background-image: url('../images/message-bg.jpg');
  background-size: cover;
  background-position: center center; 
}

.message-box {
  display: flex;
  opacity: 0.8;
}

.message-textbox p{
  padding: 3rem;
  background-color: #3D4756;
  opacity: 0.9;
  color: white;
  font-size: large;
  word-wrap: break-word;
  border-radius: 3px;
}

.textbox {
  width: 100%;
  height: auto;
  /* padding: 5px; */
  /* margin: 5px; */
  background-color: white;
  color: gray;
  word-wrap: break-word;
  border-radius: 3px;
}


.modal_wrap input {
  display: none;
}

.modal_overlay {
  display: flex;
  justify-content: center;
  overflow: auto;
  position: fixed;
  top: 0;
  left: 0;
  z-index: 9999;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.7);
  opacity: 0;
  transition: opacity 0.5s, transform 0s 0.5s;
  transform: scale(0);
}

.modal_trigger {
  position: absolute;
  width: 100%;
  height: 100%;
}

.modal_content {
  align-self: center;
  width: 60%;
  max-width: 800px;
  padding: 30px 30px 15px;
  box-sizing: border-box;
  background: white;
  line-height: 1.4em;
  transform: scale(0.3);
  transition: 0.5s;
}

.close_button {
  position: absolute;
  top: 14px;
  right: 16px;
  font-size: 24px;
  cursor: pointer;
}

.modal_wrap input:checked ~ .modal_overlay {
  opacity: 1;
  transform: scale(1);
  transition: opacity 0.5s;
}

.modal_wrap input:checked ~ .modal_overlay .modal_content {
  transform: scale(1);
}

.open_button {
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  display: flex;
  justify-content: center;
  align-items: center;
  width: 200px;
  height: 30px;
  margin: auto;
  padding: 8px 16px;
  color: #444;
  font-weight: bold;
  font-family: 'Montserrat', sans-serif;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.6);
  border-radius: 16px;
  cursor: pointer;
}

#portfolio .container-fluid, #portfolio .container-sm, #portfolio .container-md, #portfolio .container-lg, #portfolio .container-xl {
  max-width: 1920px;
}
#portfolio .container-fluid .portfolio-box, #portfolio .container-sm .portfolio-box, #portfolio .container-md .portfolio-box, #portfolio .container-lg .portfolio-box, #portfolio .container-xl .portfolio-box {
  position: relative;
  display: block;
}
#portfolio .container-fluid .portfolio-box .portfolio-box-caption, #portfolio .container-sm .portfolio-box .portfolio-box-caption, #portfolio .container-md .portfolio-box .portfolio-box-caption, #portfolio .container-lg .portfolio-box .portfolio-box-caption, #portfolio .container-xl .portfolio-box .portfolio-box-caption {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  width: 100%;
  height: 100%;
  position: absolute;
  bottom: 0;
  text-align: center;
  opacity: 0;
  color: white;
  background-color: gray;
  transition: opacity 0.25s ease;
  text-align: center;
}
#portfolio .container-fluid .portfolio-box .portfolio-box-caption .project-category, #portfolio .container-sm .portfolio-box .portfolio-box-caption .project-category, #portfolio .container-md .portfolio-box .portfolio-box-caption .project-category, #portfolio .container-lg .portfolio-box .portfolio-box-caption .project-category, #portfolio .container-xl .portfolio-box .portfolio-box-caption .project-category {
  font-family: "Merriweather Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans", sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji";
  font-size: 0.85rem;
  font-weight: 600;
  text-transform: uppercase;
}
#portfolio .container-fluid .portfolio-box .portfolio-box-caption .project-name, #portfolio .container-sm .portfolio-box .portfolio-box-caption .project-name, #portfolio .container-md .portfolio-box .portfolio-box-caption .project-name, #portfolio .container-lg .portfolio-box .portfolio-box-caption .project-name, #portfolio .container-xl .portfolio-box .portfolio-box-caption .project-name {
  font-size: 1.2rem;
}
#portfolio .container-fluid .portfolio-box:hover .portfolio-box-caption, #portfolio .container-sm .portfolio-box:hover .portfolio-box-caption, #portfolio .container-md .portfolio-box:hover .portfolio-box-caption, #portfolio .container-lg .portfolio-box:hover .portfolio-box-caption, #portfolio .container-xl .portfolio-box:hover .portfolio-box-caption {
  opacity: 1;
}

.potfolio-img-title {
  text-align: center;
  color: white;
  font-size: medium;
}

/* ---------------------------- */
* {
  -webkit-box-sizing: border-box;
  box-sizing: border-box;
}

/* nav--------------------------------- */
.header {
  position: fixed;
  width: 100%;
  height: 80px;
  background-color: #3D4756;
  z-index: 10;
  background-color: rgba(255,255,255,0.0);
  -webkit-transition: all 0.4s linear 0s;
  -webkit-perspective: 1000px;
  perspective: 1000px;
}
.header .logo-container {
  width: 100px;
  height: auto;
  margin-left: 50px;
  float: left;
  border: 0px solid black;
  animation: none;
}
.header .logo-container h1 {
  text-align: center;
  color: white;
  -webkit-transition: all 0.4s linear 0s;
}
.header ul {
  margin: 0 50px 0 0;
  list-style-type: none;
  padding: 0;
  float: right;
  border: 0px solid black;
}
.header ul li {
  display: table-cell;
  border: 0px solid gray;
}
.header ul li a {
  display: inline-block;
  text-decoration: none;
  padding: 30px 15px;
  color: white;
  border-top: 5px solid transparent;
  -webkit-transition: padding 0.4s linear 0s;
  font-size: 16px;
}
.header ul li a:hover {
  border-top: 5px solid white;
}
.toggle-btn {
    display: none;
    position: absolute;
    top: 8px;
    left: auto;
    right: 30px;
    font-size: 30px;
    cursor: pointer;
    z-index: 100;
  }
.header-scroll {
  height: 60px;
  background-color: rgba(255,255,255,1);
  animation: top-in-basic 1 0.4s 0s;
  -webkit-box-shadow: 0px 0px 2px 2px #ccc;
  box-shadow: 0px 0px 2px 2px #ccc;
}
.header-scroll ul li a {
  padding: 15px 15px;
  color: #1e1e1e;
}
.header-scroll ul li a:hover {
  border-top: 5px solid black;
}
.header-scroll .logo-container {
  animation: left-in-basic 1 0.8s 0s;
}
.header-scroll .logo-container h1 {
  margin: 10px 0px;
  color: #1e1e1e;
}
.display-none-mobile {
  display: table;
}
.display-block {
  display: table;
}
.banner-wrapper-fixed {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 120vh;
  background-image: url('../images/header-bg.png');
  background-position: center;
  background-size: cover;
  transition: all 0.1s ease 0s;
}

.foreground {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0,0,0,0.4);
}
.banner-wrapper-fixed .foreground h1 {
  text-align: center;
  color: white;
  margin-top: 250px;
  font-size: 50px;
  padding: 0px 30px;
}
.heading {
  padding: 20px 0px;
  font-size: 40px;
  margin: 0;
  text-align: center;
}

.footer {
  position: relative;
  width: 100%;
  height: 100px;
  background-color: black; 
  z-index: 10;
}
.footer p {
  text-align: center;
  margin: 0;
  color: white;
  padding: 10px 0px;
  font-size: 12px;
}

/* nav--------------------------------- */
.top-in-basic {
  animation: top-in-basic 1 1s 0s;
}
.left-in-basic {
  animation: left-in-basic 1 1s 0s;
}
.fade {
  animation: fade 1 1s 0s;
}
@keyframes flip {
  0% {transform: rotateY(-45deg);}
  100%{transform: rotateY(0deg);}
}
@keyframes fade {
  from {opacity: 0;}
  to {opacity: 1;}
}
@keyframes top-in-basic {
  0%{transform: translateY(-2000px)}
  100%{transform: translateY(0px)}
}
@keyframes left-in-basic {
  0%{transform: translateX(-2000px)}
  100%{transform: translateX(0px)}
}
@media (max-width:768px){
  .header {
    height: auto;
    background-color: transparent;
    -webkit-box-shadow: 0px 0px 0px 0px transparent;
    box-shadow: 0px 0px 0px 0px transparent;
  }
  .header .logo-container {
    width: 100%;
    margin: 0;
    padding: 0;
    z-index: 10;
    border-bottom: 5px solid #ccc;
    background-color: white;
  }
  .header .logo-container h1 {
    color: black;
    padding-left: 20px;
    margin: 10px;
    text-align: left;
  }
  .header-scroll .logo-container {
    animation: none;
  }
  .header ul {
    float: none;
    width: 100%;
    margin: 63px 0 0 0;
    z-index: 9;
    background-color: white;
    border: 0px solid black;
  }
  .display-none-mobile {
    display: none;
  }
  .display-block {
    display: block;
  }
  .header ul li {
    display: block;
    margin: 0;
    text-align: center;
  }
  .header ul li a {
    width: 100%;
    color: black;
    margin: 0;
    padding: 20px 0 20px 0;
  }
  .header ul li a:hover {
    background-color: black;
    color: white;
  }
  .toggle-btn {
    display: block;
  }
}

/* scroll down---------------------------------- */
.arrowWrap {
  position: absolute;
  left: 0;
  bottom: 50;
  height: 200px
}

.arrowInner p {
  color: white;
  left: 0;
  font-size: 12px;
  text-align: end;
  -webkit-transform: rotate(90deg);
  transform: rotate(90deg);
}

.arrow {
  width: 1px;
  height: 75px;
  margin: 50px auto 0;
  background-color: #eee;
  position: relative;
  overflow: hidden;
}

.arrow::before {
  content: '';
  width: 1px;
  height: 100px;
  margin: 50px auto 0;
  background-color: black;
  position: absolute;
  top: -150px;
  left: 0;
  -webkit-animation: arrow 2.5s ease 0s infinite normal;
  animation: arrow 2.5s ease 0s infinite normal;
}

@keyframes arrow {
  0% {
    -webkit-transform: translate3d(-50%, 0, 0);
    transform: translate3d(-50%, 0, 0);
  }

  60% {
    -webkit-transform: translate3d(-50%, 100px, 0);
    transform: translate3d(-50%, 100px, 0);
  }

  100% {
    -webkit-transform: translate3d(-50%, 100px, 0);
    transform: translate3d(-50%, 100px, 0);
  }
}

/* SNS BUTTON---------------------------- */


.sns_box {
  position: absolute;
  overflow: hidden;
  top: 10;
  bottom: 0;
  left: 50%;
  -moz-transform: translateX(-50%);
  -ms-transform: translateX(-50%);
  -webkit-transform: translateX(-50%);
  transform: translateX(-50%);
  margin-left: auto;
  margin-right: auto;
  height: 44px;
  min-width: 224px;
}

.sns_button {
  float: left;
  box-shadow: inset 0 0 0 2px #fff;
  border-radius: 100%;
  -moz-transition: all 280ms ease;
  -o-transition: all 280ms ease;
  -webkit-transition: all 280ms ease;
  transition: all 280ms ease;
}
.sns_button a {
  display: table-cell;
  width: 44px;
  height: 44px;
  color: #fff;
  text-align: center;
  vertical-align: middle;
  -moz-transition: all 280ms ease;
  -o-transition: all 280ms ease;
  -webkit-transition: all 280ms ease;
  transition: all 280ms ease;
}
.sns_button i {
  font-size: 20px;
  vertical-align: middle;
}
.sns_button:hover {
  box-shadow: inset 0 0 0 22px #fff;
}

.sns_button + .sns_button {
  margin: 0 0 0 12px;
}

.twitter:hover a { color: #1B95E0;}

.facebook:hover a { color: #3B5999;}

.instagram:hover a { color: #2b5c84;}

.pocket:hover a { color: #EE4056;}
