:root {
    --bk-clr-default: rgb(94, 85, 81);
    --bk-clr-transparent: hsla(0 0% 0% / .7);
    --clr-primary: lemonchiffon; /* #eee; */
    --clr-secondary: #aaa;
    --clr-selection: lemonchiffon;
    --clr-header: rgb(242, 229, 127);
    --bk-clr-inputs: lemonchiffon;
    --fnt-regular: robotolight, sans-serif;
    --fnt-decorative: akaya_telivigalaregular;
}

@font-face {
    font-family: 'akaya_telivigalaregular';
    /*font-family: 'Akaya Telivigala';*/
    src: url('../fonts/akayatelivigala-regular-webfont.woff2') format('woff2'),
         url('../fonts/akayatelivigala-regular-webfont.woff') format('woff');
    font-weight: normal;
    font-style: normal;
}

@font-face {
    font-family: 'robotoblack';
    src: url('../fonts/roboto-black-webfont.woff2') format('woff2'),
         url('../fonts/roboto-black-webfont.woff') format('woff');
    font-weight: normal;
    font-style: normal;

}

@font-face {
    font-family: 'robotoblack_italic';
    src: url('../fonts/roboto-blackitalic-webfont.woff2') format('woff2'),
         url('../fonts/roboto-blackitalic-webfont.woff') format('woff');
    font-weight: normal;
    font-style: normal;

}

@font-face {
    font-family: 'robotobold';
    src: url('../fonts/roboto-bold-webfont.woff2') format('woff2'),
         url('../fonts/roboto-bold-webfont.woff') format('woff');
    font-weight: normal;
    font-style: normal;

}

@font-face {
    font-family: 'robotobold_italic';
    src: url('../fonts/roboto-bolditalic-webfont.woff2') format('woff2'),
         url('../fonts/roboto-bolditalic-webfont.woff') format('woff');
    font-weight: normal;
    font-style: normal;

}

@font-face {
    font-family: 'robotoitalic';
    src: url('../fonts/roboto-italic-webfont.woff2') format('woff2'),
         url('../fonts/roboto-italic-webfont.woff') format('woff');
    font-weight: normal;
    font-style: normal;

}

@font-face {
    font-family: 'robotolight';
    src: url('../fonts/roboto-light-webfont.woff2') format('woff2'),
         url('../fonts/roboto-light-webfont.woff') format('woff');
    font-weight: normal;
    font-style: normal;

}

@font-face {
    font-family: 'robotolight_italic';
    src: url('../fonts/roboto-lightitalic-webfont.woff2') format('woff2'),
         url('../fonts/roboto-lightitalic-webfont.woff') format('woff');
    font-weight: normal;
    font-style: normal;

}

@font-face {
    font-family: 'robotomedium';
    src: url('../fonts/roboto-medium-webfont.woff2') format('woff2'),
         url('../fonts/roboto-medium-webfont.woff') format('woff');
    font-weight: normal;
    font-style: normal;

}

@font-face {
    font-family: 'robotomedium_italic';
    src: url('../fonts/roboto-mediumitalic-webfont.woff2') format('woff2'),
         url('../fonts/roboto-mediumitalic-webfont.woff') format('woff');
    font-weight: normal;
    font-style: normal;

}

@font-face {
    font-family: 'robotoregular';
    src: url('../fonts/roboto-regular-webfont.woff2') format('woff2'),
         url('../fonts/roboto-regular-webfont.woff') format('woff');
    font-weight: normal;
    font-style: normal;

}

@font-face {
    font-family: 'robotothin';
    src: url('../fonts/roboto-thin-webfont.woff2') format('woff2'),
         url('../fonts/roboto-thin-webfont.woff') format('woff');
    font-weight: normal;
    font-style: normal;

}

@font-face {
    font-family: 'robotothin_italic';
    src: url('../fonts/roboto-thinitalic-webfont.woff2') format('woff2'),
         url('../fonts/roboto-thinitalic-webfont.woff') format('woff');
    font-weight: normal;
    font-style: normal;

}

/*
    Josh's Custom CSS Reset
    https://www.joshwcomeau.com/css/custom-css-reset/
*/
*, *::before, *::after {
    box-sizing: border-box;
}
* {
    margin: 0;
}

html, body {
    height: 100%;
}

body {
    line-height: 1.5;
    -webkit-font-smoothing: antialiased;
}

img, picture, video, canvas, svg {
    display: block;
    max-width: 100%;
}

input, button, textarea, select {
    font: inherit;
}

p, h1, h2, h3, h4, h5, h6 {
    overflow-wrap: break-word;
}

#root, #__next {
    isolation: isolate;
}

/* My css */

/*
    Remove outline from tabbed-to links, 
    change text colour instead.
*/
a:focus {
    outline: transparent;
    color: var(--clr-selection) !important;
    font-weight: bolder;
}

body {
    font-family: var(--fnt-regular);
    color: var(--clr-primary);
    background-color: var(--bk-clr-default);
    background-image: url(../img/avabackground-300x184.jpg);
    background-repeat: no-repeat;
    background-size: cover;
    background-attachment: fixed;
    font-size: 1.2rem;
}

.wrapper {
    --pdng-default: 1rem;
    max-width: 40rem;
    margin-left: auto;
    margin-right: auto;
    display: grid;
    gap: .5rem;
}

.wrapper > * {
    background-color: var(--bk-clr-transparent);
}

.nav {
    margin-top: .5rem;
    background-color: var(--bk-clr-transparent);
}

.nav a {
    color: var(--clr-primary);
    text-decoration: none;
}

.nav .menu {
    display: grid;
    grid-auto-flow: column;
    gap: .25rem;
    list-style: none;
    padding-left: 0; /* removes list indent */
}

.nav > .menu li {
    width: auto;
    text-align: center;
}

.nav .menu > li .menu {
    grid-auto-flow: row;
    gap: 0;
    visibility: hidden;
    width: 0;
    height: 0;
    position: absolute;
    z-index: 10;
}

.nav .menu > li:hover .menu,
.nav .menu > li:focus-within .menu {
    visibility: visible;
    width: auto;
    height: auto;
    background-color: var(--bk-clr-transparent);
}

.nav .menu .menu > li {
    padding: .5rem;
    text-align: left;
}

a:focus {
    outline: transparent;
    color: var(--clr-selection) !important;
    font-weight: bolder;
}

.header {
    text-align: center;
    text-shadow: 1px 1px 2px black,-1px -1px 5px yellow;
    color: var(--clr-header);
    padding: var(--pdng-default);
    background-image: url("../img/avabanana_logo_2023b.jpg");
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
}

.header a {
    text-decoration: none;
    color: var(--clr-header);
}

.header h2 {
    font-family: var(--fnt-decorative);
    font-size: 3.5rem;
    text-transform: uppercase;
}

.header h3 {
    font-size: 1.5rem;
    font-weight: 800;
}

.main :is(h1, h2, h3) {
    text-align: center;
    font-family: var(--fnt-decorative);
}

.main h1 {
    text-transform: uppercase;
    color: var(--clr-header);
}

.main ul {
    margin-bottom: 0.5rem;
}

article {
    padding: var(--pdng-default);
}

article h2 {
    margin-bottom: .75rem;
    color: var(--clr-header);
}

article a {
    color: var(--clr-primary);
}

article p:not(:last-child) {
    margin-bottom: .75rem;
}

.contact-form {
    width: auto;
}

.contact-form input, .contact-form textarea, .contact-form button {
    background-color: var(--bk-clr-inputs);
}

.contact-form p.hpot, .contact-form p.hpot > input {
    visibility: hidden;
    height: 1px;
    margin: 0;
}

article textarea {
    width: 100%;
    height: 6rem;
}

article .poster {
    float: right;
    padding: .5rem;
}

article .g-recaptcha {
    margin: .5rem 0 .75rem;
}

.footer {
    text-align: center;
}

.footer p {
    padding: .5rem 0;
}

@media screen and (max-width: 400px) {
    body {
        font-size: 1rem;
    }
    .header h2 {
        font-size: 3rem;
    }
    h1 {
        padding-left: 1rem;
        padding-right: 1rem;
    }
    .poster {
        max-width: 50%;
    }
    .contact-form button {
        color: black;
    }
    .g-recaptcha {
        max-width: 10rem !important; /* Too wide for phone, otherwise */
    }
}
