@font-face {
  font-family: "Trade Gothic Bold";
  src: url('fonts/Trade\ Gothic\ LT\ Bold.ttf');
}

* {
  padding: 0;
  margin: 0;
  box-sizing: border-box;
}

body {

  background-size: 100%;
  font-family: "Trade Gothic Bold";
  /* overflow-x: hidden; */
}

.logo-block {
  width: 194px;
  margin: 30px auto 0px;
}

.wc-logo {
  width: 100%;
}

.main-block {
  margin: 0px 40px;
}

.top-15-banner-block {

  background-size: 100%;
  background-repeat: no-repeat;
  padding: 17% 0;
}

.image-block {
  margin: 2.5% auto 0px;
}

.image-row {
  display: flex;
  justify-content: center;
  margin-right: -2% !important;
}

.finalists-block {
  width: 20%;
}

.image-container {
  position: relative;
  top: 0;
  left: 0;
  margin-bottom: 2%;
  width: 90%;
}

.image {
  width: 100% !important;
}

.image-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(to bottom, rgba(0, 0, 0, 0.7), rgba(128, 128, 128, 0.7));
  color: #fff;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.image-container:hover .image-overlay {
  opacity: 1;
}

.text-overlay {
  position: absolute;
  top: 40%;
  left: 50%;
  transform: translate(-50%);
  text-align: center;
  width: 100%;
}

.text-overlay>p {
  margin-bottom: 0px;
}

.text-overlay>p>a {
  text-decoration: none;
  color: #fff;
  font-size: 22px;
}

.name-block {
  text-align: center;
  margin-right: 2% !important;
  font-size: 20px;
}

.social-handle {
  margin: 10px auto 30px;
  display: flex;
  justify-content: center;
}

.insta-icon {
  text-decoration: none;
  color: black;
}

.fa-instagram {
  padding-right: 5px;
}

/* For Tablet devices */

@media (max-width: 767px) {
  .logo-block {
    margin: 20px auto 0px;
  }

  .main-block {
    margin: 0px 15px;
  }
  
  .text-overlay>p {
    margin-bottom: -10px;
  }
  
  .text-overlay>p>a {
    font-size: 11px;
  }

  .name-block {
    font-size: 14px;
  }
  
  .social-handle {
    margin: 5px auto 20px;
  }
}

/* For mobile devices */

@media(max-width: 576px) {
  .main-block {
    margin: 0px 10px;
  }

  .top-15-banner-block {
    background-size: 100%;
    background-repeat: no-repeat;
    padding: 28.5% 0;
  }

  .social-handle {
    margin: 15px auto;
  }

  .image-block {
    margin: 0px auto;
  }

  .image-row {
    margin-right: 0px !important;
    flex-direction: column;
  }

  .finalists-block {
    width: 100%;
  }

  .image-container {
    margin: 10px auto 0px;
    width: 100%;
    margin-bottom: 3%;
  }

  .text-overlay>p {
    margin-bottom: 0px;
  }

  .text-overlay>p>a {
    font-size: 19px;
  }

  .image {
    width: 100% !important;
    display: block;
    margin: 0px auto;
  }

  .name-block {
    font-size: 19px;
  }

  .name-block > p{
    margin-bottom: 0px;
  }

  .image-overlay {
    width: 100%
  }
}