body {
    margin: 0;
    font-size: 18px;
    line-height: 1.7;
    color: #2C3C4A;
    font-family: "Josefin Slab", serif;

    background-image: url(images/head.jpg), url(images/bg1.jpg), url(images/bg.jpg);
    background-repeat: no-repeat, repeat-y, repeat;
    background-position: top left;
}

.content {
    max-width: 640px;
margin: 390px auto 60px 210px;
    padding: 0 20px;
    opacity: 0.95;
}

h1 {
    font-family: "Arizonia", cursive;
    font-size: 26px;
    line-height: 1.1;
    color: #5A999A;

    margin-top: 10px;
    margin-bottom: 30px;

    letter-spacing: 1px;
    text-shadow: 1px 1px 0 rgba(255,255,255,0.6);
    position: relative;
}

h1::after {
    content: "";
    display: block;
    width: 120px;
    height: 2px;
    background: linear-gradient(to right, #5A999A, transparent);
    margin-top: 12px;
}

h2, h3 {
    color: #48606C;
    margin-top: 40px;
    margin-bottom: 15px;
}

#nav {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;

    max-width: 700px;
    margin: 20px auto;

    padding: 12px;
}

#nav a {
    font-family: "Josefin Slab", serif;
    font-weight: 700;
    text-transform: uppercase;
    font-size: 13px;
    letter-spacing: 1.5px;

    color: #5A999A;
    text-decoration: none;

    padding: 10px 16px;
    margin: 4px;

    border-radius: 30px;
    transition: all 0.3s ease;
}

#nav a:hover {
    color: #9C454F;
    background: rgba(0,0,0,0.05);
}

a {
    position: relative;
    text-decoration: none;
    font-size: 18px;
    letter-spacing: 0.5px;
    font-family: "Josefin Slab", serif;

    background: linear-gradient(90deg,#644945,#5A999A);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;

    transition: all 0.35s ease;
}

a::after {
    content: "";
    position: absolute;

    left: 0;
    bottom: -4px;

    width: 100%;
    height: 3px;

    background: linear-gradient(
        to right,
        transparent 0%,
        #5A999A 25%,
        #9C454F 50%,
        #5A999A 75%,
        transparent 100%
    );

    border-radius: 3px;
    transform: scaleX(0.85);
    transition: transform 0.3s ease;
}

a:hover::after {
    transform: scaleX(1);
}

a:hover {
    letter-spacing: 1px;
}

b {
    font-weight: 700;

    background: linear-gradient(90deg,#48606C,#5A999A);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

i {
    font-style: italic;

    background: linear-gradient(90deg,#896232,#C08A4A);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

blockquote {
    position: relative;

    background: #E7EFF1;
    padding: 35px 35px 30px 60px;
    margin: 40px 0;

    border-radius: 20px;
    border-left: 6px solid #5A999A;

    font-style: italic;
    font-size: 19px;
    line-height: 1.8;

    color: #3f4a54;
}

blockquote::before {
    content: "“";
    position: absolute;

    left: 18px;
    top: -10px;

    font-size: 70px;
    font-family: "Arizonia", cursive;

    color: #5A999A;
    opacity: 0.6;
}

input,
textarea,
select {
    width: 100%;
    font-family: "Josefin Slab", serif;
    font-size: 16px;

    padding: 12px 14px;
    margin-top: 8px;
    margin-bottom: 18px;

    border-radius: 12px;
    border: 1px solid #c7d3d8;

    background: #ffffff;

    transition: all 0.25s ease;
}

textarea {
    min-height: 140px;
    resize: vertical;
}

input:focus,
textarea:focus,
select:focus {
    outline: none;
    border-color: #5A999A;
    box-shadow: 0 0 6px rgba(90,153,154,0.2);
}

button,
input {
    background: #5A999A;
    color: white;

    border: none;
    border-radius: 20px;

    padding: 12px 24px;
    font-size: 14px;
    letter-spacing: 1px;
    text-transform: uppercase;

    cursor: pointer;
    transition: all 0.3s ease;
}

button:hover,
input:hover {
    background: #48606C;
}

@media (max-width: 768px) {

body {
    font-size: 16px;
}

.content {
    margin: 160px 15px 40px 15px;
}

h1 {
    font-size: 40px;
}

blockquote {
    padding: 25px 20px 20px 45px;
    font-size: 17px;
}

blockquote::before {
    font-size: 50px;
}

}