@font-face {
  font-family: firabook;
  src: url("fonts/FiraSans-Book.ttf");
}

@font-face {
  font-family: firalight;
  src: url("fonts/FiraSans-Light.ttf");
}

@font-face {
  font-family: firamed;
  src: url("fonts/FiraSans-Medium.ttf");
}

@font-face {
  font-family: oswald;
  src: url("fonts/Oswald-Bold.ttf");
}

body {
  margin: 0px;
  font-family: 'firalight', Arial;
}

.wrap {
  margin: auto;
}

.flex-property {
  display: -webkit-box;
  /* OLD - iOS 6-, Safari 3.1-6 */
  display: -moz-box;
  /* OLD - Firefox 19- (buggy but mostly works) */
  display: -ms-flexbox;
  /* TWEENER - IE 10 */
  display: -webkit-flex;
  /* NEW - Chrome */
  display: flex;
  /* NEW, Spec - Opera 12.1, Firefox 20+ */
}

.center-elements {
  justify-content: center;
  align-items: center;
}

.pad-35 {
  padding: 0px 35px;
  max-width: 1200px;
  margin: auto;
}

.header {
  justify-content: space-between;
  height: 120px;
  align-items: center;
}

.left-info {
  max-width: 300px;
  width: 100%;
}

.right-info {
  width: 130px;
  margin-bottom: -35px;
  position: relative;
  height: 105px;
}

.left-info img {
  width: 100%;
}

.right-info img {
  width: 100%;
  position: absolute;
  z-index: 1000;
  top: 0;
}

.img-cover {
  overflow: hidden;
  position: relative;
}

.img-cover h1{
  position: absolute;
  top: 0px;
  right: 100px;
  color: white;
  font-size: 40pt;
  font-weight: 100;
  text-align: right;
  align-items: center;
  height: 100%;
  margin: 0px;
}

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

.content {
  margin: 30px auto 30px;
}

.title {
  text-align: center;
  margin: 30px auto;
  font-size: 15pt;
  line-height: 30px;
  max-width: 90%;
}

.boxes {
  flex-wrap: wrap;
  margin: 25px auto;
}

.one-box {
  width: 21%;
  /*height: 250px;*/
  flex-direction: column;
  text-align: center;
  padding: 2%;
}

.one-box:nth-child(odd) {
  background-color: #efeff0;
}

.one-box:nth-child(even) {
  background-color: #d1d3d4;
}

.one-box.sec-row:nth-child(even) {
  background-color: #efeff0;
}

.one-box.sec-row:nth-child(odd) {
  background-color: #d1d3d4;
}

.one-box h2 {
  font-size: 13pt;
}

.icon {
  max-height: 60px;
}

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

.icw {
  max-width: 70px;
  height: auto;
}

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

.footer {
  text-align: center;
}

.footer ul {
  list-style: none;
  padding: 0px
}

.footer ul li {
  margin-bottom: 5px;
  font-size: 12pt;
  font-family: 'firabook', Arial;
}

h2.bg-dark-title {
  font-family: 'oswald', Arial;
  font-size: 22pt;
  color: #822629;
}

@media only screen and ( min-width: 1800px){
  .img-cover h1{
    font-size: 4em;
  }
}

@media only screen and (min-width: 1440px) {
  .title {
    font-size: 1.8em;
    line-height: 40px;
  }
  .one-box h2 {
    font-size: 1.4em;
  }
  h2.bg-dark-title {
    font-size: 2.6em;
    line-height: 40px;
  }
  .footer ul li {
    font-size: 1.4em;
  }
  .left-info {
    max-width: 350px;
  }
  .right-info {
    width: 140px;
    margin-bottom: -20px;
  }
}

@media only screen and (max-width: 768px) {
  .one-box {
    width: 35%;
  }
  .one-box {
    background-color: #efeff0 !important;
  }
  .one-box:nth-child(2), .one-box:nth-child(3), .one-box:nth-child(6), .one-box:nth-child(7) {
    background-color: #d1d3d4 !important;
  }
  .boxes {
    justify-content: center;
  }
  .title {
    width: 85%;
    margin: auto;
  }
  .img-cover h1{
    font-size: 26pt;
  }
}

@media only screen and (max-width: 480px) {
  .one-box {
    width: 45%;
  }
  .header {
    padding: 0px;
    height: 70px;
  }
  .left-info {
    max-width: 210px;
  }
  .right-info {
    width: 80px;
    margin-bottom: -60px;
    margin-right: 10px;
  }
  .pad-35 {
    padding: 0px 5px;
  }
  .one-box h2 {
    font-size: 12pt;
  }
  h2.bg-dark-title {
    font-size: 18pt;
  }
  .icw {
    max-width: 60px;
    height: auto;
  }
  .icon {
    max-height: 50px;
  }
  .title {
    font-size: 11pt;
    line-height: 24px;
  }
  .img-cover h1{
    font-size: 20pt;
    left: 0px;
    right: 0px;
    justify-content: center;
  }
}

@media only screen and (max-width: 320px) {
  .content {
    padding: 0px;
  }
  .title, .footer {
    padding: 0px 20px;
  }
  .one-box h2 {
    font-size: 10pt;
  }
  h2.bg-dark-title {
    font-size: 18pt;
  }
  .img-cover h1{
    font-size: 18pt;
  }
}
