* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    background-color: #ffffff;
    font-family: 'Mulish', sans-serif;
    margin: 0;
    color: #0c0e22;
}

body {
    display: grid;
    min-height: 100dvh;
    grid-template-rows: auto 1fr;
}

h2 {
    color: #332e5f;
    font-size: 1.5rem;
    border-block-end: 1.5px solid #0c0e22;
    margin-bottom: 1rem;
}

img {
    max-width: 100%;
}

a {
    text-decoration: none;
    color: #4656e6;
    font-weight:normal;
}

ul,
ol {
    list-style: none;
    padding: 0;
}

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


/* COMPONENTE SUPERIOR Y SUS CONTENIDOS */

header,
footer {
    background: #ffffff;
    width: 100%;
    color: #d6d6d6;
}

header {
    box-shadow: 0 2px 2px;
    color: #ebebeb;

}

#logo a {
    color: #0c0e22;
    font-family: 'Manrope', sans-serif;
    text-decoration: none;
    font-weight: bolder;

}
#logo a {
    display: block;
    width: 7rem;
    text-align: center;
    font-size: 1.75rem;
    background-color: #ffffff;
    border: solid 2px #0c0e22;
    padding: .23rem; 
}

#logo a:hover,
#logo a:focus-visible {
    color: #ffffff;
    background-color: #0c0e22;
    border: solid 2px #0c0e22; 
    transition: .4s ease-in-out;
}

#logo a {
    display: grid;
    place-items: center;
}


.menu-btn {
    background-color: #c9caff;
    border: none;
    outline: none;
    width: 3rem;
    aspect-ratio: 1;
    border-radius: 50%;
    cursor: pointer;
}

.menu-btn .btn-linea {
    width: 1.5rem;
    height: 3px;
    margin: 4px auto;
    background-color: #f2f7f5;
    transition: all 0.3s ease-out;
}

header nav ul {
    margin-block: 0;
    display: none;
}

header nav a {
    color:#0c0e22;
    display: block;
    width: 5em;
    padding-block: .25em;
    text-align: center;
}
nav ul li a{
    text-decoration: none;
    font-weight:normal;
}

header nav a:hover,
header nav a:focus-visible {
    background-color: rgba(48, 48, 196, 0.5);
    color: #ffffff;
    outline: none;
    border-radius: .2rem;
    transition: .4s ease;
}

.menu-btn {
    display: none;
}

header > .contenedora {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
}

header .menu {
    display: flex;
    gap: 0.25em;
    
} 

/* SECCION DATOS PERSONALES CONTENEDORA */

.info_articulo {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(10rem, 100%),1fr));
    grid-template-rows: auto 1fr;
    justify-content: center;
    justify-items: center;
    align-items:center;
    gap: 1rem;
    padding: 1rem;
}

.info_articulo img{
    border-radius: 50%;
    width: 15rem;
}

.info-texto {
    display: grid;
    grid-template-rows: auto 1fr;
    gap: .5rem;
    align-items: center;
}

.info-texto h3 {
    margin-block-end: 0; 
}

.info-texto h1 {
    font-size: 2.4rem;
    font-weight: bold;
}

.boceto {
    margin-top: .5rem;
}

.boceto a:hover,
.boceto a:focus-visible {
    background-color: rgba(48, 48, 196, 0.5);
    color: #ffffff;
    outline: none;
    border-radius: .2rem;
    transition: .4s ease;
}

.analisis a:hover,
.analisis a:focus-visible {
    background-color: rgba(48, 48, 196, 0.5);
    color: #ffffff;
    outline: none;
    border-radius: .2rem;
    transition: .4s ease;
}

/* SECCION MATERIAS APROBADAS */

.materias h3 {
    padding-bottom: .5rem;
}

.materias li {
    margin-block-start: .2rem;
}

.materias {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(25rem,100%), 1fr));
    text-align: center;
}
.historial article {
    border: 1.5px solid #0c0e22;
    padding: 1em;
    margin: 1em;
}

/*SECCION PORTFOLIO */

.slider-wrapper {
    position: relative;
    max-width: 58rem;
    margin: 0 auto;   
}

.slider {
    display: flex;
    aspect-ratio: 16 / 9;
    overflow-x: auto;
    scroll-snap-type:x mandatory;
    scroll-behavior: smooth;
    border-radius: 0.5rem;
}

.slider img {
    flex: 1 0 100%;
    scroll-snap-align: start;
    object-fit: fill;
}

.slider-nav {
    display: flex;
    column-gap: 1rem;
    position: absolute;
    bottom: 1.25rem;
    left: 50%;
    transform: translateX(-50%);
    z-index: 1;
}

.slider::-webkit-scrollbar {
	display: none;
}

.slider-nav a {
    width: 0.5rem;
    height: 0.5rem;
    border-radius: 50%;
    background-color: #fff;
    opacity: 0.75;
    transition: opacity ease 250ms;
}

.slider-nav a:hover {
    opacity: 1;
}

/*SECCION EQUIPO */

.equipo a{

    list-style: none;
    text-decoration:solid;
}

.equipo article {
    border: 1.5px solid rgb(12, 14, 34, .2);
    padding: 1em;
}

.equipo_articulos {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(10rem, 100%),1fr));
    gap: 1rem;
    align-items: center;
    grid-template-columns: repeat(2, 1fr);
    margin-top: 20px;
    justify-items: center;
}

.equipo_articulos article {
    margin-block-start: 0;
}

.equipo_textos {
    display: grid;
    grid-template-rows: auto 1fr;
    justify-content: center;
    height: 100%;
}

.equipo img {
    width: 10rem;
    aspect-ratio: 1;
    border-radius: .5rem;
    align-items: center;
}

/*SECCION ACADEMICOS */

.academicos img {
    display: block;
    width: 8em;
    background-color: white;
    padding: .5rem;
    border-radius: .25rem;
    box-shadow: 0 4px 4px transparent;
    transition: box-shadow .6s ease;
}

.academicos a:hover img {
    box-shadow: 0 4px 4px rgb(70, 86, 230, .5);
    transition: box-shadow .3s ease;
}

.academicos > ul{
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(15rem, 100%), 1fr));
    gap: 1rem;
}

.academicos > ul > li{
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    align-items: flex-start;
    align-content: flex-start;
}

.academicos > ul > li {
    margin: 0;
}

/*FOOTER */

footer {
    background-color: #4351d1;
}

footer img {
    max-width: 10rem;
    border-radius: .5em;
}

footer .contenedora a{
    display: flex;
    justify-content: center;
}

footer p {
    font-size: x-small;
    margin-block-start: 1em;
    margin-block-end: 0;
    text-align: center;
}