* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}
html {
    -webkit-text-size-adjust: 100%;
}
html, body {
    height: 100%;
    font-family: Arial, Helvetica, sans-serif;
}
body {
    background-color:#8CF;
}

.container {
    display: flex;
    min-height: 100vh;
    align-items: center;
    padding: 0 20px;
    max-width: 1000px;
    margin: 0 auto;
}

.image {
    display: flex;
    justify-content: right;
    align-items: center;
    width: 220px;
}

.image a, .image > img {
    position: fixed;
    top: calc(50% - 139px);
}

.image img {
    height: 278px;
    width: auto;
    content: url("../img/PeachPlease_278.png");
}

.content {
    flex: 2;
    padding: 20px;
    overflow-y: auto;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-content: center;
    justify-content: center;
}

.content p {
    font-weight: 400;
    margin: 0.3em 0;
    font-size: 1.05em;
}

h1 {
    margin-bottom: 20px;
}
h2 {
    font-size: 20px;
}
.page-title {
    text-align: center;
}

.rightbuttons {
    font-size: 0.9em;
    margin: 1.6em 0 1.2em 0;
    text-align: center;
}

.linkicon {
    text-decoration: none;
    color: #000;
    display: inline-block;
    height: 2em;
    margin: 0.3em;
    padding-top: 0.5em;
}
.linkicon div {
    padding: 0.3em;
    margin-right: 0.4em;
    margin-top: -0.5em;
    float: left;
}
.linkbutton {
    padding: 0.7em;
    text-decoration: none;
    margin: 0.2em;
    font-size: 1em;
}
.commicon {
    height: 1.4em;
    width: 1.4em;
    vertical-align: middle;
  }
.linkbutton, .linkicon div {
    height: fit-content;
    width: fit-content;
    border-radius: 5px;
    background-color: #222;
    color: #BBDCFF;
}
.linkbutton:hover, .linkicon:hover div {
    background-color: #444;
    color: #FFF;
}

.not-for-user {
    display:none
}

form {
    text-align: left;
    max-width: 500px;
    min-width: 300px;
    width: 100%;
    margin: 0 auto 1em auto;
    display: flex;
  flex-direction: column;
  gap: 6px;
}
form header {
    text-align: center;
  margin-bottom: 10px;
}
form header h2 {
  margin: 0 0 6px;
}
form header p {
  margin: 0;
  font-size: 0.95rem;
  color: #555;
}

/* Field wrappers */
form > div:not(.h-captcha) {
  display: flex;
  flex-direction: column;
  gap: 5px;
}

/* Labels */
form label {
  font-size: 0.78em;
  font-weight: bold;
  letter-spacing: 0.07em;
  text-transform: uppercase;
}
form small {
    margin-top: 0px;
    display: block;
    min-height: 1px;
    margin-left: 10px;
}
/* All text inputs */
form input[type="text"],
form input[type="email"],
form textarea {
  width: 100%;
  box-sizing: border-box;
  padding: 10px 14px;
  font-family: inherit;
  font-size: 1rem;
  color: #1a0a00;
  background: #fffaf7;
  border: 1px solid #f5c5a8;
  border-radius: 10px;
  outline: none;
  transition: border-color 0.18s ease, box-shadow 0.18s ease;
}
form input[type="text"]:focus,
form input[type="email"]:focus,
form textarea:focus {
  border-color: #e8804a;
  box-shadow: 0 0 0 3px rgba(232, 128, 74, 0.18);
  background: #ffffff;
}
/* Honeypot — hide completely */
form label.not-for-user {
  display: none !important;
}
form textarea {
  resize: vertical;
  line-height: 1.6;
}
/* hCaptcha widget */
form .h-captcha {
  margin-top: 6px;
}

/* Submit button */
form button[type="submit"] {
  align-self: flex-start;
  margin-top: 6px;
  padding: 12px 32px;
  font-family: inherit;
  font-size: 1rem;
  font-weight: bold;
  letter-spacing: 0.04em;
  color: #fff;
  background: linear-gradient(135deg, #f07040 0%, #e04828 100%);
  border: none;
  border-radius: 50px;
  cursor: pointer;
  box-shadow: 0 3px 0 #a83018, 0 6px 18px rgba(200, 60, 20, 0.22);
  transition: transform 0.15s ease, box-shadow 0.15s ease;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

form button[type="submit"]:hover {
  transform: translateY(-2px);
  box-shadow: 0 5px 0 #a83018, 0 10px 24px rgba(200, 60, 20, 0.28);
}

form button[type="submit"]:active {
  transform: translateY(1px);
  box-shadow: 0 1px 0 #a83018, 0 3px 8px rgba(200, 60, 20, 0.18);
}

/* Placeholder text */
form input::placeholder,
form textarea::placeholder {
  color: #cca898;
  font-style: italic;
}

.alert {
    font-size: 1em;
    text-align: center;
}


@media (max-height: 278px) {
    .container {
        min-height: 278px;
    }
    .image a, .image > img, .image img {
        top: 0;
        height: 100%;
    }
}

@media (max-width: 768px) {
    body {
        font-size: 110%;
    }
    .container {
        flex-direction: column;
        align-items: center;
    }
    .rightbuttons {
        margin-top: auto;
    }
    .linkbutton {
        margin-top: 1em;
        display: inline-block;
    }
    .image {
        width: 100%;
        padding-top: 20px;
        justify-content: center;
    }
    .image a, .image > img {
        position: relative;
    }
    #logoimg {
        content: url("../img/smalllogo_02.png");
        height: 125px;
        width: 120px;
    }
    h2 {
        font-size: 1.3em;
    }
    .content {
        width: 100%;
        padding: 10px;
        overflow-y: auto;
        max-width: 650px;
    }

}