* {
    font-family: "Barlow", sans-serif;
    font-family: "Fraunces", serif;
}

/* reset css */
html,
body,
div,
span,
applet,
object,
iframe,
h1,
h2,
h3,
h4,
h5,
h6,
p,
blockquote,
pre,
a,
abbr,
acronym,
address,
big,
cite,
code,
del,
dfn,
em,
img,
ins,
kbd,
q,
s,
samp,
small,
strike,
strong,
sub,
sup,
tt,
var,
b,
u,
i,
center,
dl,
dt,
dd,
ol,
ul,
li,
fieldset,
form,
label,
legend,
table,
caption,
tbody,
tfoot,
thead,
tr,
th,
td,
article,
aside,
canvas,
details,
embed,
figure,
figcaption,
footer,
header,
hgroup,
menu,
nav,
output,
ruby,
section,
summary,
time,
mark,
audio,
video {
    margin: 0;
    padding: 0;
    border: 0;
    font-size: 100%;
    font: inherit;
    vertical-align: baseline;
}
/* HTML5 display-role reset for older browsers */
article,
aside,
details,
figcaption,
figure,
footer,
header,
hgroup,
menu,
nav,
section {
    display: block;
}
body {
    line-height: 1;
}
ol,
ul {
    list-style: none;
}
blockquote,
q {
    quotes: none;
}
blockquote:before,
blockquote:after,
q:before,
q:after {
    content: "";
    content: none;
}

/*- Soft red: hsl(7, 99%, 70%)
- Yellow: hsl(51, 100%, 49%)
- Dark desaturated cyan (graphic design text): hsl(167, 40%, 24%)
- Dark blue (photography text): hsl(198, 62%, 26%)
- Dark moderate cyan (footer): hsl(168, 34%, 41%)

### Neutral

- Very dark desaturated blue: hsl(212, 27%, 19%)
- Very dark grayish blue: hsl(213, 9%, 39%)
- Dark grayish blue: hsl(232, 10%, 55%)
- Grayish blue: hsl(210, 4%, 67%)
- White: hsl(0, 0%, 100%)*/

* {
    font-size: 1.2rem;
    --yellow: hsl(51, 100%, 49%);
    --dark-desaturated-cyan: hsl(167, 40%, 24%);
    --dark-blue: hsl(198, 62%, 26%);
    --very-dark-desaturated-blue: hsl(212, 27%, 19%);
    --very-dark-grayish-blue: hsl(213, 9%, 39%);
    --grayish-blue: hsl(232, 10%, 55%);
    --dark-grayish-blue: hsl(210, 4%, 67%);
    --white: hsl(0, 0%, 100%);
}

body {
    padding: 0;
    font-size: 1.2rem;
    box-sizing: border-box;
}

header {
    top: 2rem;
    background: url("./images/mobile/image-header.jpg") no-repeat center center/cover;
}

.up {
    margin: 1.5rem;
    margin-top: 0;
    padding-top: 2em;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

header h1 {
    font-family: "Fraunces", serif;

    font-size: 3.5em;
    margin-top: 2em;
    color: var(--white);
    font-weight: 700;
    text-align: center;
}

header section img {
    width: fit-content;
    margin: auto;
    margin-top: 4em;
    margin-bottom: 10em;
    width: 2.5em;
}
header section {
    text-align: center;
}

.tow {
    width: 100%;
}

.tow img {
    width: 100%;
    height: auto;
}

.tow div {
    padding: 2em;
    text-align: center;
    margin-top: 1em;
}

.tow div h2 {
    font-family: "Fraunces", serif;

    font-size: 2em;
    margin-bottom: 0.5em;
    font-weight: 700;
    color: var(--very-dark-desaturated-blue);
}

.tow div p {
    color: var(--grayish-blue);
    font-family: "Barlow", sans-serif;

    font-size: 1em;
    padding: 0.2em;
    font-weight: 500;
    line-height: 1.4em;
}

.tow h3 {
    font-family: "Fraunces", serif;
    margin: auto;

    font-size: 1.1em;
    text-transform: uppercase;
    font-weight: 700;
    color: var(--very-dark-desaturated-blue);
    margin-top: 1.3em;
    width: fit-content;
    background: rgba(0, 0, 0, 0);
    margin-bottom: 2em;
    z-index: 10;
    font-weight: 800;
    position: relative;
}

.tow h3::after {
    content: "";
    width: 105%;

    position: absolute;
    left: -2.5%;
    height: 0.3em;
    bottom: -0.05em;
    opacity: 0.4;
    z-index: -1;
    border-radius: 0.1em;
    background: var(--yellow);
}

.one h1 {
    font-size: 1.4em;
    font-weight: 900;
    margin-bottom: 1em;
    font-family: "Fraunces", serif;
}
.one p {
    font-size: 1em;
    line-height: 1.6em;
}
.one {
    font-family: "Barlow", sans-serif;
    font-weight: 900;

    background: url("./images/desktop/image-graphic-design.jpg") no-repeat top center;
    padding: 2em;
    padding-bottom: 3.5em;
    padding-top: 20em;
    text-align: center;
}

.blue {
    background: url("./images/desktop/image-photography.jpg") no-repeat top center;
    color: var(--dark-blue);
}

.green {
    color: var(--dark-desaturated-cyan);
}

.testimony {
    font-family: "Fraunces", serif;
}

.testimony h4 {
    color: var(--grayish-blue);
    text-align: center;
    opacity: 0.6;

    letter-spacing: 0.03em;
    text-transform: uppercase;
    font-size: 1.1em;
    padding-top: 5em;
}

.testimony section {
    text-align: center;
    padding: 2em;
    margin-top: 1em;
}

.testimony img {
    border-radius: 50%;
    height: 4em;
    width: 4em;
    margin: auto;
}

.testimony p {
    font-family: "Barlow", sans-serif;
    line-height: 1.5em;
    margin-top: 1.5em;
    color: var(--very-dark-grayish-blue);
}

.testimony h5 {
    margin-top: 1.7em;
    color: var(--very-dark-desaturated-blue);
}

.testimony h6 {
    font-family: "Barlow", sans-serif;
    opacity: 0.6;
    margin-top: 1em;
    font-size: 0.8em;
    color: var(--grayish-blue);
}
.images {
    margin-top: 3.5em;
}
.images div {
    display: flex;
    width: 100%;
}

.images div img {
    width: 50%;
    height: auto;
    object-fit: cover;
}

footer {
    text-align: center;
    padding: 2em;
    background-color: hsla(167, 67%, 45%, 0.6);
}

footer img {
    fill: var(--dark-desaturated-cyan);
}

.socials {
    display: flex;
    justify-content: center;
    align-items: center;
}

.socials img {
    padding: 1em;
    width: 1.2em;
    padding-bottom: 2em;
    padding-top: 5em;
}

.links {
    color: hsla(167, 45%, 26%, 0.6);
    font-family: "Barlow", sans-serif;
    display: flex;
    justify-content: space-between;
    padding: 1em;
}
.logo {
    transform: scale(1.3);
    margin-top: 3em;
    margin-bottom: 1em;
}
.logo path {
    fill: var(--dark-desaturated-cyan);
    margin: auto;
}

.attribution {
    background-color: hsla(167, 67%, 45%, 0.6);
    padding-bottom: 2em;
}

body .nav-link {
    display: none;
}

.open .nav-link {
    display: block;
    position: absolute;
}
.open .nav-link {
    padding: 2em;
    background: var(--white);
    width: 100%;
    right: 0;
    top: 6em;
    text-align: center;
    box-sizing: border-box;
    padding-bottom: 1.5em;
}
.open .hamburger {
    opacity: 0.6;
    position: relative;
}

.up {
    position: relative;
}

.nav-link::before {
    content: "";
    top: -1.5em;
    right: 0;
    position: absolute;
    height: 0;
    width: 0;
    border-bottom: 150px solid white;
    border-left: 150px solid transparent;
    padding-bottom: 0em;
}

.nav-link li {
    padding-bottom: 1.2em;
    color: var(--very-dark-grayish-blue);
    font-family: "Barlow", sans-serif;
    opacity: 0.8;
}

.nav-link li:last-child {
    opacity: 1;
    color: var(--very-dark-desaturated-blue);
    padding: 1em 2em;
    font-family: "Fraunces", serif;
    text-transform: uppercase;
    width: fit-content;
    margin: auto;
    border-radius: 2em;
    background: var(--yellow);
}

@media screen and (min-width: 44rem) {
    .nav-link {
        display: flex !important;
        align-items: center!important;
        position: relative!important;
        width: unset!important;
        background: unset!important;
        top: 0!important;
    }
    .nav-link::before {
        display: none;
    }
    .nav-link li {
        margin-right: 1.2em;
        align-items: center;
        padding: 0;
        color: var(--white);
        opacity: 1;
    }
    .nav-link li:last-child {
        background-color: var(--white);
    }
    .hamburger {
        display: none;
    }
    header {
        background: url("./images/desktop/image-header.jpg") no-repeat center center/cover;

    }
    body {
        font-size: 1.3rem;
    }

    header section img {
        margin-bottom: 14em;
    }

    section.tow img {
        width: 100%;
        object-fit: cover;
        max-height: 20em;
    }

    .transform img {
        content: url('./images/desktop/image-transform.jpg');
    }

    .stand img {
        content: url('./images/desktop/image-stand-out.jpg');
    }
    .images {
        display: flex;
    }
    .blue {
        background: url(./images/desktop/image-photography.jpg) no-repeat top center;
    }
    .green {
        background: url(./images/desktop/image-graphic-design.jpg) no-repeat top center;
    }
    .wrapper-one {
        display: flex;
    }
    .one p {
        max-width: 50ch;
        margin: auto;
    }
    .one  {
        width: 50%;
        background-size: cover;
    }
    .one h1 {
        margin-top: 1em;

    }
    .nav-link li:last-child:hover {
        background: rgba(255, 255, 255, 0.4)!important;
        cursor: pointer;
        color: var(--very-dark-desaturated-blue)!important;
    }
}
.nav-link {
    display: none
}

@media screen and (min-width: 50rem) {
    section.tow {
        display: flex;
    }
    .tow div {
        text-align: left!important;
        width: fit-content;
        margin: auto;
        max-width: 50ch;
        padding-top: 3em;
    }
    section.tow img {
        width: 50%;
        max-height: unset!important;
    }
    .tow h3 {
        margin-left: 0;
    }
    .transform {
        flex-direction: row-reverse;
    }
    .up {
        padding-left: 3em;
        padding-right: 3em;
    }
}

.testimony section {
    max-width: 30ch;
}

.testimony div {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
}

.links {
    max-width: 30em;
    margin: auto;
}



.nav-link li {
    opacity: 0.7;
}
.nav-link li:last-child {
    opacity: 1;
}
.nav-link li:hover {
    opacity: 1;
    cursor: pointer;

}

.tow h3:hover::after {
    opacity: 1;
    cursor: pointer;

}
.tow h3:hover {
    cursor: pointer;
}
.links *:hover {
    cursor: pointer;
    color: var(--white);
}

.socials *:hover {
    filter: brightness(100);}


    .nav-link li,.socials *, .links *  {
        transition: all 0.5s ease-in-out;
    }

.nav-link li:last-child:hover {
        color: var(--yellow);
        background: var(--very-dark-desaturated-blue);
    }
