@charset "utf-8";
/* CSS Document */


body{
    max-width: 1000px; /*PARA QUE SE AJUSTE SI SE HACE MÁS PEQUEÑA LA VENTANA en lugar de WIDTH*/
    min-width: 770px;
    margin: auto;
    background-color: #d3d3d3;
}


/*	+++++++++++HEADER++++++++++++++;*/

#header{
    width:100%;
    height: 280px;
    max-width: 1000px;
    overflow:auto;
    background: linear-gradient(to top left, rgba(33, 44, 81, 1),rgba(65, 84, 181, 1));
}

#logo {
    color: blue;
    height: 230px;
    /*left: 20%;*/
    margin-left:10px;
    margin-top:10px;
    line-height: 220px;
    position: relative;
    width: 350px;
    font-size:0;
}

#logo span{
    position:absolute;
	background-image:url(../img/logo.png);
	background-repeat:no-repeat;
	width:320px;
	height:220px;

}

#header h2{
    text-align:right;
    margin-right: 2%;
    font-size: 1.5em;
    font-family: 'Days One', sans-serif;
    color:white;
    letter-spacing: 2px;
}
/* 
********************************** */

#container{
    background-image:url(../img/fondo.png);
}


/****************MENU***********************/
.topnav {
    overflow: hidden;
    background-color: #333;
    font-family: 'Righteous', cursive;
    letter-spacing: 3px;
}

.topnav a {
  float: left;
  display: block;
  color: #f2f2f2;
  text-align: center;
  padding: 20px 45px;
  text-decoration: none;
  font-size: 1.1em;
}


.topnav a:hover {
   background-color: rgba(33, 44, 81, 1);
    color: white;
}

.topnav a.active {
    background-color: rgba(65, 84, 181, 1);
    color: black;
}

.topnav .icon {
  display: none;
    
    /*font-size: 1.5em;*/
}

.topnav .legal{
    float:right;
}

/**********************MENU MÓVIL***********************/
@media screen and (max-width: 600px) {
  .topnav.responsive {
    position: relative;

    }
  .topnav.responsive .icon {
    position: absolute;
    left: 0;
    top: 0;
  }
  .topnav.responsive a {
    float: none;
    display:block;
    text-align: right;
  }
}
@media screen and (max-width: 600px) {
    /*.topnav a:not(:first-child) {display: none;}*/
    .topnav a {
        display: none;
         font-size: 2.3em;    
    }
    .topnav a.icon {
        float: left;
        display: block;
    }
    .topnav a.icon:hover {
        background-color: #333;
        color: white;
    }
}
/*****************************************************/

#content{
    padding-top:2%;
    padding-bottom: 2%;
    border-left: solid 1px rgba(88, 89, 200, 0.6);
    border-right: solid 1px rgba(88, 89, 200, 0.6);
    /*position: relative;*/
    overflow: hidden;
}

#content p{
    margin-left: 5%;
}

/*------------------FOOTER------------------------------------*/
#footer{
	padding-left:5%;
	background-color: #333;
    border-top: 1px solid #5859c8;
    height: 55px;
    
}
#footer ul{
    margin-top: 8px;
    color: white;
    font-size:0.7em;
    float: left;
    font-family: "Lucida Sans Unicode", "Lucida Grande", sans-serif;
}

#footer li{
    font-size: 1.1em;

    padding-top: 5px;
}

#imgfoot{
    float: right;
    margin-right: 10px;
}

#imgfoot img{
    width:35px;    
    margin-top: 9px;
    margin-right: 10px;
    opacity: 0.5;
}
#imgfoot img:hover {
    opacity: 1;
    transform: rotate(330deg);
    -webkit-transform: rotate(330deg);

}

/****************************************************/
@media screen and (max-width:600px){
    body p{
        font-size: 2em;
    }

    #header{
        padding-bottom: 3%;
        overflow: hidden;
    }
    
    #header h2{
        font-size: 1.4em;
        padding-right: 2%
    }
    
    #content h2{
        font-size: 2em !important;
    }
    
    #footer{
        padding-left:5%;
        background-color: #333;
        border-top: 1px solid #5859c8;
        height: 11em;
        margin-top: 5%;
    }
    
    #footer li{
        font-size: 1.6em;
        padding-top: 3%;
    }
    
    #imgfoot img{
    width:65px;    
    margin-top: 0px;
    margin-right: 20px;
    opacity: 1;
}
}

