/*!
 * QCObjects SDK @VERSION
 * https://sdk.qcobjects.com
 *
 *
 * QCObjects SDK is a part of QCObjects
 *
 * Cross Browser Javascript Framework for MVC Patterns
 * QuickCorp/QCObjects is licensed under the
 * GNU Lesser General Public License v3.0
 * [LICENSE] (https://github.com/QuickCorp/QCObjects/blob/master/LICENSE.txt)
 *
 * Permissions of this copyleft license are conditioned on making available
 * complete source code of licensed works and modifications under the same
 * license or the GNU GPLv3. Copyright and license notices must be preserved.
 * Contributors provide an express grant of patent rights. However, a larger
 * work using the licensed work through interfaces provided by the licensed
 * work may be distributed under different terms and without source code for
 * the larger work.
 *
 * Copyright (C) 2015 Jean Machuca,<correojean@gmail.com>
 *
 * Everyone is permitted to copy and distribute verbatim copies of this
 * license document, but changing it is not allowed.
 */
div.container {
  box-shadow: rgba(228, 228, 234, 0.4) 0 22px 25px 0, rgba(228, 228, 234, 0.8) 0 9px 23px 0;
  transition: all 0.3s ease-in-out;
  display: grid;
  grid-template-areas: "hero";
  -webkit-box-align: center;
  align-items: center;
  height: 65vh;
  background-color: #f9fbfd;
  max-height: 600px;
  border-radius: 30px;
}

div.container:hover {
  box-shadow: rgba(228, 228, 234, 1) 0 22px 32px 0, rgba(228, 228, 234, 1) 0 9px 28px 0;
  background-color: #fff;
}

div.container > * {
  grid-area: hero;
}

div.container img {
  border-radius: 0 30px 0 0;
  -o-object-fit: cover;
  object-fit: cover;
  -o-object-position: 5vw -5vmin;
  object-position: 5vw -5vmin;
  height: 100%;
  width: 70%;
  justify-self: end;
  -webkit-transition: 180ms width ease-in;
  transition: 180ms width ease-in;
}

@media (min-width: 60rem) {
  div.container img {
    transition: all 0.3s ease-in-out;
    border-radius: 0;
    width: 55%;
    height: auto;
  }
}

div.container .hero__content {
  margin: 1rem 0 1rem 5%;
  max-width: 35%;
  min-width: 30ch;
  z-index: 1;
  background-color: rgba(249, 251, 253, 0.8);
  border-radius: 1rem;
  padding: 0.5rem 0.5rem 0.5rem 0;
}

div.container .hero__content h1 {
  font-size: 3rem;
  color: #3c87b3;
  font-weight: 500;
  margin: 0 0 1rem;
}

div.container .hero__content p {
  font-size: 1.75rem;
  color: #5b7788;
}

.button {
  font-size: 1.125rem;
  font-weight: 500;
  text-decoration: none;
  display: -webkit-inline-box;
  display: inline-flex;
  -webkit-box-align: center;
  align-items: center;
  -webkit-box-pack: center;
  justify-content: center;
  align-self: start;
  background-color: #2ba27c;
  color: #fff;
  border-radius: 8px;
  box-shadow: 0 3px 5px rgba(0, 0, 0, 0.18);
  padding: 0.25em 0.75em;
  min-width: 10ch;
  min-height: 44px;
  text-align: center;
  line-height: 1.1;
  -webkit-transition: 220ms all ease-in-out;
  transition: 220ms all ease-in-out;
}

.button:hover,
.button:active {
  background-color: #228263;
}

.button:focus {
  outline-style: solid;
  outline-color: transparent;
  box-shadow: 0 0 0 4px #1a614a;
}

:host > * {
  box-sizing: border-box;
}

:host {
  font-family: "Baloo 2", sans-serif;
}
