/* RESET STYLES*/
*, *::before, *::after {
  box-sizing: border-box;
}
html, body, div, span, applet, object, iframe, h1, h2, h3, h4, h5, h6, p, blockquote, pre, a, abbr, acronym, address, big, cite, code, del, dfn, em, img, ins, kbd, q, s, samp, small, strike, strong, sub, sup, tt, var, b, u, i, center, dl, dt, dd, ol, ul, li, fieldset, form, label, legend, table, caption, tbody, tfoot, thead, tr, th, td, article, aside, canvas, details, embed, figure, figcaption, footer, header, hgroup, menu, nav, output, ruby, section, summary, time, mark, audio, video, input, textarea, select, label, button, picture {
  margin: 0;
  padding: 0;
  border: 0;
  font-size: 100%;
  font: inherit;
  vertical-align: baseline;
}
html {
  line-height: 1;
}
ol, ul {
  list-style: none;
}
table {
  border-collapse: collapse;
  border-spacing: 0;
}
caption, th, td {
  text-align: left;
  font-weight: normal;
  vertical-align: middle;
}
q, blockquote {
  quotes: none;
}
q:before, q:after, blockquote:before, blockquote:after {
  content: "";
  content: none;
}
a img {
  border: 0;
}
img, picture, svg, video, canvas {
  border: 0;
max-width: 100%;
}
a{
  text-decoration: none;
}
img, picture, svg, video, canvas,
article, aside, details, figcaption, figure, footer, header, hgroup, menu, nav, section, summary {
  display: block;
}

/* GENERAL STYLES, TEXT FORMATTING AND  TYPOGRAPHY */

html, body {
  width: 100%;
  min-height: 100vh;
  font: normal 16px 'Montserrat', 'Arial', sans-serif;
  color: #fff;
  background-color: #c52f31;
  line-height: 1;
}

@media (max-width: 1400px) {
  html, body {
    font-size: 14px;
  }
}

@media (max-width: 1200px) {
  .hero__text br {
    display: none;
  }
}

strong {
  font-weight: bold;
}

.flex {
  display: flex;
  justify-content: center;
  align-items: center;
}

@media (max-width: 768px) {
  /*.flex {
     flex-direction: column; 
  }*/
}

.header {
  padding: 4.375rem 2%;
}

.logo-ham,
.logo-sp {
  width: 45%;
  margin: 0.875rem;
}

.logo-ham {
  max-width: 17.9375rem;
}

.logo-sp {
  max-width: 18.5625rem;
}

.hero {
  padding: 4.5rem 2% 5rem 2%;
  border-bottom: 3px solid #f2e61d;
  background: transparent url(../img/hero-bg.jpg) no-repeat left center;
}

.col-left {
  width: 48%;
  padding-left: 14%;
}

.col-right {
  width: 52%;
}

.hero_img {
  width: 62.282608695652174%;
}

.headline {
  width: 59%;
  margin-bottom: 3.125rem;
}

.hero__text {
  margin-bottom: 1rem;
  font-size: 1.25rem;
  line-height: 1.5;
}

@media (max-width: 1200px) {
  .col-left {
    padding-left: 5%;
  }

  .col-right {
    padding-left: 2.5%;
  }
}

@media (max-width: 768px) {
  .hero {
    background-position-x: center;
  }

  .col-left {
    display: none;
  }

  .col-right {
    width: 100%;
    padding-left: 0;
  }

  .headline {
    width: 90%;
    margin-left: auto;
    margin-right: auto;
  }
}

.cards-container {
  padding: 10.625rem 2%;
}

@media (max-width: 768px) {
  .cards-container {
    flex-direction: column;
    padding-top: 50px;
    padding-bottom: 50px;
  }
}

.card {
  position: relative;
  width: 90%;
  max-width: 400px;
  padding: 4rem 0;
  border: 2px solid #fff;
  margin: 20px 0;
}

.card,
.card__btn {
  -webkit-border-radius: 2rem;
  -moz-border-radius: 2rem;
  -o-border-radius: 2rem;
  -ms-border-radius: 2rem;
  border-radius: 2rem;
}

.card__btn {
  display: block;
  position: absolute;
  bottom: 0;
  left: 50%;
  width: 40%;
  padding: 0.5rem;
  transform: translate(-50%, 50%);
  background-color: #f2e61d;
  font-size: 1.5rem;
  text-align: center;
}

.card__btn,
.card__btn:active,
.card__btn:visited {
  color: #c52f31;
}

.card__img {
  width: 66%;
  margin-left: auto;
  margin-right: auto;
}

@media (min-width: 768px) {
  .card {
    margin-left: 2.5rem;
    margin-right: 2.5rem;
  }
}

.footer {
  height: 11.25rem;
  background-color: #2d2d2d;
}