/* Override Global Styles */

/* Override Header Styles*/

/* Set Contacts Styles*/
.contacts {
    grid-column: 3 / 9;
    grid-row: 1 / 6;
    display: grid;
    position: relative; /* <-- important: anchors the absolutely positioned children */
    width: 75vw;
    height: 100vh;
    overflow: hidden;
    box-sizing: border-box;
    z-index: 1001;
}

.contact-card {
    display: grid;
}

.contact-card__image {
  position: absolute;
  object-fit: contain;
  transition: all 0.3s ease; /* smooth resizing/movement if animated */
}

.contact-card:nth-child(1) .contact-card__image {
  bottom: 0%;
  width: 25vw;
  height: 60vh;
    z-index: 1004;

}

.contact-card:nth-child(2) .contact-card__image {
  bottom: 0%;
  left: 16%;
  width: 38vw;
  height: 100vh;
    z-index: 1003;

}

.contact-card:nth-child(3) .contact-card__image {
  bottom: 0%;
  right: 16%;
  width: 38vw;
  height: 60vh;
    z-index: 1004;

}

.contact-card:nth-child(4) .contact-card__image {
  bottom: 0%;
  right: 0%;
  width: 38vw;
  height: 100vh;
    z-index: 1003;

}


.contact-card .contact-card__image:hover {
    z-index: 1005;
    cursor: pointer;
    transform: scale(1.05);
}

/* Override Footer Styles */

/* Override Mobile Responsiveness */
@media (max-width: 768px) {
  body {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-template-rows: repeat(4, 1fr);
    width: 100vw;
    height: 100vh;
    overflow: hidden;
    background: none;
    z-index: 1000;
  }


.contacts{
    grid-column: 1 / 4;
    grid-row: 1 / 2;
    height: clamp(25vh, 25vh, 25vh);
    width: 100%;
    z-index: 1001;
}


img {
    display: flex;
    align-items: center;
    width: 100%;
    height: 100%;
    object-fit: contain;
 }
