@media only screen
and (min-device-width: 375px)
and (max-device-width: 667px)
and (-webkit-min-device-pixel-ratio: 2){

      .masthead {
        min-height: 30rem;
        position: relative;
        display: table;
        width: 100%;
        height: auto;
        padding-top: 5rem;
        padding-bottom: 12.7rem;
        background-image: url("../img/background-dark.png");
        background-position: center top;
        background-repeat: no-repeat;
        background-size: cover;
      }

      .header-bday{
        padding-top: 4rem !important;
      }

      #texto-bday{
        padding-left: 25px;
        padding-right: 25px;
      }

      #titulo-bday {
        font-size: 3rem;
      }

      #back-button{
        margin-top: -7%;
      }

      .container-bday {
        margin-top: 10% !important;
      }

      .icone {
        font-size: 2.5rem !important;
        
      }
  }

@media screen and (max-width: 767.98px) {
  html.pull-refresh-enabled {
    overscroll-behavior-y: contain;
  }

  #pull-refresh-indicator {
    position: fixed;
    top: env(safe-area-inset-top, 0px);
    left: 50%;
    z-index: 1001;
    max-width: calc(100vw - 2rem);
    padding: 0.5rem 0.9rem;
    border-radius: 0 0 6px 6px;
    background: rgba(0, 0, 0, 0.8);
    color: #fff;
    font-size: 0.9rem;
    line-height: 1.3;
    opacity: 0;
    pointer-events: none;
    transform: translate(-50%, -100%);
    transition: opacity 0.12s ease, transform 0.12s ease;
    white-space: nowrap;
  }

  #pull-refresh-indicator.is-visible {
    opacity: 1;
    transform: translate(-50%, var(--pull-offset, 0px));
  }

  #pull-refresh-indicator.is-ready {
    background: rgba(17, 38, 42, 0.95);
  }

  .masthead {
    min-height: 100vh;
    height: auto;
    box-sizing: border-box;
    background-position: center top;
    background-repeat: no-repeat;
    background-size: cover;
  }

  .masthead:not(.header-bday) {
    background-size: auto 100vh;
    background-size: auto 100lvh;
  }
}
