@font-face {
  font-family: Baskerville;
  src: url(LibreBaskerville-Regular.ttf);
  font-weight: normal;
}
@font-face {
  font-family: Baskerville;
  src: url(LibreBaskerville-Bold.ttf);
  font-weight: bold;
}

html {
  overscroll-behavior-y: none;
  overscroll-behavior-x: none;
    --title-text-size: 3rem;
    --navbar-text-size: 1.5rem;
    --heading-text-size: 2.25rem;
    --body-text-size: 1.3rem;
    --bold-body-size: 1.4rem;
    --sub-text-size: 1.0rem;
    --footer-size: max(2cm, 4rem);
    --header-size: max(2cm, 3rem);
    font-family: Baskerville;
    text-rendering: optimizeLegibility;

    --main-text-color:  #972727;
    --light-text-color:  #a72727;
    --link-color:  #c72727;
    --nav-bg: #97272755;
    --background-color: #e6fafa;
    --body-bg: #e6fafadd;
    background-color: var(--main-text-color);
}

@media (min-width: 950px) {
  .menu {
      display: none;
  }
}


@media (max-width: 950px) {
  .navbar {
      display: none;
  }

  .menu {
      display: flex;
  }
}

.title > h1 {
    font-size: 5rem;
    background-color: #e6fafa99;
    padding: 0 2.5rem;
    box-shadow: 0 0 20px var(--main-text-color);
}

.payment-button {
    display: flex;
    justify-content: center;
}

.title {
    padding-top: 10rem;
    padding-bottom: 10rem;

    display: flex;
    justify-content: center;

    text-shadow: 0 0 20px var(--main-text-color);
    color: var(--background-color);
}

.subtitle {
    font-size: var(--sub-text-size);
    font-weight: bold;
    text-align:center;
    color: var(--light-text-color);
}

footer {
    background: var(--main-text-color);
    position: absolute;

    height: 25rem;
    left: 0;
    width: 100%;
}

footer > div > a {
    color: var(--background-color);
}

.portrait  {
    float: left;
    padding-right: 3rem;
    padding-bottom: 2rem;
}

.portrait  > img {
    /* float: left; */
    max-height: 23rem;
    height: auto;
    max-width: 100%;
}

.portrait1  {
    float: right;
    padding-left: 3rem;
    padding-bottom: 2rem;
}

.portrait1  > img {
    max-height: 40rem;
    max-width: 100%;
    float: right;
}

:target::before {
  content: "";
  display: block;
  height: 5rem; /* fixed header height*/
  margin: -5rem 0 0; /* negative fixed header height */
}


nav {
    background: var(--background-color);
    height: var(--header-size);
    /* font-weight: bold; */
    /* font-size: ver(--navbar-text-size); */

    display: flex;
    flex-wrap: wrap;
    align-items: center;

    /* width: 100%; */
    right: 2rem;

    border-radius: 5px;
}

nav > * {
    background: var(--main-text-color);
    margin: 0.5rem;
    padding: 0.5rem 1rem;
    border-radius: 5px;

    display: flex;
    flex-wrap: wrap;
    align-items: center;
    align-self: center;
    align-content: center;
    justify-items: center;
    justify-self: center;
    justify-content: center;
}

.menu {
    /* height: var(--header-size); */
    /* left: -7rem; */
    /* width: 100%; */

    font-size: ver(--navbar-text-size);

    background: var(--background-color);
    /* display: none; */
    flex-direction: row;
    justify-content: center;

    margin: 0.5rem;
    padding: 0.5rem 1rem;
    border-radius: 5px;
    border: 0px solid var(--light-text-color);
}

.menu > button {
    /* margin-bottom: 0.62rem; */
    /* margin-top: 0.62rem; */
    /* margin-top: 0.62rem; */
    text-align: center;
    width: 7rem;
    /* margin-left: calc(50% - 3.5rem); */
    border: 0px solid var(--light-text-color);

    height: 3.5rem;
    font-size: var(--navbar-text-size);

    background: var(--main-text-color);
    color: var(--background-color);
    font-family: Baskerville;

    /* margin: 0.5rem; */
    /* padding: 0.5rem 1rem; */
    border-radius: 5px;
}

.menu-list > * {
    color: var(--main-text-color);
}

.menu-list {
    margin-top: calc(var(--header-size) - 1rem);
    display: none;
    position: absolute;
    padding: 0 2rem;
    background: var(--background-color);

    overflow: auto;
    border: 3px solid var(--light-text-color);
    font-weight: bold;
    font-size: var(--navbar-text-size);
    text-align: center;

    flex-direction: column;
    align-items: center;
    justify-content: flex-end;
    gap: 2rem;
}

.menu:hover .menu-list {
  display: flex;
}

.menu:active .menu-list {
  display: flex;
}

body {
    line-height: 1.75;
    color: var(--main-text-color);
    margin: min(5rem, 10%);
    /* overflow: wrap; */
}

.bottom-text {
    margin-top: 2rem;
    padding: 3rem;
}

.bottom-text > :not(h2) {
    /* padding-left: 3rem; */
    /* padding-right: 3rem; */
}

a {
    color: var(--background-color);
    text-decoration: none;
    font-weight:normal;
}

hr {
    margin: 0;
    background: var(--light-text-color);
    border: none;
    border-bottom: 0px solid var(--light-text-color);
    height: 4px;
}

header {
    padding-top: 0.5rem;
    padding-bottom: 3rem;
    display: flex;
    align-self: center;
    justify-self: center;
    align-items: center;
    justify-items: center;
    align-content: center;
    justify-content: center;
    /* width: 100%; */

    top: 0;
}

.sticky {
    position: -webkit-sticky;
    position: sticky;

    top: 0;
}

h2 {
    font-weight: bold;
    font-size: var(--heading-text-size);
    margin-top: 5rem;
    margin-bottom: 2rem;
}

h1 {
    font-style: bold;
    font-size: var(--title-text-size);
    text-align: center;
    text-decoration-line: underline;
    text-decoration-thickness: 4px;

    text-underline-offset: 10px;
}

strong,b {
    font-weight: bold
}

main {
    font-size: var(--body-text-size);

    background-color: var(--body-bg);

    margin: 0 0;
    padding-bottom: 3rem;
    min-height: 50%;
}

.address span:first-child:after{
    content:"\0040";
}

.address span:last-child:after{
    content:"\002E com";
}

.contact-buttons {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    height: 100%;
}

.contact-buttons > a > div {
    display: flex;
    flex-direction: row;

    margin-top: 10px;

    align-self: center;
    justify-self: center;
}

.contact-buttons > a > div > picture > img {
    height: 40px;
}

.contact-buttons > a {
    display: flex;
    gap: 2rem;
    width: 30rem;
    padding-left: 1.5rem;
    font-size: var(--navbar-text-size);
}


.offerings > * {
    margin: 0;
    padding: 0;
    padding-right: 2rem;
    padding-left: 2rem;
    text-align: center;
}

@media (min-width: 85rem) {
    .offerings {
        display: grid;
        grid-template-columns: 1fr 1fr 1fr;
        padding-bottom: 1.5rem;
    }

    .offerings > :not(:nth-child(3n)) {
        border-right: 4px solid var(--main-text-color);
    }
}

@media (max-width: 85rem) {
    .offerings {
        padding-bottom: 3rem;
    }

    .offerings > * {
        padding-bottom: 3rem;
        margin-bottom: 2rem;
        border-bottom: 4px solid var(--main-text-color);
    }
}


.testimonials > * {
    margin: 0;
    padding: 0;
    padding-left: 2rem;
}

@media (min-width: 65rem) {
    .testimonials {
        display: grid;
        grid-template-columns: 1fr 1fr;
        row-gap: 10rem;
    }

    .testimonials > :not(:nth-child(2n)) {
        border-right: 4px solid var(--main-text-color);
        padding-right: 2rem;
    }
}

@media (max-width: 65rem) {
    .testimonials > :not(:last-child) {
        border-bottom: 4px solid var(--main-text-color);
        padding-bottom: 4rem;
        margin-bottom: 3rem;
    }
}

blockquote {
    align-self: end;
}

blockquote > div {
    text-align: right;
    margin-right: 5rem;
    font-weight: bold;
}

.painting {
    width: 100%;
    top: -20vw;
    left: 0;
    position: fixed;
    z-index: -1;
}

/* Should be .big-body */
span {
    font-weight: bold;
    font-size: var(--bold-body-size);
}
