﻿/* CSS Document */

#banner{
  margin-top:50px;
  position:relative;      
}

#banner img{
    width:100%;
    height:100%;
}

#banner .conteudo{
    position:absolute;
    top:50%;
    left:40px; transform:translateX(-20px)translateY(-30%);
    color:#FFFFFF; 
}

#banner h2{
    font-size:28px;
}

#banner a{
    display:block;
    color:#FFF;
    width:100px;
    border:2px solid #FFF;
    text-decoration:none;
    margin-top:10px;
    padding:7px;
}

#banner a:hover{
    background:rgba(51,51,51,0.5)
}

@media(min-width:480px){
    #banner h2{
        font-size:40px;
    }
    
    #banner a{
        margin-top:25px;
    }
}

@media(min-width:768px){
    #banner{
        height: 400px;
        overflow: hidden;
    }
    
    #banner img{
        height: auto;
        margin-top: -100px;
    }
    
}

@media(min-width:1024px){
    banner img{
        margin-top: -200px;
    }
    
    #banner h2{
        font-size:45px;
    }
    
}
