:root {
    --background-color: rgb(248, 242, 235);
    --text-color: #273946;
    --primary-color: #E5A163;

    --title-color: #344B5D;

    --max-width: 1000px;

    --button-color: #323232;
    --button-bg-color: #fff;
}


/* RESET */

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;
}

table {
    border-collapse: collapse;
    border-spacing: 0;
}

/* HTML, BODY */

html {
    font-family: "Montserrat", sans-serif;
    font-optical-sizing: auto;
    font-style: normal;
    font-weight: 400;
    margin: 0;
    padding: 0;
    font-size: 16;

    color: var(--text-color);
    background-color: var(--background-color);
}

body {
    line-height: 1.6;
    margin: 0;
    padding: 0;
    color: var(--text-color);
    background-color: var(--background-color);
}

/* GENERAL */

.content {
    width: 85%;
    max-width: var(--max-width);
    padding: 60px 0;
    margin: 0 auto;
}

.text {
    font-size: 1.25rem;
    max-width: 700px;
    margin: 10px auto 0;
    line-height: 1.6;
    text-align: center;
}

.text--italic {
    font-style: italic;
}

.link {
    color: var(--text-color);
    text-decoration: underline;
    text-align: center;
    margin: 0 auto;
    display: block;
    width: fit-content;
}

.subtitle {
    font-family: 'Great Vibes', cursive;
    font-size: 2rem;
    color: var(--title-color);
    text-align: center;
}

.photos {
    display: grid;
    gap: 20px;
    max-width: var(--max-width);
    justify-items: center;
    align-items: center;
    grid-template-columns: repeat(2, 1fr);
    margin-top: 100px;
}

.photos--big-margin-top {
    margin-top: 100px;
}

.photos img,
.solo-photo:not(.solo-photo--not-round) {
    border-radius: 50px;
}

.photos img,
.solo-photo {
    width: 100%;
    display: block;
}

.solo-photo {
    margin: 100px auto 0;
}

@media (min-width: 768px) {
    .solo-photo {
        width: 50%;
    }
}

.solo-photo--not-round {
    margin-top: 20px;
}

/* HEADER */

.header {
    margin-top: 100px;
}

.header__title {
    font-family: 'Great Vibes', cursive;
    color: var(--title-color);
    text-align: center;
    line-height: 1;
    font-size: min(12vw, 8rem);
}

.header__separator {
    width: 80%;
    max-width: 200px;
    margin: 0 auto;
    margin-top: 20px;
    margin-bottom: 20px;
    display: block;
}

@media (min-width: 768px) {
    .header__separator {
        margin-top: 50px;
        margin-bottom: 50px;
    }
}

.header__date {
    font-family: 'Great Vibes', cursive;
    color: var(--title-color);
    text-align: center;
    line-height: 1;
    font-size: min(8vw, 5rem);
    font-style: italic;
    letter-spacing: 10px;
}

.header__dragonfly {
    width: 80%;
    margin: 0 auto;
    margin-top: 50px;
    display: block;
}

@media (min-width: 768px) {
    .header__dragonfly {
        margin-top: 150px;
    }
}

/* INTRO */

.intro {
    color: var(--text-color);
    font-style: italic;
    text-align: center;
    margin-top: 100px;
}

/* SECTIONS */

.section {
    margin-top: 100px;
}

/* FORM BUTTON */

.button {
    margin: 50px auto 0 auto;
    padding: 12px 24px;
    border-radius: 5px;
    border: 2px solid var(--button-color);
    background-color: var(--button-bg-color);
    box-shadow: 4px 4px var(--button-color);
    font-size: 17px;
    font-weight: 600;
    color: var(--text-color);
    cursor: pointer;
    white-space: nowrap;
    display: block;
    text-decoration: none;
    width: fit-content;
    text-transform: uppercase;
}

.button:hover {
    box-shadow: 3px 3px var(--button-color);
    transform: translate(1px, 1px);
}

.button:active {
    box-shadow: 0px 0px var(--button-color);
    transform: translate(3px, 3px);
}

/* OTHER */

.separator {
    width: 80%;
    max-width: 200px;
    margin: 0 auto;
    margin-top: 100px;
    margin-bottom: 100px;
    display: block;
}

.separator--wide {
    max-width: 500px;
}