*,
*::before,
*::after {
  box-sizing: inherit;
  margin: 0;
  padding: 0;
}

html {
  box-sizing: border-box;
  font-size: 62.5%;
}

body {
  background-color: var(--footer_fondo);
  font-family: var(--font_family), sans-serif !important;
  font-weight: 400;
  line-height: 1.6;
}

header {
  color: var(--color_letra);
  text-align: center;
}

.main {
  margin-bottom: 2rem;
  min-height: 350px;
}

.container {
  background-color: var(--color_fondo);
  display: grid;
  height: auto;
  position: relative;
}

h1 {
  font-weight: 300;
  font-size: 3.4rem;
  margin-top: 0.8rem;
  margin-bottom: 2rem;
}

.items {
  text-align: center;
}

.items > a {
  color: var(--color_letra);
  font-weight: 300;
}
.btn {
  border: 1px solid var(--color_letra);
  border-radius: 7.8rem;
  cursor: pointer;
  display: inline-block;
  font-size: 1.6rem;
  line-height: 45px;
  margin-bottom: 15px;
  max-width: 555px;
  padding: 0px 5px;
  text-decoration: none;
  vertical-align: middle;
  width: 85%;
}
.btn:hover {
  background-color: var(--hover_boton);
  opacity: 0.8;
  color: var(--hover_letra);
  border: none;
  transform: translateY(-4px);
}
.btn:active {
  --webkit-user-select: none;
  transform: translateY(-1px);
}

.dg-logo {
  height: 100x;
  margin: 2rem 0rem;
  max-height: 100px;
  max-width: 300px;
  object-fit: contain;
}

.dg-foto-perfil {
  border-radius: 50%;
  height: 120px;
  margin: 3rem 0;
  max-height: 120px;
  max-width: 120px;
}

.contactos {
  /* margin-top: 2rem; */
  background-color: var(--footer_fondo);
  color: var(--footer_letra);
  padding-bottom: 4rem;
  padding-top: 3.5rem;
  text-align: center;
}

.contactos p,
.contactos > .callme {
  font-size: 2.4rem;
  font-weight: 300;
  line-height: 1.2;
}
.bloque-contactos {
  margin-bottom: 3rem;
}
.bloque-contactos > p {
  line-height: 27px;
}
.bloque-contactos:last-child {
  margin-bottom: 0rem;
}
.contactos p.bloque-name {
  font-weight: 400;
}
.callme {
  color: var(--footer_letra);
  text-decoration: none;
}

.footer {
  align-self: end;
}
.footer .texto-libre > p {
  margin-bottom: 3rem;
  margin-left: 3rem;
  margin-right: 3rem;
  word-break: break-word;
}
.footer .bloque-contactos > p {
  margin-left: 3rem;
  margin-right: 3rem;
  word-break: break-word;
}

@media (min-width: 880px) {
  .items {
    margin: 0px 30%;
  }
}
@media (max-width: 880px) {
  .container {
    height: auto;
  }
}
