/* Font styling */
.playfair-display{
    font-family: "Playfair Display", serif;
}
.inter{
    font-family: "Inter", sans-serif;
}
h1, h2, h3, h4{
    font-family: "Playfair Display", serif;
    font-weight: 800;
    color: #1F3D36;
}

p{
    font-family: "Inter", sans-serif;
    font-size: 1rem;
    color: #2B2B2B;
}
h1{
    font-size: 3rem;
}
h2{
    font-size: 2.25rem;
}
h3{
    font-size: 1.75rem;
}
h4{
    font-family: "Playfair Display", serif;
    font-size: 1.25rem;
}
a{
    color: white;
    font-family: "Inter", sans-serif;
    font-size: 1rem;
}

/* Body */
body {
    background-color: #F5F3EF;
    font-family: "Inter", sans-serif;
    color: #2B2B2B;
}

/* Navigation bar */
nav {
    display: flex;
    background-color: #1F3D36;
    height: 70px;
    position: fixed;
    width: 100%;
    top: 0;
    left: 0;
    justify-content: center;
    align-items: center;
}

.nav-ul {
    margin: 0;
    padding: 0;
    list-style: none;

    display: flex;
    gap: 20px;
}

.nav-ul li {
    display: flex;
}

.nav-ul a {
    color: white;
    font-size: 1.25rem;
    text-decoration: underline;
}

.nav-ul a:hover {
    color: #C97C5D;
}

header{
    margin-top: 70px;
    text-align: center;
    padding: 60px;
}
.header h3{
    font-family: "Inter", sans-serif;
    font-weight: 300;
}
.header a{
    padding: 10px;
    background-color: #2F5D50;
    font-family: "Inter", sans-serif;
    border-radius: 5px;
    border: none;
    text-decoration: none;
}
.header a:hover{
    background-color: #C97C5D;
}

/* Hero section */
.hero{
    display: flex;
}
.hero h2{
    color: #F5F3EF; /* Does the heading */
}
.left,
.right{
    flex: 1;
    min-height: 200px;
}
.left{
    background-image: url("images/log-image.jpg");
    background-size: cover;
    background-repeat: no-repeat;
}
.right{
    background-color: #2F5D50;
    padding: 60px;
}
.right p{
    color: #F5F3EF;
}

/* Services */
.services-heading{
    text-align: center;
    padding-top: 20px;
}
.services{
    display: flex;
    justify-content: center;
    align-items: stretch;
    flex-wrap: wrap;
    gap: 20px;
}

.brand-identity,
.web-dev,
.digital-marketing,
.support {
        margin-top: 20px;
        margin-bottom: 40px;
        padding: 20px;
        border-radius: 15px;
        text-align: center;
        background-color: #E6F0EC;
        max-width: 180px;
}

/* Value statement (Our Why) */
#our-why{
    background-color: #1F3D36;
    text-align: center;
    min-height: 180px;
    padding: 40px;
}
#our-why h2, 
#our-why p{
    color: #F5F3EF;
}

/* Team */
.team-member img{
    border-radius: 500px;
    max-width: 200px;
}
.team-heading{
    background-color: #2F5D50;
    text-align: center;
}
#team-heading h2{
    color: #F5F3EF;
    margin-top: 0;
    margin-bottom: 0;
    padding-top: 40px;
}
.team{
    padding-top: 40px;
    padding-bottom: 20px;
    background-color: #2F5D50;
    display: flex;
    justify-content: center;
    align-items: stretch;
    flex-wrap: wrap;
}
.team-member{
    border-radius: 15px;
    text-align: center;
    margin: 20px;
    padding: 20px;
    background-color: #F5F3EF;
    max-width: 350px;
}

/* Footer */
.footer{
    height: 70px;
    width: 100%;
    background-color: #1F3D36;
    z-index: 999;
    display: flex;
}
.footer p{
    display: inline-flex;
    align-items: center;
    justify-content: left;
    padding-left: 10px;
    color: #F5F3EF;
}

/* Mobile breakpoints */
@media only screen and (max-width: 600px) {
    .hero{
        flex-direction: column-reverse;
    }
    .services{
        gap: 10px;
        padding-bottom: 10px;
    }
    .brand-identity,
    .web-dev,
    .digital-marketing,
    .support{
        margin: 0;
        height: 250px;
    }
}