/* global attributes */
* {
  /* margin: 0; */
  /* padding: 0; */
  /* box-sizing: border-box; */
  /* font-family: 'Raleway'; */
  /* margin: 0; padding: 0; */
}

body {
  /* background-image: url("../assets/pictures/building_gray_slim.png"); */
  /* background-image: url('../assets/pictures/yongmao2.png'); */
  /* background-attachment: scroll; */
  background-size: cover;
}

body {
  /* height: 100%; */
  /* display: flex;
  flex-direction: column; */
}

/* HEADER */

.homelogo {
  width: 100px;
  height: auto;
  float: left;
  /* scale */
  transform: scale(0.85);
  /* padding-left: 2em; */
  margin-left: 1.5em;
}

@media screen and (max-width: 600px) {
  .homelogo {
    /* padding-left: 0em; */
    margin-left: 0em;
    /* display: none; */
  }
}

.sidenav{
  color: rgb(116, 116, 116);
  font-size: 0.9em;
  text-transform: uppercase;
  font-family: 'Inter';
  padding-top: 50px;
}

.menu-button {
  margin-top: 0.25em;
}

.navbar {
  overflow: auto;
  /* aligned to the right */
  /* float: right; */
  /* background-color: #ffffff77; */
  /* color: #ffffff; */
  font-size: 20px;
  /* font-weight: bold; */
  /* padding: 10px; */
  text-decoration: none;
  text-transform: uppercase;
  /* text-transform: lowercase; */
  /* font-family: 'Raleway', sans-serif; */
  width: 100%;
  padding-top: 2em;
}

@media screen and (max-width: 600px) {
  .navbar {
    padding-bottom: 2em;
  }
}

.navbar * {
  /* padding-top: 2em; */
}

.navbar a {
  /* aligned to the right */
  text-align: center;

  text-decoration: none;
  float: right;
  /* padding-top: 20px; */
  /* padding-top: 2em; */
  color: rgb(116, 116, 116);
  font-size: 0.9em;

}

/* last .navbar a margin right */
.navbar a:first-of-type{
  margin-right: 1em;
}

.navbar .left {
  float: left;
  /* padding-top: 20px; */
}

.navbar a:hover {
  background-color: #af8e8e00;
  border-color: beige;
  /* border-radius: 1px; */
  /* border-width: 10px; */
  /* border: 2px solid #de3838; */
  /* background-color: #ddd; */
  color: #de3838 !important;
  color: #974c53 !important;
  color: #D81F24 !important;


}

.navbar .icon {
  display: none;
}

@media screen and (max-width: 600px) {
  .navbar a:not(:last-child) {
    display: none;
  }

  .navbar a.icon {
    float: right;
    display: block;
  }
}

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

  .navbar.responsive a.icon {
    position: absolute;
    right: 0;
    top: 0;
  }

  .navbar.responsive a {
    float: none;
    display: block;
    text-align: left;
  }
}



/* CONTENT */

.container {
  /* position: fixed; */
  left: 0;
  right: 0;
  z-index: 0;
  /* margin-left: 20px;
    margin-right: 20px; */
}



main {
  /* scroll-snap-type: y mandatory; */
  /* scroll-behavior: smooth; */
  /* overflow-y: scroll; */
  /* height: 100vh; */
  /* flex: 1 0 auto; */
}

main section {
  min-height: 500px;
  /* height: 600px; */
  /* scroll-snap-align: start; */
  /* scroll-snap-stop: always; */
  /* margin-left: 1vw;
  margin-right: 1vw; */
}

main section * {
  /* margin-left: 1vw; */
  /* margin-right: 1vw; */
}

.landingsection {
  background-image: url();
  background-color: rgb(249, 249, 249);
  background-color: #f2f2f2;

}

@media screen and (max-width: 600px) {
  .main-section {
    padding-left: 8%;
    padding-right: 8%;
    height: 60vh;
  }

  .landingsection {
    padding-left: 8%;
    padding-right: 8%;
  }

  /* except proj section */
  .proj-section {
    padding-left: 0%;
    padding-right: 0%;
  }
}

main section:not(:first-of-type) {
  /* border-radius: 10px; */
  padding-top: 10vh;
}

.container::before {
  filter: blur(10px) grayscale(55%);
}


.landing p {
  padding-top: 1.5em;
  max-width: 40em;
}

.landing {
  /* padding-left: 15%; */
  margin-left: 15%;
}

@media screen and (max-width: 600px) {
  .landing {
    margin-left: 0%;
  }
}

.landingmore {
  font-family: 'Inter';
  color: #787878;
  background-color: rgba(97, 100, 100, 0.13);
  border-radius: 5px;
  font-size: 0.75em;

  /* test */
  color: #121212e3;
}


.headline {
  /* the headline 'where solution meets perfection', at the home page center */
  text-align: center;
  max-width: 17em;
  text-align: left;
  padding-top: 8%;
  /* ver 1 Raleway */
  font-size: 48px;
  font-family: 'Raleway';
  line-height: 1.2em;

  /* ver 2 DM Serif Display */
  font-size: 4em;
  font-family: 'DM Serif Display';
  line-height: 1.1em;

  text-transform: capitalize;
  color: #D81F24;


  /* color: #8c2d38; */
}

@media screen and (max-width: 600px) {
  .headline {
    /* v1 Raleway */
    font-size: 35px;
    /* v2 */
    font-size: 3em;
  }
}

.headline .h-black {
  color: #121212e3;
}

/* use by all pages except main */
.headline-div {
  margin-top: 6em;
  margin-bottom: 5em;
}

.headline-center {
  text-align: center;
  font-size: 1.9em;
  /* font-weight: bold; */
  font-family: 'Times New Roman', Times, serif;
  font-family: 'Raleway';
  text-transform: capitalize;
  /* text-transform: uppercase; */
  color: #1f1e1eb4;
  color: #121212e3;
  padding-right: 0.5em;
  /* padding-top:0em; */
  margin-bottom: 0.75em;
}

.headline-center h1 {
  text-align: center;
  font-size: 48px;
  font-size: 2em;
  font-family: 'DM Serif Display';
  /* font-family: 'Nunito'; */
  line-height: 1.1em;
  text-transform: capitalize;
}



.headline-p {
  /* font-family: 'Nunito'; */
  color: #0b0b0be3;
}

section h4 {
  /* service headline */
  font-size: 2em;
  /* font-weight: bold; */
  font-family: 'Times New Roman', Times, serif;
  text-transform: capitalize;
  /* font-weight: 300; */
  /* font-style: italic; */
  color: #222222b4;
  padding-right: 0.5em;
  /* padding-top:0em; */
  margin-bottom: 0.75em;
  text-align: center;
  /* text-align: right; */
}

/* PROJECTS SLIDESHOW */

.gallery {
  background: #eeeeee40;
  margin: auto;
  /* margin-top: 7.5%; */
}

.gallery-cell {
  width: 80%;
  height: 500px;
  margin-right: 10px;
  background: rgb(230, 230, 230);
  counter-increment: gallery-cell;

  display: flex;
}

/* mobile */
@media screen and (max-width: 600px) {
  .gallery-cell {
    /* width: 100%; */
    max-height: 35vh;
    width: 90%;
  }
}

/* cell number */
.gallery-cell:before {
  /* display: block;
  text-align: center;
  content: counter(gallery-cell);
  line-height: 500px;
  font-size: 80px;
  color: rgba(74, 69, 69, 0.677); */
}

.proj-section {
  height: 80vh;
  /* background-image: url('../assets/pictures/microsoft-365-oUbzU87d1Gc-unsplash.jpg'); */
  filter: blur(0.1px) grayscale(25%);
  background-size: cover;
  background-image: url();
  background-color: rgb(249, 249, 249);
  background-color: #f2f2f2;

}

/* mobile */
@media screen and (max-width: 600px) {
  .proj-section {
    height: 60vh;
  }
}

.proj-slide {
  width: 100%;
  /* display:none; */
}

.proj-content {
  /* flex: 1; */
  width: 100%;
  /* height:  100%; */
  height: 500px;
}



.img-container {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
}

.img-container img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.project-info {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  background-color: rgba(0, 0, 0, 0.601);
  /* Add a semi-transparent background to improve text visibility */
  color: white;
  text-align: center;
  padding: 10px;
}

.project-info h3 {
  font-size: 20px;
  /* font-weight: bold; */
  color: #ece6e6;
  font-family: 'Inter', 'sans-serif';
  font-family: 'Raleway', sans-serif;
  text-transform: uppercase;
}

.project-info p {
  font-size: 16px;
  /* Adjust the font size according to your design */
  font-family: 'Inter', 'sans-serif';
  color: #ece6e6;

  font-family: 'Inter', 'sans-serif';

}

.proj-animate-right {
  position: relative;
  animation: animateright 1s
}

.w3-left,
.w3-right,
.w3-badge {
  cursor: pointer
}

.w3-badge {
  height: 13px;
  width: 13px;
  padding: 0
}

.contact-section {
  height: 100vh;
}

.contact-section .headline-div{
  padding-top: 5vh;
}

/* mobile */
@media screen and (max-width: 600px) {
  .contact-section {
    height: 65vh;
  }

  .contact-section .headline-div{
    padding-top: 0vh;
  }
}

/* CONTACT */
.contactbutton {
  margin-top: 0.2em;
  font-family: 'Inter';
  color: #3e3e3e;
  background-color: rgba(230, 230, 230, 0.725);
  border-radius: 7px;
  /* border-color: #3e3e3e2a; */
  /* border: solid 2px #3e3e3e2d; */
  box-shadow: 0 0 10px 8px rgba(86, 85, 83, 0.171);
  font-size: 1.1em;
  width: 100%;
  height: 10vh;
}

.contactbutton:hover{
  background-color: rgba(230, 230, 230, 0.725);
}

.contactbutton:hover .fa{
  color: #D81F24;
}

@media screen and (max-width: 600px) {
  .contactbutton{
    height: 7vh;
  }
}

.button-styled{
  margin-top: 0.2em;
  font-family: 'Inter';
  color: #787878;
  background-color: rgba(97, 100, 100, 0.13);
  border-radius: 7px;
  font-size: 1em;

  /* test */
  color: #202020e3;
}

.button-styled:hover{
  background-color: rgba(230, 230, 230, 0.725);
  background-color: rgba(97, 100, 100, 0.13);

}

.button-styled:hover *{
  color: #D81F24;
}


/* FOOTER */

/* black style */
.page-footer {
  width: 100%;
  background: #232323 !important;
}

.footer-copyright{
  background: #232323 !important;
}

.page-footer * {
  font-family: 'Inter';
}

.page-footer a, .page-footer p, .page-footer h5{
  color:rgb(220, 220, 220);
}

.copyright{
  color:rgba(220, 220, 220, 0.229);
}


.directionframe {
  width: 20vw;
  height: auto;
  /* border:2px solid red; */
}


/* white style */
.page-footer {
  width: 100%;
  background: #ededed !important;
  padding-top: 5vh;
}

.footer-header{
  font-size: 1.1em;
  /* font-weight: bold; */
  color: #D81F24 !important;
  /* italic */
  /* font-style: italic; */

}

.footer-copyright{
  background: #f4f4f4 !important;
  background: #ededed !important;
}

.page-footer * {
  font-family: 'Inter';
}

.page-footer a, .page-footer p, .page-footer h5{
  color: #2c2b2b;
}

.copyright{
  color: #23232383 !important;
}

.directionframe {
  width: 20vw;
  height: auto;
  border: 2px solid #232323cf !important;
}

/* mobile */
@media screen and (max-width: 600px) {
  .page-footer {
    /* padding-bottom: 2em; */
    /* width: 90%; */
    padding-left: 5%;
    padding-right: 5%;
    /* padding-bottom: 50px; */
  }
}
/*  */


.celebratinglink{
  color: #D81F24 !important;
}

.page-footer h5{
  font-size: 1.4em;
  text-transform: uppercase;

  /* v2 */
  /* font-family: 'DM Serif Display';
  font-size: 1.5em;
  text-transform: none; */
}

.page-footer .divider{
  background-color:rgba(164, 164, 164, 0.44) !important;
}

.mapaddress {
  font-size: smaller;
  padding-bottom: 1em;
}


@media screen and (max-width: 600px) {
  .directionframe {
    width: 100%;
  }
}



