html,
body {
    overflow-x: hidden;
}

header,
section {
    width: 100%;
    margin: 0px;
    padding: 0px;
    overflow-x: hidden;
}

h1,
h2,
h3,
h4,
h5,
h6,
p {
    font-family: var(--Josefin);
}

/*Section 0*/
.section-0 {
    background: var(--section-zero-bg);
    color: #393A3B;
}

.section-0 .row .col-md-5 {
    padding: 12vmin 1vmin;
}

.section-0 .row .col-md-7 {
    padding: 18vmin 1vmin;
    padding-bottom: 20vmin;
}

.section-0 .row .col-md-5 img {
    width: 90%;
    transition: transform .2s;
    -webkit-filter: drop-shadow(5px 5px 5px var(--header-background));
    filter: drop-shadow(5px 5px 5px var(--header-background));
}

.section-0 .container .col-md-7 h6 {
    color: var(--primary-colour);
    padding: 1vmin;
    letter-spacing: 4px;
    font-size: 1rem;
}

.section-0 .container .col-md-7 h1 {
    color: var(--brand-colour);
    font-size: 8vmin;
    font-weight: bold;
    padding: 0.1em 1em 0.1em 1em;

}

.section-0 .container .col-md-7 p {
    padding: 1vmin 5vmin;
}

.section-0 .container .col-md-7 button {
    background-color: var(--primary-colour);
    color: var(--secondary-colour);
    border-radius: 3px;
    font-family: var(--Josefin);
}

/*Section 1*/

.section-1 {
    padding: 17vmin 1vmin 10vmin 1vmin;
    background: var(--section-one-bg);
}

.section-1:first-child {
    width: 100%;
}

.section-1 .row .col-md-6 .player img {
    width: 100%;
    border-radius: 0.2em;
}

.section-1 .row .col-md-6:last-child {
    position: relative;
}

.section-1 .row .col-md-6 .panel {
    position: absolute;
    top: -5vmin;
    left: -1vmin;
    background: whitesmoke;
    border-radius: 3px;
    text-align: left;
    padding: 14vmin 5vmin 17vmin 10vmin;
    box-shadow: 0px 25px 42px rgba(160, 143, 98, 0);
    z-index: 1;
}

.section-1 .row .col-md-6 .panel h1 {
    font-weight: bold;
    padding: 0.4em 0;
    font-size: 1.75em;
    color: var(--brand-colour);
}

.section-1 .row .col-md-6 .panel p {
    font-size: 0.9em;
    color: rgba(0, 0, 0, 0, 5);
}

/*Section 2*/

.section-2 {
    background: var(--section-two-bg);
}

.cover {
    width: 100%;
    height: auto;
    background-position: -2rem -5rem;
    position: relative;
}

.cover .content {
    background: rgba(0, 0, 0, 0.5);
    height: 100%;
    width: 100%;
    padding-top: 19vmin;
    padding-bottom: 19vmin;
}

.cover .content>h1 {
    font-size: 6vmin;
    color: whitesmoke;
}

.cover .content>p {
    font-size: 3vmin;
    color: #e5e5e5;
}

.numbers .rect {
    position: relative;
    z-index: 1;
    background: white;
    width: 17rem;
    height: 12rem;
    padding-top: 3.5vmin;
    margin: 1rem;
    border-radius: 0.5em;
    box-shadow: 1px 2px 50px 0px rgba(95, 66, 2, 0.397);
}

.numbers {
    margin-top: -12vmin;
}

.numbers .rect h1 {
    font-size: 3.5rem;
    color: var(--brand-colour);
}

.rect-icon {
    color: var(--brand-colour);
}

/*Section 3*/
.section-3 {
    height: 70vmin;
    margin-top: 15vmin;
    background: var(--section-three-bg);
}

.section-3 .col-md-12>h1 {
    padding: 2em 0 0.5em 0;
    color: whitesmoke;
    font-size: 6vmin;
}

.section-3 .col-md-12>p {
    padding: 0 4em;
    padding-bottom: 2em;
    color: whitesmoke;
    font-size: 3vmin;
}

.section-3 .games {
    background: white;
    display: inline-block;
    border-radius: 1em;
    padding: 2vmin 4.5vmin;
    margin: 1em;
}

.section-3 .games h3 {
    font-size: 1rem;
}

.section-3 .games p {
    font-size: 2vmin;
}

.section-3 .games i {
    color: var(--brand-colour);
}

/*Section 4*/
.section-4 .container h1 {
    font-size: 6vmin;
    padding-top: 14vmin;
    color: var(--brand-colour);
}

.section-4 .testimonials {
    padding: 1vmin;
}

.section-4 .card {
    width: 22rem;
    margin-top: 1vmin;
}

.section-4 .card .card-text {
    padding: 0.5em;
}

.section-4 .card .card-body {
    padding-top: 0;
}

.section-4 .card .card-body p {
    margin-bottom: 0;
}

.section-4 .card .card-body>a {
    font-size: 1.5em;
}

.section-4 .carousel-item {
    padding-left: 3em;
}

.section-4 .testimonials .col-md-12 .carousel .carousel-inner .carousel-item .card .card-body .review-quote {
    font-family: 'Passion One', cursive;
    font-size: 4rem;
    color: var(--brand-colour);
}

.section-4 .testimonials .col-md-12 .carousel .carousel-inner .carousel-item .card .card-body .review-text {
    font-size: 1rem;
}

/*--MEDIA QUERIES--*/

/*If the screen size is 321px or less*/
@media only screen and (max-width: 321px) {

    /*Section 1*/
    .section-1 .row .col-md-6 {
        padding-left: 0;
        padding-right: 0;
    }

    .section-1 .row .col-md-6 .player {
        position: initial;
        width: 100%;
        height: initial;
    }

    .section-1 .row .col-md-6 .player img {
        width: 150%;
        margin-left: -24vmin;
    }

    .section-1 .match-container .team .team-name p {
        margin-top: 1rem;
        font-size: 0.5rem !important;
        white-space: nowrap;
        text-align: center;
    }

    .section-1 .match-container .match-details div:first-child {
        font-size: 0.85rem !important;
    }

    .section-1 .match-container .match-details div:nth-child(2) {
        display: flex;
        flex-direction: column;
        font-size: 0.5rem !important;
    }

    .section-1 .match-container .match-details div:last-child {
        margin-top: 1.5vmin !important;
        font-size: 0.65rem !important;
    }

    .section-1 .container .match-container .match-panel .match-details .match-time>span:first-child {
        font-size: 0.8rem !important;
    }

    .section-1 .container .match-container .match-panel .purchase-link {
        margin-left: 10vmin;
        width: 5%;
    }

    .section-1 .match-container .match-details div:nth-child(2)>span:last-child {
        font-size: 0.65rem !important;
    }

    .section-1 .match-container .match-panel .purchase-link button {
        font-size: 0.5rem;
    }

    .section-1 .row .col-md-6 .panel {
        position: initial;
        width: initial;
        height: initial;
    }

    /*Section 2*/
    .section-2 .cover {
        background-size: cover !important;
    }

    .section-2 .cover .content h1 {
        font-size: 1rem;
        text-align: center;
    }

    .section-2 .cover .content p {
        font-size: 0.65rem;
        text-align: center;
    }

    .section-2 .numbers .rect {
        width: 12rem;
        height: 8rem;
        text-align: center;
    }

    .section-2 .numbers .rect h1 {
        font-size: 2rem;
    }

    .section-2 .numbers .rect i {
        font-size: 1.5rem;
    }

    /*Section 3*/
    .section-3 {
        height: 100%;
        padding-bottom: 10vmin !important;
    }

    .section-3 .row .col-md-12 p {
        font-size: 0.75rem;
    }

    .section-3 .fixtures .col-md-6 .games {
        display: flex;
        flex-direction: row;
        vertical-align: middle;
        width: 65%;
    }

    .section-3 .fixtures .col-md-6 .games h3 {
        font-size: 4vmin !important;
    }

    .section-3 .fixtures .col-md-6 .games p {
        font-size: 3vmin;
    }

    .section-3 .fixtures .col-md-6 .games i {
        font-size: 2rem;
    }

    /*Section 4*/
    .section-4 {
        padding-top: 5vmin;
    }

    .section-4 .testimonials .card {
        width: 95%;
    }

    .section-4 .testimonials .carousel-item {
        padding-left: 0;
    }
}

/*If the screen size is 480px or less*/
@media only screen and (max-width: 480px) {
    .section-0 .row .col-md-7 {
        padding: 5vmin 1vmin !important;
        padding-bottom: 5vmin !important;
    }

    .section-0 .row .col-md-5 {
        padding: 1vmin 1vmin !important;
    }

    .section-0 .container .col-md-7 h1 {
        font-size: 2rem;
        overflow-wrap: break-word;
    }

    /*Section 1*/
    .section-1 {
        padding: 1vmin !important;
    }

    .section-1 .row .col-md-6 {
        padding-left: 0;
        padding-right: 0;
    }

    .section-1 .row .col-md-6 .player {
        position: initial;
        width: 100%;
        height: initial;
    }

    .section-1 .row .col-md-6 .player img {
        width: 100%;
    }

    .section-1 .row .col-md-6 .panel {
        position: initial;
        width: initial;
        height: initial;
        padding: 14vmin 2vmin 17vmin 2vmin;
    }

    .section-1 .container .match-container {
        margin-top: 5vmin !important;
        margin-bottom: 5vmin !important;
    }

    .section-1 .match-container .team .team-name {
        display: none !important;
        width: 100% !important;
    }

    .section-1 .match-container .team .team-logo {
        width: 100% !important;
        height: 100% !important;
    }

    .section-1 .container .match-container .match-panel .team .team-logo img {
        width: 70% !important;
        margin-left: 15%;
        margin-right: 15%;
    }

    .section-1 .match-container .team .team-name p {
        margin-top: 1rem;
        font-size: 0.65rem !important;
        text-align: center;
    }

    .section-1 .match-container .match-details div:first-child {
        font-size: 0.85rem !important;
    }

    .section-1 .match-container .match-details div:nth-child(2) {
        display: flex;
        flex-direction: column;
        font-size: 0.5rem !important;
    }

    .section-1 .match-container .match-details div:last-child {
        margin-top: 1.5vmin !important;
        font-size: 0.7rem !important;
    }

    .section-1 .match-container .match-details div:nth-child(2)>span:first-child {
        font-size: 1rem !important;
    }

    .section-1 .match-container .match-details div:nth-child(2)>span:last-child {
        font-size: 0.60rem !important;
    }

    .section-1 .match-container .match-panel .purchase-link button {
        font-size: 0.65rem;
    }

    /*Section 2*/
    .section-2 .cover .content p {
        padding: 0.5vmin 4vmin;
        font-size: 1rem;
    }

    /*Section 3*/
    .section-3 {
        height: 100%;
        padding-bottom: 10vmin !important;
    }

    .section-3 .row .col-md-12 h1 {
        font-size: 7vmin;
    }

    .section-3 .row .col-md-12 p {
        font-size: 1rem;
    }

    .section-3 .fixtures .col-md-6 .games {
        display: flex;
        flex-direction: row;
        vertical-align: middle;
        text-align: center;
        width: 65%;
        margin-left: 18vmin;
    }

    .section-3 .fixtures .col-md-6 .games h3 {
        font-size: 5vmin;
    }

    .section-3 .fixtures .col-md-6 .games p {
        font-size: 0.75rem;
    }

    .section-3 .fixtures .col-md-6 .games i {
        font-size: 2rem;
    }

    /*Section 4*/
    .section-4 {
        padding-top: 5vmin;
    }

    .section-4 .testimonials .card {
        width: 95%;
    }

    .section-4 .testimonials .carousel-item {
        padding-left: 0;
    }

    .section-4 .testimonials .col-md-12 .carousel .carousel-inner .carousel-item .card .card-body .review-quote {
        font-size: 3rem;
    }

    .section-4 .testimonials .col-md-12 .carousel .carousel-inner .carousel-item .card .card-body .review-text {
        font-size: 1rem;
    }
}

/*If the screen size is 596px wide but less than or = 767px*/
@media only screen and (min-width: 597px) and (max-width: 767px) {}

/*If the screen size is 640px or less*/
@media only screen and (max-width: 640px) {}

/*If the screen size is 767px or less*/
@media only screen and (max-width: 767px) {}

/*If the screen size is 768px wide or more*/
@media only screen and (min-width: 768px) {}

/*If the screen size is at least 768px wide but less than or = 996px*/
@media only screen and (min-width: 768px) and (max-width: 996px) {

    header .row .col-md-5 {
        padding: 20vmin 1vmin;
    }

    /*Section 1*/
    .section-1 {
        position: initial;
        width: 100%;
        height: initial;
        padding-bottom: 40vmin;
    }

    .section-1 .row .col-md-6 .player img {
        opacity: 0.8;
        width: 200%;
        border-radius: 0.2em;
        margin-left: -25vmin;
    }

    .section-1 .row .col-md-6 .panel {
        top: -6.5vmin;
        padding: 5vmin 5vmin 15vmin 5vmin;
    }

    /*Section 4*/
    .section-4 .testimonials {
        display: flex;
        flex-direction: column;
        align-content: center;
    }

    .section-4 .carousel-inner {
        margin-left: -13.5vmin;
        width: 26rem;
    }

    .section-4 .testimonials .col-md-4 .card {
        margin-left: -10vmin;
    }
}

/*If the screen size is 768px wide but less than or = 1023px*/
@media only screen and (min-width: 768px) and (max-width: 1023px) {}

/*If the screen size is 996px wide or less*/
@media only screen and (max-width: 996px) {

    .navbar-toggler,
    .navbar-toggler:focus,
    .navbar-toggler:active {
        outline: none;
        box-shadow: none;
        border-color: transparent !important;
        border: transparent !important;
    }

    .navbar-toggler i {
        color: var(--brand-colour) !important;
    }

    .section-1 .match-container .team .team-name {
        display: none !important;
        width: 100% !important;
    }

}

/*If the screen size is 1006px wide but less than or = 1366px*/
@media only screen and (min-width: 1006px) and (max-width: 1366px) {

    /*Section 1*/
    .section-1 .row .col-md-6 {
        padding-left: 0;
        padding-right: 0;
    }

    .section-1 .row .col-md-6 .player {
        position: initial;
        width: 100%;
        height: initial;
    }

    .section-1 .row .col-md-6 .player img {
        width: 150%;
        margin-left: -24vmin;
    }

    .section-1 .row .col-md-6 .panel {
        position: initial;
        width: initial;
        height: initial;
        padding: 14vmin 2vmin 17vmin 2vmin;
    }

    .section-1 .match-panel>div {
        margin-left: 2px;
        margin-right: 2px;
    }

    .section-1 .match-container .team {
        flex-direction: column !important;
    }

    .section-1 .match-container .team:first-child {
        flex-direction: column-reverse !important;
    }

    .section-1 .match-container .team .team-name {
        width: 100% !important;
        height: 30% !important;
    }

    .section-1 .match-container .team .team-logo {
        width: 70% !important;
        height: 70% !important;
    }

    .section-1 .match-container .team .team-name p {
        margin-top: 1rem;
        font-size: 0.65rem !important;
        white-space: nowrap;
        text-align: center;
    }

    .section-1 .match-container .match-details div:first-child {
        font-size: 0.85rem !important;
    }

    .section-1 .match-container .match-details div:nth-child(2) {
        display: flex;
        flex-direction: column;
        font-size: 0.5rem !important;
    }

    .section-1 .match-container .match-details div:last-child {
        margin-top: 1.5vmin !important;
        font-size: 0.65rem !important;
    }

    .section-1 .match-container .match-details div:nth-child(2)>span:first-child {
        font-size: 1rem !important;
    }

    .section-1 .match-container .match-details div:nth-child(2)>span:last-child {
        font-size: 0.65rem !important;
    }

    .section-1 .match-container .match-panel .purchase-link button {
        font-size: 0.5rem;
    }
}

/*If the screen size is 1024px wide or more*/
@media only screen and (min-width: 1024px) {

    header .row .col-md-5 {
        padding: 15vmin 1vmin;
    }

    /*Section 1*/
    .section-1 .row .col-md-6 .panel {
        padding: 8vmin 5vmin 5vmin 5vmin;
        height: initial;
        top: -10vmin;
    }

    .section-1 .container .match-container .match-panel {
        margin: 2vmin 2vmin 2vmin 2vmin !important;
    }

    .section-2 .cover {
        height: 70vmin;
        background-size: cover !important;
    }

    /*Section 4*/
    .section-4 .testimonials .card {
        width: 20rem;
    }

    .section-4 .carousel-inner {
        width: 20rem;

    }

    .section-4 .carousel-item {
        padding-left: 0;
    }
}

/*If the screen size is 1024px wide but less than or = 1200px*/
@media only screen and (min-width: 1024px) and (max-width: 1200px) {}

/*If the screen size is 1280px wide or less*/
@media only screen and (max-width: 1280px) {}

/*If the screen size is 1279px wide or less*/
@media only screen and (min-width: 1280px) {
    .container {
        max-width: 95% !important;
    }

    header .row .col-md-5 img {
        width: 65%;
    }

    .section-1 .row .col-md-6 .panel {
        margin-top: -10vmin;
        position: initial;
        height: initial;
        width: initial;
    }
}

@media only screen and (min-width: 2560px) {

    header .form-inline .form-control {
        font-size: 1rem !important;
        width: 22vmin !important;
    }

    header .form-inline button {
        font-size: 1rem !important;
    }

    .container {
        max-width: 95% !important;
    }

    header .container .col-md-7 h6 {
        font-size: 2rem;
    }

    header .container .col-md-7 p {
        font-size: 1.5rem;
    }

    header .row .col-md-5 img {
        width: 65%;
    }

    .section-1 .row .col-md-6 .panel h1 {
        font-size: 4em;
    }

    .section-1 .row .col-md-6 .panel p {
        font-size: 1.5em;
    }

    .section-1 .row .col-md-6 .panel {
        position: initial;
        width: initial;
        height: initial;
        padding: 5vmin 2vmin 5vmin 2vmin !important;
    }

    .numbers .rect {
        height: 25rem;
        width: 35rem;
    }

    .numbers .rect h1 {
        font-size: 8rem;
    }

    .numbers .rect i {
        font-size: 4rem;
    }

    .numbers .rect p {
        font-size: 2rem;
    }

    .card-title {
        font-size: 1.5rem !important;
    }

    .card-text {
        font-size: 1.5rem;
    }

    .pricing>a {
        font-size: 1rem;
    }

    .section-3 .games h3 {
        font-size: 2rem;
    }

    .section-3 .games i {
        font-size: 5rem;
    }

    .section-4 .container p {
        font-size: 2rem;
    }

    .section-4 .testimonials p {
        font-size: 1rem;
    }

    .section-4 .col-md-4 .card {
        width: 75%;
        height: 100%;
    }

    .section-4 .col-md-4 .carousel-inner {
        width: 75%;
    }
}

/*Match Listings*/
.section-1 .container .match-container {
    margin-top: 10vmin;
    margin-bottom: 10vmin;
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.section-1 .container .match-container .match-panel {
    display: flex;
    flex-direction: column;
    padding: 2vmin;
    margin: 2vmin;
    background: whitesmoke;
    border-radius: 3px;
    width: 100%;
    box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2), 0 6px 20px 0 rgba(0, 0, 0, 0.19);

}

.section-1 .container .match-container .match-panel .match-detail-items {
    display: flex;
    flex-direction: row;
}

.section-1 .container .match-container .match-panel .match-detail-items .team {
    display: flex;
    width: 28%;
}

.section-1 .match-container .team {
    flex-direction: column !important;
}

.section-1 .match-container .team:first-child {
    flex-direction: column-reverse !important;
}

.section-1 .container .match-container .match-panel .match-detail-items .team .team-name {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
}

.section-1 .container .match-container .match-panel .match-detail-items .team .team-name p {
    font-family: var(--Josefin);
    font-size: 0.75vw;
    width: 100%;
}

.section-1 .container .match-container .match-panel .match-detail-items .team .team-logo {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 80%;
    margin: auto;
}

.section-1 .container .match-container .match-panel .match-detail-items .team .team-logo img {
    width: 100%;
}

.section-1 .container .match-container .match-panel .match-detail-items .team p {
    width: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: 0;
    margin-bottom: 0;
}

.section-1 .container .match-container .match-panel .match-detail-items .match-details {
    display: flex;
    flex-direction: column;
    width: 28%;
    justify-content: center;
    align-items: center;
    text-align: center;
}

.section-1 .container .match-container .match-panel .match-detail-items .match-details div {
    margin-top: 0.5vmin;
    margin-bottom: 0.5vmin;
}

.section-1 .container .match-container .match-panel .match-detail-items .match-details div:first-child {
    font-family: var(--Josefin);
    font-size: 1.5vw;
    white-space: nowrap;
}

.section-1 .container .match-container .match-panel .match-detail-items .match-details div:nth-child(2) {
    font-size: 1.5vw;
}

.section-1 .container .match-container .match-panel .match-detail-items .match-details div:last-child {
    font-family: var(--Josefin);
    font-size: 1vw;
}

.section-1 .container .match-container .match-panel .match-detail-items .purchase-link {
    margin-left: 5vmin;
    display: flex;
    justify-content: center;
    align-items: center;
    width: 16%;
}

.section-1 .match-container .match-panel .match-detail-items .purchase-link button {
    background-color: var(--brand-colour) !important;
    color: var(--secondary-colour) !important;
    border-radius: 3px !important;
    font-size: 0.75rem;
    white-space: nowrap;
    text-align: center;
    font-family: var(--Josefin);
}

.section-1 .match-container .match-panel .match-detail-items .purchase-link button a {
    color: var(--secondary-colour) !important;
}

/*If the screen has hover functionality*/
@media (hover: hover) {
    .section-0 .row .col-md-5 img:hover {
        transform: scale(1.10);
    }
}

@media (min-width: 996px) {
    .match-title-mobile {
        display: none;
    }
}