* {
    font-family: 'Montserrat', sans-serif;
}
.parisienne {
    font-family: 'Parisienne', cursive;
}
.cormorant {
    font-family: 'Cormorant Garamond', serif;
    font-weight: 400;
}
body {
    background-color: #f4f1ed;
    margin: 0 auto;
    padding: 0;
    color: white;
}

/* Header */
header {
    height: 750px;
    margin: auto;
    max-width: 1600px;
    position: relative;
    width: 100%;
    background-image: url('../images/header.webp');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    border-bottom-left-radius: 10px;
    border-bottom-right-radius: 10px;
}
.header-inner {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    color: white;
    z-index: 1;
    width: 100%;
}
.header-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: #623e2a;
    opacity: .4;
    z-index: 1;
    border-bottom-left-radius: 10px;
    border-bottom-right-radius: 10px;
}
.header-inner h1 {
    margin: 0;
    font-size: 8rem;
}
.header-inner p {
    font-size: 1.6rem;
    margin: 10px auto;
}
.header-inner span {
    font-size: 4rem;
    margin-left: 12px;
}
.header-inner a {
    display: inline-block;
    margin-top: 85px;
    padding: 12px 40px;
    background-color: #f4f1ed;
    color: #623e2a;
    text-decoration: none;
    font-size: .9rem;
    transition: background-color 0.3s ease, color 0.3s ease;
    letter-spacing: 2px;
    font-weight: 600;
    border-radius: 50rem;
}
.header-inner a:hover {
    background-color: #623e2a;
    color: #f4f1ed;
}
.header-menu {
    position: absolute;
    top: 10px;
    left: 0;
    z-index: 2;
    width: 100%;
    text-align: center;
}
.header-menu a {
    color: white;
    text-decoration: none;
    font-size: 1rem;
    margin-left: 10px;
    transition: color 0.25s ease;
    font-weight: 500;
}
.header-menu a:hover {
    color: #f4f1ed;
}

/* About us */
.about-us {
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: #623e2a;
    margin: 80px auto;
    padding: 20px;
    max-width: 1500px;
}
.about-us .left {
    width: 66%;
    padding: 40px;
}
.about-us .left h5 {
    font-size: 4rem;
    margin-top: 0;
    margin-bottom: 40px;
    font-weight: 600 !important;
}
.about-us .left p {
    font-size: 1.15rem;
    line-height: 1.8;
}
.about-us .right {
    width: 33%;
    text-align: right;
    padding: 40px;
}
.about-us .right img {
    width: 100%;
    max-width: 380px;
    border-radius: 50rem;
    /* box-shadow: 0 0 10px rgba(98, 62, 42, 0.2); */
}

/* Services */
.services {
    background-color: #efebe5;
    padding: 80px 0;
    padding-bottom: 1px;
}
.services h2 {
    text-align: center;
    font-size: 3.2rem;
    color: #623e2a;
    font-weight: 600;;
    margin: 0;
}
.services-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-around;
    align-items: center;
    color: #623e2a;
    margin: 80px auto;
    padding: 20px;
    max-width: 1500px;
    padding-top: 0;
    padding-bottom: 0;
}
.service-item {
    width: 26%;
    padding: 20px;
    margin-bottom: 30px;
    text-align: center;
    /* background-color: #f4f1ed; */
    /* box-shadow: 0 0 10px rgba(0, 0, 0, 0.1); */
    text-align: left;
    min-width: 300px;
    max-width: 370px;
    align-self: stretch;
    border-radius: 10px;
}
.service-item .inner {
    padding: 10px;
}
.service-item p {
    margin-bottom: 0;
}
.service-item .img {
    width: 100%;
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    height: 250px;
    border-radius: 10px;
}
.service-item .price p {
    font-weight: 600;
}
.service-item .description {
    line-height: 1.4;
}
.service-item.first .img {
    background-image: url('../images/1.webp');
}
.service-item.second .img {
    background-image: url('../images/2.webp');
}
.service-item.third .img {
    background-image: url('../images/3.webp');
}
.service-item.fourth .img {
    background-image: url('../images/4.webp');
}
.service-item.fifth .img {
    background-image: url('../images/5.webp');
}
.service-item.sixth .img {
    background-image: url('../images/3.webp');
}

/* Times */
.times {
    max-width: 1500px;
    margin: 80px auto 100px auto;
    color: #623e2a;
}
.times h2 {
    text-align: center;
    font-size: 3.2rem;
    font-weight: 600;
    margin: 0;
    padding: 0 0 40px 0;
    display: flex;
    align-items: center;
    justify-content: center;
}
.times img {
    width: 100%;
    margin: 0 auto;
    display: block;
    box-shadow: 0 0 10px rgba(98, 62, 42, 0.2);
    cursor: pointer;
}

/* Testimonials */
.testimonials {
    background-image: url('../images/testimonials.webp');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    margin: 100px auto;
    position: relative;
    color: white;
    padding-bottom: 80px;
    max-width: 1500px;
}
.testimonials-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: #623e2a;
    opacity: .4;
    z-index: 1;
}
.testimonials-inner {
    text-align: center;
    z-index: 2;
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: start;
    position: relative;
}
.testimonials h2 {
    font-size: 3.2rem;
    font-weight: 600;
    margin: 0;
    position: relative;
    z-index: 1;
    text-align: center;
    padding: 80px 0 40px 0;
}
.testimonial {
    width: 100%;
    max-width: 300px;
    padding: 20px;
    margin: 0 auto;
    text-align: center;
}
.testimonial p {
    font-size: .95rem;
}
.testimonial .author {
    font-size: 1.2rem;
    font-weight: 600;
    margin-top: 10px;
    margin-bottom: 0;
}
.testimonial .quote {
    text-align: left;
    margin-left: 10px;
}
.times-container {
    display: flex;
    justify-content: space-between;
    width: 100%;
    max-width: 600px;
    margin: auto;
}
.items-center {
    align-items: center;
}
.items-top {
    align-items: flex-start;
}
.times-container .left,
.times-container .right {
    text-align: left;
}

/* Contact */
section.contact {
    color: #623e2a;
    padding: 80px 0;
    width: 100%;
    background-color: #efebe5;
    position: relative;
    margin-top: 80px;
}
.contact-heading h5 {
    color: #623e2a;
    text-align: center;
    font-size: 3.2rem;
    font-weight: 600;
    margin: 0;
}
.contact-heading h2 {
    color: #623e2a;
}
.contact-overlay {
    background-color: #151515;
    opacity: .8;
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
}
.contact-content {
    position: relative;
    z-index: 2;
    max-width: 1500px;
    margin: auto;
}
.contact-form {
    max-width: 640px;
    margin: auto;
    padding: 16px;
    padding-bottom: 0;
    margin-top: 50px;
}
.contact-form .form-group {
    margin-bottom: 30px;
 }
.contact-form input,
.contact-form textarea {
    width: 100%;
    padding: 10px 0;
    border: none;
    border-bottom: 1px solid #623e2a;
    background-color: transparent;
    color: #623e2a;
    outline: none;
    font-size: 1rem;
}
.contact-form input:focus,
.contact-form textarea:focus {
    outline: none;
}
.contact-form input:-webkit-autofill,
.contact-form input:-webkit-autofill:focus {
    transition: background-color 0s 0s, color 0s 0s;
    transition-delay: calc(infinity * 1s);
}
.contact-form input[data-autocompleted] {
    background-color: transparent !important;
}
.contact-form #message {
    max-height: 320px;
    resize: vertical;
    min-height: 200px;
}
.contact-form .submit {
    margin-top: 50px;
}
.contact-form .submit button {
    width: 100%;
    padding: 20px;
    background-color: #623e2a;
    color: white;
    font-size: 1rem;
    font-weight: 900;
    letter-spacing: 3px;
    border: none;
    cursor: pointer;
    transition: background-color 200ms ease-in-out;
    border-radius: 50rem;
}
.contact-form .submit button:hover {
    background-color: #f4f1ed;
    color: #623e2a;
    box-shadow: 0 0 10px rgba(98, 62, 42, 0.2);
}
.contact-form .title {
    margin: 0 0 30px 0;
    font-size: 1rem;
    font-weight: 700;
}
.contact-form .form-group {
    position: relative;
} 

.contact-form .form-group label:after {
    content: '';
    transform: scaleX(0);
    transition: transform 250ms ease-in-out;
    transform-origin: 0% 50%;
    border-bottom: 2px solid #623e2a;
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
}

.contact-form .form-group input:focus + label:after,
.contact-form .form-group input:valid + label:after,
.contact-form .form-group textarea:focus + label:after,
.contact-form .form-group textarea:valid + label:after {
    transform: scaleX(1);
}
.contact-form label span {
    color: #623e2a;
    font-weight: 400;
    font-size: 1rem;
    position: absolute;
    bottom: 10px;
    left: 0;
    transition: .25s ease-in-out;
    cursor: text;
}
.contact-form label#message span {
    top: 10px;
}
.contact-form label#message:after {
    bottom: 4px;
}
.contact-form .form-group input:focus + label span,
.contact-form .form-group input:valid + label span,
.contact-form .form-group textarea:focus + label span,
.contact-form .form-group textarea:valid + label span {
    transform: translateY(-150%);
    font-size: .8rem;
    color: black;
}
.contact-form .form-group textarea:focus + label span,
.contact-form .form-group textarea:valid + label span {
    transform: translateY(-20px);
}

.contact-form .form-group input.error + label span,
.contact-form .form-group input.error:focus + label span,
.contact-form .form-group input.error:valid + label span,
.contact-form .form-group textarea.error + label span,
.contact-form .form-group textarea.error:focus + label span,
.contact-form .form-group textarea.error:valid + label span {
    color: red !important;
}
.contact-form .form-group input.error,
.contact-form .form-group input.error:focus + label:after,
.contact-form .form-group input.error:valid + label:after,
.contact-form .form-group input.error + label:after,
.contact-form .form-group textarea.error,
.contact-form .form-group textarea.error:focus + label:after,
.contact-form .form-group textarea.error:valid + label:after,
.contact-form .form-group textarea.error + label:after {
    border-bottom: 2px solid red !important;
}
.form-result {
    margin-top: 10px;
    font-size: 1rem;
}

/* Footer */
footer {
    background-color: #623e2a;
    color: white;
    padding-top: 20px;
    font-size: 1rem;
    margin-top: 80px;
    position: relative;
}
.footer-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1600px;
    margin: auto;
    width: 100%;
    padding: 20px 0;
}
footer a {
    color: white;
    text-decoration: none;
    font-weight: 600;
    transition: color 0.3s ease;
    margin-left: 10px;
}
footer .left {
    display: flex;
    justify-content: center;
    align-items: center;
    padding-left: 20px;
}
footer .left img {
    width: 50px;
    height: 50px;
    margin-right: 10px;
}
footer .right {
    display: flex;
    justify-content: center;
    align-items: center;
    padding-right: 20px;
}
.footer-inner .left div.inner {
    display: flex;
    justify-content: start;
    align-items: center;
}
.footer-inner .left svg {
    margin-right: 10px;
}
.copy {
    color: lightgrey;
    font-size: 0.8rem;
    text-align: center;
    font-size: 1rem;
    margin: 0 auto;
    padding: 10px 0;
}
.footer-link {
    font-weight:400;
    font-size: .9rem;
    text-decoration: underline;
}
.footer-link:hover {
    color: #f4f1ed;
}
.copy p {
    margin: auto;
}

/* Media Queries */
@media only screen and (max-width: 1400px) {
    .header-inner h1 {
        font-size: 6rem;
    }
    .header-inner p {
        font-size: 1.5rem;
    }
    .header-inner span {
        font-size: 3rem;
    }
    .about-us .left h5 {
        font-size: 3rem;
    }
    .about-us .left p {
        font-size: 1rem;
    }
}
@media only screen and (max-width: 1024px) {
    header {
        height: 600px;
    }
    .header-inner h1 {
        font-size: 5rem;
    }
    .header-inner p {
        font-size: 1.4rem;
    }
    .header-inner span {
        font-size: 2.5rem;
    }
    .about-us {
        display: block;
    }
    .about-us .left,
    .about-us .right {
        width: 100%;
        padding: 0;
    }
    .about-us .left h5,
    .about-us .left p {
        text-align: center;
        padding: 20px;
    }
    .about-us .left h5 {
        margin-bottom: 0 !important;;
    }
    .about-us .right {
        margin-top: 60px;
        text-align: center;
        padding: 0;
    }
    .about-us .right img {
        max-width: 350px;
    }
    .service-item .img {
        height: 250px;
    }
}
@media only screen and (max-width: 768px) {
    .testimonials-inner {
        flex-direction: column;
    }
    .times-container {
        flex-direction: column;
        align-items: center;
    }
    .times-container .left,
    .times-container .right {
        text-align: center;
    }
}
@media only screen and (max-width: 640px) {
    header {
        height: 500px;
    }
    .header-inner h1 {
        font-size: 4rem;
    }
    .header-inner p {
        font-size: 1.1rem;
    }
    .header-inner span {
        font-size: 2.2rem;
    }
    .header-inner a {
        margin-top: 65px;
    }
    .about-us .right img {
        max-width: 300px;
    }
    .about-us .left h5 {
        font-size: 3.2rem;
    }
    .services-container {
        padding: 0;
    }
}