@import "color.css";

/*------------------Layout------------------*/

/* width */
::-webkit-scrollbar {
    width: 8px;
}

/* Handle */
::-webkit-scrollbar-thumb {
    background: var(--primary-color-dark);
    border-radius: 8px;
}

body {
    font-family: "Rubik", sans-serif !important;
    font-weight: 400 !important;
    font-style: normal !important;
    min-height: 100vh;
}

main {
    width: 100%;
    font-family: "Rubik", sans-serif;
    min-height: 100vh;
    position: relative;
}

.bg-primary-dark{
    background-color: var(--primary-color-dark);
}

.text-gray {
    color: #808080 !important;
}

/* Para navegadores baseados em WebKit (Chrome, Safari) */
input[type=number]::-webkit-outer-spin-button,
input[type=number]::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

/* Para navegadores baseados em Firefox */
input[type=number] {
    -moz-appearance: textfield;
}

/*.main-content {
    padding-bottom: 376px;
}*/

nav{
    font-weight: bold !important;
}

.navbar-brand img{
    width: 6rem;
}

.navbar-toggler {
    cursor: pointer;
    background: none;
    border: none;
    padding: 0;
}

    .navbar-toggler .bar1,
    .navbar-toggler .bar2,
    .navbar-toggler .bar3 {
        width: 30px;
        height: 3px;
        background-color: var(--primary-color-dark);
        transition: 0.4s;
    }

    .navbar-toggler.close .bar1 {
        transform: rotate(-45deg) translate(-8px, 7px);
    }

    .navbar-toggler.close .bar2 {
        opacity: 0;
    }

    .navbar-toggler.close .bar3 {
        transform: rotate(45deg) translate(-8px, -8px);
    }


.navbar-nav .nav-item .nav-link:hover{
    color: var(--primary-color-dark)
}

navbar, footer{
    font-size: 16px;
}

.breadcrumb{
    font-size: 12px;
}

.section-padding{
    padding-right: 10rem !important;
    padding-left: 10rem !important;
}

.section-padding.contacts {
    padding-right: 15rem !important;
    padding-left: 15rem !important;
}

.section-title {
    font-size: 58px;
    color: var(--primary-color-dark);
    font-weight: bold;
}


.section-subtitle {
    font-size: 18px;
}

.card {
    box-shadow: 0 0 20px rgba(0,0,0,0.1) !important;
    border: none;
}

.card-title{
    font-size: 24px;
}

.card-text{
    font-size: 14px;
}

.divider-page{
    border: 1px solid var(--primary-color-dark);
    border-radius: 4px;
    opacity: 1;
}

.form-select {
    border: 1px solid var(--primary-color-dark) !important;
    color: var(--primary-color-dark) !important;
    font-weight: bold ;
}

.form-select option[selected] {
    background-color: var(--primary-color-dark);
    color: white;
}

.form-select:focus{
    border: 1px solid var(--primary-color-dark) !important;
}

.form-control.searchbar {
    border-radius: 0px;
    border: none !important;
    border-bottom: 1px solid var(--primary-color-dark) !important;
}

.nav-pills .nav-link {
    padding-top: 0.3rem;
    padding-bottom: 0.3rem;
    padding-right: 0.9rem;
    padding-left: 0.9rem;
    border-radius: 8px;
    background-color: #EDEDED !important;
}

.nav-pills .nav-link.active{
    background-color: var(--primary-color-dark) !important;
    color: white !important;
}

.flex-column.nav-pills .nav-link {
    padding-top: 0.3rem;
    padding-bottom: 0.3rem;
    padding-right: 0.9rem;
    padding-left: 0.9rem;
    border-radius: 8px;
    background-color: transparent !important;
    color: var(--primary-color-dark) !important;
    border: 1px solid var(--primary-color-dark) !important;
}

.flex-column.nav-pills .nav-link.active{
    background-color: var(--primary-color-dark) !important;
    color: white !important;
}

.nav-tabs .nav-link {
    border: 0;
    background-color: transparent;
    font-weight: normal;
}

.nav-tabs .nav-link.active{
    border: 0;
    background-color: transparent;
    color: var(--primary-color-dark);
    font-weight: bold;
}


.nav-tabs .nav-link:focus, .nav-tabs .nav-link:hover,
.nav-tabs .nav-link.active:focus, .nav-tabs .nav-link.active:hover {
    outline: none !important;
    border: none !important;
    box-shadow: none !important;
    -webkit-box-shadow: none !important;
    -moz-box-shadow: none !important;
    -ms-box-shadow: none !important;
    isolation: unset !important;
    border-color: none !important;
}

.pagination-list {
    list-style-type: none;
}

.table tbody tr {
    display: flex;
}

    .table tbody tr td {
        flex-grow: 1;
    }

.btn-pagination {
    padding-top: 0.3rem !important;
    padding-bottom: 0.3rem !important;
    padding-left: 0.6rem !important;
    padding-right: 0.6rem !important;
    background-color: #EDEDED !important;
    border-radius: 4px;
    transition: all 0.4s;
    color: black;
}

.btn-pagination:hover {
    border: 2px solid var(--primary-color-dark);
}

.btn-pagination.active {
    background-color: var(--primary-color-dark) !important;
    color: white;
}

footer {
    position: absolute;
    bottom: 0;
    width: 100%;
    background-color: var(--primary-color-dark);
    padding-left: 7rem !important;
    padding-right: 7rem !important;
}

footer .logo img{
    width: 6rem;
}

footer .social-medias i{
    color: white;
    font-size: 1.5rem;
}

footer .email a{
    color: white;
}

footer .pages{
    border-top: 1px solid white;
    border-bottom: 1px solid white;
}

footer .pages ul {
    list-style-type: none;
    padding: 0;
    margin: 0;
}

footer .pages ul li a{
    text-decoration: none;
    outline: none;
    color: white;
}

footer .pages ul li a:hover{
    text-decoration: underline;
}

footer .links ul{
    list-style-type: none;
    padding: 0;
    margin: 0;
}

footer .links ul li a {
    text-decoration: none;
    outline: none;
    color: white;
}

footer .links ul li a:hover{
    text-decoration: underline;
}

footer .links .logo img{
    width: 7rem;
}

/*just on desktop*/
@media (min-width: 992px) {
    .main-content {
        padding-bottom: 400px;
        margin: 0 !important;
    }
}

/*smartphone*/
@media (max-width: 991.9px) {
    .section-title {
        font-size: 36px;
    }

    .section-subtitle {
        font-size:14px;
    }
    footer {
        position:unset;
        display: block;
    }
}


/*------------------Content------------------*/
.background-opactity {
    background-color: var(--primary-color-dark);
    opacity: 0.5;
}

.carousel-image {
    height: 30rem;
    background-position: top;
    background-repeat: no-repeat;
    background-size: cover;
}

.carousel .carousel-indicators button {
    width: 12px;
    height: 12px;
    border-radius: 100%;
}

.carousel-inner .carousel-item .background-opactity {
    background-color: var(--primary-color-dark);
    opacity: 0.5;
    height: 100%;

}

.carousel-inner .carousel-item .carousel-caption{
    display: flex;
}

.btn-action {
    background-color: var(--action-button-color);
    color: white;
    font-weight: bold;
}

.btn-action:hover {
    color: var(--action-button-color);
    background-color: transparent;
    border: 1px solid var(--action-button-color);
}

section{
    display: block;
}

.news-main-cover {
    background-size: cover;
    background-position: center;
    height: 30rem;
    background-repeat: no-repeat;
    border-radius: 4px;
}

.news-cover {
    background-size: contain;
    background-position: center;
    height: 13rem;
    background-repeat: no-repeat;
    border-radius: 4px;
}

.news-category{
    color: var(--primary-color-dark)
}

.news-description {
    -webkit-box-orient: vertical;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: normal;
}

.news-hightlight-text {
    -webkit-box-orient: vertical;
    display: -webkit-box;
    -webkit-line-clamp: 10;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: normal;
}
.card-news {
    width: 20rem;
    height: auto;
}
.section-brand {
    height: 20rem;
}

.contact-section {
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center;
}

.sport-section {
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center;
}

.aboutUs-section {
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center;
}

.news-section {
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center;
}

.events-section {
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center;
}


.breadcrumb-item + .breadcrumb-item::before{
    content: ">";
}

.breadcrumb li a {
    color: var(--primary-color-dark) !important
}

.color-text {
    color: var(--primary-color-dark) !important;
}

.badge{
    background-color: var(--primary-color-dark) !important;
}

    .color-text::placeholder {
        color: var(--primary-color-dark) !important;
        opacity: 1;
    }

    .color-text::-ms-input-placeholder {
        color: var(--primary-color-dark) !important;
        opacity: 1;
    }
.placeholder-red::placeholder {
    color: red !important;
}

.placeholder-red::-ms-input-placeholder {
    color: red !important;
}

.input-group-background {
    background-color: #EDEDED !important;
}

.form-check-input {
    border: 1px solid var(--primary-color-dark) !important;
}

.form-check-input:checked {
    background-color: var(--primary-color-dark);
}

.card-sports .sports-cover img{
    width: 18rem;
    height: 11rem;
    border-radius: 4px;
}

.team-image {
    background-position: center;
    height: 35rem;
    background-size: cover;
    background-repeat: no-repeat;
    border-radius: 4px;
}

.member-team-photo img {
    width: 8.5rem;
    height: 8.5rem;
    border: 3px solid var(--primary-color-dark);
    border-radius: 100%;
}

.member-team-name, .member-team-role{
    font-weight: bold;
}

/*.table-striped tbody tr:nth-of-type(odd) td {
    background-color: var(--primary-color-dark);
}*/

.news-image{
    width: 50rem !important;
}

.cart-alert {
    max-width: 20rem;
    bottom: 2%;
    right: 2%;
    border: 1px solid var(--primary-color-dark);
    background-color: white;
    border-radius: 6px;
    box-shadow: 0 0 20px rgba(0,0,0,0.1) !important;
    color: var(--primary-color-dark);
    opacity: 0; /* Começa escondido */
    pointer-events: none; /* Previne interações enquanto escondido */
    transition: opacity 0.3s;
}

.cart-alert.show {
    display: flex;
    opacity: 1;
    pointer-events: auto; /* Permite interações quando visível */
    transition: opacity 0.3s;
}

.cart-alert.hide {
    opacity: 0;
    transition: opacity 0.3s;
    pointer-events: none;
}


.cart-alert i {
    font-size: 2rem;
}

.cart-alert span {
    font-size: 0.7rem;
}

.catalog-image{
    width: 25rem;
    height: 13rem;
}

.product-image img {
    border-radius: 8px;
    max-width: 20rem;
    max-height: 20rem;
}

.checkout-image-box {
    width: 8rem;
    height: 12rem;
    border-radius: 8px;
}

.checkout-image {
    max-width: 100%;
    height: 12rem;
    border-radius: 8px;
}

.checkout-qtt-counter {
    border: 1px solid var(--action-button-color);
    color: var(--action-button-color);
    width: 2.5rem;
    -moz-appearance: textfield;
    text-align: center;
    outline: none;
}

.checkout-qtt-counter::-webkit-inner-spin-button, .checkout-qtt-counter::-webkit-outer-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

@media (max-width: 991.9px) {
    .section-padding {
        padding-right: 3rem !important;
        padding-left: 3rem !important;
    }

    .section-padding.contacts {
        padding-right: 3rem !important;
        padding-left: 3rem !important;
    }

    .section-title {
        font-size: 36px;
        font-weight: bold;
    }

    .section-subtitle {
        font-size: 14px;
    }

    .product-image img {
        max-width: 12rem;
        max-height: 12rem;
    }

    .catalog-image {
        width: 100%;
        height: 13rem;
    }

    .team-image {
        height: 20vh;
        background-size: contain;
        background-repeat: no-repeat;
    }

    footer {
        position: unset;
        display: block;
    }

    .news-image {
        width: 15rem !important;
    }

    .news-cover {
        height: 20vh;
    }

    .news-main-cover {
        background-size: contain;
        background-position: center;
        height: 20vh;
        background-repeat: no-repeat;
        border-radius: 4px;
    }

}