* {
    padding: 0;
    margin: 0;
    font-family: Verdana, Geneva, sans-serif;
    box-sizing: border-box;
}
body {
    background: rgb(221, 220, 220);
}
.container {
    width: 99%;
    margin: auto;
}
a {
    text-decoration: none;
}

/* MENU */
header {
    /*position: -webkit-sticky;*/
    position: fixed;
    top: 0;
    width: 99%;
}
nav {
    z-index: 10;
    min-width: 100%;
}
.rebote {
    transition: all .7s;  
}
#menu {
    width: 100%;
    /*display: flex;*/
    height: max-content;
    background-color: white;
    /*padding: .3rem;*/
    box-shadow: 0 0 15px rgba(0, 0, 0, .99);
}
.linea, #menu-line {
    display: flex;
    height: max-content;
    background-color: rgb(14, 34, 61);
    color: white;
    padding: .5em;
    justify-content: space-around;
    align-items: center;
    flex-wrap: wrap;
}
.toggle-menu {
    margin-left: 1rem;
    cursor: pointer;
    align-self: flex-start;
}
.linea {
    width: 100%;
    display: flex;
    justify-content: space-between;
    padding-left: 1rem;
    box-shadow: 0 0 15px rgba(0, 0, 0, .99);
    z-index: 50;
}
h1 {
    font-size: 2rem;
}
h2 {
    color: turquoise;
    font-size: 1.1rem;
    font-weight: bold;
    margin: 0;
    padding-top: 0.1rem;
    
}
h3 {
    align-self: center;
    font-size: 2rem;
    margin-bottom: 2rem;
}
.subtit_datos {
    font-size: 1.5rem;
    font-weight: bold;
    margin-bottom: 1.5rem;
}
.marginx {
    margin-top: 2rem;
}
.marginxx {
    margin-top: 3rem;
}
#data {
    display: flex;
    justify-content: space-around;
    z-index: 150;
}
.icon {
    padding: 0 .5rem;
    z-index: 150;
    font-size: x-large;
    color:   rgb(14, 34, 61, .8);
    /*display: block;*/
}
.icon-data {
    padding: .5rem 1rem .5rem 1rem;
    padding-top: .5rem;
    padding-bottom: .5rem;
    z-index: 150;
    cursor: pointer;
    font-size: x-large;
    color:  rgba(255, 255, 255, .8);
    display: block;
}

.icon-data:hover {
    background: rgba(255, 255, 255, .2);
    border: rgba(255, 255, 255, .8) solid 1px;
    border-radius: 3px;
}

.icon-data a:visited {
    color: white;
}
#icons {
    display: flex;
    flex-direction: row;
}
#small-menu {
    display: none;
    max-width: max-content;
}
nav ul {
    width: 100%;
    display: flex;
    justify-content: space-around;
    align-items: center;
    /*flex-direction: column;*/
    list-style: none;
    background: white;
}
nav ul li {
    width: 100%;
    display: block;
    cursor: pointer;
    border-right: black solid 1px;
    border-bottom: 0;
    text-align: center;
}
nav ul li:hover{
    background: teal;
}
nav ul li a{
    text-decoration: none;
    display: block;
    color: rgb(16, 40, 77);
    font-weight: bold;
    line-height: 1.5rem;
    padding: .3rem;
    /*padding: 0 2em 0 1em;*/
}
nav ul li a:hover{
    color: white;
}
#menu-line {
    display: none;
}
.image {
    width: 100%;
    float: left;
    border: white solid 3px;
    box-shadow: rgba(0, 0, 0, .2) 10px 20px 20px;
}
.image-border {
    border: rgba(0, 0, 0, .1) solid 1.5px;
}
.video {
    width: 360px;
    height: 315px;
    border: white solid 3px;
    box-shadow: rgba(0, 0, 0, .2) 10px 20px 20px;
    margin: 2rem 0;
}
.image1 {
    margin: 2rem 0;
    width: 20%;
    min-width: 300px;
}
.image2 {
    width: 25%;
    min-width: 400px;
    margin: 0 0 2rem 0;
}
.image4 {
    width: 25%;
    min-width: 400px;
}
.image5 {
    width: 25%;
    min-width: 400px;
    margin: 0 0 2rem 0;
}

.text1 {
    float: left;
    width: 50%;
    color: rgb(14, 34, 61);
    line-height: 1.5rem;
    text-align: justify;
}

.text2 {
    float: left;
    width: 50%;
    color: rgba(255, 255, 255, .8);
    line-height: 1.5rem;
    text-align: justify;
}
.text3 {
    float: left;
    width: 100%;
    color: rgba(255, 255, 255, .8);
    line-height: 1.5rem;
    display: flex;
    flex-direction: column;
    text-align: center;
}
.text4 {
    float: left;
    width: 60%;
    color: rgb(14, 34, 61);
    margin-bottom: 2rem;
}
.text5 {
    float: left;
    width: 55%;
    color: rgba(255, 255, 255, .7);
    line-height: 1.5rem;
    text-align: justify;
}
.text6 {
    float: left;
    width: 55%;
    color: rgba(255, 255, 255, .7);
    line-height: 1.5rem;
    text-align: justify;
}
.text7 {
    float: left;
    width: 40%;
    color: rgb(14, 34, 61);
    line-height: 1.5rem;
}
.text7 a{
    color:blue;
}

#content {
    display: flex;
    justify-content: space-around;
}
#col1, #col2 {
    width: 40%;
    text-align: justify;
    font-size: .75rem;
}
p {
    margin-top: 1rem;
}
.subtitulo, .bolder, .bolder2 {
    font-size: 1rem;
    font-weight: bold;
    color: white;
    text-shadow: black;
}
.bolder2 {
    color: rgb(14, 34, 61);
    font-style: italic;
}
.text4 ul li {
    cursor: pointer;
    line-height: 2rem;
    font-size: 1rem;
}
#publicaciones {
    display: flex;
    flex-direction: column;
}
#fila1, #fila2, #fila3 {
    display: flex;
    width: 100%;
    margin-top: 2rem;
}
.colum1 {
    width: 25%;
    font-size: 1rem;
    font-weight: bold;
    padding-right: 1%;
}
.colum2 {
    width: 74%;
}
#congresos li:hover {
    /*background: rgba(255, 255, 255, .3);
    border: rgba(255, 255, 255, .8) solid 1px;*/
    background: rgba(0, 0, 0, .1);
    border: rgba(0, 0, 0, .4) solid 1px;
    border-radius: 3px;

}


#page1, #page2, #page3, #page4, #page5, #page6, #page7 {
    width: 100%;
    min-height: 98vh;
    height: max-content;
    padding: 10rem 3rem 0 3rem;
    transition: all .7s;
    float: left;
    display: flex;
    justify-content: space-around;
    align-items: center;
    flex-wrap: wrap;
}
#page1, #page4, #page7 {
    /*background: rgb(192, 192, 192) ;*/
    background: rgb(241, 240, 240) ;
}
#page2, #page5 {
    background: rgb(75, 75, 75) ;
}
#page3,#page6 {
    background:  rgb(16, 40, 77) ;
}



@media (max-width:1280px) {
    .container {
        width: 100%;
    }
    .toggle-menu, #menu-line {
        display: block;
    }
    #menu, #data {
        display: none;
    }
    #menu-line {
        display: flex;
        justify-content: space-between;
        padding: 0;
        padding-right: 1rem;
    }
    #icons {
        display: flex;
    }
    .icon-data {
        margin: 0;
    }
    nav, nav ul {
        display: block;
    }
    nav ul {
        display: flex;
        justify-content: space-around;
        flex-direction: column;
        width: max-content;
    }
    nav ul li {
        border-bottom: black solid 1px;
        border-right: 0;
        padding: 0;
        text-align: center;
    }
    #page1, #page2, #page3, #page4, #page5, #page6, #page7 {
        flex-direction: column;
        padding-top: 6rem;
        padding-bottom: 2rem;
    }
    #page1 {
        padding-top: 7rem;
    }
    .text1, .text2, .text3, .text4, .text5, .text6, .text7 {
        width: 100%;
        min-width: 100%;
        align-items: center;
        justify-content: center;
    }
    
    #content {
        flex-direction: column;
    }
    #col1, #col2 {
        width: 100%;
    }
    .image2, .image4, .image5 {
        width: 25%;
        min-width: 300px;
    }
    .video {
        width: 300px;
    }
    .colum1 {
        font-size: .8rem;
    }
    #botones, #menu-line {
        box-shadow: 0 0 15px rgba(0, 0, 0, .99);
    }
}
@media (max-width:500px) {
    #page1 {
        padding-top: 10rem;
    }
    #page6, .text6 {
        padding-left: 1rem;
        padding-right: 1rem;
    }
    .image2, .image5 {
        margin: 2rem 0;
    }
    
}