
:root {
    --yellow: #FCD642;
    --light: #FFFBE5;
    --paper: #f9f9f9;
    --blue: #2c729d;
    --green: #7BB281;
    --accent: var(--yellow);
    --blue-highlight: var(--blue);
    --text: #282521DD;
    --border: #5e574dbb;
}

/* Box model reset */
*,
*::before,
*::after {
    box-sizing: border-box;
}

a {
    color: var(--blue);
    text-decoration: none;
}

body {
    font-family: 'Outfit', sans-serif;
    font-size: 18px;
    line-height: 1.6;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    min-height: 100vh;
    background-color: var(--light);
    color: var(--text);
    margin: 0;
    background-image: url('/nnnoise.svg');
}

body.invite {
    /* background-color: var(--blue); */
}

main {
    position: relative;
    padding: 16px;
}

[role="presentation"]+main {
    margin-top: 12.5vw;
}

body.invite [role="presentation"] {
    padding-bottom: 0;
}
body.invite [role="presentation"]+main {
    margin-top: 0;
}

body.invite [role="presentation"] h1 {
    line-height: 100%;
    font-size: 84px;
    margin: 0;
    margin-bottom: -5px;
    color: var(--yellow);
}
/* If the media width is less that 700px make the h1 font size 42px */
@media (max-width: 700px) {
    body.invite [role="presentation"] h1 {
        font-size: 42px;
    }
}

body.invite [role="presentation"] p {
    color: var(--yellow);
    margin: 0;
}
body.invite [role="presentation"] hr
{
    width: 100%;
    border-color: var(--yellow);
    margin: 20px 0;
}

body.invite [role="presentation"]  .header-detail {
    color: var(--yellow);
    font-size: 18px;
    margin-bottom: 20px;
    width: 100%;
    display: grid;
    place-items: center;
}
body.invite [role="presentation"] .header-detail p {
	max-width: calc(540px - 30px - 30px);
	width: 100%;
}


body.invite [role="presentation"]  .where-heading {
    text-align: right;
}

figcaption {
    font-size: 80%;
    padding: 0 8px;
    opacity: .8;
}

footer {
    display: flex;
    place-items: center;
    color: var(--blue);
    flex-direction: column;
    text-transform: uppercase;
    position: relative;
}

h1,
h3,
header {
    font-family: "Limelight", sans-serif;
    font-weight: 400;
    font-style: normal;
}

header {
    padding: 0 40px;
    position: relative;
}

header>div {
    position: absolute;
    right: 0;
    top: 0;
    width: 50%;
}

header div>div {
    padding: 20px 20px;
}

footer {
    background-color: var(--blue);
    min-height: 30px;
    width: 100%;
    color: #FFFBE5AA;
}
footer .container {
    padding: 0 16px;
}

.container {
    max-width: 540px;
    width: 100%;
}

.content {
    background-color: var(--light);
    padding: 30px;
    margin-bottom: 20px;
    /* border-top: 1px solid var(--border); */
    background-image: url('/nnnoise.svg');
}

body.invite .content {
    border-top: 0;
    padding-top: 0;
}

.content p:first-of-type {
    margin-top: 0;
    /* Adjust the value as needed */
}

h1,
h2 {
    line-height: 1.2;
    text-align: center;
}

em {
    font-style: italic;
}

.workshop-image {
    display: block;
    max-width: 100%;
    height: auto;
    margin: 20px auto;
    border-radius: 8px;
}


img {
    width: 100%;
}


.button {
    background-color: var(--accent);

    min-height: 40px;
    text-decoration: none;
    display: inline-flex;
    place-items: center;
    padding: 0 20px;
    margin: 0 auto;
    border-radius: 8px;

    background-color: var(--accent);
    color: var(--text);
    border: none;
    padding: 10px;
    /* font-size: 27px; */
    border-radius: 0;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    width: calc(100% / 2);
    margin: 0 auto;
    box-shadow: 0px 2px 2px 0px rgba(0, 0, 0, 0.1);
    background-image: url('/nnnoise.svg');
}

.button.-secondary {
    background-color: var(--blue);
    color: var(--light);
}

.post-script {
    font-size: 66.66%;
    opacity: .8;
}

iframe {
    width: 100%;
    aspect-ratio: 16 / 9;
    border-radius: 8px;
    outline: 1px solid var(--blue);
    background-color: var(--blue);
}

figure {
    margin: auto -8px;
}

body.invite [role="presentation"] {
    position: relative;
}

[role="presentation"] {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    display: grid;
    place-items: center;
    aspect-ratio: 16 / 3;
    padding: 40px;
    background-color: var(--blue);
    width: 100%;
}

[role="presentation"] img {
    width: 100%;
    max-width: 700px;
}


[role="presentation"]::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: url('/nnnoise.svg');
    z-index: 1;
}



hr {
    border: none;
    border-top: 1px solid var(--border);
    height: 1px;
    margin: 30px 0 calc(30px - 1px);
}

.center-copy p {
    text-align: center;
}

.center-headers h1, .center-headers h2, .center-headers h3 {
    text-align: center;
}

.center-headers p {
    text-align: left;
}

figure {
    margin-bottom: 10px;
}
.grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 5px;
}
.grid.-x2 {
    grid-template-columns: repeat(auto-fit, minmax(200px, 2fr));
}

.grid figure {
    margin: 0;
}

.messages {
    white-space: pre-wrap;
}

nav {
	position: sticky;
	top: 0;
	background-color: var(--yellow);
	z-index: 10;
	/* padding: 10px; */
	margin: 0 -20px;
	display: flex;
	flex-direction: row;
	justify-content: space-evenly;
	min-height: 50px;
	align-items: center;
}

nav a {
    color: var(--text);
    text-transform: uppercase;

}

/* --- Social Icons Footer Styling --- */

.site-footer {
    text-align: center; 
}

.social-icons {
    /* This is the core of the flexbox alignment */
    display: flex;
    justify-content: center; /* Horizontally center the icons */
    align-items: center;    /* Vertically center the icons */
    gap: 25px;              /* Adds space between the icons */
    flex-wrap: wrap; /* Allow items to wrap onto the next line */
    
}

.social-icons a {
    color: #333; /* Icon color */
    display: inline-flex;
    gap: 10px;
    transition: transform 0.3s ease, color 0.3s ease;
}

.social-icons svg {
    width: 28px;  /* Size of the icon */
    height: 28px; /* Size of the icon */
}

.footer-text p {
    margin: 0;
    font-size: 0.9em;
}

label {
    display: block;
}

table {
    width: 100%;
}

#schedule-link {
    display: inline-block;
    position: fixed;
    bottom: 10px;
    right: 10px;
    width: auto;
    background-color: var(--blue);
    color: var(--light);
    padding-left: 20px;
    padding-right: 20px;
    z-index: 10;
}


.important h2,
.important h3,
.important h4
{
    font-family: 'Outfit', sans-serif;
}

.important a {
    text-decoration: underline;
}
.break {
    break-before: always;
}