/**
 * CSS Lock
 * @param  float     $min-size:  1            Lowest value for the lock
 * @param  float     $max-size:  1.4          Highest value for the lock
 * @param  integer   $min-width: 20           Smallest width for lock
 * @param  integer   $max-width: 100          Largest width for lock
 * @param  string    $property:  font-size    Property to apply the lock on
 * @param  string    $unit:      px           Unit of the property to apply
 */
/**
 * Fonts
 **/
@font-face {
  font-family: "Chivo-Regular";
  src: url("../fonts/Chivo-Regular.ttf") format("truetype");
  font-weight: normal;
  font-style: normal;
}

/**
 * Colours
 **/
/**
 * CSS
 **/
/**
 * LAYOUT
 **/
/**
 * Breakpoints
 **/
h1, h2, h3, h4, h5, h6, p {
  color: #000000;
  font-family: 'Sarabun', sans-serif;
  font-weight: normal;
}

a {
  color: inherit;
  font-family: 'Sarabun', sans-serif;
  text-decoration: none;
}

a:hover {
  color: rgba(255, 255, 255, 0.7);
  -webkit-transition: linear 250ms;
  transition: linear 250ms;
}

/**
 * Font sizes
 **/
h1,
h2,
h3,
h4 {
  margin: .5em 0;
  font-weight: 600;
  color: #000000;
  line-height: 1.2em;
}

h1 {
  font-size: calc(20px + (40 - 20) * ((100vw - 320px) / (1920 - 320)));
}

@media (max-width: 320px) {
  h1 {
    font-size: 20px;
  }
}

@media (min-width: 1920px) {
  h1 {
    font-size: 40px;
  }
}

h2 {
  font-size: calc(21px + (37 - 21) * ((100vw - 320px) / (1920 - 320)));
}

@media (max-width: 320px) {
  h2 {
    font-size: 21px;
  }
}

@media (min-width: 1920px) {
  h2 {
    font-size: 37px;
  }
}

h3 {
  font-size: calc(16px + (27 - 16) * ((100vw - 320px) / (1920 - 320)));
}

@media (max-width: 320px) {
  h3 {
    font-size: 16px;
  }
}

@media (min-width: 1920px) {
  h3 {
    font-size: 27px;
  }
}

h3 {
  font-size: calc(16px + (27 - 16) * ((100vw - 320px) / (1920 - 320)));
}

@media (max-width: 320px) {
  h3 {
    font-size: 16px;
  }
}

@media (min-width: 1920px) {
  h3 {
    font-size: 27px;
  }
}

p {
  line-height: 1.2em;
  margin: .2em 0;
}

.container {
  position: relative;
  width: 100%;
  max-width: 1380px;
  margin: 0 auto;
  padding: 1rem;
  -webkit-box-sizing: border-box;
          box-sizing: border-box;
}

.padding {
  padding: 1rem;
}

@media (min-width: 768px) {
  .padding {
    padding: 3rem;
  }
}

@media (min-width: 960px) {
  .padding {
    padding: 5rem;
  }
}

img {
  width: 100%;
  height: auto;
}

header .container {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: horizontal;
  -webkit-box-direction: normal;
      -ms-flex-direction: row;
          flex-direction: row;
  padding-bottom: 2.5rem;
}
