* {margin: 0;
   padding:0;}

@font-face {
    font-family: 'familiar';
    src: url('tp/fuentes/familiarprobold.ttf')
}

@font-face {
    font-family: 'din';
    src: url('tp/fuentes/dinprolight.ttf')
}
        
        
body{
    background:#c8c8c8;
    font-family:'familiar';
    font-size: 16px;
    min-height: 1080px;
    margin-left: auto;
    margin-right: auto;
    overflow: auto;
}


.contenedor{
    max-width: 960px;
    margin:auto;
}

header{
    width: 100%;
    height: 120px;
    margin:auto;
    background:#00ABEC;
    position: relative;
}


header h1{
    text-align: left;
    color: #ffffff;    
    font-size: 4rem;
    position: relative;
    float: left;
    padding-left: 30px;
    padding-top: 20px;
}

.botonera {
  position: relative;
  float: right;
  margin-top:40px;
  margin-right: 40px;
}

.botonera nav ul{
    list-style: none;
}


.botonera nav ul li {
    display: inline-block;
    text-align: right;
    box-sizing: border-box;
    border: 1px solid #fff;
    
}


.botonera nav ul li a {
    display: inline-block;
    color: #fff;
    font-size: 1rem;
    text-align: right;
    text-decoration: none;
    font-family: 'din';
    font-weight: bold;
    padding: 10px;
    text-align: center:
} 


.botonera nav ul li a:hover {
    background: white;
    color: #00ABEC;
    transition: 1s;
    text-shadow: none;
}








main {
    max-width: 960px;
    margin:auto;
    background: #dedede;
    min-height:600px;
    position: relative;
}

    

.section1{
    padding: 20px;
    font-family: 'PT Sans Narrow', sans-serif;
    font-size: 20px;
    margin: auto;
}

.perfiles nav ul{
    list-style: none;
}


.perfiles nav ul li {
    display: inline-block;
    text-align: center;
    box-sizing: border-box;
    
}


.perfiles nav ul li a {
    display: block;
    color: #1a1818;
    font-size: 0.90rem;
    text-align: center;
    text-decoration: none;
    font-family: 'din';
    font-weight: bold;
    padding: 5px 10px 5px 10px;
   
} 


.perfiles nav ul li a h2:hover {
    color: #fff;
    transition: 1s;
}


.florp:hover{
    background: #F5921D;
    transition: 1s;
    padding: 5px;

}

.mariab:hover{
    background: #EC1C25;
    transition: 1s;

}

.florb:hover{
    background: #90278E;
    transition: 1s;

}

.luanas:hover{
    background: #0055A4;
    transition: 1s;

}

.section1 video {
    width: 97.5%;
    height: auto;
    padding-left: 10px;
    padding-right: 10px;
    padding-top: 20px
}

.section2{
    padding: 20px 30px 20px 30px;
    font-family: 'PT Sans Narrow', sans-serif;
    font-size: 20px;
    background: #9f9e9e;
    min-height: 480px;
}

.article1{
    width: 52%;
    position: relative;
    float: left;
    text-align: left;
    font-size: 1rem;
}

.article1 p{
    margin-top:25px;
    color: #fff;
}

.article2{
    width: 48%;
    position: relative;
    float: right;
    text-align: left;
    font-size: 1rem;
    
}

.article2 p {
   margin-right:100px;
   line-height: 25px;
    color: #fff;
}
footer{
    max-width: 960px;
    margin:auto;
    background: #353535;
    position: relative;
}

footer p{
    padding: 10px;
    color: #fff;
    font-family: 'din';
    font-size: 0.8rem;
    text-align: center;
}



/*CARTA*/

.maincarta {position: relative;}

.maincarta section {
    width: 100%;
    position: relative;
    margin: auto;
}

.maincarta img {
    align-content: center;
    margin: 20px 16% 20px 16%;
    width: 68%
}


/*MAPA*/

.main-mapa {
    position: relative;
    padding-top: 20px;
    min-height: 500px;
}

.nav-mapa ul {
    list-style-type: none;
}

.nivel1 {
    width: 14%;
    position: relative;
    float: left;
    text-align: center;
}

.nivel1 a {
    padding: 5px;
    text-decoration: none;
    color: #343f7c;
    font-size: 0.85rem;
    margin: 10px 0;
       display: list-item;
}

.nivel1 a:hover{
    background: #343f7c;
    color:#fff;
}

.nivel2 ul li {
    margin: 10px 0 0 0;
}

.nivel2 ul li a {
    display: list-item;
    color: #895db6;
    font-family: 'din';
    font-size: 1rem;
    border: none;
    margin: 0;
}

.nivel2 ul li a:hover{
    color: #fff;
    background: none;
}

/*PROPUESTA*/

.mainpropuesta{
    width: 100%;
    position: relative;
}

mainpropuesta section {
    width: 100%;
    position: relative;
}

.mainpropuesta img {
    width: 100%;
}



/*RESPONSIVE*/


@media screen and (max-width:550px){
    body {width: 100%;}
    contenedor {width: 100%;}
    header {width: 100%; height: 220px;}
    header h1 {font-size: 6rem; padding-left: 50px;}
    .botonera {margin: 10px 20px 0 0;}
    .botonera nav ul li {display: inline-block;padding: 0;}
    main {width: 100%}
    .perfiles nav ul li {width: 48%;}
    .perfiles nav ul li a {display: inline-block; padding: 0px;}
    .perfiles nav ul li a img {width: 100%;}
    .perfiles nav ul li a h2 {font-size: 0.90rem; margin-bottom: 20px;}
    .section1 video {padding-left: 0; width: 98%;}
    .section2 {min-height: 1010px;}
    .article1 {width:100%;}
    .article2 {width: 100%;}
    .article2 p {margin-right: 0;}
    footer {width: 100%; min-height: 10px; position: relative; float: left;}
    .maincarta img {width: 68%;}
}
    
@media screen and (max-width:770px){   
    .nivel1 {width: 100%;}
    .nivel1 a {font-size: 1.5rem;}
    .nivel2 ul li a {font-size: 1.3rem}
}