:root {
    --red-75: #D01F37;
    --white-100: #FFFFFF;
    --black-100: #000000;
    --gray-75: #F2F3F4;
    --light-gray-100: #F2F2F2;
}


* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html, body {
    padding: 0 !important;
    overflow-x: hidden;
}

.navbar-toggler, .navbar-toggler:focus {
    border: none;
    box-shadow: none;
}

.navbar-toggler > i {
    color: var(--red-75);
}

.section-header {
    color: var(--black-100);
    font-weight: 700;
    margin-left: 100px;
    padding-bottom: 75px;
    margin-bottom: 0;
}

.next-matches, .last-matches{
    padding: 75px 0;
}

.next-matches .matches {
    padding: 45px 0 45px 45px;
    background: linear-gradient(90deg, #D01F37 0%, #7B0B1A 100%);
}


    /* NAVBAR-HOME */
.social-media {
    background: var(--black-100);
}

.social-media .cracovia {
    color: var(--white-100);
}

.social-media .cracovia .cracovia-biznes {
    color: var(--white-100);
    text-decoration: none;
    background: var(--red-75);
    padding: 5px 15px;
}

.nav-logo {
    height: 40px;
    width: auto;
}

#navbar-home .nav-item > .nav-link {
    color: var(--black-100);
    font-weight: 600;
    text-transform: uppercase;
}

#navbar-home .dropdown {
    position: relative;
    color: var(--black-100);
    text-decoration: none;
}

#navbar-home .dropdown-menu {
    border: none;
    border-radius: 0;
}

#navbar-home .dropdown-menu > li > a,
#navbar-home .dropdown-menu > li > a:focus {
    color: var(--black-100);
    background-color: var(--white-100);
}

#navbar-home .nav-item {
    padding: 5px 10px 10px 10px;
}

#navbar-home .navbar-nav > .nav-item:nth-child(1) > .navbar-brand {
    display: flex;
    align-items: center;
    justify-content: space-between;
    color: var(--red-75);
}

@media screen and (min-width: 1200px) {
    #navbar-home .navbar-nav > .nav-item:nth-child(1) {
        padding: 5px 0 25px 0;
    }

    #navbar-home .dropdown-menu[data-bs-popper] {
        margin: 0;
        left: 0;
    }

    #navbar-home .navbar-nav > .nav-item:nth-child(1) > .navbar-brand {
        margin: 0;
        padding: 0 18px;
        border-left: 1px solid rgba(0, 0, 0, 0.3);
        border-right: 1px solid rgba(0, 0, 0, 0.3);
    }

    #navbar-home .nav-item {
        padding: 5px 10px 25px 10px;
        flex: 0 0 auto;
    }

    #navbar-home .dropdown::before {
        content: "";
        position: absolute;
        inset: 0;
        height: 0;
        background: var(--red-75);
        transition: height 0.3s ease;
        z-index: -1;
    }

    #navbar-home .dropdown:hover::before {
        height: 100%;
    }

    #navbar-home .dropdown:hover .nav-link {
        color: var(--white-100);
    }

    #navbar-home .dropdown-menu {
        display: block;
        visibility: hidden;
        opacity: 0;
        padding: 0;
        margin-top: 25px;
        margin-left: -10px;
        background: var(--white-100);
        transform: translateY(-10px);
        transition: opacity 0.25s ease, transform 0.25s ease, visibility 0.25s;
    }

    #navbar-home .dropdown:hover > .dropdown-menu {
        visibility: visible;
        opacity: 1;
        transform: translateY(0);
    }

    #navbar-home .dropdown-item {
        position: relative;
        z-index: 1;
        overflow: hidden;
        padding: 10px 20px;
        transition: color 0.3s ease;
    }

    #navbar-home .dropdown-item::before {
        content: "";
        position: absolute;
        inset: 0;
        background: var(--red-75);
        transform: scaleX(0);
        transform-origin: left;
        transition: transform 0.25s ease;
        z-index: -1;
    }

    #navbar-home .dropdown-item:hover::before {
        transform: scaleX(1);
    }

    #navbar-home .dropdown-item:hover {
        color: var(--white-100);
    }
}



/* LEFT-SIDE */
.wrapper .left-side {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    color: var(--white-100);
    background-image: url('assets/images/left-side.png');
    background-repeat: no-repeat;
    background-size: cover;
}

.wrapper .left-side h1 {
    font-size: 65px;
}

.wrapper .left-side img {
    position: absolute;
    bottom: 25px;
    right: 25px;
}

header > .wrapper .header-element {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 26px;
    font-weight: 600;
    color: var(--white-100);
    padding: 0 75px;
    line-height: 1;
}

header > .wrapper .header-element > a {
    padding: 5px 25px;
    background: var(--red-75);
    color: var(--white-100);
    text-decoration: none;
}

header > .wrapper .header-element:not(:last-child)::after {
    content: "";
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 4px;
    height: 100%;
    background: var(--red-75);
}

/* SECTION */

.next-matches {
    background: var(--gray-75);
}

.next-matches .matches span.datatime,
.next-matches .matches span.vs {
    text-align: center;
    display: block;
    color: var(--white-100);
    font-weight: 600;
    font-size: 35px;
}

.next-matches .matches span.team {
    text-align: center;
    display: block;
    color: var(--white-100);
    font-weight: 600;
    font-size: 20px;
    background: var(--black-100);
    padding: 5px 30px;
    margin-top: 10px;
}

.next-matches .matches .data_location {
    color: var(--white-100);
}

.next-match-data {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 5px 15px;
    line-height: 1.2;
    color: var(--white-100);
    background: var(--black-100);
    width: 20%;
}

.next-match-team {
    font-size: 14px;
    font-weight: 700;
    background: var(--white-100);
    color: var(--black-100);
    width: 80%;
}

.next-matches-list {
    margin-left: 25px;
    margin-right: -75px;
}

/* SECTION LAST MATCH & TABLE */
.last-matches-table h1 {
    color: var(--white-100);
}

.last-matches .last-matches-table, .shop {
    background: linear-gradient(90deg, #D01F37 0%, #7B0B1A 100%);
}

.last-matches .last-matches-table .result {
    font-size: 35px;
    color: var(--white-100);
    font-weight: 600;
}

.last-matches .last-matches-table .team {
    text-align: center;
    display: block;
    color: var(--white-100);
    font-weight: 600;
    font-size: 20px;
    background: var(--black-100);
    padding: 5px 30px;
    margin-top: 10px;
}

.last-matches-table .table-layout {
    height: 100%;
    width: 100%;
    background: var(--white-100);
}

.last-matches-table table {
    margin: auto;
    width: 85%;
}

.last-matches-table table img {
    object-fit: contain;
}

.last-matches-table table th {
    padding-left: 0;
    padding-right: 0;
    font-size: 15px;
}

.last-matches-table table thead th > span{
    color: var(--white-100);
    background: var(--black-100);
    padding: 10px 25px;
}

.last-matches-table table th {
    text-align: center;
    vertical-align: middle;
}

.last-match-result {
    padding: 45px;
}

.news {
    padding: 75px 0;
    margin-top: 100px;
    background-image: url('assets/images/news.png');
    background-repeat: no-repeat;
    background-size: cover;
}

.news h1 {
    color: var(--white-100);
}

.news-header {
    padding: 30px;
    width: 95%;
    background: var(--white-100);
}

.news-header span,
.news-header h5 {
    font-weight: 700;
}

.news-header > a {
    padding: 5px 15px;
    text-decoration: none;
    background: var(--red-75);
    color: var(--white-100);
    position: absolute;
    bottom: -15px;
    right: -15px;
}

.news .news-view-more {
    display: inline-block;
    color: var(--white-100);
    text-decoration: none;
    background: var(--red-75);
    padding: 10px 40px;
    font-weight: 700;
    font-size: 24px;
    margin-top: 75px;
}


/* PLAYERS */

.players {
    background-image: url('/assets/images/tlo.png');
    background-size: contain;
    background-position: right;
    background-repeat: no-repeat;
    padding: 75px 0;
}

.players .section-header {
    padding-bottom: 25px;
}

.players button{
    font-weight: 700;
    outline: none;
    border: none;
    border-radius: 0;
}

.players [data-bs-toggle="collapse"][aria-expanded="true"] {
    background: var(--red-75) !important;
    color: var(--white-100) !important;
    border-radius: 0;
    padding: 5px 25px;
}


/* SHOP */


.shop {
    position: relative;
    padding-top: 75px;
    padding-bottom: 200px;
    margin-bottom: 225px;
}

.shop .section-header {
    color: var(--white-100);
}

.shop .category-shop span {
    width: 60%;
    text-align: center;
    font-weight: 700;
    padding: 7px 25px;
    color: var(--white-100);
    background: var(--black-100);
}

.swiper-slide {
    margin-bottom: 25px;
}

.shop .section-subheader h3 {
    padding: 5px 20px;
    margin-left: -12px;
    margin-top: -10px;
    color: var(--white-100);
    background: var(--black-100);
}


/* PARTNERS */
.partners .partners-box {
    padding: 75px 0;
}

.partners .partners-box h3 {
    font-weight: 700;
    margin-bottom: 20px;
}

.partners .partners-box:nth-child(2n+1) {
    background: var(--gray-75);
}


/* FOOTER */

.footer-list {
    background: var(--light-gray-100);
}

.footer-list .list-group-item > button {
    font-weight: 700;
    text-transform: uppercase;
}

.footer-list .list-group-item > .list-group > .list-group-item {
    background: transparent;
    border: none;
    padding-left: 0;
}

.footer-list .list-group-item > .list-group > .list-group-item > a {
    color: var(--black-100);
    text-decoration: none;
}

.footer-list .list-group-item > .list-group > .list-group-item > a:hover {
    color: var(--red-75);
}

.footer-list .all-right-reserved ul > li {
    list-style: none;
}

.footer-list .all-right-reserved ul > li > a {
    font-weight: 700;
    text-transform: uppercase;
    color: var(--black-100);
    text-decoration: none;
    font-size: 14px;
}

.footer-list .all-right-reserved p {
    font-size: 14px;
}

.footer-list > .cracovia-logo-dark {
    display: flex;
    justify-content: center;
    background: var(--black-100);
}



@media screen and (min-width: 1200px) and (max-width: 1399px) {
    .nav-logo {
        height: 35px;
    }

    #navbar-home .nav-item {
        padding: 5px 0 25px 0;
    }

    #navbar-home .nav-item > .nav-link {
        font-size: 14px;
    }
    #navbar-home .dropdown:hover > .dropdown-menu {
        margin-left: 0;
    }

    #navbar-home .dropdown-menu {
        padding: 0;
        opacity: 0;
        margin-left: 0;
        transform: translateY(0px);
    }

    .next-match-data, .next-match-team{
        font-size: 13px;
    }
}

@media screen and (min-width: 1400px) and (max-width: 1700px) {
    .nav-logo {
        height: 40px;
    }

    #navbar-home .nav-item {
        /*line-height: 45px;*/
        padding: 5px 5px 25px 0;
    }

    #navbar-home .nav-item > .nav-link {
        font-size: 14px;
    }

    #navbar-home .dropdown-menu {
        padding: 0;
        opacity: 0;
        margin-left: 0;
        transform: translateY(0px);
    }
}

@media screen and (max-width: 1600px) {
    header > .wrapper .header-element {
        font-size: 24px;
        padding: 0 40px;
    }
}

@media screen and (max-width: 1400px) {
    header > .wrapper .header-element {
        font-size: 20px;
        padding: 0 40px;
    }
}



@media screen and (max-width: 1200px) {
    header > .wrapper .header-element {
        font-size: 16px;
        padding: 0 35px;
    }

    .next-match-data, .next-match-team{
        font-size: 10px;
    }

    .wrapper .left-side h1 {
        font-size: 50px;
    }

    .wrapper .left-side img {
        width: 50px;
    }

    .last-matches-table table {
        width: 100%;
    }

    .last-matches-table table thead th > span {
        padding: 10px 20px;
    }

}


@media screen and (max-width: 992px) {
    header > .wrapper .header-element {
        font-size: 12px;
        padding: 0 30px;
    }

    .wrapper .left-side h1 {
        font-size: 30px;
    }

    .wrapper .left-side img {
        width: 40px;
    }

    .next-matches .matches span.datatime,
    .next-matches .matches span.vs {
        text-align: center;
        display: block;
        color: var(--white-100);
        font-weight: 600;
        font-size: 20px;
    }

    .next-matches .matches .match_day > img,
    .last-match-result img{
        width: 100px !important;
        height: 100px !important;
    }

    .next-matches .matches span.team {
        text-align: center;
        display: block;
        color: var(--white-100);
        font-weight: 600;
        font-size: 15px;
    }

    .next-matches .matches .data_location > span{
        font-size: 11px;
    }

    .next-matches-list {
        margin: 0;
    }

    .next-matches .matches {
        padding: 25px;
    }

    .next-matches-list > div {
        padding: 0;
    }

    .last-matches-table table {
        position: relative !important;
        margin-top: -25px;
    }

    .footer-list .list-group-item {
        border-bottom: 1px solid rgba(0, 0, 0, 0.2);
    }

}

@media screen and (max-width: 768px) {
    header > .wrapper .header-element {
        font-size: 10px;
        padding: 0 20px;
    }

    .shop .section-header {
        text-align: center;
        padding-bottom: 15px;
    }

    .section-header {
        margin-left: 0;
    }

    .category-shop.swiper {
        width: 55% !important;
    }
}

@media screen and (max-width: 576px) {
    header > .wrapper .header-element::after {
        display: none !important;
    }

    .wrapper .left-side h1 {
        font-size: 15px;
    }

    .wrapper .left-side img {
        width: 20px;
        bottom: 10px;
        right: 10px;
    }

    .next-matches .matches {
        padding: 10px;
    }

    .next-match-data, .next-match-team{
        padding: 0;
        font-size: 8px;
    }

    .container-sm {
        padding-left: 0;
        padding-right: 0;
    }

    .last-matches-table table thead th > span {
        display: inline-block;
        width: 100%;
        padding: 10px 10px;
    }

    .last-matches-table table th {
        font-size: 10px;
    }

    .last-match-result {
        padding: 0;
    }

    .next-matches .matches span.team,
    .last-matches .last-matches-table .team {
        font-size: 12px;
        padding: 5px 20px;
    }

    .category-shop.swiper {
        width: 70% !important;
    }

}


.subpage a{
	color:#cd0829;
}

.subpage img{
	width:100% !important;
	max-width:600px !important;
	height:auto !important;
}
