html,
body {
    overflow-x: hidden;
}

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

main {
    background: var(--section-zero-bg);
}

/*Section 0*/
.section-0 .row .col-md-12 {
    padding-top: 10vmin;
    font-family: var(--Josefin);
    color: var(--light-black);
}

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

.section-0 .container .col-md-12 h1 {
    color: var(--brand-colour);
    font-size: 4rem;
    font-weight: bold;
    padding: 0.1em 0em;

}

.section-0 .container .col-md-12 p {
    padding: 1vmin 5vmin;
    font-size: 1rem;
}

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

/*Section 1*/

.section-1 {
    padding: 5vmin 1vmin 10vmin 1vmin;
    width: initial;
    height: initial;
}

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

.section-1 .container .match-container .card {
    background: whitesmoke;
    border-radius: 3px;
    padding: 2vmin 2vmin;
    margin: 2vmin 2vmin;
    text-align: left;
    box-shadow: 0px 25px 42px rgba(31, 31, 31, 0);
    font-family: var(--Josefin);
    z-index: 1;
    width: 18rem;
    height: auto;
    min-height: 50vmin;
}

.section-1 .container .match-container .card .card-body {
    padding: 0.5rem;

}

.section-1 .container .match-container .card p {
    font-size: 0.85rem;
    width: 100%;
}

.section-1 .container .match-container .card h5 {
    font-family: var(--Josefin);
    font-size: 1.25rem;
    padding-top: 2vmin;
    width: 100%;
    overflow-wrap: break-word;
}

.section-1 .container .match-container .card a {
    color: var(--brand-colour);
}

.section-1 .container .match-container .card-img-top {
    width: 100%;
    height: 15vw;
    object-fit: cover;
}

/*--MEDIA QUERIES--*/

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

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

    .section-0 .container .col-md-12 h1 {
        font-size: 3rem;
    }

    .section-1 .container .match-container .card-img-top {
        height: auto;
    }

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

    .section-1 .container .match-container {
        display: flex;
        flex-direction: column;
    }

    .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: 100% !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 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) {}

/*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) {}

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

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

/*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) {}

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