@import url("https://fonts.googleapis.com/css2?family=Lato:ital,wght@0,100;0,300;0,400;0,700;0,900;1,100;1,300;1,400;1,700;1,900&display=swap");

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: "Lato", serif;
}

:root {
  --light: #f7f7f7;
  --white: #fff;
  --gray: #cbcbcb;
  --black: #252525;
  --green: #3a5a40;
  --lime: #b2d6b8;
  --red: #9e0000;
  --yellow: #9e7a01;
  color: var(--black);
}

body {
  background-color: var(--light);
}

/* --- */
/* GUEST */

#content.guest {
  min-height: 100vh;
  width: 100%;
  background-color: var(--light);
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  padding: 30px 15px;
}

#content.guest > * {
  width: 400px;
}

.guest footer {
  display: flex;
  flex-direction: column;
  gap: 5px;
  background-color: var(--black);
  padding: 30px;
  color: var(--gray) !important;
  text-align: c;
}
.guest footer a {
  color: var(--gray);
}
.guest footer a:hover {
  color: var(--white);
}
.guest header {
  padding-bottom: 30px;
  text-align: center;
  font-size: 1.3em;
}
.guest footer > p {
  margin: 0;
}

/* --- */
/* USER */
.user header {
  width: 100%;
  background-color: var(--green);
  padding: 20px 30px;
  display: flex;
  justify-content: space-between;
  color: var(--white);
  align-items: center;
}
.user .container {
  padding: 30px;
  display: flex;
  flex-direction: column;
  gap: 30px;
  background-color: var(--light);
  min-height: calc(100vh - 64px);
  max-width: 900px;
  margin: 0 auto;
}
/* --- */
/* ELEMENTS */
nav {
  padding: 15px 30px;
  background-color: var(--black);
  color: var(--gray);
  font-weight: bold;
}
nav a {
  color: var(--white);
}
nav a:hover {
  color: var(--lime);
}

section {
  background-color: var(--white);
  padding: 30px;
}

h1,
h2,
h3,
p {
  margin: 10px 0;
}

a {
  text-decoration: none;
  color: var(--green);
  transition: 0.5s;
}

.asbiroCloud {
  text-transform: uppercase;
  letter-spacing: 3px;
  font-weight: bold;
}
.limit {
  width: 400px;
  margin-left: auto;
  margin-right: auto;
}

a.button {
  display: inline-flex;
  background-color: var(--green);
  color: var(--white);
  padding: 15px;
  align-items: center;
  gap: 5px;
  font-weight: bold;
}
a.button:hover {
  background-color: var(--lime);
  color: var(--green);
}

hr {
  border: 1px solid var(--gray);
  margin: 15px 0;
}

.ok {
  background-color: var(--lime);
  color: var(--green);
  font-weight: bold;
}
.no {
  background-color: var(--red) !important;
  color: var(--white) !important;
  font-weight: bold !important;
}
.warning {
  background-color: var(--lime);
  color: var(--green);
  font-weight: bold;
}

.buttonContainer {
  display: flex;
  gap: 10px;
  margin-top: 30px;
  flex-wrap: wrap;
}
.buttonContainer > button {
  margin: 0 !important;
}
/* --- */
/* UTILS */

.centerText {
  display: inline-block;
  text-align: center !important;
  width: 100%;
}
.bold {
  font-weight: bold !important;
}
.italic {
  font-style: italic !important;
}
.marginBottomText {
  display: inline-block;
  margin-bottom: 10px !important;
}
.marginTopText {
  display: inline-block;
  margin-top: 10px !important;
}

.containerInside {
  padding: 15px;
  background-color: var(--light);
  display: flex;
  align-items: center;
  gap: 15px;
  font-weight: bold;
}

.spaceTop {
  margin-top: 30px;
}

.codeContainer {
  font-family: "Courier New", Courier, monospace !important;
  background-color: var(--light);
  padding: 10px;
  border: 1px solid var(--black);
}
.codeText {
  font-family: "Courier New", Courier, monospace !important;
}

.red {
  color: var(--red);
}

.green {
  color: var(--green);
}

.gray {
  color: var(--gray);
}

.yellow {
  color: var(--yellow);
}

.lime {
  color: var(--lime);
}

.full {
  width: 100%;
}

/* --- */
/* FORM */

form {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin: 20px 0;
}
form > section {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
section.form {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
section.form > hr,
form > hr {
  margin-bottom: 0;
}

label {
  margin-top: 10px;
  font-weight: bold;
}
input,
select,
textarea,
button[type="submit"] {
  font-size: 1rem;
  outline: none;
  border: 1px solid var(--gray);
  padding: 10px;
}
textarea {
  resize: none;
}

/* --- */
/* FORM - BUTTON */

button[type="submit"] {
  border: none;
  margin: 10px 0;
  font-weight: bold;
  background-color: var(--green);
  color: var(--white);
  padding: 13px;
  transition: 0.5s;
}
button[type="submit"]:hover {
  background-color: var(--lime);
  color: var(--green);
}

/* --- */
/* FORM - CHECKBOX */

input[type="checkbox"] {
  width: 25px;
  height: 25px;
  border: 1px solid var(--gray);
}
input[type="checkbox"]:checked {
  accent-color: var(--green) !important;
}

div.checkbox {
  display: flex;
  align-items: center;
  margin: 10px 0;
  gap: 10px;
}
div.checkbox > label {
  margin-top: 0;
  padding: 0;
}

/* --- */
/* EXCEPTION */
section > *:first-child {
  margin-top: 0;
}
div.checkbox + button[type="submit"] {
  margin-top: 0;
}
form > button:last-child {
  margin-bottom: 0;
}
form > label:first-child {
  margin-top: 0;
}
section > *:last-child {
  margin-bottom: 0;
}
div:has(> .material-symbols-outlined) {
  display: flex;
  gap: 5px;
  align-items: center;
}
.container > h1,
.container > h2 {
  margin: 0 30px;
}
a.button.full {
  display: flex;
  text-align: center;
}
.guest .limit {
  width: 100%;
}

/* --- */
/* RESPONSIVE */
@media only screen and (max-width: 460px) {
  /* --- */
  /* GUEST */
  #content.guest > * {
    width: 100%;
  }
}
