/********************
  AB-Grupp Styles
********************/

body {
  font-family: 'Open Sans', Arial, sans-serif;
  font-weight: 400;
  color: #333333;
  line-height: 1.4;
}

h1, h2, h3, h4, h5, h6 {
  font-family: Montserrat, Arial, sans-serif;
  font-weight: 600;
  color: #000000;
}

.container {
  max-width: 1000px;
  margin: 0 auto;
  padding: 1em;
}

/********************
  Header
********************/

.header__content {
  
  width: 100%;
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  align-items: center;
}

.header__content-logo img {
  height: 50px;
  width: auto;
  display: block;
}

.header__content-phone {
  font-size: 1.25em;
}
.header__content-phone a {
  color: #333333;
  text-decoration: none;
  font-family: Montserrat, Arial, sans-serif;
  font-weight: 600;
}

/********************
  Banner
********************/

.banner__container {
  height: 100%;
  position: relative; 
  padding-top: 0;
  padding-bottom: 0;
}

.banner__image {
  background-image: url('/img/excavator-action.jpg');
  background-position: bottom center;
  background-size: cover;
  width: 100%;
  height: 600px;
}

.banner__image_content {
  position: absolute;
  right: 0;
  bottom: 5em;
  width: 50%;
  padding: 1.75em 2em;
  background-color: rgba(255, 255, 255, 0.9);
  text-align: right;
  border-radius: 3px;
}

/********************
  Services
********************/

.services__content {
  display: flex;
  flex-direction: row;
  gap: 2em;
}

.services__content .service__card {
  width: 25%;
}

.service__card-image img {
  border-radius: 100%;
}

/********************
  Advantages
********************/

.advantages__content {
  display: flex;
  flex-direction: row;
  gap: 2em;
}

.advantages__content .advantage__card {
  width: 25%;
}

.advantage__card-image.card__image img {
  border-radius: 0;
  height: 50px;
  width: auto;
  max-width: initial;
}

/********************
  Price List
********************/

.prices__content-desc li {
  margin-bottom: 0.5em;
}

.prices__content-download {
  display: flex;
  flex-direction: row;
  justify-content: center;
}


/********************
  Button
********************/

.button {
  display: inline-block;
  padding: 0.5em 1em;
  background-color: #333333;
  color: #ffffff;
  text-decoration: none;
  font-weight: 600;
  font-family: Montserrat, Arial, sans-serif;
  font-size: 1.25em;
  text-transform: uppercase;
  margin-top: 1em;
  border-radius: 3px;
  transition: all 0.3s ease;
}

.button:hover {
  background-color: #000000;
}

/********************
  Card
********************/

.card {
  padding: 1em 0;
}

.card__image img {
  display: block;
  /* width: 100%; */
  max-width: 150px;
  height: auto;
  margin: 0 auto;
}

/********************
  Section
********************/

.section {
  padding: 2em 0;
  position: relative;
}

.section__title h2 {
  font-size: 2em;
  margin-top: 0;
  margin-bottom: 1.25em;
  text-align: center;
}

.section:after {
  position: absolute;
  bottom: -0.6em;
  left: 0;
  right: 0;
  content: '~';
  text-align: center;
  font-size: 2em;
}

.section:last-child:after {
  display: none;
}

/********************
  Footer
********************/

.footer {
  margin-top: 3em;
  background-color: #333333;
  color: #ffffff;
  font-family: Montserrat, Arial, sans-serif;
  padding: 2em 0;
}

.footer__copyright {
  text-align: center;
  padding-top: 2em;
  line-height: 2;
}

.footer__content {
  display: flex;
  flex-direction: row;
  gap: 2em;
}

.footer__content > div {
  width: 50%;
}

.footer__content-logo img {
  height: 50px;
  margin-bottom: 1em;
}

.footer__content-logo a {
  font-size: 1.25em;
  font-weight: 500;
}

.footer__content-logo span,
.footer__content-legal span {
  display: block;
  margin-bottom: 0.75em;
}

.footer a {
  color: #ffffff;
  text-decoration: none;
}



/********************
  Mobile Styles
********************/

@media screen and (max-width: 800px) {

  /********************
    Header
  ********************/

  .header__content-phone a {
    display: block;
    height: 40px;
    width: 40px;
    background-image: url('/img/phone-call.png');
    background-size: cover;
    font-size: 0px;
    color: transparent;
    overflow: hidden;
  }

  /********************
    Banner
  ********************/

  .banner__container {
    padding-top: 1em;
    padding-bottom: 1em;
  }

  .banner__image {
    height: 400px;
    background-position: bottom left;
  }

  .banner__image_content {
    position: relative;
    right: initial;
    bottom: initial;
    width: 100%;
    padding: 0;
    text-align: left;
    background-color: initial;
  }

  .banner__image_content h1 {
    margin-top: 0;
  }

  /********************
    Footer
  ********************/

  .footer {
    padding: 1.5em 0;
  }

  .footer__content {
    display: flex;
    flex-direction: column;
  }

  .footer__content > div {
    width: 100%;
    border-bottom: 1px solid #777777;
    padding-bottom: 1em;
  }

  /********************
    Services
  ********************/

  .services__content {
    flex-direction: column;
  }

  .services__content .service__card {
    width: 100%;
  }

  /********************
    Advantages
  ********************/

  .advantages__content {
    flex-direction: column;
  }

  .advantages__content .advantage__card {
    width: 100%;
  }

  /********************
    Section
  ********************/

  .section__title h2 {
    text-align: center;
  }

  /********************
    Card
  ********************/

  .card__title h3 {
    text-align: center;
  }

  .card__title h3 br {
    display: none;
  }

  .card__image img {
    display: block;
    max-width: 150px;
    height: auto;
    margin: 0 auto;
  }

  .card__text p {
    text-align: center;
  }

  /********************
    Button
  ********************/

  .button {
    display: block;
    text-align: center;
  }

  /* .footer__content > div:last-child {
    padding-bottom: 0;
  } */
}