div#bginicio, div#bgimagens, div#bgtextos, div#bgbiografia, div#bgestudio, div#bgcontato, div#bgnone{ position:fixed;top: 0; left: 0; right: 0; bottom: 0;z-index: -2;}

div#bginicio{background: url("../img/bg.jpg"); background-size: cover;}
div#bgimagens{background: url("../img/bg.jpg"); background-size: cover;}
div#bgtextos{background: url("../img/bg.jpg"); background-size: cover;}
div#bgbiografia{
    background: url("../img/bgbio.jpg"); 
    background-size: cover;
}
div#bgestudio{background: url("../img/bg.jpg"); background-size: cover;}
div#bgcontato{background: url("../img/gbcontato.jpg") bottom; background-size: cover;}
div#bgnone{background: url("../img/bgnone.jpg"); background-size: cover;}

div#gradient{
position: fixed;top: 0; left: 0; right: 0; bottom: 0; z-index: -1;
/* IE9 SVG, needs conditional override of 'filter' to 'none' */
background: url(data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiA/Pgo8c3ZnIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIgd2lkdGg9IjEwMCUiIGhlaWdodD0iMTAwJSIgdmlld0JveD0iMCAwIDEgMSIgcHJlc2VydmVBc3BlY3RSYXRpbz0ibm9uZSI+CiAgPGxpbmVhckdyYWRpZW50IGlkPSJncmFkLXVjZ2ctZ2VuZXJhdGVkIiBncmFkaWVudFVuaXRzPSJ1c2VyU3BhY2VPblVzZSIgeDE9IjAlIiB5MT0iMCUiIHgyPSIxMDAlIiB5Mj0iMCUiPgogICAgPHN0b3Agb2Zmc2V0PSIwJSIgc3RvcC1jb2xvcj0iIzAwMDAwMCIgc3RvcC1vcGFjaXR5PSIwLjIiLz4KICAgIDxzdG9wIG9mZnNldD0iMTAwJSIgc3RvcC1jb2xvcj0iI2ZmZmZmZiIgc3RvcC1vcGFjaXR5PSIwLjIiLz4KICA8L2xpbmVhckdyYWRpZW50PgogIDxyZWN0IHg9IjAiIHk9IjAiIHdpZHRoPSIxIiBoZWlnaHQ9IjEiIGZpbGw9InVybCgjZ3JhZC11Y2dnLWdlbmVyYXRlZCkiIC8+Cjwvc3ZnPg==);
background: -moz-linear-gradient(left,  rgba(0,0,0,0.4) 0%, rgba(255,255,255,0.1) 100%); /* FF3.6+ */
background: -webkit-gradient(linear, left top, right top, color-stop(0%,rgba(0,0,0,0.1)), color-stop(100%,rgba(255,255,255,0.1))); /* Chrome,Safari4+ */
background: -webkit-linear-gradient(left,  rgba(0,0,0,0.4) 0%,rgba(255,255,255,0.1) 100%); /* Chrome10+,Safari5.1+ */
background: -o-linear-gradient(left,  rgba(0,0,0,0.4) 0%,rgba(255,255,255,0.1) 100%); /* Opera 11.10+ */
background: -ms-linear-gradient(left,  rgba(0,0,0,0.4) 0%,rgba(255,255,255,0.1) 100%); /* IE10+ */
background: linear-gradient(to right,  rgba(0,0,0,0.4) 0%,rgba(255,255,255,0.1) 100%); /* W3C */
filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#33000000', endColorstr='#33ffffff',GradientType=1 ); /* IE6-8 */
}

/* Mobile */

@media only screen and (max-width: 504px) and (orientation:portrait) {

div#bgbiografia{
    background: url(../img/bgbio.jpg);
    background-position: 39% 45%;
    background-size: 190%;
    background-repeat: no-repeat;
    right: -250px;
}
    
}

@media only screen and (max-width: 414px) and (orientation:portrait) {
  
div#bgbiografia{
    background: url(../img/bgbio.jpg);
    background-position: 45% 45%;
    background-size: 190%;
    background-repeat: no-repeat;
    right: -250px;
}
    
}

@media only screen and (max-width: 360px) and (orientation:portrait) {
  
div#bgbiografia{
    background: url(../img/bgbio.jpg);
    background-position: 46% 45%;
    background-size: 190%;
    background-repeat: no-repeat;
    right: -250px;
}
    
}
    
@media only screen and (max-width: 320px) and (orientation:portrait) {
    
div#bgbiografia{
    background: url(../img/bgbio.jpg);
    background-position: 51% 45%;
    background-size: 169%;
    background-repeat: no-repeat;
    right: -250px;
}
    
}

/* Mobile Horizontal */

@media only screen and (max-width: 736px) and (orientation:landscape) {
    
div#bgbiografia{
    background: url(../img/bgbio.jpg);
    background-position: 10% 45%;
    background-size: 149%;
    background-repeat: no-repeat;
    right: -250px;
}
    
}

@media only screen and (max-width: 720px) and (orientation:landscape) {
    
div#bgbiografia{
    background: url(../img/bgbio.jpg);
    background-position: 10% 45%;
    background-size: 149%;
    background-repeat: no-repeat;
    right: -250px;
}
    
}

@media only screen and (max-width: 640px) and (orientation:landscape) {
   
div#bgbiografia{
    background: url(../img/bgbio.jpg);
    background-position: 18% 45%;
    background-size: 149%;
    background-repeat: no-repeat;
    right: -250px;
}
    
}

@media only screen and (max-width: 568px) and (orientation:landscape) {
   
div#bgbiografia{
    background: url(../img/bgbio.jpg);
    background-position: 23% 45%;
    background-size: 149%;
    background-repeat: no-repeat;
    right: -250px;
}
    
}

@media only screen and (max-width: 533px) and (orientation:landscape)  {
   
div#bgbiografia{
    background: url(../img/bgbio.jpg);
    background-position: 5% 45%;
    background-size: 129%;
    background-repeat: no-repeat;
    right: -250px;
}
    
}

@media only screen and (max-width: 480px) and (orientation:landscape)  {
 
div#bgbiografia{
    background: url(../img/bgbio.jpg);
    background-position: 30% 45%;
    background-size: 149%;
    background-repeat: no-repeat;
    right: -250px;
}
    
}
    
