
*,
*::before,
*::after {
    box-sizing: border-box;
}

/* CUSTOM PROPERTIES */

:root {
    --ff-primary: 'Source Code Pro', monospace;
    --ff-secondary: 'Source Sans 3', sans-serif;

    --fw-reg: 300;
    --fw-bold: 900;

    --clr-light: #ebebd3;
    --clr-dark: #3c91e6;
    --clr-accent: #083d77;

    --fs-h1: 3rem;
    --fs-h2: 2.25rem;
    --fs-h3: 1.25rem;
    --fs-body: 1rem;

    --bs: 0.25em 0.25em 0.75em rgba(0,0,0,.25),
    0.125em 0.125em 0.25em rgba(0,0,0,.15);
}

@media (min-width: 800px) {
    :root {
        --fs-h1: 4.5rem;
        --fs-h2: 3.75rem;
        --fs-h3: 1.5rem;
        --fs-body: 1.125rem;
    }
}


/* GENERAL STYLES */

body {
    background: var(--clr-light);
    color: #000;
    margin: 0;
    font-family: var(--ff-primary);
    font-size: var(--fs-body);
    line-height: 1.5;
}

section {
    padding: 5em 2em;
}

img {
    display: block;
    max-width: 100%;
}

strong { font-weight: var(--fw-bold); }

.btn {
    display: inline-block;
    padding: .5em 2.5em;
    background: var(--clr-dark);
    color: var(--clr-light);
    text-decoration: none;
    cursor: pointer;
    font-size: .8rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    font-weight: var(--fw-bold);
    transition: transform .5s ease-in-out;
    border-radius: 5px;
}

:focus {
    outline: 3px solid var(--clr-accent);
    outline-offset: 3px;
}

.btn:hover {
    transform: scale(1.1);
}


/* TYPOGRAPHY */

h1,
h2,
h3 {
    line-height: 1;
    margin: 0;
}

h1 { font-size: var(--fs-h1); }
h2 { font-size: var(--fs-h2); }
h3 { font-size: var(--fs-h3); }

.sectionTitle {
    margin-bottom: .25em;
}

.sectionTitleWelcome {
    font-weight: var(--fw-reg);
}

.sectionTitleWelcome strong { display: block; }

.sectionSubTitle {
    margin: 0;
    font-size: var(--fs-h3);
}

.sectionSubTitleWelcome,
.sectionSubTitleAbout,
.sectionSubTitleContact {
    background: var(--clr-dark);
    padding:.25em 1em;
    font-family: var(--ff-secondary);
    margin-bottom: 1em;
    color: #000;
/*    color: var(--clr-accent);*/
    font-weight: 300;
}


/* NAVIGATION */
 nav { display: none; }

 .logo img {
    width: 80px;
    margin: 10px;
}

/* INTRO SECTION  */

.introImage {
    box-shadow: var(--bs);
}

@media (min-width: 600px) {
    .intro {
        display: grid;
        width: min-content;
        margin: 0 auto;
        grid-column-gap: 1em;
        grid-template-areas:
            "img title"
            "img subtitle";
        grid-template-columns: min-content max-content;
    }

    .introImage {
        grid-area: img;
        min-width: 250px;
        position: relative;
        z-index: 2;
    }

    .sectionSubTitleWelcome {
        align-self: start;
        grid-column: -1/1;
        grid-row: 2;
        text-align: right;
        position: relative;
        width: calc(100% + 1.5em);
    }
}

/* SERVICES SECTION */

.ourServices {
    background-color: var(--clr-dark);
    background-image: url(./img/servicesBackgroundBlack.jpg);
    background-size: cover;
    background-blend-mode: multiply;
    color: var(--clr-light);
    text-align: center;
}

.ourServices .sectionTitle, .ourWork .sectionTitle {
    color: var(--clr-dark);
    position: relative;
}

.ourServices .sectionTitle::after, .ourWork .sectionTitle::after {
    content: "";
    display: block;
    width: 50%;
    height: 2px;
    margin: 0.5em auto 1em;
    background: var(--clr-accent);
    opacity: 0.5;
}

.service {
    max-width: 500px;
    margin: 0 auto;
}

.serviceList {
    margin-bottom: 3em;
}

.service h3 {
    margin: 1.5em;
}

.service li {
    list-style: none;
    margin: 1em;
}

.offer {
    color: var(--clr-dark);
    font-weight: 900;
}

@media (min-width: 800px) {
    .services {
        display: flex;
        max-width: 1000px;
        margin: 0 auto;
    }

    .service + .service {
        margin-left: 2em;
    }
}

/* ABOUT SECTION */

.about {
    max-width: 1000px;
    margin: 0 auto;
}

.about h2 {
    text-align: center;
}

.sectionSubtTitleAbout {
    text-align: center;
}
/* @media (min-width: 600px) {
    .about {
        display: grid;
        grid-template-columns: 1fr 200px;
        grid-template-areas:
            "title img"
            "subtitle img"
            "text img";
        grid-column-gap: 1em;
    }

    .sectionTitleAbout {
        grid-area: title;
    }

}
*/

/* OUR WORK */

.ourWork {
    background-color: var(--clr-dark);
    background-image: url(./img/ourWorkBackgroundBlack.jpg);
    background-size: cover;
    background-blend-mode: multiply;
    color: var(--clr-light);
    text-align: center;
}

.ourWork .sectionSubTitle {
    font-size: var(--fs-h3);
    font-weight: 600;
    margin-bottom: 1em;
}


.portfolio {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1em;
    max-width: 1000px;
    margin: 0 auto;
}

.portfolioItem {
    background: var(--clr-accent);
}

.portfolioImage {
    transition:
    transform .75s cubic-bezier(.5, 0, .5, 1),;
    opacity: .25s linear;
}

/* */
.hidden { color: var(--clr-light); }

.quote {
    text-align: center;
    font-size: var(--fs-h3);
    font-weight: var(--fw-bold);
}

/* CONTACT SECTION */

.contact {
    max-width: 1000px;
    margin: 0 auto;
}

.contact h2 {
    text-align: center;
}

.sectionSubTitleContact {
    text-align: center;
}

.contactDetails li, .socialItems li {
    list-style: none;
}

.bx {
    margin: 0.5em;
    font-size: var(--fs-h3);
}

.contactDetails li {
    font-size: var(--fs-h3);
}

.contactInfo {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1em;

}


.map {
    margin: 0 auto;
}

/* FOOTER SECTION */

footer {
  border: 2px solid var(--clr-accent);
  background: var(--clr-dark);
}

.texture {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    background: url(./img/servicesBackgroundBlack2.jpg);
    background-size: cover;
    background-position: center;

}

footer h4 {
  font-size: 1.25rem;
  font-weight: 600;
  line-height: 1;
  color: var(--clr-accent);
  margin: 8px;
}

footer img {
  width: 85px;
  margin-bottom: 5px;
}
