/*-----------------------all pages---------------------------*/
.grid-container {
    display: grid;
    grid-template-areas: 
    "logo logo logo"
    "nav nav nav"
    "left mid right"
    "left lower right"
    "footer footer footer";
    grid-template-columns: 8% 84% 8%;
    grid-gap: 0.5px;
    background-color: grey;
    padding: 0px;
    left: 0;
}

#phonetitle{
    display: none;
}

body {
    margin: 1px;
}

.logo {
    grid-area: logo;
    background-color: rgb(51, 49, 66);
    padding: 0;
    text-align: center;
    font-size: 68px;
    color: rgb(5, 5, 5);
    font-family:'Gill Sans', 'Gill Sans MT', Calibri, 'Trebuchet MS', sans-serif ;
    background-image: url(Images/pitch.png);
    background-repeat: no-repeat;
    background-size: 100%;
}

.nav {
    grid-area: nav;
    background-color: rgb(242, 247, 196);
    padding: 1px 0;
}

.mid{
    grid-area: mid;
    background-color: rgb(195, 208, 228);
    padding: 0% 2%;
    text-align: center;
    color: black;
    font-size: large;
    font-family: "roboto", sans-serif;
}

.lower{
    grid-area: lower;
    background-color: white;
    text-align: center;
    padding: 1% 3%;
}

.footer{
    grid-area: footer;
    background-color: black;
    padding: 0.5% 3%;
    text-align: center;
    color: white;
    border: 1px solid white;
}

.left{
    grid-area: left;
    background-color: white;
    padding: 1px 1px;
    text-align: center;
    background-image: url(Images/blue_yellow_left.jpg);
    background-repeat: repeat;
    background-position: right;
    background-size: 190%;
}

.right{
    grid-area: right;
    background-color: white;
    padding: 1px 1px;
    text-align: center;
    background-image: url(Images/blue_yellow.jpg);
    background-repeat: repeat;
    background-size: 190%;
}


/*------------------the main title of the website--------------*/

#title{
    color: white;
    font-size: 68px;
    -webkit-text-stroke-width: 4px;
    -webkit-text-stroke-color: black;
}

#logoleft{
    float: left;
    width: 14%;
}

#logoright{
    float: right;
    width: 14%;

}

/*------------------Footer--------------*/

#footer_p{
    float: left;
    font-size: 1.6vw;
}

/*--------------------------navigation+Buttons--------------------------------- */

.buttons {
    flex: 1;
    background-color: rgb(214, 205, 205);
    border: none;
    color: rgb(8, 8, 8);
    padding: 1%;
    text-align: center;
    display: inline-block;
    font-size: 1.5vw;
    cursor: pointer;
    transition-duration: 0.5s;
}

.btn-group { 
    width: 100%;
    display: flex;
    
}
.home {
    background-color: rgb(250, 250, 250);
    color: rgb(14, 13, 13);
    border: 1px solid  black;
}
.home:hover {
    background-color: rgb(0, 17, 255);
    color: white;
}
.team {
    background-color: rgb(253, 253, 253);
    color: rgb(2, 2, 2);
    border: 1px solid  black;
}
.team:hover {
    background-color: rgb(236, 240, 17);
    color: black;
}
.fixtures {
    background-color: rgb(250, 250, 250);
    color: rgb(14, 13, 13);
    border: 1px solid  black;;
}
.fixtures:hover {
    background-color: rgb(0, 17, 255);
    color: white;
}
.fantasy {
    background-color: rgb(250, 250, 250);
    color: rgb(14, 13, 13);
    border: 1px solid  black;
}
.fantasy:hover {
    background-color: rgb(236, 240, 17);
    color: black;
}
.join {
    background-color: rgb(4, 0, 255);
    color: white;
    width: 30vw;
    border: 1px solid black;
    font-size: 90%;
}

.join:hover {
    box-shadow: 0 12px 16px 0 rgba(0,0,0,0.24),0 17px 50px 0 rgba(0,0,0,0.19);
    background-color: rgb(4, 0, 255);
    color: white;
    border: 1px solid white;
    width: 30vw;
}

/*-------------------------------- home page tabel--------------------------------*/
table {
    width:100%;
}
  table, th, td {
    border: 1px solid black;
    border-collapse: collapse;
    padding: 1%;
}
th {
    background-color: rgb(4, 0, 255);
    color: white;
    text-align: center;
}
td {
    background-color: white;
    text-align: left;
}

#table2 {
    width: 90%;
}

/*-------Fantasy select buttons--------------*/

.dropbtn {
    background-color: #4CAF50;
    color: white;
    padding: 16px;
    font-size: 16px;
    border: none;
    cursor: pointer;
}
  
  .dropdown {
    position: relative;
    display: inline-block;
  }
  
  .dropdown-content {
    display: none;
    position: absolute;
    right: 0;
    background-color: #f9f9f9;
    min-width: 160px;
    box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.2);
    z-index: 1;
  }
  
  .dropdown-content a {
    color: black;
    padding: 12px 16px;
    text-decoration: none;
    display: block;
  }


/*------------------help page  -----------------------*/

.box1 {
    background-color: rgb(193, 213, 241);
    width: 100%;
    border: 3px solid rgb(0, 26, 255);
    padding: 25px;
    margin: 2px;
    color: black;
    text-align: left;
    font-size: 20px;
    }

    .row {
        display: flex;
    }
    .column {
        flex: 100%;
        padding: 5px;
    }

    #cup_img{
        width: 78%;
    }

/*--------------------form page----------------------*/

input[type=text], input[type=password], input[type=email], input[type=date] {
    width: 96%;
    padding: 15px;
    margin: 5px 0 20px 0;
    display: inline-block;
    border: none;
    background: #f1f1f1;
}

input[type=text]:focus, input[type=password]:focus, input[type=email]:focus, input[type=date]:focus {
    background-color: #ddd;
    outline: none;
}

.container {
    padding: 26px;
}

.modal-content {
    background-color: #fefefe;
    margin: 5% auto 5% auto; /* 5% from the top, 15% from the bottom and centered */
    border: 2px solid #888;
    width: 60%; /* Could be more or less, depending on screen size */
  }
  
/*Change elements if on phone display*/
@media screen and (max-width: 675px) {
    .grid-container{
        grid-template-columns: 0% 100% 0%;
    }

    .twitter{
        display: none;
    }

    #cup_img{
        display: none;
    }

    #phonetitle{
        display:block;
        color: white;
        font-size: 42px;
        -webkit-text-stroke-width: 2.5px;
        -webkit-text-stroke-color: black;
    }
    .logo{
        text-align: center;
        font-size: 38px;
        height: 120px;
    }
    #title{
        display: none;
    }
    #logoleft{
        display: none;
    }
    #logoright{
        display: none;
    }
}
