@charset "utf-8"

*, 
*::after,
*::before{
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  border: 0;
  outline-color: transparent;
}

body {
    font-family: system-ui, -apple-system, BlinkMacSystemFont, 
    'Segoe UI','Times New Roman','Open Sans', 'Helvetica Neue',
    sans-serif;
    margin: 0;
    color: black;
    background-color: rgb(237, 239, 246);
    display: flex;
    flex-direction: column;
    flex-wrap: wrap;
    min-height: 100vh;
    justify-content: space-between;
}

body p {
    margin-left: 1rem;
}

main {
    margin-left: 2rem;
    margin-right: 2rem;
}

h1 {
    color: rgb(237, 239, 246);
    font-size: 40px;
    text-decoration-line: overline;  
}


img {
    max-width: 100%;
    height: auto;
}

header, 
footer{
    background-color: #784ee2;
    color: rgb(237, 239, 246);
}
 
header {
    box-shadow:
    0 
    4px 
    4px 
    hsla(0, 6%, 10%, 0.319);
}

header .caja {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
}
    
h1,
h2,
h3 {
  line-height: 1.1;
}

ul, li {
    text-decoration: none;
}

header{    
    position: sticky;
    top: 0;
    z-index: 8000;
    padding-left: 2rem;
    padding-top: 1rem;
    padding-bottom: 1rem;
    padding-right: 2rem;
}



.contenedora {
    max-width: 65rem;
    margin-inline: auto;
    padding: 1rem;
}

ul li a {
    text-decoration: none;
    marker-start: none;
}

.caja ul li {
    list-style: none;
}

h1 {
    display: block;
    font-size: 2em;
    margin-block-start: 0.67em;
    margin-block-end: 0.67em;
    margin-inline-start: 0px;
    margin-inline-end: 0px;
    font-weight: bold;
}

h1 {
    font-size: 40px;
    text-decoration-line: overline;
}


h1{
   
  color: aliceblue;
  font-family: 'Lucida Sans', 'Lucida Sans Regular', 'Lucida Grande', 'Lucida Sans Unicode', Geneva, Verdana, sans-serif;
}

header{
    width: 100%;
    background: #784ee2;
}

h2{
    color: black;
    font-size: 26px;
    text-decoration: none;
    margin-top: 1rem;
    margin-bottom: 2rem;
    border-block-end: 3px solid #aaa1ea;
    padding-block-end: 0.4rem;
}

.datos_textos p {
    color: black;
    font-size: 16px;
    font-weight: 480;
}

.caja {
    max-width: 65rem;
    margin-inline: auto;
    padding: 1rem;
}

.nav ul {
    display: grid;
    place-items: center;
    place-content: center;
    position: fixed;
    inset: 0;
    z-index: 8000;
}

/*IMPORTANTE: Los estilos están diseñados en Web responsive NO Mobile First */


/*desaparecer la casilla de verificación*/
#btn-menu{display: none;}

/*desaparecer la img del menú hamburguesa*/
header label{
    display: none; 
    width: 1rem; 
    height: 1rem; 
    padding: 1rem; 
}

/*convierto el cursor en mano porque tengo una img y no un vínculo*/
header label:hover{
    cursor: pointer; 
    background: rgba(0,0,0,0.3);
}

nav.menu{
    margin-left: 50%;
    margin-bottom: -5rem;
}

.menu ul{
    margin-bottom: 10%;
    list-style: none;
    display: flex;
    flex-direction: row;
    justify-content: flex-end;
    
}
.menu li{
    margin-bottom: 5rem;
    border-left: 1px solid rgb(255, 255, 255);
}

.menu li a{
    display: block;
    padding: 1rem 2rem;
    text-decoration: none;
    margin-top: 2rem;
    margin-bottom: 2rem;
}

.menu-btn {
    background: hsla(0, 0%, 100%, 0.23);
    border-color: #4e159d;
    border-color: rgb(237, 239,246);
    border-radius: 50%;
    box-shadow: -5px 5px 5px hsl(180 100% 4% / 0.2);
    padding: 0.70rem;
    width: 3rem;
    aspect-ratio: 1;
    cursor: pointer;
    transition: all 0.3s ease-out;
    position: fixed;
    top: -0.56rem;
    right: 2rem;
    z-index: 9000;
}

button.menu-btn {
    text-align: center;
    text-decoration: none;
    font-size: 16px;
    margin: 4px 2px;
    display: inline-block;
    margin-top: 6%;
}

.btn-linea {
    width: 25px;
    height: 3.5px;
    margin: 4px 0 4px 0;
    background: rgb(237, 239,246);
    transition: all 0.3s ease-out;
    position: relative;
    z-index: 9000;
}

.menuVisible .menu-btn .btn-linea {
    transform: rotate(180deg);
}

.menuVisible .menu-btn .btn-linea:nth-child(1) {
    transform: rotate(45deg) translate(4px, 6px);
}

.menuVisible .menu-btn .btn-linea:nth-child(2) {
    opacity: 0;
}
.menuVisible .menu-btn .btn-linea:nth-child(3) {
    transform: rotate(-45deg) translate(4px, -6px);
}

nav ul {
    place-items: center;
    place-content: center;
    position: fixed;
    inset: 0;
    z-index: 8000;
    translate: 100%;
    transition: all .6s ease;
}
  
.menuVisible ul {
    background-color: rgb(18, 18, 18);
    transition: all .4s ease;
    translate: 0;
}
  
  /* cada vínculo del menu */
nav ul li a {
    color: rgb(237, 239,246);
    font-size: 1.2rem;
    margin-block-end: .5rem;
    text-align: left;
}
  
nav ul li a:hover {
    border-bottom: solid 3px #784ee2;
    transition: all .3s;
}
  
.slider {
    width: 100%;
    height: max(400px, 50vh);
    position: relative;
    overflow: hidden;
}
  
.slide {
    width: 100%;
    height: 100%;
    position: absolute;
    transition: all 0.5s;
}
  
  
.slide figcaption {
    background-color: hsla(210, 62%, 56%, 0.8);
    border-radius: .5rem;
    color:hsl(0, 0%, 97%);
    padding: 1rem;
    text-transform: uppercase;
    font-weight: 700;
    position: absolute;
    inset: auto 1rem 1rem 1rem;
    
    width: 82.5%;
    margin-left: -2rem;

    text-align: center;
    

    display: grid;
    grid-template-rows: auto 1fr auto;
    gap: .5rem;
}
  
.slide figcaption span {
    display: block;
    font-size: .85rem;
    color: hsl(0, 0%, 97%);
    text-transform: none;
}
  
.slide a {
    background-color: #2f7ac6;
    color: hsl(0 0% 90% / 0.85);
    padding: .25rem 1rem;
    border-radius: 2rem;
    text-decoration: none;
    justify-self: end;
    margin-block-start: 1rem;
}
  
.slide a::after {
    content: " →";
}
  
.slide a:hover figcaption{
    background-color: #2f7ac6;
    box-shadow: 0 .25rem .25rem hsl(0 0% 0% / 0.25);
    color: hsl(0 0% 97%);
    
}

@media (min-width:30rem) {
    .slide figcaption {
        font-size: 1.1rem;
        inset: 2rem 50% 2rem 2rem;
        gap: 1rem;
        padding: 1.5rem;
        transition: .5s;
      }
 

@media (min-width: 40rem) {
    .slide figcaption {
        font-size: 1.25rem;
        inset: auto 50% 2rem 2rem;
    }
}

}

.btn {
    position: absolute;
    z-index: 10;
    bottom: 1.5rem;
  
    width: 2.5rem;
    aspect-ratio: 1;
    border: none;
    border-radius: 50%;
    cursor: pointer;
    background-color: #2f7ac6;
    color: hsl(0, 0%, 97%);
    font-size: 1.1rem;
    opacity: .75;
}
  
.btn:active,
.btn:hover {
    background-color: #6aa3dc;
    border: solid 1px #f7f7f7;
}
  
.btn-prev {
    left: 4rem;
}
  
.btn-prox {
    right: 4rem;
}

.caja > video {
background-size: cover;
-moz-background-size: cover;
-webkit-background-size: cover;
background-position: center;
background-repeat: no-repeat;
width: 100%;
height: 100%;
position: absolute
}

/* BODY*/
.datos img {
    float: left;
    margin-inline-end: 1rem;
}

.datos img {
    border-radius: 0.25rem;
}
img {
    max-width: 100%;
}
user agent stylesheet
img {
    overflow-clip-margin: content-box;
    overflow: clip;
}
.contenedora img{
    max-width: 100%;
}

.info p {
    color: black;
    font-size: 16px;
    font-weight: 480;
}

body.contenedora .datos p{
    display: block;
    margin: 1rem
}


/* --------------------------
   media queries,
   para cambiar la apariencia
   en la medida en que el
   navegador se ensancha
   (mobile first)
   -------------------------- */


/* cambios a partir de los 480px */
@media (480px) {

    body.contenedora .datos img{
        max-width: 100%;
    }
}

/* cambios a partir de los 640px */
@media (640px) {

    body.contenedora .datos img{
        max-width: 100%;
    }
}


/* cambios a partir de los 960px */
@media (960px) {

    body.contenedora .datos img{
        max-width: 100%;
    }
}

body.contenedora .datos img{
    max-width: 100%;
}


/* MAIN*/

main.caja{
    margin: 90rem;
}


/* FOOTER*/
footer .contenedora {
    display: grid;
    grid-template-columns: 10rem 1fr;
    gap: 1rem;
    align-items: center;
}
  

    

  