/* BREAKPOINTS */
/* --- 1920px - HD Monitor --- */
@media only screen and (max-width: 1920px) {
}
/* --- 1600px - Common Laptops and Kindle Fire HD 9-inch - Landscape --- */
@media only screen and (max-width: 1600px) {
}

/* --- 1440px - Macbook Pro and Common Laptops --- */
@media only screen and (max-width: 1440px) {
}

/* --- 1366px - iPad (13-inch Pro), Macbook Air 11-inch, Common Laptops - Landscape --- */
@media only screen and (max-width: 1366px) {
}

/* --- 1280px - Samsung Galaxy Tab - Landscape --- */
@media only screen and (max-width: 1280px) {
}
/* --- 1200px - Kindle Fire HD 9-inch - Portrait --- */
@media only screen and (max-width: 1200px) {
}
/* --- 1112px - iPad (10.5-inch Pro) - Landscape --- */
@media only screen and (max-width: 1112px) {
}

/* --- 1024px - iPad (Most) - Landscape --- */
@media only screen and (max-width: 1024px) {
}
/* --- 812px - iPhone X - Landscape --- */
@media only screen and (max-width: 812px) {
}

/* --- 800px - Samsung Galaxy Tab and Kindle Fire 7-inch - Portrait --- */
@media only screen and (max-width: 800px) {
}

/* --- 768px - iPad (All) - Portrait --- */
@media only screen and (max-width: 768px) {
  .main {
    margin: 0 auto;
  }

  .header {
    height: 25rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
  }

  .heading-primary {
    margin: 2rem auto;
  }
}

/* --- 736px - iPhone 6+/7+/8+ - Landscape  --- */
@media only screen and (max-width: 736px) {
  .main {
    padding: 4rem 2rem 2rem 2rem;
  }
}
/* --- 667px - iPhone 6/7/8 - Landscape  --- */
@media only screen and (max-width: 667px) {
}

/* --- 640px - Samsung Galaxy S6/S7/S8 and Google Pixel - Landscape --- */
@media only screen and (max-width: 640px) {
  .gallery_item.gallery_item--6 .gallery_image {
    width: 29rem;
    height: auto;
  }
  .gallery_item.gallery_item--5 .gallery_image {
    width: 19rem;
    height: auto;
  }
  .gallery_item.gallery_item--2 .gallery_image {
    width: 30rem;
    height: auto;
  }
  .gallery_item.gallery_item--1 .gallery_image {
    width: 30rem;
    height: auto;
  }
}
/* --- 568px - iPhone 5 - Landscape --- */
@media only screen and (max-width: 568px) {
  .gallery_item.gallery_item--6 .gallery_image {
    width: 27rem;
    height: auto;
  }
  .gallery_item.gallery_item--5 .gallery_image {
    width: 19rem;
    height: auto;
  }
  .gallery_item.gallery_item--2 .gallery_image {
    width: 30rem;
    height: auto;
  }
  .gallery_item.gallery_item--1 .gallery_image {
    width: 30rem;
    height: auto;
  }
  .gallery_item.gallery_item--4 .gallery_image {
    width: 100%;
    height: 100%;
    scale: 1.5;
  }
}
/* --- 414px - iPhone 6+/7+/8+ - Portrait --- */
@media only screen and (max-width: 414px) {
  .main {
    margin: 0 auto;
    padding: 4rem 2rem 2rem 2rem;
  }

  .gallery {
    height: 100vh;
    width: 100%;
    margin: 0 auto;
  }

  .gallery .gallery_list {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    grid-template-rows: repeat(3, 1fr);
    grid-column-gap: 0;
    grid-row-gap: 0;
    grid-gap: 10px;
    height: 100%;
  }

  .gallery .gallery_item {
    display: flex;
    justify-content: center;
    align-items: center;
  }

  .gallery_item.gallery_item--1 {
    overflow: hidden;
    background-color: #fff;
    grid-area: 1 / 1 / 2 / 2;
  }

  .gallery_item.gallery_item--1 .gallery_image {
    height: 100%;
    width: 100vw;
  }

  .gallery_item.gallery_item--2 {
    grid-area: 2 / 1 / 3 / 2;
    overflow: hidden;
  }

  .gallery_item.gallery_item--2 .gallery_image {
    width: 100vw;
    height: 100vh;
  }

  .gallery_item.gallery_item--4 {
    grid-area: 3 / 2 / 4 / 3;
    overflow: hidden;
  }

  .gallery_item.gallery_item--3 {
    grid-area: 3 / 1 / 4 / 2;
    overflow: hidden;
  }

  .gallery_item.gallery_item--4 .gallery_image {
    width: 100vw;
    height: 100vh;
  }

  .gallery_item.gallery_item--5 {
    grid-area: 2 / 2 / 3 / 3;
    overflow: hidden;
  }

  .gallery_item.gallery_item--5 .gallery_image {
    width: 100vw;
    height: 100vh;
  }

  .gallery_item.gallery_item--6 {
    height: 100%;
    grid-area: 1 / 2 / 2 / 3;
    overflow: hidden;
  }

  .gallery_item.gallery_item--6 .gallery_image {
    width: 100vw;
    height: 100vh;
  }
}

/* --- 375px - iPhone 6/7/8/X - Portrait --- */
@media only screen and (max-width: 375px) {
}
/* --- 360px - Samsung Galaxy S6/S7/S8 and Google Pixel - Portrait --- */
@media only screen and (max-width: 360px) {
}
/* --- 320px - iPhone 5 - Portrait --- */
@media only screen and (max-width: 320px) {
  .main {
    width: 100%;
    padding: 2rem 1rem 2rem 1rem;
  }

  .gallery {
    height: 100vh;
    width: 100%;
    margin: 0 auto;
  }

  .gallery .gallery_list {
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-template-rows: repeat(3, 1fr);
    grid-gap: 10px;
    height: 100%;
  }

  .gallery .gallery_item {
    display: flex;
    justify-content: center;
    align-items: center;
  }

  .gallery_item.gallery_item--1 {
    overflow: hidden;
    background-color: #fff;
    grid-area: 1 / 1 / 2 / 2;
  }

  .gallery_item.gallery_item--1 .gallery_image {
    height: 100%;
    width: 100vw;
  }

  .gallery_item.gallery_item--2 {
    grid-area: 2 / 1 / 3 / 2;
    overflow: hidden;
  }

  .gallery_item.gallery_item--2 .gallery_image {
    width: 100vw;
    height: 100vh;
  }

  .gallery_item.gallery_item--4 {
    grid-area: 3 / 2 / 4 / 3;
    overflow: hidden;
  }

  .gallery_item.gallery_item--3 {
    grid-area: 3 / 1 / 4 / 2;
    overflow: hidden;
  }

  .gallery_item.gallery_item--4 .gallery_image {
    width: 100vw;
    height: 100vh;
  }

  .gallery_item.gallery_item--5 {
    grid-area: 2 / 2 / 3 / 3;
    overflow: hidden;
  }

  .gallery_item.gallery_item--5 .gallery_image {
    width: 100vw;
    height: 100vh;
  }

  .gallery_item.gallery_item--6 {
    height: 100%;
    grid-area: 1 / 2 / 2 / 3;
    overflow: hidden;
  }

  .gallery_item.gallery_item--6 .gallery_image {
    width: 100vw;
    height: 100vh;
  }

  .heading-primary {
    margin: 2rem auto;
  }
}

/* --- 2560px - iMac 27-inch --- */
@media only screen and (min-width: 1111px) {
}
