@import url('https://fonts.googleapis.com/css2?family=Rubik:wght@300;400;600&display=swap');
@import url('https://fonts.googleapis.com/css?family=Bitter');
@import url('https://fonts.googleapis.com/css2?family=Lato:ital,wght@0,300;0,400;1,300;1,400;1,700&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Qwitcher+Grypen:wght@400;700&display=swap');

body {
    align-items: center;
    min-height: 100vh;
    min-width: 999px;
    background: #ffe6e6;
    overflow-x: hidden;
    text-align: center;
    font-family: "Lato", sans-serif;
    position: relative;
}
body::before {
    content: "";
    background: url('https://www.sharnfordwrites.uk/gifs/site/sharon2025.jpg') center top no-repeat;
    background-size: 100% auto;
    background-attachment: fixed;
    opacity: 0.85;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    pointer-events: none;
}
/* Ensure the background is at least 800px wide on smaller screens */
@media (max-width: 800px) {
    body::before {
        background-size: 1200px auto;
    }
}

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%;
	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 {overflow-y: scroll;} 

a {
    text-decoration: none;
    color: #ff3366;
    transition: color 0.3s ease;
}

a:hover {
    color: #d9acbc;
}

P.clear{
clear:both;
}

.button {
  align-self: center;
  background-color: #fff;
  background-image: none;
  background-position: 0 90%;
  background-repeat: repeat no-repeat;
  background-size: 4px 3px;
  border-radius: 15px 225px 255px 15px 15px 255px 225px 15px;
  border-style: solid;
  border-width: 2px;
  box-shadow: rgba(0, 0, 0, .2) 15px 28px 25px -18px;
  box-sizing: border-box;
  color: #41403e;
  cursor: pointer;
  display: inline-block;
  font-family: Neucha, sans-serif;
font-family:Rubik,Verdana, Arial, Helvetica, sans-serif;
  font-size: 1rem;
  line-height: 23px;
  outline: none;
  padding: .75rem;
  text-decoration: none;
  transition: all 235ms ease-in-out;
  border-bottom-left-radius: 15px 255px;
  border-bottom-right-radius: 225px 15px;
  border-top-left-radius: 255px 15px;
  border-top-right-radius: 15px 225px;
  user-select: none;
  -webkit-user-select: none;
  touch-action: manipulation;
margin-top:11px;
border:1px #41403e solid;
}

.button:hover {
  box-shadow: rgba(0, 0, 0, .3) 2px 8px 8px -5px;
  transform: translate3d(0, 2px, 0);
}

.button:focus {
  box-shadow: rgba(0, 0, 0, .3) 2px 8px 4px -6px;
}


/* Header Styles */
header {
    background: linear-gradient(to right, #ab3760, #bb456f);
    color: #fff;
    justify-content: space-between;
    padding: 10px 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
}

header .logo {
    font-size: 1.5em;
    font-weight: bold;
}

header .menu-icon {
    cursor: pointer;
    display: none; /* Hidden by default on larger screens */
    font-family:Rubik,Verdana, Arial, Helvetica, sans-serif;
    font-size:16px;
    font-weight:700;
    text-transform: uppercase;
}

header nav ul {
    list-style: none;
    display: flex;
    gap: 15px;
    margin: 0;
    padding: 0;
    justify-content: center; 
}

header nav ul li {
    display: inline;
}

header nav ul li a {
    padding: 5px 10px;
    font-weight: bold;
    color:white;
}

H1{
font-family: 'Bitter', serif;
font-family: "Qwitcher Grypen", cursive;
font-size:62px;
font-weight:400;
text-decoration:none;
color:#ac3b61;
padding:8px;
margin:6px;
border:#eee 0px solid;
text-align:center;
}

H2{
text-align:center;
}

P{
font-family:Lato,Verdana, Arial, Helvetica, sans-serif;
font-family:Rubik,Verdana, Arial, Helvetica, sans-serif;
font-size:16px;
font-weight:300;
text-decoration:none;
color:#222;
padding-left:9px;
line-height:1.5;
padding-bottom:9px;
text-align:left;
}

LI{
font-family:Lato,Verdana, Arial, Helvetica, sans-serif;
font-family:Rubik,Verdana, Arial, Helvetica, sans-serif;
font-size:14px;
font-weight:300;
text-decoration:none;
color:#000000;
padding-left:6px;
text-align:left;
padding-left:9px;
line-height:1.3;
padding-bottom:9px;
}

EM{
text-decoration:none;
font-weight:400;
font-style:normal;
color:#000099;
}

section.content img {
    display: block; /* Makes the image a block element */
    margin: 0 auto; /* Centers the image horizontally */
}


/* Hero Section */
.hero {
    background-color: #dbc6bd;
    text-align: center;
    min-height: 50px; /* Set a fixed height */
    padding: 0; 
    border-bottom: 5px solid #6c6866;
    display: flex; /* Use Flexbox for centering content */
    flex-direction: column;
    justify-content: center; /* Center content vertically */
    align-items: center; /* Center content horizontally */
}

.hero p {
    font-size: 1.2em;
    color: #4d0000;
}

/* Content Section */
.content {
    padding: 20px;
    max-width: 600px;
    margin: 0 auto;
    min-height:444px;
    margin-left:400px;
    float:right;
}

.content article {
    background: #fff;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    margin-bottom: 20px;
}

.contentadmin {
    padding: 20px;
    max-width: 800px;
    margin: 0 auto;
}

.contentadmin article {
    background: #fff;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    margin-bottom: 20px;
}

.content article h2 {
    color: #990033;
    margin-bottom: 10px;
}

.read-more {
    background-color: #ff3366;
    color: #fff;
    padding: 10px 20px;
    border-radius: 5px;
    display: inline-block;
    margin-top: 10px;
    font-size: 0.9em;
}

.read-more:hover {
    background-color: #ff6699;
}

/* Footer Styles */
footer {
    text-align: center;
    background: #ab3760;
    color: #fff;
    padding: 10px 0;
    margin-top: 20px;
}

footer P{color:white;}

/* Mobile-Specific Styles */
@media (max-width: 768px) {
    header .menu-icon {
        display: block; /* Show menu icon on smaller screens */
    }

    header nav ul {
        display: none; /* Hide links by default */
        flex-direction: column;
        position: absolute;
        top: 60px;
        right: 20px;
        background-color: #ab3760;
        padding: 10px;
        border-radius: 5px;
        box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    }

    header nav ul.show {
        display: flex; /* Show links when menu is active */
    }

    header nav ul li {
        margin: 5px 0; /* Add spacing between links */
    }
}



@media (max-width: 768px) {
            body {
                min-width: auto;
            }
.content {
    padding: 20px;
    width:90%;
    max-width: 450px;
    margin: 0 auto;
    min-height:444px;
    margin-left:13px;
    float:right;
    margin-top:234px;
}
}