@import "~styles/mixins";

.home {
  .main-section {
    min-height: 700px;
    display: flex;
    position: relative;
    align-items: center;
    .wrapper {
      z-index: 2;
      @include container;
      width: 100%;
    }
    .title-wrapper {
      h1 {
        color: white;

        @include heading1;
      }
      max-width: 580px;
      position: relative;
      .deco-1 {
        position: absolute;
        left: -5px;
        top: 48px;
      }
      .deco-2 {
        position: absolute;
        left: 103px;
        bottom: -17px;
      }
    }
    .buttons {
      max-width: 580px;
      display: flex;
      justify-content: space-between;
      a {
        width: calc(50% - 22px / 2);
        display: block;
      }
      button {
        padding: 10px 10px;
        font-weight: bold;
      }
    }
    .background {
      @include absolute-fill;
      object-fit: cover;
    }

    @include tablet {
      min-height: 0;
      padding: 70px 0;
      .deco-1,
      .deco-2 {
        display: none;
      }
      .buttons {
        display: block;
        a {
          width: 100%;
        }
      }
    }
  }
  .map-wrapper {
    @include container;
    margin-top: 100px;
    margin-bottom: 100px;
    @include tablet {
      margin-top: 50px;
      margin-bottom: 50px;
    }
  }
}
