/*
* Prefixed by https://autoprefixer.github.io
* PostCSS: v8.4.14,
* Autoprefixer: v10.4.7
* Browsers: last 4 version
*/

.container {
  max-width: var(--container-width);
  margin: 0 auto;
  padding: 0 15px;
}

.img-style {
  display: block;
  height: auto;
  max-width: 100%;
  -o-object-fit: cover;
     object-fit: cover;
}

/* ------------- */
/* --- LOGO --- */
/* ----------- */

.logo {
  display: inline-block;
  outline: 2px solid transparent;
  outline-offset: 5px;
  border-radius: 2px;
  -webkit-transition: outline-color 0.3s;
  -o-transition: outline-color 0.3s;
  transition: outline-color 0.3s;
}

.logo:focus-visible {
  outline-color: var(--main-color);
}

/* ---------------------- */
/* --- SECTION TITLE --- */
/* -------------------- */

.section-title {
  color: var(--txt-color);
  font-family: var(--title-font-family);
  font-weight: 400;
  font-size: 42px;
  line-height: 120%;
  letter-spacing: 0.03em;
}

/* ---------------------------- */
/* --- SECTION DESCRIPTION --- */
/* -------------------------- */

.section-descr {
  font-size: 18px;
  line-height: 150%;
  letter-spacing: 0.01em;
}

/* ----------------------- */
/* --- PRIMARY BUTTON --- */
/* --------------------- */

.btn-primary {
  -ms-flex-negative: 0;
      flex-shrink: 0;
  padding: 7px 19px;
  color: var(--main-color);
  font-weight: 400;
  font-size: 15px;
  line-height: 160%;
  letter-spacing: 0.01em;
  border: 1px solid transparent;
  -webkit-transition: border-color 0.3s,
    -webkit-box-shadow 0.3s ease-in-out;
  transition: border-color 0.3s,
    -webkit-box-shadow 0.3s ease-in-out;
  -o-transition: border-color 0.3s,
    box-shadow 0.3s ease-in-out;
  transition: border-color 0.3s,
    box-shadow 0.3s ease-in-out;
  transition: border-color 0.3s,
    box-shadow 0.3s ease-in-out,
    -webkit-box-shadow 0.3s ease-in-out;
}

.btn-primary:focus-visible {
  border-color: var(--main-color);
}

@media (any-hover: hover) {
  .btn-primary:hover {
    border-color: var(--main-color);
  }
}

.btn-primary:active {
  -webkit-box-shadow: 0 0 0 2px rgba(0, 112, 160, 0.5);
          box-shadow: 0 0 0 2px rgba(0, 112, 160, 0.5);
}

/* --------------------------- */
/* --- BOOK A DEMO BUTTON --- */
/* ------------------------- */

.btn-book {
  position: relative;
  display: inline-block;
  padding: 7px 25px;
  color: var(--white-color);
  font-size: 15px;
  font-weight: 400;
  line-height: 160%;
  letter-spacing: 0.01em;
  background-color: var(--main-color);
  border: 1px solid var(--main-color);
  -webkit-transition: background-color 0.3s,
    color 0.3s,
    -webkit-box-shadow 0.3s ease-in-out;
  transition: background-color 0.3s,
    color 0.3s,
    -webkit-box-shadow 0.3s ease-in-out;
  -o-transition: background-color 0.3s,
    color 0.3s,
    box-shadow 0.3s ease-in-out;
  transition: background-color 0.3s,
    color 0.3s,
    box-shadow 0.3s ease-in-out;
  transition: background-color 0.3s,
    color 0.3s,
    box-shadow 0.3s ease-in-out,
    -webkit-box-shadow 0.3s ease-in-out;
}

.btn-book__txt {
  position: relative;
}

.btn-book::before {
  content: "";
  position: absolute;
  inset: 0;
  width: 0;
  height: 100%;
  background-color: var(--white-color);
  -webkit-transition: width 0.3s ease-in-out;
  -o-transition: width 0.3s ease-in-out;
  transition: width 0.3s ease-in-out;
}

.btn-book:focus-visible {
  color: var(--main-color);
  background-color: var(--white-color);
}

@media (any-hover: hover) {
  .btn-book:hover {
    color: var(--main-color);
  }
  
  .btn-book:hover::before {
    width: 100%;
  }
}

.btn-book:active {
  -webkit-box-shadow: 0 0 0 2px rgba(0, 112, 160, 0.5);
          box-shadow: 0 0 0 2px rgba(0, 112, 160, 0.5);
}

/* -------------------- */
/* --- SIMPLE CARD --- */
/* ------------------ */

.simple-card {
  height: 100%;
  color: var(--txt-color);
  font-weight: 400;
}

.simple-card__icon {
  margin-bottom: 4px;
}

.simple-card__title {
  margin-bottom: 13px;
  font-family: var(--title-font-family);
  font-size: 25px;
  line-height: 125%;
  letter-spacing: 0.04em;
}

.simple-card__descr {
  font-size: 15px;
  line-height: 160%;
  letter-spacing: 0.01em;
}