
@font-face {
  font-family: 'odd';
  src: url(FONTS/oddlini-bold.ttf);
}

@font-face {
  font-family: 'gal';
  src: url(FONTS/Galderglynn\ Titling\ Lt.otf);
}

@font-face {
  font-family: 'pet';
  src: url(FONTS/Peter-Test-Regular-BF641a6402db1bd.otf);
}

@font-face {
  font-family: 'hank';
  src: url(FONTS/hanken-design-co-hk-requisite-medium.otf);
}

body{
    background-color: #EFECEC;
  }
  
  #head{
    text-align:center;
    color: black;
    margin-top: 20px;
  }
  
  h3{
    text-align:center;
    color: 0C2D57;
    margin-top: -30px;
    opacity: 50%;
    
  }
  
  a{text-decoration:none;}
  
  hr{
    opacity:20%;
    color:#8290A3;
    border: 2px solid #8290A3;
    border-radius:50px;
    width: 90%;
  }
  
  * {
    box-sizing: border-box;
  }
  
  body {
    margin: 0;
    font-family: Arial;
  }
  
  .header {
    text-align: center;
    padding: 32px;
  }
  
  .row {
    display: -ms-flexbox; /* IE10 */
    display: flex;
    -ms-flex-wrap: wrap; /* IE10 */
    flex-wrap: wrap;
    padding: 0 4px;
  }
  
  /* Create four equal columns that sits next to each other */
  .column {
    -ms-flex: 25%; /* IE10 */
    flex: 25%;
    max-width: 25%;
    padding: 0 4px;
  }
  
  .column img {
    margin-top: 8px;
    vertical-align: middle;
    width: 100%;
    border: 1px;
    border-style: solid;
  }
  
  /* Responsive layout - makes a two column-layout instead of four columns */
  @media screen and (max-width: 800px) {
    .column {
      -ms-flex: 50%;
      flex: 50%;
      max-width: 50%;
    }
  }
  
  /* Responsive layout - makes the two columns stack on top of each other instead of next to each other */
  @media screen and (max-width: 600px) {
    .column {
      -ms-flex: 100%;
      flex: 100%;
      max-width: 100%;
    }
  }
  
  img:hover{
    filter: grayscale(70%);
    transition: 0.5s;
  }

  .image-container {
    position: relative;
    display: inline-block;
    overflow: hidden;
}

.image-container img {
    display: block;
    width: 100%;
    transition: brightness 0.3s ease;
}

.image-container:hover img {
    filter: brightness(80%);
}

.overlay {
    position: absolute;
    top: 8px;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6); /* Semi-transparent background */
    color: white;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    opacity: 0;
    font-family: 'odd';
    transition: opacity 0.3s ease;
}

.image-container:hover .overlay {
    opacity: 1;
}

.overlay h2 {
    margin: 10px 0;
    font-size: 20px;
    font-family: 'odd';
  
}

.overlay a {
    color: black;
    text-decoration: none;
    background: white;
    padding: 8px 15px;
    border-radius: 2px;
    transition: background 0.3s ease;
}

.overlay a:hover {
    background: white;
}

.summa{
  font-family: 'gal';
}