﻿.painel-home {
    background-image: url('../images/paraty.jpg');
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center 65%;
    text-align: center;
    position: relative;
}

.painel-home:before {
    content: "Toninho Marques";
    position: absolute;
    left: 5px;
    bottom: 5px;
    font-size: 11px;
    font-weight: bold;
    text-transform: uppercase;
    font-family: 'Merienda One', Helvetica, sans-serif;
    color: rgba(0,0,0,0.4);
}

.painel-home-busca {
    margin: 0 auto;
    margin-bottom: 100px;
    max-width: 960px;
    display: flex;
    flex-wrap: wrap;
    height: 200px;
}

@media (max-width: 550px){
	.painel-home-busca{display: none;}
}

.painel-home-buttons {
    margin: 0 auto;
    max-width: 1000px;
    padding-bottom: 20px;
    display: flex;
    align-items: flex-end;
    flex-wrap: wrap;
    min-height: 230px;
}

.painel-home-buttons .icon-servico {
    min-width: 120px;
    height: 120px;
    flex: 1 1 120px;
    margin: 10px;
}

.painel-home-buttons .icon-servico a {
    display: block;
    max-width: 120px;
    margin: auto;
    height: 120px;
    padding-bottom: 20px;
}

.painel-home-buttons .icon-servico .servico {
    display: block;
    max-width: 100%;
    height: 100%;
    background-image: linear-gradient(to bottom, rgb(58,160,55), rgb(31,70,66));
    border-radius: 5px;
}

.painel-home-buttons .icon-servico .servico:hover {
    background-image: linear-gradient(to bottom, rgb(33,78,65), rgb(58,160,55));
    animation-name: gradient-fade;
    animation-duration: 0.5s;
    -webkit-animation-name: gradient-fade;
    -webkit-animation-duration: 0.5s;
}

.painel-home-buttons .icon-servico .servico img {
    margin-bottom: 3px;
    margin-top: 10px;
}

.painel-home-buttons .icon-servico .servico p {
    color: #FFF;
    font-size: 14px;
    line-height: 1.3em;
}

@-webkit-keyframes gradient-fade {
    0%   { background-image: linear-gradient(to bottom, rgb(58,160,55), rgb(33,78,65));  }
    10%  { background-image: linear-gradient(to bottom, rgb(56,152,56), rgb(36,86,64));  }
    20%  { background-image: linear-gradient(to bottom, rgb(53,144,57), rgb(38,95,63));  }
    30%  { background-image: linear-gradient(to bottom, rgb(51,135,58), rgb(41,103,62)); }
    40%  { background-image: linear-gradient(to bottom, rgb(48,127,59), rgb(43,111,61)); }
    50%  { background-image: linear-gradient(to bottom, rgb(46,119,60), rgb(46,119,60)); }
    60%  { background-image: linear-gradient(to bottom, rgb(43,111,61), rgb(48,127,59)); }
    70%  { background-image: linear-gradient(to bottom, rgb(41,103,62), rgb(51,135,58)); }
    80%  { background-image: linear-gradient(to bottom, rgb(38,95,63),  rgb(53,144,57)); }
    90%  { background-image: linear-gradient(to bottom, rgb(36,86,64),  rgb(56,152,56)); }
    100% { background-image: linear-gradient(to bottom, rgb(33,78,65),  rgb(58,160,55)); }
}