@import url('https://fonts.googleapis.com/css2?family=Bodoni+Moda:ital,opsz@0,6..96;1,6..96&family=Cormorant+Garamond:ital,wght@0,300;1,300&family=Open+Sans:wght@300;400;500;600&display=swap');

* {
    margin: 0;
    padding: 0;
}

.social-links {
    margin-left: 16px;
}

a {
    color: #2c2f35;
    text-decoration: none;
}

a:hover {
    text-decoration: underline;
}

.underline {
    border-bottom: #2c2f35 1px solid;
}

h2 {
    font-size: 3.5rem;
}

h2, h3 {
    font-family: 'Cormorant Garamond', serif;
    font-weight: 300;
}

body {
    box-sizing: border-box;
    background-color: #f7f6f7;
    color: #2c2f35;
    font-family: 'Open Sans', sans-serif;;
}

.social {
    background-color: #eceaec;
    text-align: center;
    padding: 0.25em 0;
}

.social a {
    font-size: 0.75rem;
}

header {
    padding: 32px 0;
}

header img {
    max-width: 50px;
    margin-right: 16px;
}

header h1 {
    font-weight: 400;
    font-size: 1rem;
}

.header-wrapper {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    min-width: 18rem;
    align-items: center;
}

nav a {
    padding: 0 16px 0 16px;
}

nav a:last-child {
    padding-right: 0px;
}

.container, .slider-container {
    max-width: 1440px;
    margin: 0 auto;
}

.flex {
    display: flex;
    align-items: center;
}

.intro {
    max-width: 1000px;
    margin: 0 auto;
    padding: 16px 0 64px 0;
    text-align: center;
}

.hero-slider {
    margin-bottom: 124px;
}

.slider-content p {
    color: #2c2f35;
    font-size: .75rem;
    margin-top: 16px;
}

.hero-slider .slider-content img {
    width: 100%;
    object-fit: cover;
}

.styles {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
}

.styles-card {
    flex: 1fr;

}

.styles-card img {
    width: 100%;
    height: 250px;
    object-fit: cover;
    filter: grayscale(80%);
    transition: 1000ms;
    margin-bottom: 16px;
}

.styles-card img:hover {
    filter: grayscale(0);
}

.styles-card h2 {
    font-size: 2rem;
    margin-bottom: 16px;
}

.styles-card p {
    padding: 0 16px;
}

.headings, .about {
    text-align: center;
}

.headings h2 {
    flex: 1;
    margin-bottom: 64px;
}

.about p {
    line-height: 1.75rem;
}

#form, .contact_text {
    width: 50%;
}

.contact_text {
    padding-right: 100px;
}

#contact {
    margin-top: 64px;
    padding: 32px 0 32px 0;
    background-color: #eceaec;
}

.contact_text h3 {
    font-size: 1.75rem;
    margin-bottom: 32px;
}

.contact_text h2 {
    padding-bottom: 16px;
}

.contact_text p {
    font-size: 1.5rem;
    line-height: 3rem;
    font-weight: 600;
}

footer {
    background-color: #2c2f35;
    color: #f7f6f7;
    padding: 32px 0;
}

footer p {
    font-size: .75rem;
}

footer a {
    color: #f7f6f7;
    font-size: .75rem;
}

.light-grey {
    color: #5d5b61;
}

.pf-container {
    max-width: 90%;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
    margin: 0 auto;
}

.pf-item {
    filter: grayscale(0);
    transition: 1000ms;
}

picture img {
    width: 100%;
}

.pf-item .zoom img {
    transform: scale(1);
    transition: 0.3s ease-in-out;
}

.pf-item:hover {
    filter: grayscale(80%);
    cursor: pointer;
}

.pf-item:hover > h3 {
    text-decoration: underline;
}

.cs-intro {
    padding: 64px 200px;
    text-align: center;
}

.cs-intro h2 {
    margin-bottom: 16px;
}

.accredited {
    font-size: 0.75rem;
    padding-top: 1em;
    color: #5d5b61;
}

.masonry {
    -webkit-column-count: 3;
    -moz-column-count: 3;
    column-count: 3;
    -webkit-column-gap: 32px;
    -moz-column-gap: 32px;
    column-gap: 32px;
    margin: 2.5em;
    padding: 0;
}

.ms-item {
    display: inline-block;
    margin: 0 0 1.5em;
    width: 100%;
    transition: 1s ease all;
}

.ms-item img {
    width: 100%;
}

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

    .container {
        padding: 0 32px;
    }

 /*   .header-wrapper {
        flex-wrap: wrap;
        justify-content: center;
    }

    .logo {
        margin-bottom: 16px;
    }

    .styles {
        grid-template-columns: 1fr;
    }
*/
    .styles-card h2 {
        font-size: 1.5rem;
    }

    .intro {
        padding: 16px 16px 64px 16px;
    }

    .intro h2 {
        font-size: 2.5rem;
    }

    .contact {
        padding: 64px 32px;
    }

    .slider-content p {
        padding-left: 32px;
    }

    .pf-container {
        grid-template-columns: repeat(3, 1fr);
    }

    .cs-intro {
        padding: 0 100px;
    }

    .masonry {
        -webkit-column-count: 2;
        -moz-column-count: 2;
        column-count: 2;
    }

}

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

    .header-wrapper {
        flex-wrap: wrap;
        justify-content: center;
    }

    .styles {
        grid-template-columns: 1fr;
    }

    #contact .flex {
        flex-wrap: wrap;
    }

    #form, .contact_text {
        width: 100%;
    }

    .contact_text {
        padding-bottom: 32px;
    }

    .logo {
        margin-bottom: 32px;
    }

    .pf-container {
        grid-template-columns: repeat(2, 1fr);
    }

    .masonry {
        -webkit-column-count: 1;
        -moz-column-count: 1;
        column-count: 1;
        -webkit-column-gap: 16px;
        -moz-column-gap: 16px;
        column-gap: 16px;
        margin: 2.5em;
        padding: 0;
    }

    .cs-intro {
        padding: 0 32px;
    }

}