/* ------------------- AUTHOR: Ashley Heeke ------------------------------- */
/* ------------------- IMPORTED FONTS ------------------------------------- */
@import url('https://fonts.googleapis.com/css2?family=Bonheur+Royale&display=swap');

/*-------------------- CSS RESET ------------------------------------------ */
/* http://meyerweb.com/eric/tools/css/reset/ 
   v2.0 | 20110126
   License: none (public domain)
*/

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%;
	font: inherit;
	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;
}

/* ------------------- ROOT VARIABLES ------------------------------------- */
:root {
    --black: #000;
    --dark-gray: #444;
    --white: #fff;
    --purple: #ded6ff;
    --pink: #ffc5d3;
    --yellow: #fff7bd;
    --blue: #caffff;
    --body-font: Arial,Helvetica,sans-serif;
}

/* ------------------- GLOBAL STYLES ---------------------------------------*/
html {
    background-color: var(--dark-gray);
    max-width: 1280px;
    margin: auto;
    font-family: var(--body-font);
}

header {
    margin: auto;
    padding: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 1rem;
}

#brand {
    display: flex;
    flex-direction: row;
    gap: 1.5rem;
    text-align: left;
    justify-content: center;
    align-items: center;
}

header img {
    max-width: 150px;
    height: auto;
    display: block;
    margin-bottom: 0.5rem;
}

h1 {
    font-family: "Bonheur Royale", cursive;
    font-weight: 400;
    font-style: normal;
    font-size: 8rem;
    color: var(--blue);
    text-shadow: 3px 3px black;
}

nav {
    margin-top: 0.5rem;
    width: 1280px;
    background-color: var(--purple);
    font-family: var(--body-font);
    border-radius: 10px;
}

#menu {
    display: flex;
    justify-content: center;
    margin: 0;
    padding: 1rem 0;
}

#menu li {
    flex: 1;
    text-align: center;
}

#menu li a {
    color: var(--black);
    text-decoration: none;
    font-size: 20px;
    font-weight: bold;
    padding: 0.5rem 1rem;
    transition: 0.3s ease;
    display: inline-block;
    border-radius: 10px;
}

#menu li a:hover, #menu li.active a {
    color: var(--black);
    background-color: var(--blue);
    border-radius: 4px;
    box-shadow: 3px 3px 7px var(--dark-gray);
}

h2 {
    text-align: center;
    font-size: 2rem;
    margin: 1rem auto;
    color: var(--black);
    background-color: var(--blue);
    padding: 1rem;
    border-radius: 8px;
}

#current {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
}

#current section {
    background-color: var(--purple);
    border-radius: 8px;
    padding: 1rem;
    text-align: center;
    transition: transform 0.2s ease;
    transition: background-color 0.3s ease;
}

#current section:hover {
    transform: translateY(-5px);
    background-color: var(--pink);
}

#current img {
    width: 100%;
    height: auto;
    border-radius: 6px;
    margin-bottom: 0.75rem;
    box-shadow: 3px 3px 7px var(--dark-gray);
}

#current h3 {
    margin: 0.5rem 0;
    font-size: 1.2rem;
    color: var(--black);
}

#current p {
    margin: 0;
    color: var(--dark-gray);
    font-size: 1rem;
    line-height: 1.6;
}

#tabs p {
    padding: 0.5rem;
    line-height: 1.6;
}

#tabs {
    border-radius: 8px;
}

.ui-button {
    margin: 0.5rem;
}

h3 {
    font-size: 1.1rem;
    font-weight: bold;
    padding: 0 0.5rem;
}

address {
    padding: 0.5rem 0.5rem 0;
    line-height: 1.6;
}

#contact {
    max-width: 600px;
    margin: 2rem auto;
    padding: 2rem;
    background-color: var(--black);
    border: 2px solid var(--blue);
    border-radius: 10px;
    color: var(--purple);
}

form {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}

label {
    font-weight: bold;
    margin-bottom: 0.25rem;
    display: block;
}

input[type="text"],
input[type="email"] {
    padding: 0.75rem;
    border: 2px solid var(--purple);
    border-radius: 6px;
    width: 100%;
    box-sizing: border-box;
}

input[type="submit"] {
    margin-top: 1rem;
    padding: 0.75rem;
    background-color: var(--purple);
    color: var(--black);
    font-weight: bold;
    border-radius: 6px;
    cursor: pointer;
    font-size: 1rem;
    transition: background-color 0.3s ease;
}

input[type="submit"]:hover {
    background-color: var(--blue);
}

.error-mess {
    display: none;
    color: var(--pink);
    font-weight: bold;
    font-size: 0.875rem;
    margin: 0.5rem 0;
}

.required {
    color: var(--pink);
}

#objectDisplay {
    font-weight: bold;
    text-align: center;
    line-height: 1.6;
    color: var(--pink);
}

footer {
    text-align: center;
    margin: auto;
    padding: 2rem;
    color: var(--white);
}
