:root {
    --main-color: #ff7717;
    --compliment-color1: #B34F08;
    --compliment-color-light-blue: #00A3B3;
    --compliment-color-dark-blue: #225AB3;
    --compliment-color-dark-green: #22B36E;
}



body,
html {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    font-size: 18px;
    font-family: 'Poppins', sans-serif;
}

.maincontent {
    max-width: 100%;
    padding: 0;
    margin: 0;
}

.maincontent_wrapper {
    padding-top: 0;
}

.my-container {
    max-width: 1800px;
    margin: 5% auto;
    padding: 0 5%;
    text-align:center;
}

h1 {
    font-size: 2.3rem;
    margin: 40px 0;
}

h2 {
    font-size: 2rem;
    margin: 7px 0;
}

h3 {
    font-size: 1.7rem;
}

p {
    font-size: 1rem;
    /* font-weight:200; */
}

img {
    width: 100%;
    filter: drop-shadow(3px 3px 3px rgba(0, 0, 0, 0.3));
}

.main-hr {
    width: 100%;
    max-width: 60vw;
    margin: 30px auto 60px;
    border: 0;
    height: 1px;
    background-image: -webkit-linear-gradient(left, #f0f0f0, var(--compliment-color-dark-blue), #f0f0f0);
}

.highlight {
    font-style: italic;
    color: var(--main-color);
    font-weight: 600;
}
.card {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    background: #353535;
    font-size: 3rem;
    color: #fff;
    box-shadow: rgba(3, 8, 20, 0.1) 0px 0.15rem 0.5rem, rgba(2, 8, 20, 0.1) 0px 0.075rem 0.175rem;
    height: 100%;
    width: 100%;
    border-radius: 4px;
    transition: all 500ms;
    overflow: hidden;

    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
 }
  
.card:hover {
    box-shadow: rgba(2, 8, 20, 0.1) 0px 0.35em 1.175em, rgba(2, 8, 20, 0.08) 0px 0.175em 0.5em;
    transform: translateY(-3px) scale(1.1);
 }
 .photo-grid {
    display: grid;
    gap: 1rem;
  
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    grid-auto-rows: 240px;
  }

  .overlay{
      opacity:0;
      transition:.3s;
  }
  .card:hover .overlay{
     opacity:1;
     transition:.3s;
  }
  
  /* Medium screens */
  @media screen and (min-width: 1416px) {
    .card-tall {
      grid-row: span 2 / auto;
    }
  
    .card-wide {
      grid-column: span 2 / auto;
    }
  }