/* Variables */

:root {
  --color1: #007cc3;
  --color2: #f8c300;
  --border: 3px solid var(--color2);
}

/* General tweaks */

.hero.is-primary {
  background-color: var(--color1);
  border-bottom: var(--border);
}

.hero.is-primary * {
  color: white;
}

.button.download {
  background-color: var(--color1);
  color: white;
}

.button.contact {
  background-color: var(--color2);
  color: black;
}

.section {
  margin: 0;
  padding: 1rem 6rem 0 6rem;
}

#portafolio,
#cards h2 {
  border-top: var(--border);
}

#portafolio {
  padding: 2rem 0;
}

#cards h2 {
  padding-top: 1rem;
}

.card {
  margin-bottom: 1rem !important;
}

.items p {
  margin: 0 !important;
}

ol.items {
  list-style-type: none !important;
}

ol.items li {
  margin-top: .5rem;
}

footer {
  padding: 1rem !important;
}

/* Mobile & Tablet tweaks */

@media only screen and (max-width: 1023px) {
  .container.content {
    padding: .75rem !important;
  }

  .name-long {
    display: none;
  }
}

/* Desktop tweaks */

@media only screen and (min-width: 1024px) {
  .name-short {
    display: none;
  }
}

/* Only for print */

.only-print,
.only-print * {
  display: none !important;
}

@media print {

  .no-print,
  .no-print * {
    display: none !important;
  }

  .only-print,
  .only-print * {
    display: inherit !important;
  }

  #cards {
    border: none;
    margin: 0;
    padding: 0;
  }

  footer,
  footer * {
    background-color: initial !important;
  }
}