/* hex codes:
beige - #ffefe0
blue - #47698d
red - #d9544d */


/**********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;
}


/**********GENERAL**********/
@font-face {
  font-family: "Bristol";
  src: url('../fonts/Bristol.otf');
}
@font-face {
  font-family: "RM";
  src: url('../fonts/rm_typerighter.otf');
}
@font-face {
  font-family: "Josefin";
  src: url('../fonts/JosefinSans-Regular.otf');
}
body {
    font-family: 'RM', serif;
    font-size: 35px;
    line-height: 1;
    background-color: #ffefe0;
}
h1 {
    font-family: 'Bristol', sans-serif;
    font-size: 75px;
    line-height: 1;
    color: #d9544d;
    text-align: center;
    margin: 3%;
}
nav {
    text-align: center;
}
nav li {
    display: inline-block;
    margin: 10px 25px 10px 25px;
    font-weight: bold;
    font-size: 30px;
    color: #d9544d;
}
a:link, a:visited, a:hover, a:active, a:focus  {
    color: inherit;
    text-decoration: none;
    outline: none;
}
a:hover {
    opacity: 0.5;
    -webkit-transition: all .3s ease-in-out;
    -moz-transition: all .3s ease-in-out;
    -ms-transition: all .3s ease-in-out;
    -o-transition: all .3s ease-in-out;
}
.no-animation:hover {
    opacity: 1;
}
.grid-container-element {
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-gap: 20px;
    margin: 3% 5% 2% 5%;
    place-items: center;
}
.grid-child-element {
    margin: 10px;
    text-align: center;
}
#active {
    padding-bottom: 2px;
    opacity: 1;
    /*text-decoration: underline;
    text-decoration-thickness: from-font;*/
    color: #47698d;
}
p {
    text-align: left;
    color: #47698d;
}
img {
    display: inline-block;
    margin-left: 2%;
    margin-right: 2%;
}
#kiosk-wide{
    width: 100%;
}
.drop {
    width: 50%;
}
.center {
    text-align: center;
}
.text {
    margin: 3% 20% 2% 20%;
}
.header {
    color: #d9544d;
    font-size: 45px;
    font-weight: bold;
    text-align: center;
}
.social {
    text-align: center;
    margin-top: 5%;
    margin-bottom: 50px;
}
.social > a > img {
    height: 50px;
}
.guidelines {
    color: #47698d;
}
.subhead {
    font-weight: bold;
}
.sprite {
    height: 30px;
    margin-left: 20%;
    margin-right: 20%;
}
#footer li {
    color: #47698d;
    font-size: 20px;
}
#footer-sprite {
    margin-left: 20%;
    margin-right: 20%;
}
.form {
    color: #47698d;
    display: block;
}

/********** FORM **********/
label {
      font-weight: bold;
      display: block;
      margin-bottom: 6px;
      margin-top: 15px;
}
input, textarea {
      width: 100%;
      padding: 10px;
      border-radius: 6px;
      border: 1px solid #ccc;
      margin-bottom: 10px;
      font-size: 14px;
}
textarea {
      resize: vertical;
      min-height: 150px;
}
.checkbox-group {
      display: flex;
      align-items: center;   /* aligns checkbox + text vertically */
      gap: 8px;              /* small space between box and text */
      margin-top: 10px;
}
.checkbox-group input {
      margin: 0px;
}
#confirm {
    width: 15%;
    cursor: pointer;
}
#wordCount {
  display: block;
}

#wordCount.limit-reached {
  color: #d9544d; /* red when limit is hit */
  font-weight: bold;
}

button {
      background: #d9544d;
      color: white;
      border: none;
      padding: 12px;
      width: 100%;
      border-radius: 6px;
      cursor: pointer;
      font-size: 16px;
      margin-top: 15px;
}
button:hover {
      background: #47698d;
      -webkit-transition: all .3s ease-in-out;
      -moz-transition: all .3s ease-in-out;
      -ms-transition: all .3s ease-in-out;
      -o-transition: all .3s ease-in-out;
}
button:disabled {
  background: #ccc;         /* greyed out */
  color: #666;              /* lighter text */
  cursor: not-allowed;      /* "blocked" cursor */
  opacity: 0.7;             /* slightly transparent */
}
button:disabled:hover {
  background: #ccc;         /* no hover effect when disabled */
}

/********** Sticky footer **********/
html, body {
  height: 100%;
}
body {
  display: flex;
  flex-direction: column;
}

footer.social {
  margin-top: auto; /* stick to bottom */
  margin-bottom: 0; /* override your old margin */
  text-align: center;
  padding: 12px;
}
#dog {
    width: 40%;
}

/********** MEDIA QUERIES **********/

@media screen and (max-width: 999px) {
    .grid-container-element {
        display: block;
    }
    h1 {
        font-size: 65px;
    }
}
@media screen and (max-width: 749px) {
    h1 {
        font-size: 50px;
    }
}
@media screen and (max-width: 569px) {
    h1 {
        font-size: 40px;
    }
    nav li {
        margin: 5px;
    }
    .text {
        margin: 2% 5% 2% 5%;
    }
    .grid-container-element {
        margin: 2% 5% 2% 5%;
    }
}
@media screen and (max-width: 439px) {
    h1 {
        font-size: 30px;
    }
    nav li {
        margin: 3px;
    }
    .header {
        font-size: 30px;
    }
    p, li, label {
        font-size: 25px;
    }
    #footer-sprite {
        margin-right: 12%;
        margin-left: 12%;
    }
}
