* {
    padding: 0; margin: 0;
    font-family: 'Montserrat', sans-serif;
}

body {
    
}

header {
    background-color: #ffd6fa;
    display: flex;
    justify-content: center;
    flex-direction: column;
    align-items: center;
    color: white;
    height: 25rem;
}

a {
    text-decoration: none;
}

header h1 {
    margin-top: 40px;
    margin-bottom: 20px;
}

header h3 {
    margin-top: 20px;
    margin-bottom: 20px;
    font-weight: 200;
}

header a {
    color: white;
}

img {
    animation-name: rebote;
    animation-duration: 3s;
}



.logoOcampo {
    width: 50%;
    display: block;
    margin-left: auto;
    margin-right: auto;
}


nav {
    background-color: #f894ec;
    box-shadow:0px 0px 40px 0px #d16dc5;
    height: 4rem;
    box-sizing: border-box;
    z-index: 1000;
    
}

/*  MENU */


.sticky {
    position: fixed;
    top: 0;
    width: 100%;
  }
  

/* padding  */
  .sticky + .content {
    padding-top: 60px;
}

/*  MOSTRAR Y ESCONDER CON JS */

.toggle-btn {
    display: none;
}

.verDatos {
    text-align: center;
    color: blue;
    text-decoration: underline;
    margin: 5px auto auto auto;
}

.verDatos:hover {
    text-decoration: none;
}

/**/

ul {
    list-style: none;
}

nav ul {
    display: flex;
	flex-direction: row;
	flex-wrap: nowrap;
	justify-content: center;
	align-items: center;
	align-content: stretch;
}

nav ul li a {
    padding: 1rem 2rem 1.35rem 2rem;
}

nav a:hover {
    background-color: #829FD9;
}

nav a {
    color: white;
    font-weight: 500;
    font-size: 1.3rem;
    display: block;
    transition-property: all;
    transition-duration: 1s;
}

main {
    display: flex;
	flex-direction: row;
	flex-wrap: nowrap;
	justify-content: space-around;
	align-items: center;
	align-content: stretch;
    height: 25rem;
}

/* ANIMACION REBOTE */

@keyframes rebote {
    0% {
        opacity: 0;
        transform: translateY(-200%);
    }
    40% {
        opacity: 1;
        transform: translateY(0);
    }
    55% {
        opacity: 1;
        transform: translateY(-6px);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

/**/

section {
    opacity: 0;
    animation: rebote;
    animation-duration: 00s;
    animation-fill-mode: forwards;
    animation-delay: 0s;
    height: 20rem;
    width: 20rem;  
    display: flex;
    
    flex-direction: column;
    align-items: center;
    padding: 10px;
    box-sizing: border-box;
}

article {
    background-color: white;
    border-radius: 20px;
    padding: 1px;
}

article p, article h6 {
    font-size: 10px;
    text-align: center;
    margin-top: 5px;
}

section.materias_aprobadas h5, section.materias_encurso h5 {
    margin: 5px;
    color: white;
    font-weight: 900;
}


section.materias_aprobadas ul, section.materias_encurso ul {
    margin: 0 5px;
}

section.materias_aprobadas ul li, section.materias_encurso   ul li {
    color: white;
    list-style: disc;
    margin: 5px;
    font-weight: 200;
}

.materias_aprobadas, .materias_encurso {
    border-radius: 5px;
    background-color: #f894ec;
}

.titulo_section {
    display: block;
    color: #f894ec;
    text-align: center;
    margin: 20px auto 5px auto;
    font-size: 20px;
    background-color: white;
    border-radius: 1rem;
    margin: 10px;
    width: 15rem;
}

footer {
    background-color: #f894ec;
    color: white;
    text-align: center;
    justify-content: center;
    font-size: 10px;
    height: 5rem;
    padding: 30px 120px;
    box-sizing: border-box;
}
 

/*  MOSTRAR Y ESCONDER CON JS */
    .article_dgpc .toggle-btn-visible {
        display: block;
    }

    .article_dgpc .toggle-target-hidden {
        display: none;

    }

    .article_dgpc .toggle-target-expanded {
        display: block;
    }

/**/


/* ------------------------------------- MEDIA fijar ---------------------------------------------- */

@media screen and (max-width:48rem) {
    header {
        height: 10rem;
    }
    
    img { 
margin-top: 40px;
}
     
    
    header img {
        display: none;
    }
    
    header h1 {
    margin-top: 40px;
    margin-bottom: 0;
    }
    
    header h2 {
        margin-top: 0;
        margin-bottom: 20px;
        font-weight: 200;
    }
    
    nav {
        background-color: white;
    }
    
    nav ul li a {
        color: #d16dc5;
    }
    
    nav a:hover {
        background-color: #d16dc5;
        color: white;
    }
    
    main {
        display: flex;
        flex-direction: column;
        flex-wrap: nowrap;
        justify-content: space-around;
        align-items: center;
        align-content: stretch;
        height: 85rem;
    }
    
    


}