/* Apply a box-sizing border-box to all elements */
* {
  box-sizing: border-box;
  font-family: 'Sarabun', sans-serif;

}

body {
  margin: 0;

  width: 100%;
  height: auto;
  display: flex;
  min-height: 100vh;
  align-items: center;
  flex-direction: column;
}

h4, h5, h6 {
  text-align: center;
}
h1, h2, h3 {
  text-transform: uppercase;
  text-align: center;
}



/* Default styles */
.stickyheader {
  background: #232526;
  width: 100%;
  text-align: center;
  position: sticky;
  left: 0;
  top: 0;
  padding: 25px;
  z-index: 9900;
}

.stickyheader {
  background: #232526;
  width: 100%;
  text-align: center;
  position: sticky;
  top: 0;
  padding: 5px;
  z-index: 9900;
  transition: all 0.3s ease-in-out;
}

.stickylogo {
  height: 200px;
  transition: all 0.3s ease-in-out;
}

.stickylogo:hover {
  transform: scale(1.1);
}

.stickyheader.shrink {
  padding: 10px;
}

.stickyheader.shrink .stickylogo {
  height: 50px;
}

@media (max-width: 600px) {
  .stickyheader {
    padding: 15px;
  }
  
  .stickylogo {
    height: 100px;
  }
}


.header {
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}





.navigation {

  margin-top: 30px;

}

.navigation a {
 color: darkblue;
}

/* Set a maximum width for the entire page */
.container {


  width: 100%;
  display: flex;
  justify-content: center;
  background-color: 232323;

}
@media screen and (max-width: 600px) {
  .container {
    padding: 10px;
  }
}


.container {
  Xmargin-bottom: 20px;
  padding-left: 20px;
  padding-right: 20px;
}


main {
  

  width: 100%;
  display: flex;
  max-width: 1200px;
  margin-top: var(--dl-space-space-doubleunit);
  align-items: center;
  margin-bottom: var(--dl-space-space-doubleunit);
  flex-direction: column;
  justify-content: center;
}

a {
  color: #ffff00;
}


.contactbutton {
  width: 100px;
  height: 40px;
  /* Add any other styling you want for the button */

  

  background-color: #4a73ca;
  color: #ffffff;
  font-size: 16px;
  padding: 10px 20px;
  margin-right: 10px;
  border: none;
  border-radius: 5px;
  cursor: pointer;
}




.contactbutton:hover {
  background-color: #3a5ca5;
}




/* default style */
.floating-contact-button {
  position: sticky;
  bottom: 60px;
  right: 10px;
  z-index: 9999;
  animation: pulse 3s ease-in-out infinite;
  transition: opacity 0.5s ease-in-out;
  background-color: #81cf62;
  color: #ffffff;
  font-size: 16px;
  padding: 10px 20px;
  margin-right: 10px;
  border: none;
  border-radius: 5px;
  cursor: pointer;

}

.floating-contact-button:hover {
  background-color: #2e6e26;
}


/* Make the footer centered on small screens */
@media screen and (max-width: 768px) {
  .floating-contact-button {
    position: sticky;
    bottom: 60px;
    right: 10px;
    z-index: 9999;
    animation: pulse 3s ease-in-out infinite;
    transition: opacity 0.5s ease-in-out;
  }

}

.contact-phonenumber {
 font-size: 2em;
 text-decoration: none;

}

@keyframes pulse {
  0% {
    transform: scale(0.8);
  }
  50% {
    transform: scale(1);
  }
  100% {
    transform: scale(0.8);
  }
}



.socialcontact-button {
 height: 20px;
 border-radius: 5px;

 transition: transform 0.3s ease-in-out;
 background-color: #ffffff;
}

.socialcontact-button:hover {
  transform: scale(1.1);
}


.testimonial-container {
  display: flex;
  justify-content: center;
  margin-bottom: 50px;
}

.testimonial-row {
  display: flex;
  flex-wrap: wrap;
  box-sizing: border-box;
  width: 100%;
  align-items: stretch;
  align-self: flex-start;
  justify-content: space-between;
}

.testimonial-column {
  flex-basis: calc(33.33% - 20px);
  display: flex;
  flex-direction: column;
  padding: 20px;
  box-shadow: 5px 5px 10px 0px rgba(18, 18, 18, 0.1);
  background: #fff;
  text-align: center;
}

.testimonial-container h1 {
  font-size: 1.3em;
}

.testimonial-container h2 {
  font-size: 0.8em;
}

.testimonial-img {
  margin: 0 auto 20px;
  max-width: 200px;
  transition: transform 0.3s ease-in-out;
}

.testimonial-img:hover {
  transform: scale(1.05);
}




.testimonial-column p {
  text-align: left;
}

/* Clear floats after the columns */
.testimonial-row:after {
  content: "";
  display: table;
  clear: both;
}

.project-container {
  display: flex;
  justify-content: center;
}

.project-row {
  display: flex;
  flex-wrap: wrap;
  box-sizing: border-box;
  width: 100%;
  align-items: stretch;
  align-self: flex-start;
  justify-content: space-between;
}

.project-column {
  flex-basis: calc(33.33% - 20px);
  display: flex;
  flex-direction: column;
  padding: 20px;
  box-shadow: 5px 5px 10px 0px rgba(18, 18, 18, 0.1);
  background: #fff;
  text-align: center;
}

.project-container h1 {
  font-size: 1.3em;
}

.project-container h2 {
  font-size: 0.8em;
}

.project-img {
  border-radius: 10px;
  height: 250px;
  transition: transform 0.3s ease-in-out;
  margin: 0 auto 10px;
}

.project-img:hover {
  transform: scale(1.05);
}

.project-column p {
  text-align: left;
}

/* Clear floats after the columns */
.project-row:after {
  content: "";
  display: table;
  clear: both;
}

.project-filler {
  height: 100%;
}


@media screen and (max-width: 600px) {
  .testimonial-row,
  .project-row {
    flex-direction: column;
  }

  .testimonial-column,
  .project-column {
    flex-basis: 100%;
    width: 100%;
  }
}


footer {

  background: linear-gradient(
    0deg,
    #232526 0%,
    #414345 100%
  );
  color: #fff;
  text-align: center;
  padding: 20px;
  font-size: 16px;
  width: 100vw; /* Set width to 100vw */
  margin-top: 30px;
  
  letter-spacing: 0.03em;

}

footer a {
  color: #4d85ff;
  letter-spacing: 0.05em;
}

.footersocial {

  background: #232526;
  width: 100%;
  text-align: center;
  position: sticky;
  left: 0;
  bottom: 0;
  padding: 15px;
  z-index: 9900;
}

.qr-code {
  width: 140px;
  height: 140px;
  margin: 20px auto;
  border-radius: 10px; /* add rounded corners */
  background-color: #fff;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 20px; /* decrease the padding */
}

.qr-code img {
  width: 100px;
  height: 100px;
  max-width: 100%;
  max-height: 100%;
  border-radius: 10px;
  transition: transform 0.3s ease-in-out;
}

.qr-code:hover img {
  transform: scale(1.1);
}


/* Make the footer centered on small screens */
@media screen and (max-width: 768px) {
  .header img {
    max-height: 150px;
  }
  
  .testimonial {
    flex-basis: 50%;
  }
}






