/* Estilo para el contenido de index */

#contenido {
  transition: margin-left 0.5s, padding-left 0.2s;  
  max-width: 90%;
  padding-left: 80px;
  margin-top: 60px;
}

#contenido.active {transition: margin-left 0.5s linear; margin-left: 245px; max-width: 90%;}

#contenido-inicio {height: auto; transition: all 0.5s; overflow: auto;}

#contenido h1, #contenido h2 {display: inline-block;}

#contenido .texto_inicio {padding: 40px;}

.texto_inicio {
  width: 100%;
  max-width: 95%;
  margin: 20px auto;
  box-shadow: 1px 1px 5px var(--card-shadow);
}

.texto_inicio p {
  font-size: calc(var(--font-size-base) * 1.1);
  line-height: var(--line-height-base);
  width: 100%;
  max-width: 95%; 
  margin: 0 0 1.5em 0;
  letter-spacing: 2px;
}

.texto_inicio p span {
  font-weight: bold;
  display: inline-block;
  transition: all 0.3s linear;
}

.texto_inicio p a {
  display: inline-block;
  text-decoration: none;
  text-transform: uppercase;
  color: var(--secondary-color);
}

.texto_inicio p b {
  display: inline-block;
  white-space: nowrap;
}

#cajas_inicio {
  width: 100%;
  max-width: 100vw;
  padding-top: 5vh; 
  min-height: 150vh;
  min-height: 150dvh;
  margin: 20px auto;
  display: grid;
  grid-template-columns: repeat(3, minmax(220px, 1fr));
  justify-items: center;
  gap: 100px;
  transition: 0.5s;
  overflow-y: scroll;
}

#cajas_inicio:hover {
  width: 100%;
  transition: 0.5s linear; 
  border: calc(var(--border-width) * 2) solid var(--card-border-color);
  background: var(--body-bg);
}

#cajas_inicio a {
  width: 100%;
  text-decoration: none;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  transition: all .3s linear;
}

.caja_inicio {
  position: relative;
  transition: .5s linear .1s;
  /*  
    animation: aparicion linear both;
    animation-timeline: view();
    view-timeline: --imagePages;
    animation-range: entry 0% entry 80%;
    animation-duration: 0.2s;
  */
}

/*
  @keyframes aparicion {
    0% {
      opacity: 0;
      translate: 0 -50% 0;
      scale: 0.5;
      transform-origin: 50% 50%;
      clip-path: inset(100% 100% 0% 0%);
    }
    80% {
      opacity: 1;
      scale: 1;
      clip-path: inset(0% 0% 0% 0%);
    }
  } 

  .hidden {
    opacity: 0;
    filter: blur(2px);
    translate: -100%;
  }
*/

.caja_inicio a img {
  position: relative;
  width: 200px;
  height: 200px;
  display: block;
  /* max-width: 100%; */
  font-style: italic;
  font-size: var(--font-size-sm);
  line-height: 1.5;
  text-wrap: balance; 
  transition: all .5s linear 0.1s;
}

.caja_inicio:hover img {
  transition: all .5s linear 0s;
  transform-origin: 50%;
  transform: translateY(-10px) scale(1.1);
  border: 2px solid black;
  border-radius: 15%;
  box-shadow: 4px 4px 2px 1px  var(--card-shadow);
}

img[data-img-loading-error] {
  --img-border-style: 0.25em solid
    color-mix(in srgb, currentColor, transparent 75%);
  --img-border-space: 1em;

  border-inline-start: var(--img-border-style);
  border-block-end: var(--img-border-style);
  padding-inline-start: var(--img-border-space);
  padding-block: var(--img-border-space);
  max-width: 42ch;
  margin-inline: auto;
}

.caja_inicio .nombre_inicio {
  position: relative;
  width: 0%;
  height: 0%;
  top: auto;
  text-align: center;
  color: black;
  border: 0;
  border-radius: 0%;
  font-weight: 800;
  display: block;
  overflow: hidden;
  opacity: 0;
  transition: .5s linear .1s;
  transform-origin: 0% 50%;
}

.caja_inicio:hover .nombre_inicio {
  transition: all .5s linear 0.1s;
  overflow: visible;
  opacity: 1;
  height: 100%;
  width: 100%;
}

.nombre_inicio:hover {
  position: relative;
  display: block;
  transition: all .5s linear 0s;
  width: auto;
  background: black;
  color: white;
  border: 1px solid black;
  border-radius: 10px;
  box-shadow: 4px 4px 2px 1px  var(--card-shadow);
  top: -10px;
  letter-spacing: 2px;
  overflow: visible;
}

/* ESTILOS DE LA CLASE GLOBO PARA LOS TOOLTIPS */

/* 
  Cada tooltip está formado por dos partes.
  1. body (::after)
  2. arrow (::before)

   La clase que añado:
   1. globo
*/

[class*="globo--"] {
  position: relative;
  display: inline-block;
}

[class*="globo--"]::before, [class*="globo--"]::after {
  position: absolute;
  transform: translate3d(0, 0, 0);
  visibility: hidden;
  opacity: 0;
  z-index: 1000000;
  pointer-events: none;
  transition: 0.3s ease;
  transition-delay: 0ms;
}

[class*="globo--"]:hover::before, [class*="globo--"]:hover::after {
  visibility: visible;
  opacity: 1;
  transition-delay: 100ms;
}

[class*="globo--"]::before {
  content: '';
  position: absolute;
  background: transparent;
  border: 6px solid transparent;
  z-index: 1000001;
}

[class*="globo--"]::after {
  background: #383838;
  color: white;
  padding: 8px 10px;
  font-size: calc(var(--font-size-sm) * 0.8); /* 12px; */
  font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
  line-height: 12px;
  white-space: nowrap;
}

[class*="globo--"][aria-label]::after {
  content: attr(aria-label);
}

[class*="globo--"][data-globo]::after {
  content: attr(data-globo);
}

[aria-label='']::before, [aria-label='']::after, 
[data-globo='']::before, [data-globo='']::after {
  display: none !important;
}

/* Añado subclases de posición arriba, abajo y abajo-derecha (hay más) a la clase globo */

.globo--top::before {
  border-top-color: #383838;
  margin-bottom: -11px;
  left: calc(50% - 6px);
}
.globo--top::before, 
.globo--top::after {bottom: 100%;left: 50%;}

.globo--top::after {transform: translateX(-50%);}
.globo--top:hover::before {transform: translateY(-8px);}
.globo--top:hover::after {transform: translateX(-50%) translateY(-8px);}

.globo--bottom::before {
  border-bottom-color: #383838;
  margin-top: -11px;
  left: calc(50% - 6px);
}

.globo--bottom::before, 
.globo--bottom::after {top: 100%; left: 50%;}
.globo--bottom::after {transform: translateX(-50%);}
.globo--bottom:hover::before {transform: translateY(8px);}
.globo--bottom:hover::after {transform: translateX(-50%) translateY(8px);}
.globo--bottom-right::before {
  border-bottom-color: #383838;
  margin-top: -11px;
  left: calc(50% - 6px);
}

.globo--bottom-right::before, 
.globo--bottom-right::after {top: 100%;left: 50%;}
.globo--bottom-right::after {transform: translateX(0);margin-left: -12px;}
.globo--bottom-right:hover::before {transform: translateY(8px);}
.globo--bottom-right:hover::after {transform: translateY(8px);}

/* Añado subclases para los tamaños de globo pequeño, mediano y largo. */

.globo--small::after, 
.globo--medium::after, 
.globo--large::after {
  white-space: normal;
  line-height: 1.4em;
  word-break: break-word;
}

.globo--small::after {width: 80px;}
.globo--medium::after {width: 150px;}
.globo--large::after {width: 300px;}

[class*="globo--"]::after {
    text-shadow: 0 -1px 0px black;
    box-shadow: 4px 4px 8px rgba(0, 0, 0, 0.3); 
}

/* Para hacer las esquinas de los globos redondeadas añado subclase .globo--rounded */
.globo--rounded::after {
  border-radius: 4px;
}

@media screen and (max-width: 875px) {
  [class*="globo--"]::after {font-size: calc(var(--font-size-sm) * 0.6);}
}

/* ESTILOS DE LA SECCION SOBRE MI */

.sobremicontainer {
    position: relative;
    width: 100%;
    max-width: 840px;
    max-height: 600px;
    margin: 0 auto;
    background: var(--contenido-bg); /*#f7f7f7;*/
    display: grid;
    grid-template-columns: repeat(8, 1fr);
    grid-template-rows: repeat(8, 1fr);
    transition: opacity 2.2s;
    box-shadow: 0px 0px 10px 0.1px #000;
}

.miimagen {
    max-width: 460px;
    grid-column: 1/span 5;
    grid-row: 1/9;
    background-blend-mode: multiply;
    background-color: #b7a7c0;
}

/* icono y menu oculto sobre la imágen */

header {
  position: absolute;
  top: 0;
  z-index: 15;
}

header .miimagen-icono {
  margin: 1.125em;
  width: 3.25em;
  height: 3.25em;
  position: absolute;
  display: block;
  transition: all 0.5s ease;
}

header .miimagen-icono:hover {
  cursor: pointer;
  opacity: 0.45;
}

header .miimagen-icono.toggled ul.buns li.bun {
  transform: rotate(45deg) translateZ(0);
}

header .miimagen-icono.toggled ul.buns li.bun:last-child {
  transform: rotate(-45deg) translateZ(0);
}

header .miimagen-icono ul.buns {
  width: 1.625em;
  height: 1.625em;
  list-style: none;
  margin: -0.8125em 0 0 -0.8125em;
  padding: 0;
  position: absolute;
  top: 50%;
  left: 50%;
  transition: transform 1s cubic-bezier(0.23, 1, 0.32, 1), color 1s cubic-bezier(0.23, 1, 0.32, 1);
  transform: translateZ(0);
  color: #fff;
}

header .miimagen-icono ul.buns li.bun {
  width: 100%;
  height: 2px;
  background-color: #fff;
  position: absolute;
  top: 50%;
  margin-top: -0.75px;
  transform: translateY(-3.75px) translateZ(0);
  transition: transform 1s cubic-bezier(0.23, 1, 0.32, 1), background-color 1s cubic-bezier(0.23, 1, 0.32, 1);
}

header .miimagen-icono ul.buns li.bun:last-child {
  transform: translateY(3.75px) translateZ(0);
}

.miimagennav {
  position: absolute;
  left: 0;
  top: 0;
  z-index: 0;
  height: 100%;
  width: 100%;
  max-width: 50%;
  padding: 1em;
  opacity: 0;
  transform: scale(0.85);
  transition: all 0.5s ease;
}

.miimagennav.toggled {
  display: block;
  z-index: 10;
  transform: scale(1);
  opacity: 1;
  transition: all 0.5s ease;
}

.miimagennav h2 {
  padding-top: 2em;
  margin-left: 30px;
  color: #fff;
}

.miimagennav ul {
  padding: 2em 0 0 0;
  list-style: none;
}

.miimagennav ul li {
  border-bottom: 1px solid rgba(255, 255, 255, 0.15);
}

.miimagennav ul li a {
  font-size: var(--font-size-md);
  color: #fff;
  padding: 1em 0;
  font-weight: 300;
  display: block;
  transition: all 0.5s ease;
}

.miimagennav ul li a:last-child {
  border: none;
}

.miimagennav ul li a:hover {
  opacity: 0.45;
  transition: all 0.5s ease;
  padding: 1em;
}

.miimagencontainer {
  position: relative;
  transition: all 0.5s ease;
  max-width: 458px;
  height: 31.5em;
  z-index: 0;
}

.miimagencontainer.toggled {
  filter: blur(8px);
  transition: all 0.5s ease;
}

.miimagencontainer figure {
  position: relative;
  width: 100%;
  height: 100%;
  margin: 0;
}

.miimagencontainer figure::before {
  content: '';
  position: absolute;
  z-index: 2;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.05);
}

.miimagencontainer figure img {
  width: 100%;
  height: 100%;
  line-height: 1;
  display: block;
  object-fit: cover;
  aspect-ratio: 3/4;
}

.miimagencontainer figure figcaption {
  color: #fff;
  position: absolute;
  z-index: 5;
  bottom: 0px;
  padding: 2em 2em 2.5em 2em;
}

.miimagencontainer figure figcaption span.servicio {
  font-family: 'Montserrat', sans-serif;
  display: block;
  max-width: 100%;
  color: #fff;
  position: absolute;
  z-index: 5;
  bottom: 0px;
  padding: 2em 2em 2.5em 2em;
  font-size: var(--font-size-lg);
  transition: .2s linear;
}

.minombre {
    font-size: var(--font-size-lg);
    max-width: 100%;
    padding: 0.2em;
    grid-column: 5/ 8;
    grid-row: 2;
    z-index: 0;
}

.minombre span {
  padding: 0.1em; 
  background-color: #00ffa7; 
  text-wrap: nowrap;
}

.sobremi,
.sociallinks {
    grid-column: 4/8;
    grid-row: 3/6;
    font-family: "Inconsolata", sans-serif;
    z-index: 0;
}

.sobremi p {
    font-size: var(--font-size-sm);
    min-width: 180px;
    padding: 0.1em;
    line-height: 1.2em;
    letter-spacing: 0.04em;
    background-color: var(--body-bg);
    transition: .2s linear;
}
  
.sobremilinks {
    margin-left: 10px;
    grid-row: 8;
    grid-column: 8;
    writing-mode: vertical-lr;
}

.sobremilinks span {
    cursor: pointer;
    padding: 1em;
    display: block;
    transform: rotate(180deg);
    white-space: nowrap;
}

.sobremilinks span:first-of-type {background: #00ffa7;}
.sociallinks {display: none;}
.linkitems {
  max-width: 200px;
  margin: 1em;
  font-size: var(--font-size-base);
  display: flex;
  justify-content: space-evenly; 
  align-items: center;
  transition: .3s;
}
.linkitems a {
  color: var(--secondary-color);
  transition: .3s;
}
.linkitems:nth-of-type(2) {margin-left: 40%;}

.linkitems:nth-of-type(1):hover {transition: .3s; color: #1da1f2; background-color: rgba(255,255,255, .3); box-shadow: 1px 1px 2px rgba(0,0,0,.3);}
.linkitems:nth-of-type(2):hover {transition: .3s; color: #ff0000; background-color: rgba(0,0,0, .3); box-shadow: 1px 1px 2px rgba(0,0,0,.3);}
.linkitems:nth-of-type(3):hover {transition: .3s; color: #247ba0; background-color: rgba(255,255,255, .3); box-shadow: 1px 1px 2px rgba(0,0,0,.3);}

/* Estilos index de html, css y javascript */

@supports (animation-timeline: view()) {}

/* Estilo del contenido general */

#contenidos-index {
  transition: margin-left 0.5s linear; 
  max-width: 92%; 
  padding-left: 80px; 
  font-size: var(--font-size-base);
  overflow-x: hidden;
}
#contenidos-index.active {transition: all 0.5s; margin-left: 350px; max-width: 90%;}

/* Estilos para encabezados y párrafos */

#contenido-index {transition: all 0.5s;}

#contenido-index h1, #contenido-index h2 {display: inline-block; transition: .5s linear;}

#contenido-index h1:hover, #contenido-index h2:hover {
 transition: .5s linear;
 padding: 5px;
 color: hsl(calc(var(--hue) / 2), calc(var(--saturation) * 0.7), calc(var(--lightness) * 1.2));
 box-shadow: 2px 2px 8px var(--card-shadow);
}

#contenido-index p {
  font-size: var(--font-size-base);
  line-height: var(--line-height-base);
  width: 100%; 
  max-width: 95%;
  margin-left: 30px;
}

#contenido-index code, #contenidos-index code {
  font-family: Consolas, "Liberation Mono", Courier, monospace; 
  font-weight: bold; 
  color: var(--color-code); /* #7f0a0c; */
  font-size: var(--font-size-code); 
  display: inline-block; 
  width: auto; 
  height: auto;
  white-space: nowrap;
  transition: 0.5s linear;
}

#contenido-index code:hover, 
#contenidos-index code:hover {
  transition: .5s linear;
  color: var(--primary-color);
  box-shadow: 2px 2px 8px var(--card-shadow);
}

#contenidos-index .grid,
#contenido-mascotas .grid {
    margin: 0 auto;
    padding-block: 20vh;
    padding-inline-end: 5vw;
    width: 100%;
    max-width: 100%;
    min-height: 150vh;
	  min-height: 150dvh;
    overflow-y: scroll;
    overflow-x: hidden;
    display: grid;
    gap: 10px;
    row-gap: 100px;
    grid-template-columns: repeat(3, minmax(220px, 1fr));
    grid-template-rows: auto;
    align-items: center;
    justify-items: center;
    /* view-timeline: --imagePages; */
}

#contenidos-index .grid .card,
#contenido-mascotas .grid .card {
  transition: .8s linear .2s;
}

.card-index {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

h4.card-title {
  text-align: center;
}

p.card-text {
  font-size: calc(var(--font-size-base) * 0.8) !important;
}

/*
  view-timeline: --imagePages;
  animation: aparicion linear both;
  animation-timeline: view();
  animation-range: entry 0% entry 80%;

  @keyframes aparicion {
    from {
      opacity: 0;
      translate: 0 -50% 0;
      scale: 0.5;
      transform-origin: 50% 50%;
      clip-path: inset(100% 100% 0% 0%);
    }
    to {
      opacity: 1;
      scale: 1;
      clip-path: inset(0% 0% 0% 0%);
    }
  } 
*/

.hidden {
	opacity: 0;
	filter: blur(2px);
	transform: translateY(70%);
}

/* ESTILOS MEDIA QUERYS */

@media screen and (max-width: 1200px) {
  #contenidos-index {max-width: 90%;}
  #contenidos-index .grid,
  #contenido-mascotas .grid {grid-template-columns: repeat(2, minmax(220px, 1fr));}
}

@media screen and (max-width: 800px) {
  #contenidos-index {max-width: 95%; padding-left: 20px;}
  #contenidos-index .grid,
  #contenido-mascotas .grid {grid-template-columns: repeat(1, minmax(220px, 1fr));}
}

@media screen and (max-width: 600px) {
  #contenidos-index {max-width: 95%; padding-left: 0; margin: 0;}
}

@media screen and (max-width:1250px){
  .sobremicontainer{transform: scale(0.8); grid-template-rows: repeat(7, 1fr);}
  .miimagencontainer {transition: all 0.2s ease; height: 32em;; z-index: 0;}
}

@media screen and (max-width:1040px){
  .sobremicontainer{max-width: 100%; grid-template-rows: repeat(7, 1fr);}
  .miimagencontainer {transition: all 0.2s ease; height: 33.2em;; z-index: 0;}
}


@media screen and (max-width: 1000px) {
  .sobremi p {font-size: var(--font-size-sm) !important;}
}

@media screen and (max-width:930px){
  .sobremicontainer {grid-template-rows: repeat(6, 1fr);}
  .miimagencontainer {transition: all 0.2s ease; height: 34em;; z-index: 0;}
  .sobremilinks {grid-row: 6;}
}

@media screen and (max-width: 875px) {
  span.servicio {transition: .2s linear; padding: 2em 2em 2.5em 0 !important;}
}

@media screen and (max-width:700px){
  /* .linkitems{margin: 1em 0; font-size: 1em;} */
  .sobremicontainer{transform: scale(1, 0.7);}
  span.servicio {left: 0px;}
  .sobremi {grid-row: 3/6;}
  .miimagencontainer {transition: all 0.2s ease; height: 35.5em; z-index: 0;}
}

@media screen and (max-width:600px){
  .miimagencontainer {transition: all 0.2s ease; height: 36.5em; z-index: 0;}
}

/* MEDIA QUERIES */

@media screen and (min-width: 1200px) {
  body {font-size: 110%;}
  .card p {font-size: 110%;}
  #contenido{max-width: 90%;}
}

@media screen and (max-width: 1199px) {
  body {font-size: 100%;}
  .card p {font-size: 100%;}
  .card_header {font-size: 95%;}
  #cajas_inicio {width: 100%; grid-template-columns: repeat(2, 1fr);}
  #cajas_inicio img {width: 180px;height: 180px;}
  .caja_inicio .nombre_inicio {width: auto;font-size: calc(var(--font-size-base) * 0.9);}
  #menu {max-width: 900px;}
  #search-input, #search-button {transition: all 0.3s linear; transform: scale(0.9); padding: 10px 10px!important;}
}

@media screen and (max-width: 1095px) {
  #menu {max-width: 800px;}
}

@media screen and (max-width: 1040px) {
  #contenido{max-width: 100%; padding-left: 20px !important;}
}

@media screen and (max-width: 1000px) {
  .container-form {flex-direction: column;}
  .container-form.active {transform: translateY(0%) scale(.8);}
}

@media screen and (max-width: 995px) {
  #menu {max-width: 720px;}
}

@media screen and (max-width: 915px) {
  #menu {max-width: 680px;}
}

@media screen and (max-width: 875px) {
  body{font-size: 80%;}
  #contenido {max-width: 100%; padding-left: 20px;}
  .card p:not(.sobremi p) {font-size: 90%;}
  .card_header {font-size: 90%;}
  .item-dropdown {transform: translate(-50%, 0%);}
  .item-dropdown.active {background: var(--bg);}
  .item-dropdown li a {color: var(--body);}
  #informatica span.active {transition: .5s linear; opacity: 1; background: white; padding: 10px 20px; margin: 0 20px; transform: translate(0%, 0%);}
  #navigation-dropdown::before {position: absolute; content: ""; bottom: 100%;
  left: 50%; transform: translate(-50%, 0%); border-top: 0.5rem solid transparent;
  border-right: 0.5rem solid transparent; border-bottom: 0.5rem solid var(--bg); border-left: 0.5rem solid transparent;}
  #menu .temas > li:last-child {display: none;}
  .menunav {max-width: 250px;}
  #nav-lateral.active {max-width: 250px;}
  .menunav a{font-size: 1.2em;}
  .toggle-menunav a::after {margin-top: -6px;}
  #oscuro {transform: scale(0.7);}
  #ver {transform: scale(0.7);}
  #ver.active {transition: 0.3s ease-in-out; transform: translate(-180%, 0%) scale(0.7);}
  .navegacion.active {max-width: 250px;}
  #formulario {height: 80vh;}
  #ver-form {transform: scale(0.7);}
  #circulo {max-width: 100px;}
	#circulo i {font-size: calc(var(--font-size-sm) * 0.8);}
  .cab-btn{padding: .2rem .5rem;}
  #cab-btn-toggle {
    display: block;
    border: 2px solid #EEE;
    border-radius: 6px;
    padding: .5rem 1rem;
    font-size: 1rem;
    background: none;
    color: white;
    cursor: pointer;
  }
  #cab-btn-toggle.active{transition: all .3s linear 0s;border-radius: 50%;}
  #cab-btn-icon{display: block;width: 20px;border-top: 2px solid;color: #EEE;}
  #cab-btn-icon::after, #cab-btn-icon::before {
    display: block;
    margin-top: 5px;
    content: '';
    width: 20px;
    height: 2px;
    background: currentColor;
    transition: .3s;
    position: relative;
  }
  #cab-btn-icon.active{transition: color .3s linear 0s;border-top-color: transparent;color: red;}
  #cab-btn-icon.active::after{transform: rotate(135deg);top: -7px;}
  #cab-btn-icon.active::before{transform: rotate(-135deg);}
  #menu .temas {
    position: fixed;
    width: 100%;
    top: 45px;
    left: 0;
    display: flex;
    flex-direction: column;
    align-content: center;
    align-items: center;
    transform-origin: top;
    transform: scaleY(0);
    opacity: 0;
  }
  #menu .temas > a {
    display: block;
    width: 100%;
    text-align: left;
    padding-left: 5px;
  }
  #menu .temas:hover > li > a {
    transition: all 0.5s linear 0.2s;
    font-family: impact;
    text-align: center;
    letter-spacing: 3.5px;
  }   
  #menu .temas.active {
    min-width: 100vw;
    height: 100vh;
    display: flex; 
    flex-direction: column;
    overflow-y: hidden;
    transition: all 1s linear 0s;
    transform-origin: top;
    transform: scaleY(1);
    background-color: black;
    color: white;
    overflow: visible;
    opacity: 1;
    visibility: visible; 
  }
  #menu .temas.active span:hover {transition: .2s linear; color: black;}
  #cajas_inicio {width: 100%; grid-template-columns: repeat(2, 1fr);}
  #cajas_inicio img {width: 150px;height: 150px;}
  .caja_inicio .nombre_inicio {width: auto; font-size: calc(var(--font-size-base) * 0.8);}
}

@media screen and (max-width: 600px) {
  body {font-size: 80%;}
  #contenido p:not(.sobremi p) {font-size: calc(var(--font-size-base) * 0.8);}
  #contenido {max-width: 100%; padding-left: 0 !important; margin: 0;}
  #circulo {max-width: 80px;}
	#circulo i {font-size: calc(var(--font-size-sm) * 0.7);}
}

@media screen and (max-width: 500px) {
  #cajas_inicio {width: 100%; grid-template-columns: repeat(1, 1fr);}
}

@media screen and (max-height: 650px) {
  body {font-size: 80%;}
  .card p {font-size: 80%;}
  .card_header {font-size: 80%;}
  #oscuro {top:5px; transform: scale(0.7);}
  #ver {transform: scale(0.7);}
  #ver.active {transition: 0.3s ease-in-out; transform: translate(-180%, 0%) scale(0.7);}
  .navegacion.active {max-width: 250px;}
  #formulario {height: 80vh;}
  #contenedor .acordeon {max-width: 300px;}
  #circulo {max-width: 80px;}
	#circulo i {font-size: calc(var(--font-size-sm) * 0.7);}
}