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

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Open Sans';
  background-color: #F4F5FE;
  color: #080808;
}

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

.logo, .single-logo {
  width: 100%;
  text-align: center;
  padding: 20px;
  font-size: 11px;
}

.logo {
  position: absolute;
  top: 0;
  left: 0;
  height: fit-content;
}

.banner, .single-banner {
  width: 100%;
  display: flex;
  flex-flow: row wrap;
  align-items: center;
}

.banner {
  justify-content: space-between;
  min-height: 100vh;
}

.single-banner {
  justify-content: center;
  margin: 30px 0;
}

.banner .address, .banner .link {
  width: 20%;
}

.banner .slider {
  width: 34%;
}

.single-banner .slider {
  width: 35%;
}

.slider img {
  width: 100%;
  border-radius: 3px;
  margin-bottom: 15px;
  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);
}

.slider p {
  font-size: 16px;
  font-weight: bold;
  text-align: center;
}

ul li {
  list-style: none;
}

.address ul {
  margin: 12px 0px;
}

a {
  cursor: pointer;
  text-decoration: none;
  color: #080808;
}

.link .button, button {
  display: block;
  background-color: #8366FC;
  color: #FBF6FF;
  padding: 15px;
  margin-bottom: 15px;
  text-align: center;
  border-radius: 6px;
  font-size: 13px;
  font-weight: bold;
  box-shadow: 0 5px 10px rgba(131, 102, 252, .025), 0 15px 40px rgba(131, 102, 252, .3);
  transition: transform 0.3s;
}

.link .button {
  line-height: 23px;
}

.link .button i {
  font-size: 17px;
  margin-right: 7px;
}

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

button {
  border: none;
}

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

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

.grid {
  margin-bottom: 50px;
}

.text p {
  max-width: 700px;
  display: inline-block;
  margin-bottom: 20px;
  font-size: 17px;
  line-height: 27px;
}

.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 .grid-image {
  width: 100%;
  position: relative;
  overflow: hidden;
}

.grid-item .grid-image::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 90%;
  height: 90%;
  border-radius: 3px;
  background-color: rgba(131, 102, 252, .6);
  transform: translate(-50%, 70%);
  transition: all 0.4s;
  opacity: 0;
  visibility: hidden;
}

.grid-item .grid-image::before {
  content: "View Detail";
  position: absolute;
  color: #FBF6FF;
  font-weight: bold;
  top: 20%;
  left: 50%;
  transform: translate(-50%, -50%);
  transition: all 0.4s;
  z-index: 1;
  opacity: 0;
  visibility: hidden;
}

.grid-item .grid-image:hover::after {
  transform: translate(-50%, -50%);
  opacity: 1;
  visibility: visible;
}

.grid-item .grid-image:hover::before {
  top: 50%;
  opacity: 1;
  visibility: visible;
}

.grid-item .grid-image img {
  display: block;
  max-width: 100%;
  border-radius: 3px;
}

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

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

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

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

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

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

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: 60px 0;
}

footer p {
  text-align: center;
  margin-bottom: 20px;
  font-size: 17px;
  line-height: 27px;
}

@media only screen and (max-width: 768px) {
  .single-banner .slider {
    width: 60%;
  }
}

@media only screen and (max-width: 540px) {
  .logo {
    position: relative;
  }

  .banner {
    flex-direction: column;
  }

  .banner .address, .banner .link {
    width: 100%;
    margin-bottom: 50px;
  }

  .banner .slider {
    width: 100%;
    margin: 30px 0 50px 0;
  }

  .single-banner .slider {
    width: 80%;
  }

  .banner .slider {
    order: 1;
  }

  .banner .link {
    order: 2;
  }

  .banner .address {
    order: 3;
  }

  .text {
    text-align: left;
  }

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

  .gutter-sizer {
    width: 6%;
  }

  .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%;
  }
}

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

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

  .gutter-sizer {
    width: 0;
  }
}
