@import url('biblio/api.css');
@import url('biblio/css.css');
*, *:after, *:before {
    box-sizing: border-box;
    -moz-box-sizing: border-box;
}
* {margin:0;padding:0;border: 0 none;position: relative;}
[class*="fontawesome-"]:before {font-family: 'fontawesome', sans-serif;}

html {
    /*    background: #33485E;*/
    background:url('images/background.jpg') no-repeat;        
    font-family: dosis, sans-serif;  
    background-size: cover;
    -moz-background-size: cover;
    -o-background-size: cover;
    -webkit-background-size: cover;

}
header {
    padding-left: 1%;
    padding-top: 1%;
    font-family: cursive, sans-serif;
    color: #1361E9;
}
header img{
    max-width: 20%;

    /*background-attachment: inherit;*/
}
body{
    display:none;
}
section {
    background: #f9f9f9;/*#1361E9;*/
    width: 80vw;
    max-width: 40rem;
    min-width: 390px;
    height: 25rem;
    margin: 1rem auto;
    box-shadow: 0 0 6px rgba(0,0,0,.4);
}
article {
    background: #1853CF;
    color: white;
    position: absolute;
    left: 0;
    top: 5rem;
    right: 0;
    bottom: 0;
    padding: 1rem 2rem 0;
    overflow: auto;
    transition: .5s;
    transform: scale(0);
    transform-origin: center right;
    transition-delay: .1s;
}
article:before {     
    color: rgba(0,0,0,.4);
    font-size: 4rem;
    font-weight: 100;
    position: absolute;
    bottom: 1rem;
    right: 1rem;     
}
/*h2 {
    font-size: 2.5rem;
    font-weight: 600;
    text-align: center;
    color: rgba(0,0,0,.6);
}
h2 img {
    width: 120px;
    height: auto;
    background:#f9f9f9;
    border: 5px solid rgba(0,0,0,.7);
    border-radius: 50%;
    padding: 5px;
    display: block;
    margin: 0 auto;
    box-shadow: 0 0 7px rgba(0,0,0,.5);
}
h2 span {
    font-family: Great Vibes;
    font-weight: 400;
    display: block;
    margin-bottom: 1rem;
}
footer ul {
    width: 100%;
    color: #1361E9;
}
footer li {
    list-style-type: none;
    float: left;
    width: 20%;
    text-align: center;
    font-size: 3rem;
    font-weight: 100;  
}*/
p, dl, ol {
    line-height: 1.5;
    font-size: 1.1rem;
}
ol li {margin: 0 0 .5rem 1rem;}
dt {
    font-size: 1.4rem;
    font-weight: 600;
    text-indent: 1.5rem;
}
nav {
    background: #fff;
    width: 100%;
    height: 5rem;
    box-shadow: 0 0 6px rgba(0,0,0,.4);
}
nav:after {
    content:'';
    width: 25%;
    height: 5rem;
    background: #72C9F5;
    position: absolute;
    transition: .2s;
}
input {
    display: none;
}
label {
    width: 25%;
    float: left;
    color: #72C9F5;
    text-align: center;
    cursor: pointer;
    transition: .5s;
    z-index: 2;
}
label:hover {color: #1853CF;}
label:before {
    display: block;
    font-size: 3rem;
    line-height: 5rem;
    z-index: 2;
}
#about:checked ~ nav [for='about'],
#service:checked ~ nav [for='service'],
#location:checked ~ nav [for='location'],
#contact:checked ~ nav [for='contact'] {
    color: #1361E9;
    font-weight: 600;    
}
#service:checked ~ nav [for='service']{
}
#about:checked ~ nav [for='about'] {  
     
}

#about:checked ~ nav:after {
    left: 0; 
}
#service:checked ~ nav:after {
    left:25%;   
}
#location:checked ~ nav:after {
    left: 50%;
}
#contact:checked ~ nav:after {
    left: 75%;
}
#about:checked ~ .um,
#service:checked ~ .dois,
#location:checked ~ .tres,
#contact:checked ~ .quatro {
    display: block;
    transform: scale(1);
    transition-delay: .5s; 
}

/*#location:after, section {
    transition: background-image;
    background:url(images/2.jpg) no-repeat; 
    background-size: cover; 

}*/

a {color: rgba(255, 61, 61, 1)}
a:hover {color: rgba(255,255,255,.2)}


.tooltip {

}

.modal {

}

.aboutSection{
    background:url(images/1.jpg) no-repeat; 
    background-size: cover; 
}

.serviceSection{
    background:url(images/2.jpg) no-repeat; 
    background-size: cover; 
}

.locationSection{
    background:url(images/3.jpg) no-repeat; 
    background-size: cover; 
}

.contactSection{
    background:url(images/4.jpg) no-repeat; 
    background-size: cover; 
}
