profiles/demo_umami/themes/umami/components/banner/banner.css
/**
 * @file
 * This file is used to style the banner block.
 */

.banner__content {
  margin: 1rem 4%;
  font-size: 1.188em;
}

.banner__title {
  margin: 0 0 0.5em 0;
  font-family: "Scope One", Georgia, serif;
  font-size: 1.777em;
  font-weight: 400;
  line-height: 1.2em;
}

/* Medium */
@media screen and (min-width: 48rem) {
  /* 768px */
  .banner {
    position: relative; /* Anchor absolutely positioned background image. */
    background-color: #464646;
  }

  .banner__inner {
    display: flex;
    align-items: center;
    min-height: 54vw;
    margin: auto;
    padding: 0 4%;
  }

  .banner__content {
    position: relative; /* Establish stacking context to appear above absolutely positioned background image. */
    max-width: 50%;
    margin: 0;
    padding: 1.777em;
    color: #fff;
    border: 1px solid #464646;
    background: rgb(0, 0, 0, 0.42);
  }

  .banner__image img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
  }
}
/* Large */
@media screen and (min-width: 60rem) {
  /* 960px */
  .banner__content {
    max-width: 41%;
  }
  .banner__inner {
    min-height: 43vw;
  }
}
/* Extra large + side margins */
@media screen and (min-width: 80rem) {
  /* 1200px (large) + 80px (side margins) = 1280px */
  .banner__inner {
    padding: 0;
  }
}
