 /*Mobile view style---------------------------------------------------------------------------------------------------------------*/
 section:nth-child(1) {
    background-image: url("../resources/bkgnd-s1-home-mobile.jpg");
    background-size: cover;
  }
  
  section:nth-child(2) {
    background: #000000;
    height: 65vh;
  }
  
  section:nth-child(3) {
    background-image: url("../resources/photo2.png");
    background-size: cover;
    padding: 0;
    height: 135vh;
  }
  
  section:nth-child(4) {
    background-image: url("../resources/bkgnd-s1-home-mobile.jpg");
    background-size: cover;
    height: 120vh;
  }

  .box-slide {
    position: relative;
    overflow: hidden;
  }
  
  .box-slide:hover .reveal-top {
    right: -100%;
  }
  
  .reveal-content {
    padding: 0;
    color: #ffffff;
    background: transparent;
    background-position: 100%;
    background-size: 100%;
    transition: left 0.4 ease;
  }
  
  .reveal-top {
    background: rgba(0,0,0);
    background-position: 100%;
    background-size: 100%;
    position: absolute;
    z-index: 0;
    width: 100%;
    height: 100%;
    top: 0;
    right: 0;
    transition: all 0.6s ease;
  }
  
  .caption {
    background: #000;
    color: #000;
  }
  
  .link-bottom-container {
    width: 100%;
    display: none;
    padding-top: 30px;
  }
  
  .position-absolute-link-right {
    position: absolute;
    right: 70px;
  }
  
  .position-absolute-link-left {
    position: absolute;
    left: 70px;
  }
  
  #image-container-section3 {
    display: none;
  }
  
  #text-container-section3 {
    padding: 0 35px 0 35px;
    width: 100vw;
    height: 135vh;
    background-color: rgba(0,0,0, 0.8);
  }
  
  #text-container-section3 h1{
    margin-top: 5rem;
  }
  
  .colage-container {
    justify-items: center;
    display: grid;
    grid-template-columns: calc(40vw - 0.5rem) calc(40vw - 0.5rem);
    grid-template-rows: 20vh 20vh 20vh 20vh 20vh;
    grid-gap: 1rem;
  }
  
  .colage-img {
    object-fit: cover;
    background-size: cover;
    width: 100%;
    height: 100%;
  }
  
  .colage-text-image-container {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: flex-end;
    justify-content: end;
    background: rgba(0,0,0, 0.8);
    transition: all 0.5s ease-out;
    opacity: 0;
  }
  
  .colage-text-image-container:hover {
    opacity: 1;
  }
  
  .colage-text-image {
    padding: 10px;
  }
  
  .colage-text-image p {
    margin: 0;
  }
  
  .colage-container .colage-img:nth-child(1) {
    grid-column: 1 / 3;
    grid-row: 1 / 3;
    background-image: url("../resources/imagen-home-marca-01.jpg");
  }
  
  .colage-container .colage-img:nth-child(2) {
    grid-column: 1 / 2;
    grid-row: 3 / 5;
    background-image: url("../resources/imagen-home-marca-02.jpg");
  }
  
  .colage-container .colage-img:nth-child(3) {
    grid-column: 2 / 2;
    grid-row: 3 / 4;
    background-image: url("../resources/imagen-home-marca-05.jpg");
  }
  
  .colage-container .colage-img:nth-child(4) {
    grid-column: 1 / 3;
    grid-row: 5 / 6;
    background-image: url("../resources/imagen-home-marca-04.jpg");
  }
  
  .colage-container .colage-img:nth-child(5) {
    background-image: url("../resources/imagen-home-marca-03.jpg");
    grid-column: 2 / 2;
    grid-row: 4 / 5;
  }

  .text-section4{
    width: 70%;
  }
  

  /*Tablet view styles--------------------------------------------------------------------------------------------------------------*/
@media only screen and (min-width: 768px) {

}

/*Desktop view styles----------------------------------------------------------------------------------------------------------------*/
@media only screen and (min-width: 992px) {

 

  section:nth-child(1) {
    background-image: url("../resources/bkgnd-s1-home.jpg");
    background-size: cover;
  }
  
  section:nth-child(2) {
    background: #000000;
    height: 100vh;
  }
  
  section:nth-child(3) {
    background: #000000;
    padding: 0 70px 0 70px;
  }
  
  section:nth-child(4) {
    background-image: url("../resources/bkgnd-s4-home.jpg");
    background-size: cover;
  }

  .reveal-content {
    padding: 24px 48px 24px 48px;
  }

  #text-onHover:hover #change-text-onHover {
    font-size: 0;
  }
  
  #text-onHover:hover #change-text-onHover:before {
    content: attr(data-hover);
    animation: fadeIn 3s;
    font-size: 5rem;
  }
  
  #text-onHover:hover #hide-text-onHover {
    background-image: url("../resources/hide-text-img.png");
    background-size: cover;
    color: transparent;
    animation: fadeIn 3s;
  }

  #image-container-section3 {
    text-align: left;
    width: 40%;
    height: 80%;
    display: block;
  }
  
  #text-container-section3 {
    text-align: right;
    width: 60%;
    height: 80%;
  }

  #text-container-section3 h1{
    margin-top: 2rem;
  }
  
  #text-container-section3 p {
    width: 80%;
    display: inline-block;
  }
  
  #img-section3 {
    display: inline-block;
    width: 90%;
    height: 80%;
    background-image: url("../resources/imgX.jpg");
    background-size: cover;
    transition: all 0.5s ease-out;
  }
  
  #img-section3:hover {
    background-image: url("../resources/i3.png");
  }

  .link-bottom-container {
    display: flex;
  }

  .colage-container {
    justify-items: center;
    display: grid;
    grid-template-columns: calc(22vw - 0.5rem) calc(22vw - 0.5rem) calc(22vw - 0.5rem) calc(22vw - 0.5rem);
    grid-template-rows: 40vh 40vh;
    grid-gap: 1rem;
  }
  
  .colage-img {
    object-fit: cover;
    background-size: cover;
    width: 100%;
    height: 100%;
  }
  
  .colage-text-image-container {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: flex-end;
    justify-content: end;
    background: rgba(0,0,0, 0.8);
    transition: all 0.5s ease-out;
    opacity: 0;
  }
  
  .colage-text-image-container:hover {
    opacity: 1;
  }
  
  .colage-text-image {
    padding: 10px;
  }
  
  .colage-text-image p {
    margin: 0;
  }
  
  .colage-container .colage-img:nth-child(1) {
    grid-column: 1 / 1;
    grid-row: 1 / 1;
  }
  
  .colage-container .colage-img:nth-child(2) {
    grid-column: 2 / 4;
    grid-row: 1 / 1;
  }
  
  .colage-container .colage-img:nth-child(3) {
    grid-column: 1 / 3;
    grid-row: 2 / 3;
  }
  
  .colage-container .colage-img:nth-child(4) {
    grid-column: 3 / 4;
    grid-row: 2 / 3;
  }
  
  .colage-container .colage-img:nth-child(5) {
    grid-column: 4 / 5;
    grid-row: 1 / 3;
  }

  .text-section4{
    width: 70%;
  }

}