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

header{
    height: 400px;
    background-image: url(../img/tramits/tramitsfotoheader.png);
    background-position: center;
    background-size: cover;
}

body{
    background-image: url(../img/tramits/tasa_fond_maf.JPG);
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    background-repeat: no-repeat;
    z-index: -1;
}

main{
    font-family: 'Segoe UI';
}

.contenedor-general{
    margin-inline: 20%;
    padding-inline: 5px;
    background-color: rgba(255, 255, 255, 0.782);
    z-index: 1;
    box-shadow: 0 0 6px 0 rgb(0,0,0, .1);
}

.contenedor-tarifes h2{
    text-align: center;
    padding-top: 30px;
}

.contenedor-tarifes h3{

    text-align: center;
    padding-block: 10px;
    font-size: 25px;

    -webkit-text-fill-color: white;
    -webkit-text-stroke-width: 1px;
    -webkit-text-stroke-color: black;
}

.contenedor-tarifes h4{
    padding-block: 10px;
    padding-bottom: 30px;
    display: flex;
    justify-content: center;
    font-size: 17px;
}

.contenedor-tarifes h5{
    text-align: center;
    padding-block: 10px;
    font-size: 22px;
    -webkit-text-fill-color: white;
    -webkit-text-stroke-width: 1px;
    -webkit-text-stroke-color: black;
}

.contenedor-tarifes p{
    padding-block: 10px;
    padding-bottom: 30px;
    display: flex;
    justify-content: center;
}

.cont-tarifes{
    width: 100%;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
}

.cont_gen_tar{
    margin: 2px;
    width: 48%;
    height: 250px;

    text-align: center;
    line-height: 40px;
    display: flex;
    justify-content: center;

    position: relative;
    overflow: hidden;
    align-items: center;

    box-shadow: 0 0 6px 0 rgb(0,0,0, .5);
}

.cont_gen_tar > img{
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 1;
    position: absolute;
    opacity: .9;

    display: flex;
}

.tramits_text{
    /* height: 100%; */
    z-index: 2;
    position: absolute;
}

.tramits_text p{
    display: flex;
}

/* CONTENEDOR SECRE */

.contenedor-secre h2{
    text-align: center;
    padding-top: 70px;
    padding-bottom: 40px;
}

.cont-secre{
    display: block;

    border-radius: 30px 30px;
    box-shadow: 0 0 6px 0 rgb(0,0,0, .1);

    padding: 20px;
}

.list_desp_unitats{
    padding-block: 20px;
}

.lista_unitats{
    padding: 10px;
    border-radius: 10px 10px;
}

.list_desp_unitats{
    display: flex;
    justify-content: flex-end;
}

.pdfview{
    /* margin: auto; */
    display: block;
    width: 100%;
    height: 90vh;
    margin-bottom: 20px;
}

.descargables_secre a{
    display: inline-flex;
    padding: 10px;
}

.descargables_secre a img{
    width: 24px;
}

.descargables_secre{
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
}


/* CONTENEDOR BECAS */


.cont-becas h2{
    justify-content: center;
    display: flex;
    padding: 40px;
    font-size: 30px;
}

.foto-becas{
    width: 100%;
    justify-content: center;
    display: flex;
    padding-bottom: 20px;
}

.foto-becas img{
    width: 80%;
}

.cont-form-becas{
    justify-content: center;
    display: flex;
    padding-block: 20px;
}

@media only screen and (min-width: 700px) and (max-width: 1300px){

    .contenedor-general{
        margin-inline: 5%;
    }
}

@media only screen and (max-width: 700px){

    nav{
        background-color: transparent;
    }

    .cont_gen_tar{
        width: 90%;
    }


    .logotramits a img{
        background-color: rgba(0, 0, 0, 0.253);
        border-radius: 10px 10px;
        
    }

    .contenedor-general{
        margin-inline: 0px;
    }
    
    .contenedor-tarifes h3{
        font-size: 20px;
    }
    
    .contenedor-tarifes h4{
        font-size: 15px;
        text-align: center;
    }
    
    .contenedor-tarifes h5{
        font-size: 18px;
    }
}