/*
Theme Name: Melea
Theme URI: melea-teal
Description: A brief description.
Version: 1.0
Author: You
Author URI: Your website address.
*/
* {
  padding: 0;
  margin: 0;
  font-weight: 400;
}

body {
  margin: 0 auto;
  padding: 0;
  background-color: #ffffff;
  font-family: "Montserrat", sans-serif;
}

.main-container {
  position: relative;
  z-index: 1;
}
.main-container .page-content {
  margin: 0 auto;
  position: relative;
  clear: both;
  display: block;
}
.main-container .page-content#page-gallery {
  background-color: #8a8c8e;
}
.main-container .page-content#page-about {
  margin-bottom: 40px;
}
@media (max-width: 768px) {
  .main-container {
    padding-top: 46px;
  }
}

.restrict-container {
  max-width: 1200px;
  margin: 0 auto;
}
@media (max-width: 1200px) {
  .restrict-container {
    padding: 0 30px;
  }
}

.gradient-header {
  margin: 0 0 40px 0;
  background: #020024;
  box-shadow: 0px 1px 10px rgba(0, 0, 0, 0.25);
  background: linear-gradient(
    90deg,
    #00a29b 0%,
    #00beb7 35%,
    #3cd4d0 55%,
    #6cdbd6 100%
  );
}
.gradient-header h1 {
  color: white;
  padding: 8px 0 8px 40px;
  font-weight: 700;
}
@media (max-width: 768px) {
  .gradient-header h1 {
    padding-left: 8px;
  }
}
@media (max-width: 480px) {
  .gradient-header h1 {
    padding-left: 0;
  }
}

.slash {
  margin: 0 4px;
}

footer {
  background-color: #ddd;
  box-shadow: 0px -1px 5px rgba(0, 0, 0, 0.1);
}
footer .footer-contact-info {
  display: flex;
  padding: 1em 6em;
  justify-content: space-around;
}
footer .footer-contact-info .footer-logo {
  margin: 16px 0;
  display: block;
}
footer .footer-contact-info .footer-logo p {
  display: inline-block;
  vertical-align: middle;
  margin-left: 6px;
  font-size: 20px;
  color: #00beb7;
  font-weight: 700;
  letter-spacing: 0.5px;
  text-decoration: none;
}
@media (max-width: 1200px) {
  footer .footer-contact-info .footer-logo p {
    font-size: 16px;
  }
}
footer .footer-contact-info .footer-logo img {
  height: 22px;
  display: inline-block;
  vertical-align: middle;
}
@media (max-width: 1200px) {
  footer .footer-contact-info .footer-logo img {
    height: 18px;
  }
}
@media (max-width: 1200px) {
  footer .footer-contact-info .footer-logo {
    margin: 15px 0;
  }
}
@media (max-width: 768px) {
  footer .footer-contact-info .footer-logo {
    display: none;
  }
}
footer .footer-contact-info h2 {
  color: #8a8c8e;
  margin: 16px 0;
  font-size: 20px;
}
footer .footer-contact-info h2 .bold {
  color: #00beb7;
  font-weight: 700;
  letter-spacing: 0.5px;
}
footer .footer-contact-info h2 .bold a {
  color: #00beb7;
  text-decoration: none;
  font-weight: 700;
}
footer .footer-contact-info h2 .bold a:hover {
  color: black;
}
@media (max-width: 1200px) {
  footer .footer-contact-info h2 {
    font-size: 16px;
  }
}
@media (max-width: 480px) {
  footer .footer-contact-info h2 {
    font-size: 14px;
  }
}
@media (max-width: 1000px) {
  footer .footer-contact-info {
    display: block;
    text-align: center;
    padding: 1em 0;
  }
}
@media (max-width: 480px) {
  footer .footer-contact-info {
    padding: 0.5em 0;
  }
}
header {
  padding: 40px 0;
  position: relative;
  z-index: 5;
}
header .mobile-header {
  display: none;
  background-color: white;
  box-shadow: 0px 2px 2px rgba(0, 0, 0, 0.1);
  width: 100%;
  padding: 6px 0;
}
header .mobile-header .mobile-logo {
  padding-left: 16px;
}
header .mobile-header .mobile-logo img {
  height: 30px;
  width: auto;
  display: inline-block;
  vertical-align: top;
}
header .mobile-header .mobile-logo img:nth-child(2) {
  height: 20px;
  margin-top: 8px;
}
@media (max-width: 360px) {
  header .mobile-header .mobile-logo img:nth-child(2) {
    height: 16px;
    margin-top: 10px;
  }
}
header .mobile-header .btn-menu {
  margin-right: 16px;
}
header .mobile-header .btn-menu img {
  height: 30px;
  width: auto;
  margin-top: 4px;
}
header nav {
  max-width: 1200px;
  margin: 0 auto;
}
header nav ul {
  display: flex;
  justify-content: space-between;
  flex-direction: row;
  padding: 0;
}
header nav ul li {
  list-style: none;
}
header nav ul li a {
  background: url(images/028afb076c503025ac6fd97354a79459.png) no-repeat top
    left;
  background-size: contain;
  font-weight: 500;
  font-size: 24px;
  color: #8a8c8e;
  text-decoration: none;
  display: block;
  padding: 20px;
}
header nav ul li a:hover {
  color: black;
}
@media (max-width: 768px) {
  header nav ul li a:hover {
    color: #00beb7;
  }
}
@media (max-width: 1200px) {
  header nav ul li a {
    font-size: 20px;
  }
}
@media (max-width: 1000px) {
  header nav ul li a {
    font-size: 16px;
    padding: 10px;
  }
}
@media (max-width: 768px) {
  header nav ul li a {
    font-size: 14px;
    background-image: none;
    padding: 6px;
  }
}
@media (max-width: 480px) {
  header nav ul li a {
    font-size: 12px;
  }
}
@media (max-width: 768px) {
  header nav ul li {
    margin-bottom: 10px;
  }
}
@media (max-width: 768px) {
  header nav ul {
    flex-direction: column;
    justify-content: flex-end;
  }
}
@media (max-width: 1200px) {
  header nav {
    padding: 0 20px;
  }
}
@media (max-width: 768px) {
  header nav {
    padding: 0 10px;
    background-color: white;
    box-shadow: -2px 3px 2px rgba(0, 0, 0, 0.07);
  }
}
@media (max-width: 768px) {
  header {
    position: fixed;
    padding: 0;
    width: 100%;
  }
  header .mobile-header {
    display: flex;
    justify-content: space-between;
  }
  header nav {
    position: absolute;
    right: 0;
    display: none;
  }
}
.logo-container {
  width: 100%;
  background-color: #8a8c8e;
  background-image: url(images/0221e95f24b812c74fbfd65335ede631.jpg);
  background-size: cover;
  background-position: top right;
  text-align: center;
  padding: 120px 0;
}
.logo-container .logo-click {
  outline: none;
}
.logo-container img {
  width: 100%;
}
.logo-container img.logo-desktop {
  display: block;
}
.logo-container img.logo-mobile {
  display: none;
  box-shadow: 1px 2px 5px rgba(0, 0, 0, 0.25);
}
@media (max-width: 1000px) {
  .logo-container {
    padding: 80px 0;
  }
}
@media (max-width: 640px) {
  .logo-container {
    padding: 60px 0;
  }
  .logo-container img.logo-desktop {
    display: none;
  }
  .logo-container img.logo-mobile {
    display: block;
  }
}

.contact-info {
  display: flex;
  padding: 1em 6em;
  justify-content: space-around;
}
.contact-info h2 {
  color: #8a8c8e;
  margin: 16px 0;
}
.contact-info h2 .bold {
  color: #00beb7;
  font-weight: 700;
  letter-spacing: 0.5px;
}
.contact-info h2 .bold a {
  color: #00beb7;
  text-decoration: none;
  font-weight: 700;
}
.contact-info h2 .bold a:hover {
  color: black;
}
@media (max-width: 640px) {
  .contact-info h2 {
    font-size: 18px;
  }
}
@media (max-width: 360px) {
  .contact-info h2 {
    font-size: 16px;
  }
}
@media (max-width: 1000px) {
  .contact-info {
    display: block;
    text-align: center;
    padding: 1em 0;
  }
}
.about-me-left {
  float: left;
  width: 50%;
  position: relative;
  z-index: 2;
  padding-top: 30px;
}
.about-me-left h1 {
  text-align: right;
  margin-right: 35px;
  margin-bottom: 20px;
}
.about-me-left h1 .gray {
  color: #8a8c8e;
  font-weight: 700;
  margin-right: 10px;
}
@media (max-width: 768px) {
  .about-me-left h1 .gray {
    margin-right: 0;
  }
}
.about-me-left h1 .white {
  color: white;
  font-weight: 700;
}
@media (max-width: 768px) {
  .about-me-left h1 .white {
    color: #8a8c8e;
  }
}
@media (max-width: 768px) {
  .about-me-left h1 {
    text-align: left;
    margin-right: 0;
  }
}
.about-me-left .melea-image-container {
  border: 12px solid #3cd4d0;
  box-shadow: -2px -1px 5px rgba(0, 0, 0, 0.25);
  display: inline-block;
  width: 100%;
  border-top: none;
  border-right: 0;
  position: relative;
}
.about-me-left .melea-image-container:before {
  content: "";
  position: absolute;
  top: -12px;
  left: -12px;
  width: 40%;
  height: 12px;
  background-color: #3cd4d0;
}
.about-me-left .melea-image-container img {
  display: block;
  width: 100%;
}
@media (max-width: 768px) {
  .about-me-left .melea-image-container img {
    width: 95%;
  }
}
@media (max-width: 768px) {
  .about-me-left .melea-image-container {
    border-width: 6px;
    box-shadow: none;
  }
  .about-me-left .melea-image-container:before {
    top: -6px;
    left: -6px;
    height: 6px;
  }
}
@media (max-width: 1000px) {
  .about-me-left {
    width: 40%;
  }
}
@media (max-width: 768px) {
  .about-me-left {
    float: none;
    width: 80%;
    margin: 0 auto;
  }
}
@media (max-width: 480px) {
  .about-me-left {
    width: 93%;
  }
}

.about-me-right {
  float: right;
  width: 50%;
  position: relative;
  z-index: 1;
  background-color: #3cd4d0;
  box-shadow: 0px 1px 10px rgba(0, 0, 0, 0.25);
  margin-bottom: 40px;
}
.about-me-right:before {
  content: "";
  position: absolute;
  left: -100px;
  width: 100px;
  height: 100%;
  background-color: #3cd4d0;
}
@media (max-width: 768px) {
  .about-me-right:before {
    background-color: transparent;
  }
}
.about-me-right .about-me-text {
  padding: 40px 60px 40px 40px;
}
.about-me-right .about-me-text p {
  font-size: 18px;
  line-height: 24px;
  margin-bottom: 16px;
}
.about-me-right .about-me-text p .bold {
  font-weight: 700;
  letter-spacing: 0.3px;
}
.about-me-right .about-me-text p .heart-icon {
  background: url(images/f2311a5b345976182c9ef692fb386172.png) no-repeat top
    left;
  background-size: 90% 90%;
  display: inline-block;
  width: 20px;
  height: 18px;
}
@media (max-width: 1000px) {
  .about-me-right .about-me-text p {
    font-size: 16px;
    line-height: 20px;
  }
}
@media (max-width: 1000px) {
  .about-me-right .about-me-text {
    padding: 30px 40px 20px 30px;
  }
}
@media (max-width: 1000px) {
  .about-me-right {
    width: 60%;
  }
}
@media (max-width: 768px) {
  .about-me-right {
    float: none;
    width: 90%;
    margin: 10px auto 0;
  }
}
@media (max-width: 480px) {
  .about-me-right {
    width: 100%;
  }
}
.projects-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 40px 0;
  display: grid;
  grid-template-columns: 1fr 1fr 1fr 1fr;
  justify-items: center;
}
.projects-container .project-link {
  width: 260px;
  font-weight: 600;
  font-size: 24px;
  color: #8a8c8e;
  text-decoration: none;
  display: block;
  margin-bottom: 60px;
}
.projects-container .project-link h4 {
  font-size: 20px;
  font-weight: 500;
  margin-top: 8px;
}
.projects-container .project-link .project-thumb-image {
  border-left: 8px solid #3cd4d0;
  border-bottom: 8px solid #3cd4d0;
  position: relative;
}
.projects-container .project-link .project-thumb-image img {
  width: 94%;
  display: block;
}
.projects-container .project-link .project-thumb-image:before {
  content: "";
  position: absolute;
  top: -8px;
  left: -8px;
  background-color: #3cd4d0;
  height: 8px;
  width: 60px;
}
.projects-container .project-link:hover {
  color: black;
}
.projects-container .project-link:hover .project-thumb-image {
  border-color: #6cdbd6;
}
.projects-container .project-link:hover .project-thumb-image:before {
  background-color: #6cdbd6;
}
@media (max-width: 1200px) {
  .projects-container .project-link {
    width: 200px;
  }
  .projects-container .project-link h4 {
    font-size: 20px;
  }
}
@media (max-width: 1000px) {
  .projects-container .project-link {
    width: 160px;
  }
  .projects-container .project-link h4 {
    font-size: 18px;
  }
}
@media (max-width: 768px) {
  .projects-container .project-link {
    width: 240px;
  }
  .projects-container .project-link h4 {
    font-size: 20px;
  }
}
@media (max-width: 640px) {
  .projects-container .project-link {
    width: 200px;
  }
  .projects-container .project-link h4 {
    font-size: 16px;
  }
}
@media (max-width: 480px) {
  .projects-container .project-link {
    width: 250px;
  }
  .projects-container .project-link h4 {
    font-size: 20px;
  }
}
@media (max-width: 1200px) {
  .projects-container {
    padding: 0 30px;
  }
}
@media (max-width: 768px) {
  .projects-container {
    grid-template-columns: 1fr 1fr;
  }
}
@media (max-width: 480px) {
  .projects-container {
    grid-template-columns: 1fr;
  }
}
.works-container {
  padding: 40px 0;
}
.works-container h1 {
  color: #8a8c8e;
  padding-left: 40px;
  margin-bottom: 20px;
  font-weight: 700;
}
@media (max-width: 768px) {
  .works-container h1 {
    padding-left: 8px;
  }
}
@media (max-width: 768px) {
  .works-container h1 {
    padding-left: 0;
  }
}
.works-container .works-item {
  position: relative;
  width: 100%;
  margin-bottom: 30px;
}
.works-container .works-item:before {
  content: "";
  position: absolute;
  width: 100%;
  height: 95%;
  top: 2px;
  z-index: 1;
}
@media (max-width: 768px) {
  .works-container .works-item:before {
    height: 97%;
  }
}
.works-container .works-item:nth-child(2):before {
  background-color: #6cdbd6;
}
.works-container .works-item:nth-child(3):before {
  background-color: #3cd4d0;
}
.works-container .works-item:nth-child(4):before {
  background-color: #00beb7;
}
.works-container .works-item:nth-child(5):before {
  background-color: #00a29b;
  height: 97%;
}
@media (max-width: 768px) {
  .works-container .works-item:nth-child(5):before {
    height: 99%;
  }
}
.works-container .works-item .works-title {
  text-align: right;
  width: 30%;
  position: relative;
  display: inline-block;
  vertical-align: top;
  z-index: 2;
}

@media (max-width: 768px) {
  .works-container .works-item .works-title {
    width: 100%;
    text-align: left;
  }
}

.works-container .works-item .works-title h2 {
  font-size: 32px;
  font-weight: 700;
  color: white;
  padding: 12px 12px 4px;
  margin: 0;
}
@media (max-width: 1000px) {
  .works-container .works-item .works-title h2 {
    font-size: 24px;
  }
}
@media (max-width: 768px) {
  .works-container .works-item .works-title h2 {
    padding-left: 0;
  }
}
.works-container .works-item .works-description {
  display: inline-block;
  position: relative;
  width: 55%;
  background-color: white;
  padding: 0 12px;
  z-index: 3;
}
.works-container .works-item .works-description p {
  font-size: 16px;
  line-height: 22px;
  margin: 0;
}
@media (max-width: 1000px) {
  .works-container .works-item .works-description {
    width: 65%;
  }
}
@media (max-width: 768px) {
  .works-container .works-item .works-description {
    width: 95%;
    padding-top: 6px;
  }
}
.testimonials-container {
  max-width: 1200px;
  margin: 0 auto;
  overflow: hidden;
}
.testimonials-container h1 {
  color: #00beb7;
  margin-bottom: 20px;
}
.testimonials-container .testimonials-grid {
  display: flex;
  flex-flow: column wrap;
  max-height: 2000px;
  align-content: flex-start;
  width: 100%;
  justify-content: flex-start;
}
.testimonials-container .testimonials-grid .testimonials-item {
  margin: 0 24px 24px 0;
  /* Some gutter */
  border: 2px solid #00beb7;
  width: 275px;
}
.testimonials-container
  .testimonials-grid
  .testimonials-item
  .testimonial-quote {
  display: block;
  padding: 12px;
}
.testimonials-container
  .testimonials-grid
  .testimonials-item
  .testimonial-quote
  p {
  font-size: 14px;
  line-height: 18px;
  font-style: italic;
}
.testimonials-container
  .testimonials-grid
  .testimonials-item
  .testimonial-author {
  display: block;
  background-color: #00beb7;
  padding: 8px 12px;
  text-align: right;
}
.testimonials-container
  .testimonials-grid
  .testimonials-item
  .testimonial-author
  p {
  font-size: 14px;
  line-height: 18px;
  font-weight: 500;
  font-style: italic;
  color: white;
}
@media (max-width: 1200px) {
  .testimonials-container .testimonials-grid .testimonials-item {
    width: 220px;
    margin: 0 16px 16px 0;
    /* Some gutter */
  }
}
@media (max-width: 1000px) {
  .testimonials-container .testimonials-grid .testimonials-item {
    width: 230px;
  }
}
@media (max-width: 768px) {
  .testimonials-container .testimonials-grid .testimonials-item {
    width: 190px;
  }
}
@media (max-width: 640px) {
  .testimonials-container .testimonials-grid .testimonials-item {
    width: 320px;
    margin: 0 auto 24px;
  }
}
@media (max-width: 1200px) {
  .testimonials-container .testimonials-grid {
    max-height: 2500px;
    align-content: center;
  }
}
@media (max-width: 1000px) {
  .testimonials-container .testimonials-grid {
    max-height: 3200px;
  }
}
@media (max-width: 768px) {
  .testimonials-container .testimonials-grid {
    max-height: 3850px;
  }
}
@media (max-width: 640px) {
  .testimonials-container .testimonials-grid {
    display: block;
    max-height: none;
  }
}
@media (max-width: 1200px) {
  .testimonials-container {
    padding: 0;
  }
}
.gallery-item {
  display: inline-block;
  max-width: 80%;
  padding: 10px;
  height: 600px;
  position: relative;
}
.gallery-item img {
  height: 100%;
  border: 10px solid white;
}
.gallery-item.multiple-vertical {
  max-height: 500px;
  text-align: center;
  vertical-align: middle;
  background-color: white;
}
.gallery-item.multiple-vertical .before-after-text {
  width: 100%;
}
.gallery-item.multiple-vertical .before-after-text p {
  display: inline-block;
  width: 49%;
  text-align: center;
  font-size: 30px;
  color: #3cd4d0;
  font-weight: 500;
  text-transform: uppercase;
  padding-bottom: 8px;
}
.gallery-item.multiple-vertical img {
  width: calc(50% - 15px);
  height: auto;
  border: none;
  display: inline-block;
  vertical-align: middle;
  max-height: calc(100% - 40px);
}
.gallery-item.multiple-vertical img:nth-child(2) {
  margin-right: 5px;
}
.gallery-item.multiple-vertical img:nth-child(3) {
  margin-left: 5px;
}

.gallery-single-container {
  width: 80%;
  margin: 0 auto;
}
.gallery-single-container .gallery {
  overflow: hidden;
}
@media (max-width: 1200px) {
  .gallery-single-container {
    width: 90%;
  }
}
@media (max-width: 768px) {
  .gallery-single-container {
    width: 95%;
  }
}

.gallery-single-item {
  width: 98%;
  margin: 100px auto;
  background-color: #3cd4d0;
  text-align: center;
  padding: 12px;
  box-shadow: 1px 1px 10px rgba(0, 0, 0, 0.25);
}
.gallery-single-item.single-vertical {
  width: 50%;
}
.gallery-single-item img {
  width: 100%;
}
.gallery-single-item p {
  font-size: 24px;
  font-weight: 700;
  color: white;
  text-transform: uppercase;
  padding-bottom: 8px;
}
@media (max-width: 768px) {
  .gallery-single-item.single-vertical {
    width: 70%;
  }
}
@media (max-width: 640px) {
  .gallery-single-item {
    margin: 40px auto;
    padding: 8px 12px;
    width: 93%;
  }
  .gallery-single-item.single-vertical {
    width: 93%;
  }
}
@media (max-width: 480px) {
  .gallery-single-item {
    width: 92%;
  }
}
@media (max-width: 360px) {
  .gallery-single-item {
    width: 91%;
  }
}

.gallery-before-after-item {
  width: 100%;
  margin: 100px auto;
  background-color: #3cd4d0;
  text-align: center;
  padding: 12px 3px 12px 3px;
  box-shadow: 1px 1px 10px rgba(0, 0, 0, 0.25);
}
.gallery-before-after-item p {
  font-size: 24px;
  font-weight: 700;
  color: white;
  width: 49%;
  display: inline-block;
  text-transform: uppercase;
  padding-bottom: 8px;
}
@media (max-width: 640px) {
  .gallery-before-after-item p.after {
    display: none;
  }
}
.gallery-before-after-item p.mobile-after {
  display: none;
  padding: 8px 0 4px;
}
@media (max-width: 640px) {
  .gallery-before-after-item p.mobile-after {
    display: block;
  }
}
@media (max-width: 640px) {
  .gallery-before-after-item p {
    width: 100%;
    padding-bottom: 4px;
  }
}
.gallery-before-after-item img {
  width: 48%;
  display: inline-block;
  vertical-align: top;
  margin: 0 6px;
}
@media (max-width: 768px) {
  .gallery-before-after-item img {
    width: 47%;
  }
}
@media (max-width: 640px) {
  .gallery-before-after-item img {
    width: 97%;
  }
}
@media (max-width: 480px) {
  .gallery-before-after-item img {
    width: 95%;
  }
}
@media (max-width: 640px) {
  .gallery-before-after-item {
    margin: 40px auto;
    padding: 4px 4px 12px 4px;
    width: 96%;
  }
}
