/* poppins-regular - latin */
@font-face {
  font-family: 'Poppins';
  font-style: normal;
  font-weight: 400;
  src: url('../fonts/poppins-v15-latin-regular.eot');
  /* IE9 Compat Modes */
  src: local(''),
    url('../fonts/poppins-v15-latin-regular.eot?#iefix') format('embedded-opentype'),
    /* IE6-IE8 */
    url('../fonts/poppins-v15-latin-regular.woff2') format('woff2'),
    /* Super Modern Browsers */
    url('../fonts/poppins-v15-latin-regular.woff') format('woff'),
    /* Modern Browsers */
    url('../fonts/poppins-v15-latin-regular.ttf') format('truetype'),
    /* Safari, Android, iOS */
    url('../fonts/poppins-v15-latin-regular.svg#Poppins') format('svg');
  /* Legacy iOS */
}

:root {
  --swiper-theme-color: #665df5 !important;
}

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

.container {
  width: 90%;
  margin: auto;
}

.header {
  padding-top: 50px;
}

.header .container a {
  font-family: 'Poppins';
  font-style: normal;
  color: #030f12;
  font-size: 12px;
  text-align: center;
}

.header .container h1 {
  color: #030f12;
  text-align: center;
  font-weight: bold;
  line-height: 28px;
}

p {
  font-size: 16px;
  line-height: 26px;
}

.pagination {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-start;
  align-items: center;
  align-content: center;
}

.pagination li {
  margin: 0 10px 20px 0;
}

.pagination li a {
  width: 30px;
  line-height: 30px;
  display: block;
  text-align: center;
  border: 1px solid #665df5;
}

.pagination li a.active {
  color: #ffffff;
  background-color: #665df5;
}

.swiper-wrapper {
  align-items: center;
}

.swiper-slide {
  padding-bottom: 30px;
}

.swiper-slide img {
  width: 35%;
  display: block;
  margin: auto;
  border-radius: 3px;
  box-shadow: 0 1px 1px rgba(0,0,0,0.11),
              0 2px 2px rgba(0,0,0,0.11),
              0 4px 4px rgba(0,0,0,0.11),
              0 6px 8px rgba(0,0,0,0.11),
              0 8px 16px rgba(0,0,0,0.11);
}

.welcome {
  text-align: center;
}

.welcome p {
  font-size: 16px;
  line-height: 26px;
  max-width: 650px;
  margin: 0 auto 40px auto;
}

.category {
  display: grid;
  grid-template-columns: auto auto auto auto;
  gap: 40px;
}

.item {
  position: relative;
  background-color: #665df5;
  height: 100px;
  border-radius: 3px;
  transition: all 0.5s ease;
}

.item p {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  text-align: center;
  color: #ffffff;
  font-weight: bold;
}

.item:hover {
  background-color: #544af4;
}

figcaption {
  display: none;
}

figure {
  cursor: pointer;
}

.fancybox__caption {
  text-align: center;
}

.fancybox__caption a {
  font-weight: bold;
}

.date {
  display: flex;
  flex-wrap: wrap;
  justify-content: start;
}

.date div {
  width: 20%;
  padding: 20px;
  text-align: center;
}

.date div a {
  color: #030f12;
  transition: 0.2s color ease;
}

.date div a:hover {
  color: #665df5;
}

.subdetail {
  display: flex;
  width: 100%;
  flex-wrap: wrap;
  flex-direction: row;
  align-items: center;
  margin-top: 30px;
}

.link {
  margin-right: 40px;
}

.enquiry {
  text-align: center;
  margin-bottom: 40px;
}

.enquiry a {
  padding: 10px;
  display: inline-block;
  background-color: #e3b708;
  color: #2B2B2B;
  text-align: center;
  border-radius: 3px;
  margin-bottom: 20px;
  font-size: 15px;
  box-shadow: 0 5px 10px rgba(227, 183, 8, .025), 0 15px 40px rgba(227, 183, 8, .3);
  font-weight: bold;
  transition: transform 0.3s;
}

.enquiry a:hover {
  transform: translateY(-3px);
}

.button {
  padding: 10px;
  display: block;
  background-color: #665df5;
  color: #ffffff;
  text-align: center;
  border-radius: 3px;
  margin-bottom: 20px;
  font-size: 15px;
  box-shadow: 0 5px 10px rgba(227, 183, 8, .025), 0 15px 40px rgba(227, 183, 8, .3);
  font-weight: bold;
  transition: transform 0.3s;
}

.button:hover {
  transform: translateY(-3px);
}

.address p {
  font-weight: bold;
}

.text .container p {
  text-align: center;
  max-width: 650px;
  margin: 0 auto 40px auto;
}

.categories .container .subcategories {
  display: flex;
  width: 100%;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
}

.subcategories .thumbnail {
  width: 23.5%;
  margin-bottom: 50px;
}

.subcategories .thumbnail img {
  height: 250px;
  object-fit: cover;
  transition: all 0.4s;
}

.subcategories .subthumbnail {
  position: relative;
  overflow: hidden;
  border-radius: 3px;
}

.subcategories .subthumbnail::after {
  content: "";
  position: absolute;
  bottom: 0px;
  left: 0px;
  width: 100%;
  height: 100%;
  background-image: linear-gradient(to bottom, rgba(41,38,33,0) 0%, #292621 100%);
}

.subthumbnail .detail {
  position: absolute;
  top: 80%;
  padding: 10px;
  transform: translateY(-80%);
  z-index: 1;
  text-align: center;
  width: 100%;
  color: #fff;
  transition: all 0.4s;
}

.subthumbnail .detail p {
  font-weight: bold;
}

.subthumbnail:hover .detail {
  top: 65%;
  transform: translateY(-70%);
}

.subthumbnail:hover img {
  transform: scale(1.1,1.1);
}

.title {
  text-align: center;
  margin-bottom: 40px;
}

.title h3 {
  font-family: 'Poppins';
}

.grid:after {
  content: '';
  display: block;
  clear: both;
}

.grid-sizer,
.grid-item {
  width: 24%;
}

.gutter-sizer {
  width: 1.3%;
}

.grid-item {
  float: left;
  margin-bottom: 20px;
  position: relative;
  border-radius: 3px;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.07),
    0 2px 4px rgba(0, 0, 0, 0.07),
    0 4px 8px rgba(0, 0, 0, 0.07),
    0 8px 16px rgba(0, 0, 0, 0.07),
    0 16px 32px rgba(0, 0, 0, 0.07),
    0 32px 64px rgba(0, 0, 0, 0.07);
}

.grid-item p {
  color: #030f12;
  font-weight: bold;
  margin: 10px 0;
  text-align: center;
}

.grid-item span {
  color: #030f12;
  padding: 0px 10px 10px 10px;
  text-align: center;
  display: block;
  font-family: 'Poppins';
  font-size: 14px;
}

.singleimage .container {
  display: flex;
  justify-content: center;
  align-items: center;
}

.singleimage .container img {
  width: 40%;
}

.singleimage p {
  color: #030f12;
  text-align: center;
  font-weight: bold;
  font-size: 20px;
  padding: 15px;
}

.gridimage .container {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-around;
}

.gridimage .container img {
  width: 40%;
  background-size: cover;
}

.gridimage p {
  color: #030f12;
  text-align: center;
  font-weight: bold;
  font-size: 20px;
  padding: 15px;
}

.container .contact {
  display: flex;
  flex-flow: row wrap;
  justify-content: space-around;
  align-items: center;
}

.contact .form, .contact .form-image {
  width: 45%;
}

.contact .form-image img {
  box-shadow: none;
}

.form .input {
  display: flex;
  flex-flow: row wrap;
  justify-content: space-between;
  align-items: center;
}

.form .input .label {
  width: 45%;
}

.form p {
  margin-bottom: 5px;
}

section {
  padding: 50px 0;
}

input, textarea {
  width: 100%;
  margin-bottom: 20px;
  padding: 10px;
  border-radius: 3px;
  border: none;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.07),
    0 2px 4px rgba(0, 0, 0, 0.07),
    0 4px 8px rgba(0, 0, 0, 0.07),
    0 8px 16px rgba(0, 0, 0, 0.07),
    0 16px 32px rgba(0, 0, 0, 0.07),
    0 32px 64px rgba(0, 0, 0, 0.07);
}

textarea {
  height: 120px;
  padding: 10px;
}

input.verify {
  width: 70px;
}

footer {
  padding: 40px 0px;
}

footer .container {
  text-align: center;
}

footer .container p {
  margin-bottom: 40px;
}

button {
  border: none;
}

button:hover {
  cursor: pointer;
}

img {
  width: 100%;
  display: block;
}

.grid-item img {
  border-radius: 3px;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.07),
    0 2px 4px rgba(0, 0, 0, 0.07),
    0 4px 8px rgba(0, 0, 0, 0.07),
    0 8px 16px rgba(0, 0, 0, 0.07),
    0 16px 32px rgba(0, 0, 0, 0.07),
    0 32px 64px rgba(0, 0, 0, 0.07);
}

.grid-item figure img {
   border-radius: 0px;
   box-shadow: none;
}

a, p, ul, h1 {
  font-family: 'Poppins';
}

a {
  text-decoration: none;
  color: #665df5;
}

ul {
  list-style: none;
  text-align: center;
  margin-bottom: 40px;
}

.bx {
  margin-right: 5px;
}

@media only screen and (max-width: 912px) {
  .category {
    grid-template-columns: auto auto;
    gap: 50px;
  }
}


@media only screen and (max-width: 768px) {
  .singleimage .container img {
    width: 60%;
  }
  .subcategories .thumbnail {
    width: 32%;
  }
  .date div {
    width: 33%;
  }
  .swiper-slide img {
    width: 50%;
  }
}

@media only screen and (max-width: 540px) {
  .header {
    position: relative;
    padding-top: 20px;
  }

  section {
    padding: 30px 0 50px 0;
  }

  .swiper-slide img {
    width: 65%;
  }

  .banner .container .image, .banner .container .detail {
    width: 100%;
    margin-bottom: 20px;
  }

  .subcategories .thumbnail {
    width: 48%;
    margin-bottom: 50px;
  }

  .grid-sizer,
  .grid-item {
    width: 47%;
  }

  .gutter-sizer {
    width: 6%;
  }

  .container .contact {
    flex-direction: column;
  }

  .contact .form, .contact .form-image {
    width: 100%;
  }

  .contact .form {
    order: 2;
  }

  .contact .form-image {
    order: 1;
  }

  .form .input {
    flex-direction: column;
  }

  .form .input .label {
    width: 100%;
  }

  .singleimage .container img {
    width: 70%;
  }

  .gridimage .container img {
    width: 70%;
    margin-bottom: 30px;
  }
}

@media only screen and (max-width: 450px) {

  .swiper-slide img {
    width: 70%;
  }

  .category {
    grid-template-columns: auto;
    gap: 40px;
  }

  .background {
    width: 105%;
    height: 115%;
  }

  .text .container p {
    text-align: left;
  }

  .subcategories .thumbnail {
    width: 100%;
  }

  .singleimage .container img {
    width: 90%;
  }
  .gridimage .container img {
    width: 90%;
  }
  .date div {
    width: 50%;
  }
}


@media only screen and (max-width: 375px) {

  .grid-sizer,
  .grid-item {
    width: 100%;
  }

  .gutter-sizer {
    width: 0;
  }
}
