:root{
  --dangerColor:red;
  --darkGrey: #333333;
  --dangerBg: #ff00005c;
  --groupTableMinWidth: 250px;
  --fixTableMinWidth: 400px;
  --brandColour: #f26222;
  --brandContrast: white;
}

*{
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  transition-duration: 0.4s;
  font-family: Arial, Helvetica, sans-serif;
}
header{
  width: 100%;
}
nav{
  max-width: 600px;
  margin: auto;
}
main{
  width: 90%;
  margin: auto;
  margin-bottom: 80px;
  max-width: 600px;
}
body{
  position: relative;
  width: 100%;
}
#appBg{
  content: "";
  position: fixed;
  width: 100vw;
  height: 100vh;
  top: 0;
  left:0;
  background-image: url("../img/scarlett.png");
  background-size: cover;
  background-repeat: no-repeat;
  background-position: center top;
  max-width: 100vw;
  max-height: 100vh;
  z-index: -1;
}
#appBg::after{
  content:"";
  position: absolute;
  top: 0;
  left: 0;
  width:100%;
  height: 100%;
  background: rgb(255,255,255,0.4);
}
#button_home{
  display: flex;
  align-items: center;
  justify-content: flex-start;
  text-decoration: none;
  color: black;
  width: fit-content;
  margin-left:5%;
}

#button_home h2,
#menuButton h2{
  width: fit-content;
  display: inline-block;
  margin: 0;
  font-size: 1rem;
  text-shadow: 1px 1px 1px black;
}
.brandText{
  color: var(--brandColour) !important;
}
.logo{
  margin: 5px;
  max-width: 60px;
  height: auto;
}
.page{
  width:100%;
  flex-wrap: wrap;
  align-items: flex-start;
  gap: 20px;
}
#home{
  display: flex;
  flex-wrap: wrap;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 15px;
}
#tournamentList div{
  margin-bottom: 20px;
}
.tournBtn{
  border: 1px solid #333333;
  border-radius: 10px;
  min-width: 150px;
  text-align: center;
  padding: 10px;
  background: var(--brandContrast);
  color: var(--brandColour);
}
.tournBtn.home_myTeams_btn{
  background: var(--brandColour);
  color: var(--brandContrast);
  font-weight: bold;
}

#tournBtnsWrapper{
  margin-bottom: 20px;
  padding:0 20%;
}
#tournBtnsWrapper .tournBtn{
  scale: 0.8;
}
.schedule-table,
#tournDetails,
#galaList,
#tournTables .group-table{
  width:100%;
}


#tournTables td{
  padding:5px;
  text-align: center;
  vertical-align: middle;
}

#tournTables .qualify{
  background: rgba(236, 104, 52, 0.466);
}
.fixturesTable{
  margin-top: 20px;
  flex-wrap: wrap;
  justify-content: center;
  width: 100%;
  margin-bottom: 30px;
}
.fixturesTable table{
  border-collapse: collapse;
  width: 100% !important;
  background-color: rgba(255, 255, 255, 0.6);
}

h1,h2{
  text-align: center;
  width:100%;
  margin-bottom: 20px;
  color: var(--brandContrast);
  text-shadow: 1px 1px 1px black;
  /*text-shadow: 1px 1px 1px var(--brandColour);*/
}

#tournFixtures td,
#galaSchedule td,
.fixturesTable td{
  padding: 5px;
  text-align: center;
  border-bottom: 1px solid #777777;
  font-size:0.8rem;
  margin: auto;
}
.cat_Girls{
  background: lightcyan;
}
.cat_U6{
  background: lightblue;
}
.cat_U7{
  background: lightyellow;
}
.homeGoals,
.awayGoals{
  max-width: 50px;
  text-align: center;
}
.row12{
  border-bottom: 3px solid #555555;
}

.fixtureHeader{
  font-size: 0.8rem;
}
#team{
  justify-content: space-between;
}
#myTeamWrapper{
  display: flex;
  align-items: center;
  background: #ffffff1A;
  border-radius: 50%;
  padding: 5px 10px 10px 10px;
}
#myTeamWrapper p{
  padding-top: 7px;
  color: var(--brandContrast);
  text-shadow: 1px 1px 1px black;
}
#myTeam{
  font-size: 1.6rem;
  display: inline-block;
  margin-left: 10px;
}
#button_back{
  padding: 5px;
  border-radius: 5px;
  border: none;
  background: #F26222;
  color: white;
  width: 50px;
  margin-left: 10px;
  margin-top: 5px;
  font-weight: bold;
}


#myTeamsSection{
  justify-content: center;
}
#myTeamsSection h2,
#myTeamsSection h3{
  text-align: center;
  width: 100%;
}
footer{
  position: fixed;
  bottom:0;
  width: 100%;
  background: #222222;
}

#craftedByTWS{
  width: 100%;
  display: flex;
  justify-content: center;
  position: relative;
  padding-top: 10px;
  height: 70px;
  max-width: 400px;
  margin: auto;
  margin-bottom: 10px;
}
#craftedByTWS img{
  max-width: 50%;
  margin: auto;
}
#noTeamText{
  background: rgba(255, 255, 255, 0.8);
  padding: 10px;
}
#noTeamText span{
  display: inline-block;
  margin-bottom: 20px;
}

#menu{
  position: fixed;
  height: 100vh;
  width: 100vw;
  background: var(--darkGrey);
  left: -110vw;
  top: 0;
  z-index: 10;
  display: flex;
  justify-content: center;
  align-items: center;
}
#menu.open{
  left: 0;
}
#menuButton{
  height: 40px;
  width: 40px;
  background-image: url("../img/burger.png");
  position: fixed;
  right: 20px;
  top: 20px;
  z-index: 15;
  background-size: contain;
  background-position: center;
}
#menuButton.open{
  background-image: url("../img/cross.png");
}
#menu ul{
  font-size: 1.8rem;
  color: white;
  text-shadow: 1px 1px 1px var(--brandColour);
  list-style-type: none;
}
#menu ul li{
  margin-bottom: 20px;
}

#map{
  justify-content: center;
  align-items: center;
}
#map img{
  margin-top: 50px;
  width: 100%;
}
#structureText{
  padding:10px;
  background: rgba(255, 255, 255, 0.6);
  margin-bottom: 50px;
}
#structureText p{
  display: inline-block;
  margin-bottom: 20px;
}
#structureText ol{
  margin-left: 20px;
  margin-bottom: 10px;
}

#tufcLink{
  text-decoration: none;
  color: inherit;
}

#menuButton h2{
  margin-left:-120%;
  margin-top: 25%;
}