:root {
    --title-font-family: 'Playfair Display', serif;
    --text-font-family: 'Poppins', sans-serif;
    --primary-color: rgba(24, 24, 24, 1);
    --title-color: rgba(24, 24, 24, 1);
    --text-color: rgba(46, 46, 46, 1);
}

.header.container-header {
    position: fixed;
    width: 100%;
}

.btn.btn-primary {
    border-radius: 0;
    background-color: #16161A;
    color: #FFF;
    padding: 0.6rem 5rem;
    border-color: #16161A;
    i {
        transition: all 0.3s;
        margin-left: 1rem;
    }

    &:hover {
        border-color: #FFF;
        i {
            transform: translateX(10px);
        }
    }
    &:focus, &:active {
        background-color: #16161A;
        box-shadow: none;
    }

}

.art-modulo-form-contatti {
    max-width: 700px;
}

.form-control {
    border-radius: 0;
    border-color: #16161A;
}


.footer.mod-list.art-hmenu li a {
    font-size: 16px;
    text-transform: none;
    text-align: left;
    height: 24px;
    line-height: 1;
}

.grid{
    display: grid;
    gap: 1rem;
}
.grid.grid-template {
    grid-template-columns: repeat(3, 1fr);
}


.link-article {
    margin-top: .5rem;
    margin-bottom: 1rem;
    text-decoration: none;
    display: flex;
    flex-direction: row;
    align-items: flex-start;
    justify-content: space-between;

    &:hover {
        .link-arrow {
            i {
                transform: translate(2px, -2px);
            }
        }
    }

    .link-arrow {
        width: 37px;
        display: flex;
        font-size: 20px;
        aspect-ratio: 1;
        flex: 0 0 auto;
        background-color: var(--primary-color);
        color: #FFF;
        justify-content: center;
        align-items: center;
        i {
            transition: all .25s;
        }
    }

    h5 {
        font-family: var(--title-font-family), sans-serif;
        color: var(--title-color);
        text-decoration: none;
        font-size: 24px;
        margin-bottom: 0;
    }
}

/* Extra extra large devices (<1400px) */
@media (max-width: 1399.98px) {

    .grid.grid-template {
        grid-template-columns: repeat(3, 1fr);
    }
}

/* Extra large devices (max-width 1199.98px) */
@media (max-width: 1199.98px) {

}


/* Large devices (max-width 991.98px): Desktops */
@media (max-width: 991.98px) {

    .grid.grid-template {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* Medium devices (max-width 767.98px): Tablets */
@media (max-width: 767.98px) {
    .header.container-header {
        padding: 6px;
    }
    .footer .footer-item a {
        padding-left: 0;
    }
}


/* Small devices (max-width 575.98px): Mobile portrait */
@media (max-width: 575.98px) {


    .grid.grid-template {
        grid-template-columns: repeat(1, 1fr);
    }

}
