/* -------------Importing Google font poopins------------- */

@import url('https://fonts.googleapis.com/css2?family=Poppins:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&display=swap');

/* --------------Common styles or Utilities--------------- */

body {

    font-family: "Poppins", sans-serif;
    width: 100%;
    height: 100%;
    margin: 0px;
    padding: 0px;
    overflow-x: hidden;
    max-width: 1240px;
    margin: 0px auto;
}

/* -------------------------Wellcoming section------------------ */
.welcome {
    font-size: 40px;
    font-weight: 600;
    margin-top: 16px;
    margin-left: 24%;
}

/*------------------ Matche-previews section style----------------- */

.matche-previews {
    display: grid;
    grid-template-columns: repeat(3, 332px);
    row-gap: 18px;
    width: 100%;
    position: relative;
    left: 10%;
    margin-top: 30px;
}

.per-match {
    width: 292px;
    height: 335px;
    border: 1px solid grey;
    border-radius: 11px;
    padding-right: 6%;
}

.per-match button {
    width: 100px;
    height: 32px;
    border: 0.5px solid grey;
    border-radius: 3px;
    font-size: 14px;
    font-weight: bold;
    margin-top: 5px;
    margin-left: 5%;
}

.per-match h5 {
    font-size: 16px;
    position: relative;
    bottom: 14px;
    left: 18px;
}

.clock-comment {
    display: flex;
    position: relative;
    bottom: 15%;
    left: 5.5%;
}

.message {
    margin-left: 10%;
}

.view-all {
    height: 45px;
    width: 120px;
    font-size: 17px;
    font-weight: bold;
    margin-bottom: 95px;
    margin-top: 40px;
    margin-left: 43%;
    border: 1px solid red;
    background-color: red;

}

.view-all a {
    text-decoration: none;
    color: white;
}

.view-all:hover {
    background-color: black;
    border: 1px solid white;
    cursor: pointer;
}

/*------------ Media quries section --------------*/

@media only screen and (max-width:688px) {

    /* -----------common styles or utilities -------------*/

    body {
        width: 100%;
        height: 100%;
        margin: 0px;
        padding: 0px;
        overflow-x: hidden;
    }

    /*------------ Welcome section style----------------- */

    .welcome {
        font-size: 32px;
        text-align: center;
        margin-left: -1%;
    }

    /* -------------Matche-previews section style ---------*/

    .matche-previews {
        grid-template-columns: repeat(1, 90%);
        width: 90%;
        position: relative;
        left: -1%;
        padding-left: 7%;
    }

    /* ----------view section style ------------------*/

    .view-all {
        position: relative;
        right: 10%;
    }

}

@media only screen and (min-width:689px) and (max-width:992px) {

    body {
        overflow-x: hidden;
        margin-top: 5%;

    }

    /*------------ Welcome section style----------------- */

    .welcome {
        font-size: 42px;
        text-align: center;
        margin-left: -1%;
    }

    /* -------------Matche-previews section style ---------*/

    .matche-previews {
        width: 90%;
        grid-template-columns: repeat(2, 50%);
        position: relative;
        left: -1%;
        padding-left: 9%;
    }

    /* ----------view section style ------------------*/

    .view-all {
        width: 20%;
        height: 60px;
    }
}

@media only screen and (min-width:993px) and (max-width:1024px) {

    body {
        width: 100%;
        margin-top: 5%;
        overflow-x: hidden;
    }

    /* ------------Matche-previews section style---------------- */

    .matche-previews {
        position: relative;
        left: -1%;
        padding-left: 3%;
    }

    /* ----------view section style ------------------*/

    .view-all {
        width: 30%;
        height: 90px;
        position: relative;
        right: 7%;
    }
}