:root {
    font-size: 16px;
    --royal-purple-light: #5E376D;
    --royal-purple-dark: #462354;
    --white: #fff;
    --backgroud: #ffffff;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: "Segoe UI", Roboto, Oxygen, Ubuntu, Cantarell, "Open Sans", "Helvetica Neue", sans-serif;
    background: var(--backgroud);
}

a {
    color: var(--white);
    text-decoration: none;
}

.nav {
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: var(--royal-purple-light);
    height: 4.6875rem;
    padding: 1rem;
}

.logo {
    height: 125%;
    margin-left: 10px;
    margin-top: 0;
}

.menu {
    list-style: none;
    display: flex;
    gap: 0.5rem;
}

.menu a {
    display: block;
    padding: 1rem;
    border-radius: 0.5rem;
}

.menu a:hover {
    background: var(--royal-purple-dark);
}

.btn-menu {
    display: none;
}

header {
    background-color:#fae3f4;
    text-align: center;
    width: 100%;
    height: auto;
    background-size: cover;
    background-attachment: fixed;
    position: relative;
    overflow: hidden;
   
}

header .icon21{
    height: 150px;
    width: auto;
    margin: 2%;
}


.icon {
    height: 40px;
    width: auto;
    margin: 2%;
}


h1 {
    font-size: 30px;
    margin-bottom: 10px;
}

.txt {
    text-align: justify;
}

h3,
p {
    margin-bottom: 10px;
}

.botao {
    border: none;
    outline: none;
    padding: 10px 20px;
    border-radius: 50px;
    color: #333;
    background:#f1cee8;
    margin-bottom: 50px;
}

.botao:hover {
    cursor: pointer;
}
#sobre{
    display: flex;
    justify-content: space-evenly;
    
}
.container-sobre{
    text-align: center;
    margin: 1%;
    width: 70%;
    padding-bottom: 5px;
}

#servicos {
    text-align: center;
}

.service {
    display: flex;
    flex-direction: column;
    justify-content: space-evenly;
    height: 100%;
}

.servi,
.servi2 {
    margin: 0px;
    padding: 0px;
    display: flex;

    width: auto;
    height: auto;
}

.servico {
    margin: 1%;
    width: 48%;
    background-color: #e9e5ea;
    border-radius: 5px;
    border-style: outset;
}
.icon {
    display: inline-block;
    margin: 3%;
    width: 15%;
    height: auto;
}

#fotos{
    text-align: center;
}
.container {
    display: flex;
    width: 100%;
    padding: 4% 2%;
    box-sizing: border-box;
    height: 100vh;
}
  
.box {
    flex: 1;
    overflow: hidden;
    transition: .5s;
    margin: 0 2%;
    box-shadow: 0 20px 30px rgba(0,0,0,.1);
    line-height: 0;
}

.box > img {
    width: 100%;
    height: calc(100% - 10vh);
    object-fit: cover; 
    transition: 3s;
 
}

.box > span {
    font-size: 3.8vh;
    display: block;
    text-align: center;
    height: 10vh;
    line-height: 2.6;
}

.box:hover { flex: 1 1 100%; }
.box:hover > img {
    width: 100%;
    height: 90%;
}
#contato {
    text-align: center;
    font-size: 18px;
}

.contato-ln {
    display: flex;
    justify-content: space-evenly;
    flex-direction: row;
}

.contato-rs {
    display: inline-block;
    padding: 0 10px 0 10px;
}

.contato-rs a {
    color: #000000;
}

.contato-rs a:hover {
    color: #000000;
}

.contato-img {
    width: auto;
    height: 40%;
}

footer {
    font-size: 12px;
    padding-bottom: 1px;
    text-align: center;
    padding-top: 1%;
    border-top: solid var(--royal-purple-dark) 1px;
    background-color: #d5c3dc;
}

footer .left {
    width: 100%;
    list-style-type: none;
    padding: 0;
}

footer .left a {
    list-style-type: none;
    font-size: 14px;
    display: inline;
    text-decoration: none;
    color: rgb(3, 3, 3);
    height: 10vh;
    width: 10%;
}
@media screen and (max-width: 768px) {
    
    .service {
        flex-direction: column;
        margin: 0px;
    }
    .container {
        display: flex;
        width: 100%;
        height: auto;
        box-sizing:content-box;
        height: 50vh;
    }
    .box:hover {
        width: 100%;
        height: 100%;
    }
    .box > span {
        font-size: 2.5vh;
        display: block;
        text-align: center;
        height: 10vh;
        line-height: 2.6;
    }
    .box>img {
        width: 100%;
        height: calc(100% - 10vh);
    }
    #contato {
        font-size: 13px;
    }
    #rdp {
        font-size:13px;
    }
    .footer .left {
        width: 50%;
        margin-top: 30px;
    }
    .footer .left a {
        width: 50%;
        margin-top: 30px;
    }
}
@media screen and (max-width: 576px) {
    .menu {
        display: block;
        position: absolute;
        top: 4.6875rem;
        left: 0;
        background: var(--royal-purple-light);
        text-align: center;
        width: 100%;
        height: 0;
        z-index: 1;
        visibility: hidden;
        
        transition: 0.5s;
    }
    .menu a {
        padding: 1rem 0;
        margin-inline: 1rem;
        border-bottom: 0.0625rem solid rgba(0, 0, 0, 0.16);
        border-radius: 0;
    }
    .btn-menu {
        background: none;
        border: none;
        font: inherit;
        display: flex;
        align-items: center;
        gap: 0.5rem;
        color: var(--white);
        padding: 1rem 0;
        
    }
    .hamburger {
        border-top: 0.125rem solid;
        width: 1.25rem;
    }
    .hamburger::after,
    .hamburger::before {
        content: " ";
        display: block;
        width: 1.25rem;
        height: 0.125rem;
        background: currentColor;
        margin-top: 0.3125rem;
        position: relative;
        transition: 0.3s;
    }
    .nav:focus-within .menu {
        height: calc(100vh - 4.6875rem);
        visibility: visible;
        overflow-y: auto;
    }
    .nav:focus-within .hamburger {
        border-top-color: transparent;
    }
    .nav:focus-within .hamburger::before {
        color: transparent;
        cursor:auto;
    }
    .nav:focus-within .hamburger::after {
        color: transparent;
        cursor:auto;
    }
    header {
        background-color:#f6d1f0;
        text-align: center;
        width: 100%;
        height: auto;
        background-size: cover;
        background-attachment: fixed;
        position: relative;
        
    }
    
    .service {
        display: flex;
    }
    #servicos {
        display: block;
    }
    .icon {
        display: inline-block;
        margin: 3%;
        width: 22%;
        height: auto;
    }

    .container {
        display: inline;
        width: 50%;
        padding: 4% 2%;
        box-sizing: border-box;
        height: auto;
    }
    .box>img {
        width: 100%;
        height: calc(100% - 10vh);
    }

    #contato {
        font-size: 14px;
    }
    #rdp {
        font-size: 14px;
    }
    .footer .left {
        width: 30%;
        margin-top: 10px;
    }
    .footer .left a {
        width: 30%;
        margin-top: 10px;
    }
    .footer .left a.voltar {
        font-size: 14px;
    }
}
