/* Ciberlandia
*/

@font-face {
  font-family: 'Nacelle';
  src: local('Nacelle Regular'),
    url('fonts/nacelle/Nacelle-Regular.woff2') format('woff2');
  font-weight: normal;
  font-display: swap;
  font-style: normal;
}

@font-face {
  font-family: 'Nacelle';
  src: local('Nacelle Bold'),
    url('fonts/nacelle/Nacelle-Bold.woff2') format('woff2');
  font-weight: 700;
  font-display: swap;
  font-style: normal;
}

@font-face {
  font-family: 'Nacelle';
  src: local('Nacelle Light'),
    url('fonts/nacelle/Nacelle-Light.woff2') format('woff2');
  font-weight: 300;
  font-display: swap;
  font-style: normal;
}

@font-face {
  font-family: 'Abril Fatface';
  src: local('Abril Fatface Regular'),
    url('fonts/AbrilFatface-Regular.woff2') format('woff2');
  font-weight: 400;
  font-display: swap;
  font-style: normal;
}

:root {
  --ciberblue: #3333ff;
  --cibergreen: #cdffcc;
  --ciberdark: #06063a;
  --text-color: #2f2f2f;
  --title-font: 'Abril Fatface', 'Nacelle', sans-serif;
  --text-font: 'Nacelle', sans-serif;
  --ciber-radius: 65px;
}

* {
  box-sizing: border-box;
}

html {
  background-color: var(--ciberdark);
}

body {
  color: var(--textcolor);
  font-size: 1rem;
  font-family: var(--text-font);
  font-weight: 300;
  line-height: 1.3;
}

::-moz-selection {
  background: var(--cibergreen);
  text-shadow: none;
}

::selection {
  background: var(--cibergreen);
  text-shadow: none;
}

/* Tipografia
*/

a {
  color: var(--ciberblue);
  text-decoration: underline var(--ciberblue);
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: var(--title-font);
  transform: skew(-15deg, 0);
  text-decoration: underline var(--cibergreen);
}

h1 {
  font-size: 4.5rem;
}

h2 {
  font-size: 3.75rem;
}

h3 {
  font-size: 3.25rem;
}

h4 {
  font-size: 2.5rem;
}

h5 {
  font-size: 1.75rem;
}

strong {
  font-weight: bold;
}

p {
}

p:not(:last-child) {
  margin-bottom: 1rem;
}

li {
  list-style-type: disc;
  margin: 0.25rem 0 0.5rem 1rem;
}

/* Layout
*/

.top-navbar,
main {
  width: 70vw;
  margin: 0.5rem auto;
}

.top-navbar {
  display: grid;
  grid-template-columns: 0.25fr 1fr;
  gap: 0.5rem;
  align-content: center;
  justify-content: center;
  margin-top: 2rem;
}

.top-navbar header {
  background-color: var(--cibergreen);
  padding: 3rem;
  border-radius: var(--ciber-radius) 0 0 0;
  text-align: center;
}

.top-navbar .intro-block {
  background-color: var(--cibergreen);
  padding: 3rem;
  border-radius: 0 var(--ciber-radius) 0 0;
  display: flex;
  justify-content: center;
  flex-direction: column;
}

.top-navbar h1 {
  transform: none;
}

.top-navbar img {
  display: block;
  height: 180px;
  width: auto;
  margin: 0 auto;
}

.top-navbar span {
  display: block;
  margin-top: 0.25rem;
  text-transform: uppercase;
  font-size: 1.75rem;
  transform: skew(-15deg, 0);
  letter-spacing: 2px;
}

.top-navbar ul {
  margin: 0;
  padding: 0;
}

.top-navbar li {
  display: inline-block;
  list-style-type: none;
  margin: 0 0.5rem 0 0;
  transform: skew(-15deg, 0);
  text-transform: uppercase;
}

.top-navbar li a {
  font-size: 0.875rem;
  font-weight: 700;
  display: block;
  padding: 0.25rem 0;
}

.top-navbar .disabled-link {
  font-size: 0.875rem;
  font-weight: 700;
  display: block;
  padding: 0.25rem 0;
  color: var(--ciberblue);
  text-decoration: line-through var(--ciberblue);
}

.intro-block p {
  margin-bottom: 1rem;
}

main {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 0.5rem;
  align-content: start;
  justify-content: start;
  margin-bottom: 2rem;
}

.tagcloud {
  grid-column: 1 / 3;
}

.faq {
  grid-column: 3 / 7;
}

.inner {
  background-color: var(--cibergreen);
  display: block;
  padding: 3rem;
  width: 100%;
}

.block header {
  margin-bottom: 1rem;
}

.tagcloud .inner {
  background: rgb(205, 255, 204);
  background: radial-gradient(
    circle,
    rgba(205, 255, 204, 1) 30%,
    rgba(51, 51, 255, 1) 100%
  );
  border-radius: 0 0 0 var(--ciber-radius);
}

.tagcloud h4 {
  margin-bottom: 0.25rem;
}

.tagcloud ul {
  margin-bottom: 1rem;
}

.tagcloud li {
  font-size: 0.875rem;
  display: inline-block;
  padding: 0.25rem;
  background-color: white;
  margin: 3px 1px;
}

.faq .inner {
  background-color: white;
  border-radius: 0 var(--ciber-radius) var(--ciber-radius) 0;
}

.faq dt {
  font-weight: 700;
  margin-bottom: 0.25rem;
}

.faq dd {
  margin-bottom: 1rem;
}

.regras-etiqueta {
  grid-column: 1 / span 6;
}

.regras-etiqueta {
  display: grid;
  grid-template-columns: 0.4fr 0.6fr;
  gap: 0.5rem;
  align-content: start;
  justify-content: start;
}

.regras-etiqueta .inner {
  background-color: white;
}

.regras-etiqueta .inner:first-child {
  border-radius: var(--ciber-radius) 0 0 var(--ciber-radius);
  background: rgb(255, 255, 255);
  background: radial-gradient(
    circle,
    rgba(255, 255, 255, 1) 40%,
    rgba(205, 255, 204, 1) 100%
  );
}

.regras-etiqueta .inner:nth-child(2) {
  border-radius: 0 var(--ciber-radius) var(--ciber-radius) 0;
  background: rgb(255, 255, 255);
  background: radial-gradient(
    circle,
    rgba(255, 255, 255, 1) 40%,
    rgba(205, 255, 204, 1) 100%
  );
}

.regras-etiqueta .inner:nth-child(3) {
  grid-column: 1 / span 2;
  border-radius: 0 0 var(--ciber-radius) var(--ciber-radius);
}

.regras-etiqueta h3 {
  margin-bottom: 1.5rem;
}

.regras-etiqueta ol li {
  list-style-type: numerals;
  margin-left: 1rem;
}

ol > li::marker {
  font-weight: bold;
}

.signup {
  grid-column: 1 / span 6;
}

.signup .inner {
  border-radius: 0 var(--ciber-radius) 0 0;
}

.signup p.disabled {
  opacity: 0.5;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40rem;
  margin: 0 auto;
}

input[type='email'] {
  font-size: 1rem;
  border: 2px solid var(--ciberblue);
  padding: 0.5rem 1rem;
  position: relative;
  width: 100%;
  vertical-align: top;
  display: inline-flex;
  border-radius: 50px 0 0 50px;
  -moz-appearance: none;
  -webkit-appearance: none;
  align-items: center;
}

.button {
  font-size: 1rem;
  color: white;
  background-color: var(--ciberblue);
  padding: 0.5rem 1rem;
  border-radius: 0 50px 50px 0;
  box-shadow: none;
  display: inline-flex;
  -webkit-touch-callout: none;
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
  -moz-appearance: none;
  -webkit-appearance: none;
  align-items: center;
  border: 2px solid var(--ciberblue);
}

/* Mobile
*/

@media only screen and (max-width: 769px) {
  main,
  .top-navbar,
  .regras-etiqueta {
    display: block;
  }

  .block,
  .regras-etiqueta .inner {
    margin-top: 0.5rem;
  }

  .inner {
    padding: 2rem;
  }

  .top-navbar header {
    margin-bottom: 0.5rem;
    padding: 1.5rem;
  }

  .top-navbar .intro-block {
    padding: 2rem;
  }

  .signup p.disabled {
    width: 100%;
    margin: 0 auto;
  }
}

@media only screen and (max-width: 1344px) {
  .top-navbar,
  main {
    width: 90%;
    margin: 2rem auto;
  }
  .top-navbar {
    margin: 2rem auto 0.5rem;
  }
  main {
    margin: 0 auto 2rem;
  }
}
