header {
    /*background-image: url("/img/bg-home.png");*/
    height: 100vh;
    width: 100vw;
    background-position: right;
    background-repeat: no-repeat;
    background-size: cover;    
    background-color: var(--color-terciary);
}
header nav:first-of-type {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background-color: var(--color-light);
    height: 100px;
    box-shadow: 0px 4px 10px rgba(0,0,0,0.25);
    padding: var(--space-unity);
}
header nav:first-of-type figure img {
    height: 80px;
    width: auto;
}
header nav:first-of-type aside {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    color: var(--color-gray-dark);
}
header nav:first-of-type ul {
    font-size: 30px;
    display: flex;    
    align-items: center;
    justify-items: center;
    cursor: pointer;
}
header nav:first-of-type ul li:hover,
header nav:first-of-type ul li:active {
    color: var(--color-primary);
}
header nav:nth-of-type(2) svg {
    width: 600px;
    height: calc(100vh - 100px);
    object-fit: contain;
    float: right;
}
body {
    background-image: linear-gradient(to right, var(--color-terciary), var(--color-terciary));
}
main div.prices {
    height: 100vh;
    width: 100%;
    position: relative;
    background-color: var(--color-light);
    background-image: url(/img/bg-prices.webp);
    background-position: center;
    background-repeat: repeat-x;
    background-size: 600px;
}
main div.papper-cut {
    height: 100vh;
    width: 100%;
    background-image: url(/img/folha-rasgada-meio.png);
    background-repeat: no-repeat;
    background-position: center;
    background-size: cover;
    position: absolute;
    left: 0;
    top: 0;
    z-index: var(--z-medium-index);
}
main div.papper-cut-opacity {
    height: 100vh;
    width: 100%;
    background-image: url(/img/folha-rasgada-meio-02.png);
    background-repeat: no-repeat;
    background-position: center;
    background-size: cover;
    position: absolute;
    left: 0;
    top: 0;
    z-index: var(--z-top-index);
}
main div.services {
    width: 100%;
    height: 100%;
    position: relative;
}
main div.services > ul {
    display: flex;
    height: 100%;
    justify-content: center;
    align-items: center;
    position: absolute;
    width: 100%;
    gap: var(--space-unity);
}

main div.services > ul > li {
    background-color: var(--color-light);
    height: 90%;
    width: 300px;
    z-index: var(--z-top-index);
    /*filter: drop-shadow(2px 2px 0.95rem rgba(0,0,0,0.5));*/
    border-radius: var(--space-unity);
    padding: var(--space-unity);    
    position: relative;
}
main div.services > ul > li figure {
    width: 100%;
    height: 30vh;    
    position: relative;
}
main div.services > ul > li figure img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-top-left-radius: var(--space-unity);
    border-top-right-radius: var(--space-unity);
}
main div.services > ul > li figure::after {
    content: "";
    width: 100%;
    height: 100%;
    background-color: var(--color-secondary);
    opacity: 0.5;
    position: absolute;
    left: 0;
    top: 0;
    border-top-left-radius: var(--space-unity);
    border-top-right-radius: var(--space-unity);
}
main div.services > ul > li figure:hover::after {
    opacity: 0;
}
main div.services > ul > li figure legend {
    color: var(--color-light);
    font-weight: var(--font-extra-bold);
    text-transform: uppercase;
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    text-shadow: 2px 2px 2px rgba(0,0,0,0.25);
}

main div.services > ul > li ul {
    margin-top: var(--space-unity);
}
main div.services > ul > li ul li {
    padding: calc(1/2 * var(--space-unity));
    border-bottom: solid 0.5px rgba(0,0,0,0.25);
    height: 8vh;
    font-size: 3vh;
    line-height: 3vh;
    display: flex;
    align-items: center;
}
main div.services > ul > li ul li:first-of-type {
    border-top: solid 0.5px rgba(0,0,0,0.25);
}
main div.services > ul > li:first-of-type ul li:last-of-type {
    font-size: 2vh;
    line-height: 3vh;
}
main div.subscribe {
    position: absolute;
    bottom: 0;
    left: 0;
    padding: calc(2 * var(--space-unity));
    font-size: 3vh;
    line-height: 3vh;
}
main div.subscribe strong {
    font-size: 6vh;
    color: var(--color-secondary);

}
main div.subscribe button {
    box-shadow: 0px 2px 2px rgba(0,0,0,0.25);
    background-color: var(--color-secondary);
    padding: var(--space-unity);
    color: var(--color-light);
    text-transform: uppercase;
    text-align: center;
    width: 100%;
    cursor: pointer;
    border: none;
    margin-top: var(--space-unity);
    padding-block: calc(2 * var(--space-unity));
}
main div.subscribe button:hover {
    background-color: var(--color-quintenary);
}
main div.about h2,
main div.testimonials h2,
main div.contact h2,
main div.news h2 {
    color: var(--color-light);
    text-align: center;
    position: relative;    
    margin-top: calc(2 * var(--space-unity));
    margin-bottom: calc(2 * var(--space-unity));
}
main div.about h2::after,
main div.testimonials h2::after,
main div.contact h2::after,
main div.news h2::after {
    content: "";
    right: 50%;
    bottom: 0;
    width: 75px;
    height: 3.5px;
    background-color: var(--color-light);
    position: absolute;
    margin: 0 auto;
}
main div.about h2::before,
main div.testimonials h2::before,
main div.contact h2::before,
main div.news h2::before {
    content: "";
    left: 50%;
    bottom: 0;
    width: 75px;
    height: 3.5px;
    background-color: var(--color-secondary);
    position: absolute;
    margin: 0 auto;   
}
main div.about > div {
    display: flex;
    /* justify-content: space-between; */
    justify-content: center;
    align-items: center;
}
main div.about > div > ul {
    display: flex;
    flex-direction: column;
    height: 100%;
    justify-content: flex-end;
    align-items: space-between;
    color: var(--color-light);
    gap: var(--space-unity);
}
main div.about > div > ul li {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: var(--space-unity);
    max-width: 200px;
    text-align: center;
    font-weight: var(--font-regular);
    padding: var(--space-unity);
}
main div.about > div > ul li i {
    font-size: 3rem;
}
main div.about > div > div > figure > img {
    width: 200px;
    height: 200px;
    object-fit: cover;
    float: left;
    background-color: var(--color-light);
    padding: var(--space-unity);
    border: solid 0.5px rgba(0,0,0,0.25);
    transform: rotateZ(-2.5deg);
    margin: calc(2 * var(--space-unity));

}
main div.about > div > div {
    width: 600px;
    background-color: var(--color-light);
    padding: calc(3 * var(--space-unity));
    position: relative;
    box-shadow: 5px 5px 5px rgba(0,0,0,0.25);
}

main div.about > div > div:before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    border-width: 0 32px 32px 0;
    border-style: solid;
    border-color: var(--color-light) var(--color-terciary) var(--color-light) var(--color-light);
    background: var(--color-light);
    -webkit-box-shadow: -2px 2px 1px rgba(0,0,0,0.3);
    -moz-box-shadow: -2px 2px 1px rgba(0,0,0,0.3);
    box-shadow: -2px 2px 1px rgba(0,0,0,0.3);
    /* Firefox 3.0 damage limitation */
    display: block; width: 0;
    transform: rotateZ(270deg);
  }
/*
main div.about > div > div::after {
    content: "";
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    background-image: url(/img/papel-amassado.webp);
    background-repeat: repeat;
    opacity: 0.15;
}*/
main div.about > div > div {
    float: right;   
}

@keyframes blink {
	0% {opacity: 0}
	49%{opacity: 0}
	50% {opacity: 1}
}
@keyframes typing {
    from { width: 1ch }
    to { width: 10ch }
}

main div.about > div > div p {
    font-family: monospace;
}
main div.about > div > div p::after {
    animation: blink .5s step-end infinite;
    content: "_";
    display: inline-block;
}
main div.testimonials,
main div.news {
    background-color: var(--color-light);
    padding-top: var(--space-unity);
    padding-bottom: var(--space-unity);
}
main div.testimonials h2,
main div.news h2 {
    color: var(--color-secondary); 
}
main div.testimonials h2::after,
main div.news h2::after {
    background-color: var(--color-primary);
}
main div.testimonials ul {
    display: flex;
    justify-content: center;
    align-items: flex-start;
    padding-top: calc(5 * var(--space-unity));
    padding-bottom: calc(5 * var(--space-unity));
    width: 100%;
}
main div.testimonials ul li {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    width: 300px;
    font-weight: var(--font-bold);
}
main div.testimonials ul li strong {
    font-size: 3rem;
    color: var(--color-secondary);
}
footer {
    padding: calc(3 * var(--space-unity));
    background-color: var(--color-secondary);
    color: var(--color-light);
    text-align: center;
    font-weight: var(--font-regular);
}
footer img {
    height: 80px;
    width: auto;
}
footer p a {
    text-decoration: none;
    cursor: pointer;
    color: var(--color-primary);
}
footer p a:hover,
footer p a:active {
    color: var(--color-quintenary);
}
main .news {
    padding-top: calc(6 * var(--space-unity)) !important;
}

main .contact > div {
    display: flex;    
    padding: calc(3 * var(--space-unity));
    color: var(--color-light);
    align-items: flex-end;
    justify-content: space-between;
    font-weight: var(--font-regular);
    padding-bottom: unset;
}
main .contact > div form {
    padding-bottom: calc(var(--space-unity));
}
main .contact > div figure {
    display: flex;
    align-items: center;
    justify-content: flex-end;
}

main .contact > div input,
main .contact > div textarea {
    padding: var(--space-unity);
    border: none;
    border: solid 2px var(--color-secondary);
    border-radius: 5px;
    width: 100%;
    display: block;
    resize: none;
}

main .contact > div label {
    margin-top: var(--space-unity);
}

main .contact > div input:focus, main .contact > div textarea:focus{
    outline: solid 4px var(--color-quaternary);
}

main .contact > div button {
    padding: var(--space-unity) calc(2 * var(--space-unity));
    border: none;
    box-shadow: 2px 2px 2px rgba(0,0,0,0.25);
    background-color: var(--color-secondary);
    color: var(--color-light);
    margin: var(--space-unity);
    cursor: pointer;
    font-weight: var(--font-regular);
    font-size: 1.1rem;
    border-radius: 3px;
}

main .contact > div button:hover,
main .contact > div button:active {
    background-color: var(--color-quintenary);
}

main .contact > div li {
    display: flex;
    gap: var(--space-unity);
    justify-content: flex-end;
    align-items: center;
    font-size: 1.2rem;
    color: var(--color-secondary);
    cursor: pointer;
    text-align: right;
}
main .contact > div li:hover {
    color: var(--color-quaternary);
}
main .contact > div li i {
    font-weight: var(--font-extra-bold);
}
.news ul {
    display: flex;
align-items: center;
justify-content: center;
flex-wrap: wrap;
gap: calc(2 * var(--space-unity));
margin-bottom: 50px;
}
.news ul li {
    padding: 10px;
width: 40%;
cursor: pointer;
font-weight: var(--font-regular);
background-color: var(--color-primary);
box-shadow: 2px 2px 2px rgba(0,0,0,0.25);
color: var(--color-light);
}
.news ul li:hover {
    background-color: var(--color-quintenary);
}