@import url('https://fonts.googleapis.com/css2?family=Inter:ital,opsz,wght@0,14..32,100..900;1,14..32,100..900&family=Josefin+Sans:ital,wght@0,100..700;1,100..700&family=Roboto:ital,wght@0,100..900;1,100..900&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Bodoni+Moda:ital,opsz,wght@0,6..96,400..900;1,6..96,400..900&family=Covered+By+Your+Grace&family=Doto:wght@100..900&family=Homemade+Apple&family=Meddon&family=Playfair+Display:ital,wght@0,400..900;1,400..900&family=Playwrite+NZ+Basic+Guides&family=Square+Peg&display=swap');



@media (prefers-reduced-motion: no-preference) {
    * {
        scroll-behavior: smooth;
    }
}

@font-face {
    font-family: 'EB Garamond';
    src: url("/src/fonts/garamond/ebgaramond08-italic.woff2") format("woff2"), url("/src/fonts/garamond/ebgaramond08-italic.woff") format("woff");
    font-weight: bold;
    font-style: italic
}

@font-face {
    font-family: 'EB Garamond';
    src: url("/src/fonts/garamond/ebgaramond08-regular.woff2") format("woff2"), url("/src/fonts/garamond/ebgaramond08-regular.woff") format("woff");
    font-weight: bold;
    font-style: normal
}

@font-face {
    font-family: 'EB Garamond SC';
    src: url("/src/fonts/garamond/ebgaramondsc08-regular.woff2") format("woff2"), url("/src/fonts/garamond/ebgaramondsc08-regular.woff") format("woff");
    font-weight: bold;
    font-style: normal
}

@font-face {
    font-family: 'EB Garamond All SC';
    src: url("/src/fonts/garamond/ebgaramond12-allsc.woff2") format("woff2"), url("/src/fonts/garamond/ebgaramond12-allsc.woff") format("woff");
    font-weight: normal;
    font-style: normal
}

@font-face {
    font-family: 'EB Garamond';
    src: url("/src/fonts/garamond/ebgaramond12-italic.woff2") format("woff2"), url("/src/fonts/garamond/ebgaramond12-italic.woff") format("woff");
    font-weight: normal;
    font-style: italic
}

@font-face {
    font-family: 'EB Garamond';
    src: url("/src/fonts/garamond/ebgaramond12-regular.woff2") format("woff2"), url("/src/fonts/garamond/ebgaramond12-regular.woff") format("woff");
    font-weight: normal;
    font-style: normal
}

@font-face {
    font-family: 'EB Garamond SC';
    src: url("/src/fonts/garamond/ebgaramondsc12-regular.woff2") format("woff2"), url("/src/fonts/garamond/ebgaramondsc12-regular.woff") format("woff");
    font-weight: normal;
    font-style: normal
}


*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    font-family: "EB Garamond", "Sahitya", serif;
    /* font-family:'Segoe UI'; */
    font-kerning: normal;
    font-size: 9px;
}



body {
    font-size: 21px;
    font-family: "EB Garamond", serif;
    background-color: #ffffff;
    color: #000;
    /* max-width: 85rem; */
    text-align: left;
    line-height: 1.3;
    margin: 0;
    overflow-x: hidden;
    scroll-behavior: smooth;
    overflow-y: scroll;
}

.bg {
    min-height: 100vh;
    max-width: 90rem;
    margin: 2px auto;
    padding-inline: 20px;
}



.container {
    max-width: 50rem;
    margin: 2px auto;
    text-align: left;
}



.now>h2 {
    margin-top: 30px;
}

/* 
nav>ul>li>a:hover, h1.hidden:hover {
	background-color: #333;
	color:#eee;
	padding: 8px;
	transition: 0.5s;
} */

:target {
    -webkit-animation: target-fade 1s;
    -moz-animation: target-fade 1s;
    -o-animation: target-fade 1s;
    animation: target-fade 1s;
}

h2 {
    /* padding-top: 20px; */
    font-weight: 600;
    font-family: "Playfair Display", serif;
    font-size: 23px;
    color: black;
    letter-spacing: 0.5px;

    /* text-align: center; */
}

.active-farm {
            background-color: rgba(0, 0, 0, 0);
            color: black;
        }



figure img,
figure video {
    display: block;
    float: unset;
    margin: auto;
    padding: 1rem 0
}

figure figcaption {
    font-size: 2.07rem;
    text-align: center
}



/* img,
video {
	margin-left: 1.6rem;
	width: 24%
} */


.wide img,
.wide video {
    width: 90%
}

img.mid {
    display: block;
    margin: 0 auto;
    width: 50%;
}

img.small {
    display: block;
    margin: 0 auto;
    width: 10%;
}





.divider>img {
    width: 100%;
    /* display: block; */
    /* margin: 0 auto; */
}








/* figure.about-div {
      max-width: 200px;
      height: auto;
    } */



.tag-title {
    background: #dee2eb;
    padding: 1px 5px;
    text-align: left;
    border-left: 3px solid #333;
}

.tag-title:hover {
    background-color: #bfc0c3;
}

.tag-info {
    font-style: italic;
    text-align: right;
    background-color: #f9f9e6;
    font-size: 0.9em
}

.indent {
    margin: -2px 20px;
}



/* .bg {
    max-width: 90% 
} */

/* 
h2:before {
	content: counter(heading)") ";
	counter-increment: heading;
}
h2 {
	counter-reset: subheading;
}
h3:before {
	content: counter(heading)"." counter(subheading)") ";
	counter-increment: subheading;
} */



h1:not(.name) {
    margin-top: 10%;
    font-size: 50px;
    font-family: 'Bodoni Moda';
    font-weight: 500;
    letter-spacing: -1px;
    /* padding-bottom: 20px; */
    padding-bottom: 10px;
    border-bottom: 1px solid grey;
}

h1 {
    font-size: 30px;
}



h3 {
    font-weight: normal;
    text-decoration: underline;
    /* text-align: center; */
    font-size: 2.3rem;
    font-family: "Covered By Your Grace", cursive;
}

.emph {
    color: #362d2d;
}


.small {
    font-size: smaller;
}

.right {
    text-align: right;
}

.center {
    text-align: center;
}


img,
video {
    margin-left: 1.6rem;
    width: 24%
}


.wide img,
.wide video {
    width: 90%
}

img.mid {
    display: block;
    margin: 0 auto;
    width: 50%;
}


div.mid {
    text-align: center;
    align: center;
}

div.pad {
    padding: 20px;
    margin: 10px;
}

div.pad:hover {
    background-color: #f4f0f0;
}


p.indent {
    text-indent: 50px;
}

.def {
    background-color: #f5f0f0;
    border-radius: 5px;
    padding: 10px;
}

.defb {
    background-color: #e3d3d3;
}

.def::before {
    content: "Definition:  ";
    font-weight: bold;
    font-style: italic;
    font-size: 1.2em;
}


.claim {
    background-color: #f3ece4;
    padding: 5px;
    border-radius: 5px;
}

.claim::before {
    content: "Claim:  ";
    font-weight: bold;
    font-style: italic;
    font-size: 1.2em;
}

.claimb {
    background-color: #bac4d9;
}

.pf {
    background-color: rgb(240, 255, 252);
    padding: 10px;
    border-radius: 5px;

}

.pf::before {
    content: "Proof:  ";
    font-weight: bold;
    font-style: italic;
    font-size: 1.2em;
}


figure img,
figure video {
    display: block;
    float: unset;
    margin: auto;
    padding: 1rem 0
}

figure figcaption {
    font-size: 2.07rem;
    text-align: center
}

p {
    hyphens: auto
}

p.post-date {
    color: #444
}

code {
    border: 0.1px solid #eee;
    border-radius: .4rem;
    box-shadow: 0 0 0.1rem #444;
    display: inline-block;
    font-family: monospace;
    font-size: 1.84rem;
    padding: 0 .3rem
}

pre>code {
    display: block;
    overflow: auto;
    padding: .4rem 1.4rem
}

blockquote {
    border-left: 0.5rem solid #eee;
    color: #444;
    padding: .6rem 0 .6rem 1.8rem
}

blockquote cite {
    border-left: unset;
    display: block;
    text-align: right
}

blockquote cite::before {
    content: " — "
}



main>* {
    margin-bottom: 2.4rem
}

main ul,
main ol {
    margin-left: 2.3rem
}

main hr {
    color: maroon;
    margin: 0 auto;
    margin-bottom: 1.4rem;
    width: 75%
}

hr.left {
    margin-top: -25px;
    margin-left: -5px;
    width: 60%;
}

article .date {
    color: #444
}

article .detail h2 {
    display: inline;
    font-size: 2.3rem;
    font-style: normal;
    font-weight: normal;
    margin-right: 0.5rem
}

article .detail p {
    display: inline
}

a {
    color: #111;
}

a:hover,
a:active {
    color: rgb(128, 22, 22);
    /* text-decoration: overline; */
}





h2>a::after {
    content: unset
}

/* nav a:link,nav a:visited,nav a:focus,.detail a:link,.detail a:visited,.detail a:focus {
    color: maroon;
    font-weight: bold
} */


body {
    display: flex;
    flex-direction: column;
}

main {
    flex: 1
}


iframe {
    display: block;
    /*    padding: 5%;*/
    margin: auto;
    border: 0;
}

figure {
    padding: 5%;
}



img.farm {
    position: absolute;
    top: 10vh;
    left: 0;
    margin-top: 10px;
    margin-inline: 10%;
    width: 80%;
    /* margin-inline: auto; */
    height: 40vh;
    border-radius: 30px;
    object-fit: cover;
    opacity: 0.8;
}

footer {
    p {
        margin: 0;
    }
    margin-top: 40vh;
}