:root {
    --text-color: #333;
    --dark-color: #5F5533;
    --light-color: #D9DBB9;
    --bg-color: #D9DBB9;
    --link-color: #1F1F7D;
    --link-color-hover: #3B3BDB;
}


/* merriweather-regular - latin */
@font-face {
  font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
  font-family: 'Merriweather';
  font-style: normal;
  font-weight: 400;
  src: url('../fonts/merriweather-v30-latin-regular.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}
/* merriweather-700 - latin */
@font-face {
  font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
  font-family: 'Merriweather';
  font-style: normal;
  font-weight: 700;
  src: url('../fonts/merriweather-v30-latin-700.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}
/* merriweather-900 - latin */
@font-face {
  font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
  font-family: 'Merriweather';
  font-style: normal;
  font-weight: 900;
  src: url('../fonts/merriweather-v30-latin-900.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}


/* radley-regular - latin */
@font-face {
  font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
  font-family: 'Radley';
  font-style: normal;
  font-weight: 400;
  src: url('../fonts/radley-v22-latin-regular.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}
/* radley-italic - latin */
@font-face {
  font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
  font-family: 'Radley';
  font-style: italic;
  font-weight: 400;
  src: url('../fonts/radley-v22-latin-italic.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}


body {
    background-color: var(--bg-color);
    margin: 0;
    font-family: 'Radley', Arial, sans-serif;
    color: var(--text-color);
    font-size: 15px;
}

#background-image {
    background-image: url('../img/footpr.png');
    background-position: top left;
    transition: background-color 0.5s ease;
    display: block;
    width: 100%;
    height: 100%;
    top:0;
    left:0;
    position: fixed;
    opacity: 0.002;
    z-index: -1;
}

body a {
    color: var(--link-color);
    text-decoration: underline;
}
body a:hover {
    color: var(--link-color-hover);
}
footer a, footer a:hover {
    color: #fff;
}

.br1 {
    background-color: #cab39b;
}

.br2 {
    background-color: #B29B82;
}


h1,h2,h3,h4,h5,h6 {
    font-family: 'Merriweather', Arial, sans-serif;
    font-weight: 900;
    line-height: auto; 
    letter-spacing: auto; 
}

header {
    text-align: center;
}

.header-max {
    max-width: 100%;
    font-size: clamp(14px, 2vw, 1.5rem);
}

.parallax {
    position: fixed;
    width: 400px;
    height: 400px;
    border-radius: 50%;
    background-size: cover;
    background-position: center;
    z-index: 1;
}

.parallax:nth-child(4), .parallax:nth-child(1) {
    left: 20px;
    top: 100px;
}

.parallax:nth-child(2) {
    right: 20px;
    top: 30vh;
}

.parallax:nth-child(3) {
    left: 2%;
    top: 1220px;
    transform: translateX(-50%);
}

.content {
    max-width: 960px;
    margin: 0 auto;
    padding: 15px;
    background:transparent;
    min-height: 290vh;
    z-index: 5;
    position: relative;
}

.text-box {
    width: 70%;
    padding: 10px;
    box-sizing: border-box;
    margin-top: 120px;
    margin-bottom: 120px;
}
.text-box.wide {
    width: 90%;
}
main img {
    max-width: 100%;
    height: auto;
}

.text-box.left {
    float: left;
}

.text-box.right {
    float: right;
}

.text-box.center {
    margin-left: auto;
    margin-right: auto;
}

footer {
    color: #eee;
    padding: 20px;
    clear: both;
    min-height: 180px;
    display: block;
    position: relative;
    right: 0;
    left: 0;
    z-index: 10;
}

.row {
    display: block;
    width: 100%;
    clear: both;
    padding-top: 60px;
    padding-bottom: 60px;
}

.column {
    width: 33.33%;
    float: left;
    padding: 10px;
    box-sizing: border-box;
}

.quote-container {
    position: relative;
    padding-top: 24px;
    padding-bottom: 24px;
    padding-left: 24px;
    padding-right: 24px;
}
.quote::before,
.quote::after {
    content: "";
    position: absolute;
    width: 50px;
    height: 50px;
    background-repeat: no-repeat;
    background-size: contain;
}

.quote::before {
    top: -4px;
    left: -30px;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='40' height='30' version='1.0'%3E%3Cpath d='M24.295 26.864c-5.094-5.719-1.585-15.673 2.657-19.522 3.615-3.28 9.605-5.96 10.17-5.024.897 1.49-2.636 2.547-5.293 4.938-3.316 3.586-4.43 5.198.16 7.221 4.918 2.22 5.012 4.391 5.17 7.153.398 6.954-7.89 10.207-12.864 5.234zM5.123 26.765C.028 21.046 3.538 11.09 7.78 7.243c3.614-3.28 9.604-5.96 10.17-5.024.897 1.49-2.636 2.547-5.293 4.938-3.316 3.586-4.43 5.198.159 7.221 4.918 2.22 5.013 4.391 5.17 7.153.399 6.954-7.89 10.207-12.863 5.234z' style='opacity:1;fill:%234d4d4d;fill-opacity:1'/%3E%3C/svg%3E");
}

.quote::after {
    bottom: 0px;
    right: 0px;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='40' height='30' version='1.0'%3E%3Cpath d='M24.295 26.864c-5.094-5.719-1.585-15.673 2.657-19.522 3.615-3.28 9.605-5.96 10.17-5.024.897 1.49-2.636 2.547-5.293 4.938-3.316 3.586-4.43 5.198.16 7.221 4.918 2.22 5.012 4.391 5.17 7.153.398 6.954-7.89 10.207-12.864 5.234zM5.123 26.765C.028 21.046 3.538 11.09 7.78 7.243c3.614-3.28 9.604-5.96 10.17-5.024.897 1.49-2.636 2.547-5.293 4.938-3.316 3.586-4.43 5.198.159 7.221 4.918 2.22 5.013 4.391 5.17 7.153.399 6.954-7.89 10.207-12.863 5.234z' style='opacity:1;fill:%234d4d4d;fill-opacity:1'/%3E%3C/svg%3E");
    transform: rotate(180deg);
}



@media (max-width: 1023px) {
    .parallax {
        opacity: 0.4;
    }
}
@media (min-width: 801px) {
    .content {
        max-width: 540px;
    }

}
@media (min-width: 1281px) {
    main {
        font-size: 18px;
        line-height: 26px;
        letter-spacing: 0.68px;
    }
}

@media (max-width: 1360px) {
    .parallax {
        scale: 0.8;
    }
}

@media (max-width: 1160px) {
    .parallax {
        scale: 0.7;
    }
}

@media (max-width: 1024px) {
    .text-box {
        width: 100%;
    }
    .content {
        max-width: 360px;
    }
    .parallax {
        scale: 0.6;
    }
}

@media (max-width: 640px) {
    .column {
        width: 100%;
        display: block;
        clear: both;
        float: initial;
    }
    .header-max {
        max-width: 100%;
        overflow: unset;
        white-space: unset;
    }
    .parallax:nth-child(2) {
    top: 460px;
    }
    main {
        font-size: 22px;
    }
    .parallax:nth-child(4), .parallax:nth-child(1) {
        top: 40px;
    }

    .content {
        padding-top: 120px;
    }

    .parallax:nth-child(2) {
        display: none;
    }

    .parallax:nth-child(3) {
        top: 800px;
    }
    footer {
        font-size: 16px;
        padding-bottom: 120px;
        line-height: 26px;
    }
}
