/* Smartphones (portrait and landscape) ----------- */
@media screen and (min-width: 416px) {
  .grid-container__img {
    width: 300px;
  }
}
@media screen and (min-width: 630px) {
  .grid-container {
    display: grid;
    grid-template: 1fr / repeat(3, 1fr);
  }
  .grid-container__img {
    width: 300px;
  }
}
@media screen and (max-width: 992px) {
  .grid-container__img {
    width: 200px;
  }

  @media only screen and (min-device-width: 320px) and (max-device-width: 480px) {
    /* Styles */
  }
  .cta {
    font-size: 12px;

    padding: 15px;
  }

  .cta-btn {
    font-size: 12px;
  }

  .height-iframe {
    height: 670px;
  }

  .height-iframe-s {
    height: 500px;
  }
  
  .bg-slider1 {
    background-position-y: 0px;
  }

  .bg-slider3 {
    background-position-x: -100px;
  }

  .bg-slider4 {
    background-position-y: 0px;
  }

  .carousel-caption {
    top: 60px;

    right: 0px;

    left: 0px;
  }

  .carousel-indicators {
    display: none;
  }

  .title h1 {
    font-size: x-large;

    padding: 10px;
  }

  #celebrateSlide .carousel-item {
    min-height: auto;
    height: 220px !important;
  }

  .bg-footer {
    padding-bottom: 60px;
  }

  footer a {
    font-size: 12px;
  }
}

/* Smartphones (landscape) ----------- */

@media only screen and (min-width: 321px) {
  /* Styles */

  .height-iframe {
    height: 670px;
  }
  
  .height-iframe-s {
    height: 500px;
  }
}

/* Smartphones (portrait) ----------- */

@media only screen and (max-width: 320px) {
  /* Styles */

  .cta {
    font-size: 12px;

    padding: 15px;
  }

  .cta-btn {
    font-size: 12px;
  }

  .height-iframe {
    height: 670px;
  }
  
  .height-iframe-s {
    height: 500px;
  }
}

/* iPads (portrait and landscape) ----------- */

@media only screen and (min-device-width: 768px) and (max-device-width: 1024px) {
  /* Styles */

  .cta {
    padding: 15px;
  }

  .cta-btn {
    font-size: 12px;
  }
}

/* iPads (landscape) ----------- */

@media only screen and (min-device-width: 768px) and (max-device-width: 1024px) and (orientation: landscape) {
  /* Styles */

  .cta {
    padding: 15px;
  }

  .cta-btn {
    font-size: 12px;
  }
}

/* iPads (portrait) ----------- */

@media only screen and (min-device-width: 768px) and (max-device-width: 1024px) and (orientation: portrait) {
  /* Styles */

  .cta {
    padding: 15px;
  }

  .cta-btn {
    font-size: 12px;
  }

  h5 {
    font-size: 16px;
  }
}

/**********

iPad 3

**********/

@media only screen and (min-device-width: 768px) and (max-device-width: 1024px) and (orientation: landscape) and (-webkit-min-device-pixel-ratio: 2) {
  /* Styles */

  .cta {
    padding: 15px;
  }

  .cta-btn {
    font-size: 12px;
  }

  .height-iframe {
    height: 330px;
  }
}

@media only screen and (min-device-width: 768px) and (max-device-width: 1024px) and (orientation: portrait) and (-webkit-min-device-pixel-ratio: 2) {
  /* Styles */

  .cta {
    font-size: 11px;
  }

  .cta-btn {
    font-size: 11px;

    padding: 10px;
  }

  .height-iframe {
    height: 630px;
  }
  
  .height-iframe {
    height: 500px;
  }

  .menu-recrear a.nav-link {
    margin: 10px;
  }

  #celebrateSlide .carousel-item {
    min-height: auto;
    height: 220px !important;
  }
}

/* Desktops and laptops ----------- */

@media only screen and (min-width: 1224px) {
  /* Styles */

  .iframe-celebraciones {
    height: 420px;
  }

  .height-iframe {
    height: 330px;
  }

  .carousel-caption {
    right: 15%;

    left: 15%;
  }

  .title h1 {
    font-size: 32px;
  }

  .bg-slider3 {
    background-position-x: center;
  }

  .bg-slider4 {
    background-position-y: center;
  }

  #celebrateSlide .carousel-item {
    min-height: auto;
    height: 220px !important;
  }
}

/* Large screens ----------- */

@media only screen and (min-width: 1824px) {
  /* Styles */

  .height-iframe {
    height: 330px;
  }

  .carousel-caption {
    right: 15%;

    left: 15%;
  }

  #celebrateSlide .carousel-item {
    min-height: auto;
    height: 220px !important;
  }
}

/* iPhone 4 ----------- */

@media only screen and (min-device-width: 320px) and (max-device-width: 480px) and (orientation: landscape) and (-webkit-min-device-pixel-ratio: 2) {
  /* Styles */
}

@media only screen and (min-device-width: 320px) and (max-device-width: 480px) and (orientation: portrait) and (-webkit-min-device-pixel-ratio: 2) {
  /* Styles */
}

/* iPhone 5 ----------- */

@media only screen and (min-device-width: 320px) and (max-device-height: 568px) and (orientation: landscape) and (-webkit-device-pixel-ratio: 2) {
  /* Styles */
}

@media only screen and (min-device-width: 320px) and (max-device-height: 568px) and (orientation: portrait) and (-webkit-device-pixel-ratio: 2) {
  /* Styles */
}

/* iPhone 6, 7, 8 ----------- */

@media only screen and (min-device-width: 375px) and (max-device-height: 667px) and (orientation: landscape) and (-webkit-device-pixel-ratio: 2) {
  /* Styles */
}

@media only screen and (min-device-width: 375px) and (max-device-height: 667px) and (orientation: portrait) and (-webkit-device-pixel-ratio: 2) {
  /* Styles */
}

/* iPhone 6+, 7+, 8+ ----------- */

@media only screen and (min-device-width: 414px) and (max-device-height: 736px) and (orientation: landscape) and (-webkit-device-pixel-ratio: 2) {
  /* Styles */
}

@media only screen and (min-device-width: 414px) and (max-device-height: 736px) and (orientation: portrait) and (-webkit-device-pixel-ratio: 2) {
  /* Styles */
}

/* iPhone X ----------- */

@media only screen and (min-device-width: 375px) and (max-device-height: 812px) and (orientation: landscape) and (-webkit-device-pixel-ratio: 3) {
  /* Styles */
}

@media only screen and (min-device-width: 375px) and (max-device-height: 812px) and (orientation: portrait) and (-webkit-device-pixel-ratio: 3) {
  /* Styles */
}

/* iPhone XS Max, XR ----------- */

@media only screen and (min-device-width: 414px) and (max-device-height: 896px) and (orientation: landscape) and (-webkit-device-pixel-ratio: 3) {
  /* Styles */
}

@media only screen and (min-device-width: 414px) and (max-device-height: 896px) and (orientation: portrait) and (-webkit-device-pixel-ratio: 3) {
  /* Styles */
}

/* Samsung Galaxy S3 ----------- */

@media only screen and (min-device-width: 320px) and (max-device-height: 640px) and (orientation: landscape) and (-webkit-device-pixel-ratio: 2) {
  /* Styles */
}

@media only screen and (min-device-width: 320px) and (max-device-height: 640px) and (orientation: portrait) and (-webkit-device-pixel-ratio: 2) {
  /* Styles */
}

/* Samsung Galaxy S4 ----------- */

@media only screen and (min-device-width: 320px) and (max-device-height: 640px) and (orientation: landscape) and (-webkit-device-pixel-ratio: 3) {
  /* Styles */
}

@media only screen and (min-device-width: 320px) and (max-device-height: 640px) and (orientation: portrait) and (-webkit-device-pixel-ratio: 3) {
  /* Styles */
}

/* Samsung Galaxy S5 ----------- */

@media only screen and (min-device-width: 360px) and (max-device-height: 640px) and (orientation: landscape) and (-webkit-device-pixel-ratio: 3) {
  /* Styles */
}

@media only screen and (min-device-width: 360px) and (max-device-height: 640px) and (orientation: portrait) and (-webkit-device-pixel-ratio: 3) {
  /* Styles */
}

/* Media Queries iframe-celebraciones */

@media only screen and (min-width: 320px) {
  /* Styles */

  .iframe-celebraciones {
    height: 900px;
  }
}
@media only screen and (min-width: 990px) {
  /* Styles */

  .iframe-celebraciones {
    height: 450px;
  }
}
