.templates-section {
    font-family: var(--primary-font);
}

.templates-title {
    margin: 2rem 0px;
    font-size: 28px;
    text-align: center;
}

.templates-container {
    display: flex;
    width: 100%;
    flex-direction: column;
}

.templates-row {
    display: flex;
    width: 100%;
    flex-wrap: wrap;
}

.template-box {
    overflow: hidden;
    position: relative;
    width: 95%;
    max-width: 400px;
    min-width: 200px;
    min-height: 380px;
    /*max-height: 350px;*/
    margin: 1rem auto;
    border-radius: var(--default-radius);
    box-shadow: 10px 10px 30px rgba(90, 90, 120, .3);
}

.template-box img {
    /*width: 100%;*/
    display: block;
    min-height: 100%;
    min-width: 100%;
    max-width: 150%;
    max-height: 150%;
}

.template-otions {
    position: absolute;
    left: 5%;
    bottom: 30px;
    display: flex;
    width: 90%;
    height: 60px;
    padding: .5rem;
    justify-content: space-around;
    align-items: center;
    background: #fff /*var(--theme-gradient)*/;
    box-shadow: 0px 0px 30px rgba(90, 90, 120, .2);
    border-radius: var(--default-radius);
}

.template-btn {
    display: flex;
    width: 40%;
    padding: .5rem;
    justify-content: center;
    align-items: center;
    border-radius: var(--default-radius);
    box-shadow: 0px 0px 15px rgba(90, 90, 120, .2);
    text-decoration: none;
    color: var(--theme-dark-color);
    border: none;
    font-family: var(--primary-font);
    font-size: 16px;
}

.template-btn:hover {
    background-color: var(--theme-light-color);
}

.template-btn.edit {
    background-color: var(--theme-color);
    color: #fff;
}

.template-btn.edit:hover {
    background-color: var(--theme-hover-color);
}

/* Paginação */

.pagination {
    display: flex;
    margin: 1rem auto;
    justify-content: center;
    list-style: none;
}

.page-item {
    display: flex;
    width: 40px;
    height: 40px;
    margin: .25rem;
    justify-content: center;
    align-items: center;
    background-color: var(--theme-light-color);
    border-radius: var(--default-radius);
    color: #000;
}

.page-link {
    display: flex;
    width: 100%;
    height: 100%;
    justify-content: center;
    align-items: center;
    text-decoration: none;
    color: inherit;
    font-weight: bold;
}

.page-item.active {
    background-color: var(--theme-color) !important;
    color: #ffffff !important;
}

/* Small devices (portrait tablets and large phones, 600px and up) */
@media only screen and (min-width: 600px) {}

/* Medium devices (landscape tablets, 768px and up) */
@media only screen and (min-width: 768px) {

    .template-box {
        width: 30%;
        height: 350px;
    }

}

/* Large devices (laptops/desktops, 992px and up) */
@media only screen and (min-width: 992px) {

    .templates-title {
       font-size: 36px;
    }

    .template-box:hover>.template-otions {
        display: flex;
    }

    .template-box {
        width: 300px;
        height: 350px;
        margin: 50px auto;
    }

    .template-otions {
        display: none;
    }
}

/* Extra large devices (large laptops and desktops, 1200px and up) */
@media only screen and (min-width: 1200px) {}