@import url('https://fonts.googleapis.com/css2?family=Roboto:ital,wght@0,100..900;1,100..900&display=swap');
@import url("https://cdn.jsdelivr.net/npm/bootstrap-icons@1.13.1/font/bootstrap-icons.min.css");

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

body{
    font-family: "Roboto", sans-serif;
}

/* Ajustes */
p > a,
.color-secondary{
    color: #e04f67 !important;
}

.banner-title{
    font-size: 3rem;
    font-weight: 700;
}

.banner-mask{
    background: rgba(0, 0, 0, 0.5); 
    min-height: 500px;
}

.max-height-md{
    max-height: 400px;
}

.height-md{
    height: 400px;
}

.only-mobile{
    display: none;
}

ul{
    list-style: none;
}

p{
    font-weight: normal;
}

a{
    color: inherit;
    text-decoration: none;
}

/* Header */
.navbar-brand > svg{
    width: 115px;
    height: auto;
}

/* Carousel */
.carousel-indicators {
    list-style: none; 
    margin: 0;
    padding: 0;
}

/* Frontpage */
.technical-data-image{
    width: 20px;
    height: 20px;
    margin-top: 5px;
}

.categories-service-grid{
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    margin-top: 50px;
}

.category-service-content{
    position: relative;
}

.category-service-content:first-child{
    grid-column: span 2;
    grid-row: span 2;
}

.category-service-content:last-child{
    grid-column: span 2;
}

.category-service-image{
    height: 100%;
    width: 100%;
    object-fit: cover;
    filter: brightness(0.5);
}

.category-service-bottom{
    padding: 20px;
    position: absolute;
    bottom: 0;  
    left: 0;
    width: 100%;
    display: flex;
    align-items: baseline;
    gap: 10px;
}

.cta-content > p,
.cta-content > h2{
    color: #fbfdff;
}

/* Footer */
#toTop{
    height: 50px;
    width: 50px;
    position: fixed;
    bottom: 10%;
    right: 5%;
}

.custom-logo{
    max-width: 115px;
    height: auto;
}

footer ul{
    margin: 0;
    padding: 0;
}

#menu-footer a{
    color: #fbfdff;
    font-size: 14px;
    transition: all .2s;
}

.list-content > ul{
    padding: 0;
}

.list-content li{
    padding: 10px;
    font-size: 0.9rem;
    line-height: 1;
    border-bottom: 1px solid #191919;
}

.list-content li:nth-child(even){
    background-color: #eee;
}

.list-group-item.active {
    background-color: #e04f67 !important; 
    color: #191919 !important;            
    border-color: #e04f67 !important;     
}

.list-group > .list-group > .list-group-item.active{
    background-color: #f8f9fa !important;
    border-color: #dee2e6 !important;
}

/* Hover  */
.hover{
    transition: all .2s
}

#menu-footer a:hover,
.hover:hover{
    color: #e04f67;
}

/* Banner */
.banner{
    min-height: 400px;
    background-size: cover;
    background-repeat: no-repeat;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 50px 0;
    position: relative;
}

.banner::before{
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: block;
    background-color: rgba(0, 0, 0, 0.7);
}

/* Pagination */
.page-numbers {
    display: flex;
    justify-content: center;
    gap: 0.2rem;
    list-style: none;
    padding: 0;
}

.page-numbers li {
    display: inline-block;
}

.page-numbers a {
    display: block;
    padding: 0.375rem 0.75rem;
    color: #e04f67;
    text-decoration: none;
    border: 1px solid #dee2e6;
    border-radius: 0.25rem;
    transition: all .2s;
}

.page-numbers a:hover{
    background-color: #e04f67;
    color: #fbfdff;
}

.page-numbers .current {
    background-color: #e04f67;
    color: #fbfdff;
    border-color: #e04f67;
    display: block;
    padding: 0.375rem 0.75rem;
    text-decoration: none;
    border: 1px solid #dee2e6;
    border-radius: 0.25rem;
}

@media (max-width: 991px){
    .archive #pub-square,
    .single #pub-square,
    .blog #pub-square{
        display: none;
    }
}

@media (max-width: 850px){
    /* Frontpage Categoria */
    .categories-service-grid{
        grid-template-columns: 1fr 1fr;
        gap: 10px;
        margin-top: 35px;
    }

    .category-service-content:last-child,
    .category-service-content:first-child {
        grid-column: auto;
        grid-row: auto;
    }
}

@media (max-width: 768px){
    .only-mobile{
        display: block;
    }
}

@media (max-width: 470px){
    /* Frontpage Categoria */
    .categories-service-grid{
        grid-template-columns: 100%;
        margin-top: 25px;
    }
}