* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html, body {
  font-size: 100%;
  font: inherit;
  vertical-align: baseline;
  height: 100%;
}

body {
  font-family: Arial, sans-serif;
  line-height: 1.5;
  color: #333;
  background-color: #fff;
  display: flex;
  flex-direction: column;
}

#wrapper {
  flex: 1;
  display: flex;
  flex-direction: column;
  width: 100%;
  padding: 20px 60px;
}

#main {
  flex: 1;
  max-width: 1200px;
  width: 100%;
  margin: 0 auto;
}

a {
  color: #005BAC;
  text-decoration: none;
}

a:hover, a:focus {
  text-decoration: underline;
}

img {
  max-width: 100%;
  height: 60px;
}

h1, h2, h3, h4 {
  font-family: Arial, sans-serif;
  font-weight: bold;
  color: #000;
}

h1 {
  font-size: 2.285em;
  line-height: 1.8em;
  margin: .85em 0 0;
}

h2, legend {
  font-size: 1.8em;
  padding-top: .1em;
  margin: 2.05em 0 1.3em;
}

#mast {
  background: #386193;
  padding: 10px 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  box-shadow: 0 2px 4px rgba(0, 0, 0, .1);
  border-radius: 5px;
}

#content {
  background-color: #fff;
  padding: 20px 24px;
  margin: 40px 0;
  border-radius: 5px;
  box-shadow: 0 2px 14px rgba(0, 0, 0, .1);
}

#content.full {
  width: 100%;
}

#content h1 {
  font-size: 2em;
  margin-bottom: 20px;
  color: #333;
}

#content p {
  margin-bottom: 15px;
  line-height: 1.6;
  color: #666;
}

#content ul, #content ol {
  margin: 15px 0;
  padding-left: 40px;
}

#content ul li, #content ol li {
  margin-bottom: 10px;
  color: #666;
}

#content form {
  margin: 20px 0;
}

#content form fieldset {
  border: 1px solid #ccc;
  padding: 20px;
  margin-bottom: 40px;
  border-radius: 5px;
}

#content form legend {
  font-size: 1.5em;
  font-weight: bold;
  margin-bottom: 10px;
}

#content form label {
  display: block;
  margin-bottom: 10px;
  font-weight: bold;
}

#content form textarea {
  width: 100%;
  padding: 10px;
  margin-bottom: 10px;
  border: 1px solid #ccc;
  border-radius: 5px;
  font-family: Arial, sans-serif;
  font-size: 14px;
}

#content form textarea:focus {
  outline: 2px solid #005BAC;
  outline-offset: 2px;
}

.submit-button {
  background-color: #385889;
  border: 1px solid #385889;
  color: #efefef;
  border-radius: 6px;
  cursor: pointer;
  display: inline-block;
  font-family: Roboto, sans-serif;
  font-weight: 900;
  font-size: 14px;
  padding: .42rem 1.47rem .53rem;
  text-align: center;
  text-decoration: none;
  transition: .3s;
}

.submit-button:hover {
  background-color: #0e335b;
  border-color: #0e335b;
}

.result {
  margin-top: 30px;
  padding: 20px;
  background: #e8f5e9;
  display: none;
  border-radius: 5px;
}

.error {
  background: #ffebee;
}

.loading {
  text-align: center;
  margin-top: 20px;
  display: none;
}

.actions-list {
  margin-top: 20px;
}

.action-item {
  padding: 12px;
  background: #f9f9f9;
  margin-bottom: 10px;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
  border-radius: 4px;
}

footer {
  background-color: #000;
  color: #fff;
  padding: 20px 0;
  box-shadow: 0 -2px 4px rgba(0, 0, 0, .1);
  text-align: center;
  border-radius: 5px;
}

footer ul {
  padding: 0;
  margin: 0 0 15px 0;
  list-style: none;
}

footer ul li {
  display: inline;
  margin: 0 10px;
}

footer ul li a {
  color: #fff;
  text-decoration: none;
}

.follow-socials {
  padding-bottom: 6px;
}

#networks {
  display: flex;
  justify-content: center;
  gap: 10px;
}

.clear {
  clear: both;
}

@media (max-width: 600px) {
  #content {
    padding: 20px 12px;
  }
  
  #content form fieldset {
    padding: 10px;
  }
}
