/*! normalize.css v8.0.1 | MIT License | github.com/necolas/normalize.css */

/* Document
   ====================================================================== */

html {
  line-height: 1.15; /* 1 */
  -webkit-text-size-adjust: 100%; /* 2 */
}

body {
  margin: 0;
}

main {
  display: block;
}

h1 {
  font-size: 2em;
  margin: 0.67em 0;
}

hr {
  box-sizing: content-box;
  height: 0;
  overflow: visible;
}

pre {
  font-family: monospace, monospace;
  font-size: 1em;
}

a {
  background-color: transparent;
}

abbr[title] {
  text-decoration: underline dotted;
}

b,
strong {
  font-weight: bolder;
}

code,
kbd,
samp {
  font-family: monospace, monospace;
  font-size: 1em;
}

small {
  font-size: 80%;
}

sub,
sup {
  font-size: 75%;
  line-height: 0;
  position: relative;
  vertical-align: baseline;
}

sub {
  bottom: -0.25em;
}

sup {
  top: -0.5em;
}

img {
  border-style: none;
}

button,
input,
optgroup,
select,
textarea {
  font-family: inherit;
  font-size: 100%;
  line-height: 1.15;
  margin: 0;
}

button,
input {
  overflow: visible;
}

button,
select {
  text-transform: none;
}

button,
[type="button"],
[type="reset"],
[type="submit"] {
  -webkit-appearance: button;
}

button::-moz-focus-inner,
[type="button"]::-moz-focus-inner,
[type="reset"]::-moz-focus-inner,
[type="submit"]::-moz-focus-inner {
  border-style: none;
  padding: 0;
}

button:-moz-focusring,
[type="button"]:-moz-focusring,
[type="reset"]:-moz-focusring,
[type="submit"]:-moz-focusring {
  outline: 1px dotted ButtonText;
}

fieldset {
  padding: 0.35em 0.75em 0.625em;
}

legend {
  box-sizing: border-box;
  color: inherit;
  display: table;
  max-width: 100%;
  padding: 0;
  white-space: normal;
}

progress {
  vertical-align: baseline;
}

textarea {
  overflow: auto;
}

[type="checkbox"],
[type="radio"] {
  box-sizing: border-box;
  padding: 0;
}

[type="number"]::-webkit-inner-spin-button,
[type="number"]::-webkit-outer-spin-button {
  height: auto;
}

[type="search"] {
  -webkit-appearance: textfield;
  outline-offset: -2px;
}

::-webkit-file-upload-button {
  -webkit-appearance: button;
  font: inherit;
}

details {
  display: block;
}

summary {
  display: list-item;
}

template {
  display: none;
}

[hidden] {
  display: none;
}
body {
    background: #1c1f1b url("../images/camo.png");
    background-size: cover;
    background-attachment: fixed;
    color: #e0e0e0;
    font-family: "Verdana", sans-serif;
    margin: 0;
    animation: camoMove 20s linear infinite;
}

@keyframes camoMove {
    0% { background-position: 0 0; }
    50% { background-position: 200px 200px; }
    100% { background-position: 0 0; }
}

nav {
    background: #0f1a0e;
    border-bottom: 3px solid #4b5f3a;
    padding: 15px 0;
    box-shadow: 0 0 10px #000;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 30px;
}

nav ul {
    list-style: none;
    display: flex;
    gap: 30px;
    margin: 0;
    padding: 0;
}

nav a {
    color: #c9d3c0;
    text-decoration: none;
    font-weight: bold;
    font-size: 18px;
    transition: 0.3s;
}

nav a:hover {
    color: #8be472;
}

h1, h2 {
    text-align: center;
    color: #d2e3be;
    text-shadow: 0 0 5px #000;
    animation: shine 3s linear infinite;
    background: linear-gradient(90deg, #d2e3be, #ffffff, #d2e3be);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

@keyframes shine {
    0% { background-position: -500px 0; }
    100% { background-position: 500px 0; }
}

.card {
    width: 70%;
    margin: 40px auto;
    background: rgba(33, 40, 29, 0.9);
    border: 3px solid #4f6a3d;
    padding: 25px;
    border-radius: 10px;
    box-shadow: 0 0 25px #000;
    backdrop-filter: blur(3px);
}

.card p {
    font-size: 18px;
    line-height: 1.5;
}

.tank {
    max-width: 40%;
    border: 4px solid #4b5f3a;
    border-radius: 10px;
    box-shadow: 0 0 10px #000;
    transition: transform 0.5s, box-shadow 0.5s;
}

.tank.left { float: left; margin-right: 20px; margin-bottom: 15px; }
.tank.right { float: right; margin-left: 20px; margin-bottom: 15px; }

.tank:hover {
    transform: scale(1.05) rotate(-2deg);
    box-shadow: 0 0 25px #8be472;
}

/* Анкета перекладача */
form[name="form1"] {
    background: rgba(28, 31, 27, 0.8);
    padding: 20px;
    margin: 20px auto;
    width: 90%;
    max-width: 400px;
    border-radius: 8px;
    border: 2px solid #4f6a3d;
    box-shadow: 0 0 15px #000;
    color: #e0e0e0;
}

form[name="form1"] input[type="checkbox"] {
    margin-bottom: 5px;
}

form[name="form1"] input[type="text"] {
    width: 95%;
    padding: 6px;
    margin-bottom: 8px;
    border-radius: 5px;
    border: 1px solid #4b5f3a;
    background: rgba(28, 31, 27, 0.8);
    color: #e0e0e0;
}

form[name="form1"] input[type="button"],
form[name="form1"] input[type="reset"] {
    padding: 6px 12px;
    border: none;
    border-radius: 5px;
    background-color: #2980b9;
    color: white;
    cursor: pointer;
    margin-right: 8px;
}

form[name="form1"] input[type="button"]:hover,
form[name="form1"] input[type="reset"]:hover {
    background-color: #8be472;
    color: #000;
}

/* Форма зворотного зв'язку */
form.contact-form {
    background: rgba(28, 31, 27, 0.8);
    padding: 20px;
    margin: 20px auto;
    width: 90%;
    max-width: 400px;
    border-radius: 8px;
    border: 2px solid #4f6a3d;
    box-shadow: 0 0 15px #000;
    color: #e0e0e0;
}

form.contact-form input[type="text"],
form.contact-form input[type="email"],
form.contact-form textarea {
    width: 95%;
    padding: 6px;
    margin-bottom: 8px;
    border-radius: 5px;
    border: 1px solid #4b5f3a;
    background: rgba(28, 31, 27, 0.8);
    color: #e0e0e0;
}

form.contact-form input[type="submit"],
form.contact-form input[type="reset"] {
    padding: 6px 12px;
    border: none;
    border-radius: 5px;
    background-color: #2980b9;
    color: white;
    cursor: pointer;
    margin-right: 8px;
}

form.contact-form input[type="submit"]:hover,
form.contact-form input[type="reset"]:hover {
    background-color: #8be472;
    color: #000;
}
