@charset "UTF-8";

html {
  scroll-behavior: smooth;
  line-height: 1.5;
}

body {
  box-sizing: border-box;
  font-family: 'Verdana', sans-serif;
  font-size: 112%;
  margin: 0;
  word-wrap: break-word;
}

h1,
h2,
h3,
h4:not(.gdpr-title),
h5,
h6 {
  margin: 0;
  padding: 0;
  color: #fff;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  text-shadow: 0 0 4px #2E9CCA,
    0 0 2px #25274D,
    0 0 4px #25274D,
    0 0 2px #2E9CCA,
    0 0 4px #2E9CCA;
}


h1 {
  font-size: calc(0.95rem + 1vw);
  color: #fff;
  margin-top: .3rem;
}

h2 {
  font-size: calc(.85rem + 1vw);
  padding: 1.5rem 0;
  margin-top: 2rem;
}

h3 {
  font-size: calc(.75rem + 1vw);
  padding: 1.5rem 0;
}

h4:not(.gdpr-title) {
  font-size: calc(.6rem + 1vw);
  padding-top: 1.3rem;
}

h5 {
  font-size: calc(.5rem + 1vw);
  padding-top: 1.3rem;
}

h6 {
  font-size: calc(.4rem + 1vw);
  padding-top: 1.3rem;
}

p {
  font-size: 100%;
}

p.sub-section {
  font-size: 115%;
  color: #25274D;
}

ul code,
code {
  font-weight: bold;
}

section ul li a.no-break,
section p a.no-break {
  display: inline;
}

.m1r {
  margin: 1rem 0;
  ;
}

iframe {
  display: block;
  margin: 0 auto;
}

figcaption {
  margin-top: -.5rem;
  margin-bottom: 1.5rem;
  padding: 0;
  text-align: center;
  font-size: 75%;
}

kbd {
  font-family: Consolas, "Lucida Console", monospace;
  display: inline-block;
  border-radius: 6px;
  padding: 2px 7px;
  box-shadow: 2px 2px 2px #777;
  margin: 2px;
  font-size: small;
  vertical-align: text-bottom;
  background-color: #fefefe;
  font-weight: 500;
  color: #555;
  cursor: pointer;
  font-variant: small-caps;
  font-weight: 600;
  letter-spacing: 1px;
  user-select: none;
}

kbd:active {
  color: #fff;
  box-shadow: 1px 1px 2px #000 inset;
}

kbd:hover {
  background-color: #000;
  color: #fff;
  cursor: pointer;
  transition: all .3s;
}

kbd.plusFont {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  width: 12px;
  height: 12px;
  color: #fff;
  background-color: #e2c044;
  border: none;
  border-radius: 9999px;
  position: relative;
  top: -3px;
}

kbd.plusFont:hover {
  transform: scale(1.2);
}

.bg-exercise {
  background-color: #29648A;
  padding: .5rem;
  border-radius: .5rem;
  color: #fff;
}

.bg-exercise a {
  color: #fff;
}

.bg-exercise span {
  color: #fff;
  font-weight: normal;
}

/*style for code with numbered lines*/
.col-html {
  color: #c44343;
}

.col-attr {
  color: #519851;
}

.col-val {
  color: #5d77bf;
}

pre {
  background-color: #f2f2f2;
  overflow: auto;
  padding: .8em .8em;
  border: 1px dashed #2E9CCA;
  border-left: 5px solid #2E9CCA;
  border-radius: 5px;
}

pre code,
pre .line-number {
  font-family: consolas, monaco, monospace;
  font-size: 100%;
  color: #25274D;
  display: block;
  padding: 0.5em;
}

pre .line-number {
  color: #29648A;
}

pre .line-number {
  float: left;
  margin: 0 1em 0 -1em;
  border-right: 1px solid #2E9CCA;
  text-align: right;
}

pre .line-number span {
  display: block;
  padding: 0 .6em 0 1em;
}

span.col-html {
  border-bottom: 1px dashed #fa1a1a;
}

span.col-attr {
  border-bottom: 1px dashed #14ed14;
}

span.col-val {
  border-bottom: 1px dashed #104cf4;
}

pre code span.comment {
  color: blue;
  border: none;
}

pre code span {
  color: blue;
}

.mb-1rem {
  margin-bottom: 1rem;
}

.mb-2rem {
  margin-bottom: 2rem;
}

ol li::marker {
  color: #000;
  font-size: 1.3rem;
}

strong a {
  text-decoration: underline;
}

strong a:hover {
  color: #2E9CCA;
}

strong.subtitle {
  display: block;
  padding-top: 1.86rem;
  color: #29648A;
  font-weight: 700;
  font-size: calc(.6rem + .8vw);
  letter-spacing: 1.5px;
  text-transform: uppercase;
  text-shadow: rgba(0, 0, 0, 0.2) 0 2px 5px;
}

ul li::marker {
  color: #2E9CCA;
  font-size: 1.3rem;
}

div xmp {
  background-color: #fff;
  display: block;
}

blockquote {
  font-family: 'Georgia', 'Times New Roman', serif;
  position: relative;
  background-color: #fff;
  border-left: 15px solid #2E9CCA;
  padding: 2rem;
  quotes: "\201C" "\201D" "\2018" "\2019";
}

blockquote::before {
  content: open-quote;
  color: #25274D;
  position: absolute;
  font-size: 4rem;
  top: 0;
  left: .3rem;
}

blockquote:after {
  content: no-close-quote;
}

div.nota-bg {
  font: italic normal 100%/1.5 Arial, Helvetica, sans-serif;
  background-color: #fefefe;
  padding: 2px 10px 2px 20px;
  border-radius: 5px;
  position: relative;
  margin: 0 auto;
  margin-top: 25px;
  margin-bottom: 25px;
  z-index: 1;
}

div.center {
  display: flex;
  justify-content: center;
  margin-top: 2.5rem;

}

.next-article {
  background-color: #eaeff2;
  border-radius: 4px;
  box-shadow: 0 4px 3px -3px #29648A;

  padding: 0.3em 1.8em;
  transition: all .9s;
  font-size: 75%;
}

p.next-article a {
  color: #25274D;
  text-decoration: none;
}

.next-article:hover {
  box-shadow: inset 0 0 4px rgba(41, 100, 138, 1);
}

.fa-right-big {
  margin-left: .6rem;
  color: #2E9CCA;
}

p.next-article span {
  color: #29648A;
}

.nota {
  position: absolute;
  top: -1.5rem;
  left: -2.5rem;
  font-size: 2.5rem;
  color: #6e8898;
}

a {
  text-decoration: none;
  color: #29648A;
}

a:not(.gdpr-links a) {
  display: block;
}

a:hover {
  text-decoration: underline;
}

img {
  display: block;
  margin: 0 auto;
  max-width: 100%;
  height: auto;
  padding-bottom: .5rem;
  transition: all .5s ease;
}

.bigImg:hover {
  transform: scale(1.3);
}

/*Header*/
header {
  position: fixed;
  width: 100%;
  height: 60px;
  padding: 25px 0;
  background-image: linear-gradient(to right, #25274D, #2E9CCA);
  margin-top: -2vw;
  clip-path: polygon(0 0, 100% 2vw, 100% calc(100% - 2vw), 0 100%);
  color: white;
  text-align: center;
  z-index: 2;
  opacity: .9;
  transition: all .5s ease;
}

.main-title span.main-h1 {
  line-height: 60px;
  font-size: calc(.95rem + 1vw);
  color: #fff;
}

nav span.nav-h2 {
  display: flex;
  justify-content: center;
  font-size: calc(.8rem + .8vw);
  color: #fff;
}

nav h3 {
  padding: 0;
  margin: 0;
}

header i.ion-android-menu {
  position: absolute;
  top: 55%;
  left: 28px;
  font-size: 35px;
  padding: 10px;
  transform: translateY(-50%);
  background-color: transparent;
  transition: all .3s;
}

header i.ion-android-menu:hover {
  color: #2E9CCA;
}

nav {
  position: fixed;
  top: 0;
  bottom: 30px;
  width: 0;
  margin-bottom: -101%;
  padding-bottom: 101%;
  padding-top: 4rem;
  white-space: nowrap;
  background-color: #25274D;
  z-index: 3;
  overflow-x: hidden;
  transition: all .4s ease-out;
}

button.closebtn {
  position: absolute;
  top: 10px;
  right: 20px;
  font-size: 50px;
  text-decoration: none;
  color: #fff;
  background: none;
  border: none;
  outline: none;
}

button.closebtn:hover {
  color: #2E9CCA;
}

nav ul {
  list-style: none;
  margin: 0;
  padding: 0;
  text-align: justify;
}

nav ul li a {
  display: block;
  padding: .3rem .6rem;
  color: white;
  text-decoration: none;
}

.current {
  background-color: #AAABB8;
}

nav ul ul {
  visibility: hidden;
  opacity: 0;
  height: 0;
  margin-left: 0;
  transition: all .4s ease-out;
}

nav ul li:hover,
nav ul li:hover ul,
nav ul ul li:hover,
nav ul li:focus-within,
nav ul li:focus-within ul,
nav ul ul li:focus-within {
  background-color: #AAABB8;
  cursor: pointer;
  display: block;
  visibility: visible;
  opacity: 1;
  height: auto;
  transition: all .4s ease-out;
}

nav ul li:focus-within ul,
nav ul ul li:hover {
  background-color: #29648A;
  margin-left: 1.5rem;
  transition: all .4s ease-out
}

li:focus-within a {
  outline: .01em dashed #e2c044;
}

nav li:hover i {
  transform: rotate(405deg);
  top: -3px;
  left: -1px;
  transition: all .4s ease-out;
}

main {
  width: 100%;
  position: relative;
  overflow-x: hidden;
  z-index: 0;
  transition: margin-left .5s;
}

section {
  margin: 0 auto;
  margin-top: -3rem;
  padding: 7.5rem 3rem 4rem 3rem;
  background: linear-gradient(45deg, rgba(70, 72, 102, .1), rgba(46, 156, 202, .2));
}

section:nth-child(2) {
  padding: 2rem;
  margin-top: .1rem;
}

section:last-of-type {
  padding-bottom: 3rem;
}

section a {
  display: inline;
  color: #2E9CCA;
  font-weight: bold;
}

#topBtn {
  display: none;
  position: fixed;
  bottom: 15px;
  right: 10px;
  z-index: 99;
  border: none;
  outline: none;
  background-color: #2E9CCA;
  color: #25274D;
  cursor: pointer;
  padding: 6px;
  border-radius: 10%;
  font-size: 11px;
  font-weight: bold;
  text-decoration: none;
  letter-spacing: normal;
}

#topBtn:hover {
  background-color: #2E9CCA;
  color: #fff;
}

.flexbox-table-container {
  display: flex;
  justify-content: center;
  padding: 20px;
}

.flexbox-table {
  border-collapse: collapse;
  width: 100%;
  background-color: #fff;
  text-align: left;
  font-family: sans-serif;
}


.flexbox-table th,
.flexbox-table td {
  padding: 12px;
  border: 1px solid #ccc;
}

.flexbox-table thead {
  background-color: #f2f2f2;
}

@media (max-width: 600px) {

  .flexbox-table th,
  .flexbox-table td {
    font-size: 14px;
    padding: 8px;
  }
}


.side-menu {
  position: relative;
  top: .88rem;
}

.side-menu_box {
  background-image: linear-gradient(to bottom, #464866, #2E9CCA);
  position: relative;
  margin-bottom: -2.33rem;
  width: 230px;
  text-align: center;
  padding: 6px 30px 6px 30px;
  border-radius: 0 100px 100px 0;
  transition: 0.35s;
  z-index: 1;
  left: -275px;
}

.side-menu_box a {
  display: inline-block;
  text-decoration: none;
  font-size: 90%;
  color: white;
  font-weight: bold;
  margin-right: .5rem;
  padding: .2rem;
}

.side-menu_box:hover {
  left: 0;
  box-shadow: 0 1rem 1rem rgba(0, 0, 0, 0.5);
}

.side-menu_box:hover a {
  text-decoration: underline;
}

.side-menu .c-web-dev {
  top: 80px;
  animation: .2s ease-out 0s 1 animate;
}

.side-menu .c-html {
  top: 120px;
  animation: .3s ease-out .1s 1 animate;
}

.side-menu .c-css {
  top: 160px;
  animation: .4s ease-out .2s 1 animate;
}

.side-menu .c-js {
  top: 200px;
  animation: .5s ease-out .3s 1 animate;
}

@keyframes animate {
  0% {
    transform: translateX(49%);
  }

  100% {
    transform: translateX(0);
  }
}

.hidden {
  transform: translateX(100%);
  background-color: #2E9CCA;
}

.active {
  transform: translateX(0);
  background-color: #464866;
  transition: background-color 2s, transform .7s;
}

.toc_container {
  box-sizing: border-box;
  font-size: 80%;
  padding-bottom: 2rem;
  padding-right: 2rem;
  width: auto;
  height: auto;
  position: fixed;
  top: 0;
  right: 0;
  z-index: 3;
  transition: background-color 2s, transform .7s;
}

.toc_container a {
  color: #fff;
}

.toc_container ul li {
  list-style: none;
  margin: -.5em 2.5em -.5em 1.5em;
  padding: 0;
}

.toc_container ul:last-of-type {
  padding-bottom: 5vh;
}

.toc_container ul li::before {
  color: #2E9CCA;
  content: "\2022";
  display: inline-block;
  font-size: 1.2em;
  left: -1.6125em;
  position: relative;
  top: 1.3em;
}

.toc_title a {
  writing-mode: vertical-rl;
  text-orientation: upright;
  text-transform: uppercase;
  font-weight: 700;
  position: absolute;
  left: -37px;
  top: 0;
  padding: 8px 8px;
  padding-bottom: 20px;
  color: #25274D;
  background-color: #2E9CCA;
  width: auto;
  text-decoration: none;
  border-bottom-left-radius: 150px;
  border-bottom: 4px solid #25274D;
}

#toc_inner {
  overflow-y: auto;
  overflow-x: hidden;
  height: 100vh;
  margin-right: -30px;
}

@media all and (max-width: 450px) {
  body {
    font-size: 95%;
  }

  header {
    position: fixed;
    height: 75px;
    padding: 20px 0;
    margin-top: -8vw;
  }

  header i {
    position: relative;
    top: -14px;
    left: 0;
    margin: 0 auto;
  }


  strong.subtitle {
    font-size: calc(.7rem + .9vw);
  }

  nav {
    height: 100%;
    padding-top: 4rem;
    text-align: center;
  }

  nav ul {
    text-align: left;
  }

  nav ul li:focus-within ul,
  nav ul ul li:hover {
    margin-left: 1rem;
  }

  i.arrow-down {
    border-width: 0 2px 2px 0;
    margin-right: 3px;
    left: -1px;
    top: -1px;
  }

  nav li:hover i {
    top: -1px;
    left: -1px;
  }

  section {
    padding: 6.5rem 1.5rem 1rem 1.5rem;
  }

  .nota {
    display: none;
  }
    .toc_title a {
    font-size: 12.8px;
    left: -25px;
    padding: 10px 3px;
    padding-bottom: 18px;
  }
  
header i.ion-android-menu {
  top: 65%;
  left: 28px;
    }
  .main-title span.main-h1 {
    display: inline-block;
    margin: 0 auto;
    margin-top: 20px;
    }
      body {
    font-size: 17px;
    line-height: 1.7;
    font-weight: 400;
    -webkit-font-smoothing: antialiased;
 }
}


#sideNav {
  z-index: 100;
}

#overlay {
  z-index: 99;
}

.main-footer {
  display: flex;
  flex-direction: column;
  align-items: center;
  background: linear-gradient(to right, #2E9CCA, #25274D);
  color: white;
  padding: 10px;
}

a.footer-logo {
  font-size: 26px;
  font-weight: bold;
  color: #fff;
  text-decoration: none;
}

a.footer-logo:hover {
  font-size: 26px;
  color: #2E9CCA;
}

.footer-cols {
  display: flex;
  justify-content: space-between;
  width: 100%;
  margin-top: -100px;
}

.footer-col {
  padding: 0 50px;
}

.main-footer a:not(.footer-logo) {
  color: white;
  text-decoration: none;
  margin: 5px 0;
  display: block;
}

.main-footer a:hover:not(.footer-logo) {
  text-decoration: underline;
}

.footer-bottom {
  margin-top: 20px;
  text-align: center;
  width: 100%;
}

.social-icons {
  display: flex;
  gap: 40px;
}

.main-footer .social-icons i {
  font-size: 40px;
  color: #2E9CCA;
  margin: 0 10px;
}

.social-icons a {
  text-decoration: none;
  font-size: 24px;
  z-index: 1;
}

.social-icons a:hover {
  opacity: 0.5;
}

@media (max-width: 768px) {
  .footer-cols {
    flex-direction: column;
  }

  .footer-col {
    text-align: center;
    margin: 10px 0;
  }

  .footer-logo {
    margin: 20px 0;
  }

  .social-icons {
    padding-bottom: 80px;
  }
}

/* Newsletter */
.newsletter-form {
  max-width: 350px;
  margin: 0 auto;
  z-index: 0;
}

.newsletter-label {
  font-weight: 500;
  font-size: 16px;
  margin-bottom: 6px;
  text-align: center;
}

.newsletter-row {
  display: flex;
  width: 100%;
  height: 35px;
}

.newsletter-row input[type="email"] {
  flex: 1;
  font-size: 16px;
  padding: 4px;
  margin: 0;
  border: 1.2px solid #2E9CCA;
  border-right: none;
  border-radius: 6px 0 0 6px;
  outline: none;
  transition: box-shadow 0.2s, border-color 0.2s;
}

.newsletter-row input[type="email"]::placeholder {
  font-size: 15px;
  color: #999;
}

.newsletter-row input[type="email"]:focus {
  border-color: #25274D;
  box-shadow: 0 0 0 1px rgb(37, 39, 77, 0.4);
}

.newsletter-row button {
  width: 140px;
  font-size: 16px;
  font-weight: 500;
  background-color: #fff;
  color: #29648A;
  border: 1.3px solid #25274D;
  border-radius: 0 6px 6px 0;
  border-left: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  transition: background-color 0.2s;
}

.newsletter-row button:hover {
  background-color: #2E9CCA;
  color: #fff;
}

.newsletter-row button i {
  font-size: 24px;
  padding: 0;
  margin: 0;
}

.btn-loader::after {
  content: '';
  display: inline-block;
  width: 1em;
  height: 1em;
  margin-left: 0.5em;
  border: 2px solid #fff;
  border-top: 2px solid transparent;
  border-radius: 50%;
  animation: spin 0.6s linear infinite;
}

@keyframes spin {
  0% {
    transform: rotate(0);
  }

  100% {
    transform: rotate(360deg);
  }
}

/* loader */
.rotating {
  animation: rotate 0.7s linear infinite;
  display: inline-block;
}

@keyframes rotate {
  0% {
    transform: rotate(0);
  }

  100% {
    transform: rotate(360deg);
  }
}

.banner-publicitar {
  position: relative;
  left: 50%;
  transform: translateX(-50%);
  width: fit-content;
  width: auto;
  padding: 0.5rem 1.5rem;
  text-align: center;
  border-radius: 8px;
  margin: 40px 0px;
}


/* Fireworks */
.firework {
  position: absolute;
  bottom: 0px;
  left: 50%;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: red;
  animation: explode 2s ease-out forwards;
  pointer-events: none;
  z-index: 9999;
}

@keyframes explode {
  0% {
    transform: translate(0, 0) scale(1);
    opacity: 1;
  }

  100% {
    transform: translate(calc(-150px + 300px * var(--x)),
        calc(-200px * var(--y))) scale(0.3);
    opacity: 0;
  }
}

span.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.quiz-block {
  margin-bottom: 20px;
  padding: 15px;
  background: #f4f4f4;
  border-left: 4px solid #2E9CCA;
  border-radius: 6px;
}

#quiz-score {
  margin-top: 20px;
  font-weight: bold;
  border-radius: 6px;
}

button.check-answers {
  background-color: #2E9CCA;
  color: white;
  border: none;
  padding: 12px 24px;
  font-size: 1rem;
  font-weight: bold;
  border-radius: 6px;
  cursor: pointer;
  transition: background-color 0.3s ease, transform 0.2s ease;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

button.check-answers:hover {
  background-color: #25274D;
  transform: scale(1.03);
  color: #fff;
}

button.check-answers:active {
  background-color: #2471a3;
  transform: scale(0.98);
}