/*Brand Colors*/
.pink {
  color: #f37b70;
}

.black {
  color: #000000;
}

/*Font Styles*/
@font-face {
  font-family: "CircularXXWeb-Bold";
  src: url("../fonts/CircularXXWeb-Bold.woff") format("woff");
}

@font-face {
  font-family: "CircularXXWeb-Bold";
  src: url("../fonts/CircularXXWeb-Bold.woff2") format("woff2");
}


/* subset */

@font-face {
  font-family: "CircularXXSub-Bold";
  src: url("../fonts/CircularXXSub-Bold.woff") format("woff");
}

@font-face {
  font-family: "CircularXXSub-Bold";
  src: url("../fonts/CircularXXSub-Bold.woff2") format("woff2");
}

/*Website*/

.chonburi-regular {
  font-family: "Chonburi", serif;
  font-weight: 400;
  font-style: normal;
}

body {
  font-family: 'CircularXXSub-Bold', Arial, Helvetica, sans-serif;
  padding: 0;
  margin: 0;
}

h2 {
  text-transform: uppercase;
  text-align: center;
  font-size: 45px;
}

.wrapper {
  width: 100%;
  margin: 0;
  padding: 0;
  font-family: 'CircularXXWeb-Bold', Arial, Helvetica, sans-serif;
}

.header {
  display: flex;
  justify-content: space-between;
  align-content: center;
  height: 95px;
  width: 100%;
  position: fixed;
  z-index: 99;
}

.fadeout {
  opacity: 0;
  transition: opacity 1s;
}

.fadein {
  opacity: 1;
  transition: opacity 1s;
}

.home-logo {
  margin: 20px 0 0 20px;
}

.home-logo a svg {
  max-width: 45px;
  height: auto;
}

#hamburger-menu {
  height: auto;
  width: 45px;
  margin: 20px 20px 0 0;
}

nav {
  opacity: 0;
  height: 0;
  width: 100%;
  position: absolute;
  z-index: 9;

  transition: opacity .25s;
}

#nav-open {
  background-color: #ffffff;
  height: 0;
  width: 100%;
  padding: 125px 0 0 35px;
  font-size: 65px;
  line-height: 1.5;
  text-align: left;
  display: flex;
  flex-flow: column nowrap;
  position: fixed;
}

a.nav-link {
  color: #f37b70;
  text-decoration: none;
  text-transform: uppercase;
  margin: 10px 0;
  position: relative;
  width: max-content;
}

a.nav-link::after {
  content: '';
  display: block;
  width: 0;
  height: 3px;
  background-color: #f37b70;
  position: absolute;
  top: 50%;
  left: 0;

  transition: width 300ms ease-in-out;
}

a.nav-link:hover::after {
  width: 100%;
}

.menu-line {
  fill: #f37b70;
  display: block;
}

#menu-line-1 {
  transform-origin: 0 0;
  transition: transform .25s;
}

#menu-line-2 {
  transform-origin: 33% 140%;
  transition: transform .25s;
}

.tagline {
  color: #ffffff;
  text-align: center;
  font-size: 2em;
  opacity: 0;
  max-height: 45px;
}

.hero-video {
  width: 100%;
}

#herovid {
  padding: 56.25% 0 0 0;
  position: relative;
}

#herovid iframe,
#herovid object,
#herovid embed {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

#aboutvid {
  padding: 56.25% 0 0 0;
  position: relative;
}

#aboutvid iframe,
#aboutvid object,
#aboutvid embed {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

.about-video {
  margin: 300px 0;
}

.client-logos {
  margin: auto 10%;
  display: flex;
  flex-flow: row wrap;
  justify-content: space-between;
}

.client-logos a img.logo-hover {
  display: none;
}

.client-logos a img.default {
  display: inherit;
}

.client-logos a:hover img.logo-hover {
  display: inherit;
}

.client-logos a:hover img.logo-default {
  display: none;
}

.contact-wrapper {
  margin: 300px 0;
  display: flex;
  flex-flow: row nowrap;
  justify-content: center;
}

.left {
  margin-right: 70px;
}

.right {
  width: auto;
}

.contact-information {
  font-size: 40px;
  margin: 15px 0 45px 12px;
}

.contact-information a {
  text-decoration: none;
  color: #000000;
}

.social-icons {
  display: flex;
  flex-flow: row nowrap;
}

.social-logo {
  width: 40px;
  height: 40px;
  margin: 0 10px;
}

.social-logo a svg {
  fill: #f37b70;
}

.social-logo a svg:hover {
  fill: #000000;
}

footer {
  color: #ffffff;
  background-color: #f37b70;
  text-align: center;
  height: 45px;
  text-transform: uppercase;
  display: flex;
  justify-content: center;
}

@media all and (max-width: 876px) {
  .client-logos {
    justify-content: center;
  }

  .contact-wrapper {
    flex-flow: column nowrap;
    margin-left: 10%;
  }

  .contact-wrapper .logo img {
    max-width: 110px;
    margin-bottom: 50px;
  }

  .social-logo:first-child {
    margin-left: 0;
  }
}

@media all and (max-width: 768px) {
  .contact-information {
    font-size: 35px;
  }

  .contact-wrapper .logo img {
    max-width: 105px;
    margin-bottom: 50px;
  }
}

@media all and (max-width: 475px) {
  #nav-open {
    font-size: 55px;
  }

  .contact-information {
    font-size: 25px;
    margin-bottom: 30px;
  }

  .contact-wrapper .logo img {
    max-width: 75px;
    margin-bottom: 30px;
  }

  .social-logo {
    width: 35px;
    height: 35px;
  }
}