.coluna-ficheiros a{
    align-items: center;
    text-decoration: none;
}
.coluna-ficheiros a p{
    color: black;
    padding-left: 0.5rem;
    margin-bottom: 0;
}
.coluna-ficheiros{
    padding-left: 3rem;
    padding-bottom: 0.5rem;
}
.posicao-card{
    border-radius:8px;
    transform: translateY(-40%);width:100%;
}
.back-area-reservada{
    padding: 3em 2em;
    background-image: radial-gradient(#f9e260, #f9e260, #f9e260, #efb25b);
}
 @media (max-width: 767px) {
     .posicao-card{
            transform: none;
        }
        .coluna-ficheiros{
            padding-left: 1.5rem;
        }
 }
 .btn.btn-sm.btn-info {
    border-color: #f7d944;
    background-color: #f7d944;
    margin-top: 15px;
    padding-left: 10px;
    padding-right: 10px;
}
.header img{
    width: 100px;
}
.navLink {
    color: black;
    font-size: small;
    margin-right: -10px;
    margin-left: 15px;
}

.header {
    background-color: white;
    position: fixed;
    width: 100%;
    height: 100px;
    z-index: 3;
}

.header ul {
    margin: 0;
    padding: 10px;
    list-style: none;
    overflow: hidden;
    background-color: white;
}

.header li a {
    display: block;
    padding: 10px 5px;
    text-decoration: none;
}

.header .logo {
    display: block;
    float: left;
    position: relative;
    font-size: 2em;
    top: 5px;
    text-decoration: none;
    margin-left: 30px;
}

.header .menu {
    clear: both;
    max-height: 0;
    transition: max-height .2s ease-out;
}

.header .menu-icon {
    cursor: pointer;
    display: inline-block;
    padding: 28px 20px;
    justify-content: flex-end;
    position: relative;
    display: flex;
    user-select: none;
}

.header .menu-icon .navicon {
    background: #333;
    display: block;
    height: 2px;
    position: relative;
    transition: background .2s ease-out;
    width: 18px;
}

.header .menu-icon .navicon:before,
.header .menu-icon .navicon:after {
    background: #333;
    content: '';
    display: block;
    height: 100%;
    position: absolute;
    transition: all .2s ease-out;
    width: 100%;
}

.header .menu-icon .navicon:before {
    top: 5px;
}

.header .menu-icon .navicon:after {
    top: -5px;
}

.header .menu-btn {
    display: none;
}

.header .menu-btn:checked~.menu {
    max-height: fit-content;
}

.header .menu-btn:checked~.menu-icon .navicon {
    background: transparent;
}

.header .menu-btn:checked~.menu-icon .navicon:before {
    transform: rotate(-45deg);
}

.header .menu-btn:checked~.menu-icon .navicon:after {
    transform: rotate(45deg);
}

.header .menu-btn:checked~.menu-icon:not(.steps) .navicon:before,
.header .menu-btn:checked~.menu-icon:not(.steps) .navicon:after {
    top: 0;
}

.box-busca {
    display: flex;
    justify-content: flex-end;
    position: relative;
    top: 33px;
    height: 100%;
    margin-right: 30px;
}

.search-box {
    position: relative;
    width: 60px;
    margin-top: -10px;
    transition: all 0.5s cubic-bezier(0.68, -0.55, 0.265, 1.55);
}

.search-box.active {
    width: 200px;
    margin-top: -15px;
    top: 10px;
}

.search-box input {
    width: 100%;
    height: 100%;
    border: 1px black;
    border-radius: 50px;
    background: none;
    outline: none;
    padding: 0 60px 0 20px;
    font-size: small;
    opacity: 0;
    transition: all 0.5s cubic-bezier(0.68, -0.55, 0.265, 1.55);
}

.search-box input.active {
    opacity: 1;
}

.search-box input::placeholder {
    color: #a6a6a6;
}

.search-box .search-icon {
    position: absolute;
    right: 15px;
    top: 28px;
    transform: translateY(-50%);
    text-align: center;
    color: black;
    cursor: pointer;
    z-index: 1;
    transition: all 0.5s cubic-bezier(0.68, -0.55, 0.265, 1.55);
}

.search-box .search-icon.active {
    right: 5px;
    width: 50px;
    top: 22px;
    color: black;
    transform: translateY(-50%) rotate(360deg);
}

.search-box .cancel-icon {
    position: relative;
    display: none;
    z-index: 1;
    transform: translateY(-50%);
    color: black;
    cursor: pointer;
    transition: all 0.5s 0.2s cubic-bezier(0.68, -0.55, 0.265, 1.55);
}

.search-box .cancel-icon.active {
    right: -165px;
    top: -21px;
    color: rgba(255, 255, 255, 0);
    font-size: 8px;
    transform: translateY(-50%) rotate(360deg);
    display: block;
}

.search-box .search-data {
    text-align: center;
    padding-top: 7px;
    color: gray;
    font-size: 18px;
    word-wrap: break-word;
}

.search-box .search-data.active {
    display: none;
}

@media (min-width: 999px) {
    .header li {
        float: left;
    }

    .header li a {
        padding: 20px 30px;
    }

    .header .menu {
        clear: none;
        justify-content: center;
        float: right;
        display: flex;
        max-height: none;
        position: relative;
        top: -65px;
        width: 100%;
    }

    .header .menu-icon {
        display: none;
    }

    .header ul {
        background: none;
    }

    .header .logo {
        margin-left: 100px;
    }

    .box-busca {
        display: flex;
        justify-content: flex-end;
        position: relative;
        top: 35px;
        height: 100%;
        margin-right: 100px;
    }

    .header ul {
        margin: 0;
        padding: 0px;
        list-style: none;
        overflow: hidden;
        background-color: none;
    }

    .header li a {
        display: block;
        padding: 20px 20px;
        text-decoration: none;
    }

    .navLink {
        color: black;
        font-size: small;
        margin-right: -10px;
        margin-left: 0px;
    }

    .header .logo {
        top: 0px;
    }
}

/*Banner*/

#titulosBanner {
    display: grid;
    justify-content: center;
    justify-items: center;
    position: relative;
    top: 230px;
}

#outraPag {
    font-style: italic;
    color: white;
    position: relative;
    text-decoration: none;
    width: fit-content;
    font-size: 15px;
}

#pagAtual {
    font-style: italic;
    color: #f7d944;
    position: relative;
    text-decoration: none;
    width: fit-content;
    font-size: 15px;
}

/*Serviços*/

#servicos {
    display: grid;
    justify-content: center;
    align-items: center;
    margin: 130px;
}

#row2Serv {
    margin-top: 20px;
}

.imgsServ {
    border-radius: 10px;
    width: 250px;
}

#tituloServ {
    font-size: 20px;
    text-align: center;
    position: relative;
    bottom: 50px;
}

.textoServ,
.tituloServTexto {
    width: 250px;
}

@media screen and (max-width: 999px) {
    .imgsServ {
        width: 170px;
    }

    #servicos {
        margin-left: 30px;
        margin-right: 30px;
        margin-top: 100px;
        width: 380px;
        margin-bottom: 30px;
    }

    .divsServ {
        margin-bottom: 20px;
    }

    .textoServ {
        width: 170px;
        font-size: 11px;
        margin-bottom: 0px;
    }

    .tituloServTexto {
        width: 170px;
    }

    #row2Serv {
        margin-top: 0px;
    }

    #tituloServ {
        font-size: 20px;
        position: relative;
        bottom: 50px;
        display: flex;
        margin-left: -10px;
        width: 100%;
        justify-content: center;
    }
}

/*Footer*/

#footer{
    background-size: cover;
    background-position: center;
    margin-bottom: 30px;
}

#cima {
    position: relative;
    font-size: 50px;
    display: flex;
    justify-content: center;
    text-decoration: none;
}

#footerInfos {
    font-size: small;
    font-weight: bold;
    bottom: 10px;
    position: relative;
}

#footerCopyright {
    font-size: small;
}

#footerTexto img{
    height:50px;
}
@media screen and (max-width: 999px) {
    #footerTexto {
        margin-left: 30px;
        margin-right: 30px;
        line-height: 20px;
    }
    #footerTexto img{
        height:35px;
    }
    #cima {
        position: relative;
        font-size: 50px;
        display: flex;
        justify-content: center;
        text-decoration: none;
    }

    #footerRedes {
        display: flex;
        justify-content: center;
    }
}


.divsServ {
    position: relative;
    perspective: 1000px;
}

.divsServ:hover .imgsServ {
    transform: rotateY(180deg);
}

.imgsServ {
    width: 100%;
    height: auto;
    transition: transform 0.5s;
    backface-visibility: hidden;
}

.div_texto {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    transform: rotateY(-180deg);
    /* Girar na direção oposta */
    color: #212529;
    /* Cor do texto */
    backface-visibility: hidden;
    transition: transform 0.5s;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 20px;
    box-sizing: border-box;
}

.divsServ:hover .div_texto {
    transform: rotateY(0deg);
}

.tituloServTexto {
    font-weight: bold;
    font-size: 18px;
    margin-bottom: 10px;
}

.textoServ {
    font-size: 14px;
    line-height: 1.5;
}

.apoios{
    position: fixed;
    bottom: 0;
    width: 100%;
    left: 0;
    text-align: center;
    background-color: #fff;
    padding: 15px 0;
}

.apoios img{
    width: 400px;
    max-width: 100%;
}