@import url("https://fonts.googleapis.com/css2?family=Inknut+Antiqua:wght@400;800&family=Poppins:wght@400;700&display=swap");


/*--------------------- Set root defaults -----------------------------*/
:root {
  /* colors */
  --clr-accent: hsl(0, 3%, 94%);
  --clr-accent-trans: hsl(0deg 0% 89% / 13%);
  --clr-white: hsl(0, 0%, 100%);
  --clr-background: hsl(84, 51%, 45%);
  --clr-black: hsl(0, 0%, 0%);
  --clr-green:hsl(84, 51%, 45%);
  --clr-red:hsl(0, 74%, 47%);
  --clr-red-glass:hsl(0, 74%, 47%,0.2);
  --clr-glass:hsla(123, 38%, 57%, 0.2);


  /* font-families */
  --ff-body: "Inknut Antiqua", sans-serif;
  --ff-headings: "Poppins", sans-serif;
  --ff-btn: "Inknut Antiqua", sans-serif;
  --ff-Poppins: "Poppins", sans-serif;
  --ff-Inknut: "Inknut Antiqua", sans-serif;
  /* font-weight */
  --fw-reg: 400;
  --fw-bold: 700;
  --fw-exbold: 800;

  /* font-sizes */
  --fs-xxl: clamp(3.5rem, 1rem + 10vw, 4rem);
  --fs-xl: clamp(1.8rem, 0.5rem + 3.8vw, 3.5rem);
  --fs-l: clamp(3rem, 5vw, 5rem);
  --fs-spec: clamp(1rem, 1rem + 1vw, 5rem);
  --fs-med: clamp(1rem, 1rem + 1vw, 5rem);
  --fs-small: clamp(1rem, 1rem + 1vw, 1.5rem);
  --fs-exsmall: clamp(0.5rem, 0.5rem + 1vw, 1rem);

  /* font-sizes */
  --fs-937: 9.375rem;
  --fs-625: 6.25rem;
  --fs-350: 3.5rem;
  --fs-200: 2rem;
  --fs-175: 1.75rem;
  --fs-150: 1.5rem;
  --fs-125: 1.25rem;
  --fs-112: 1.125rem;
  --fs-100: 1rem;
  --fs-087: 0.875rem;

  --box-shadow: 0 0 2rem 0 var(--clr-white);
  --max-width-1920: 120em; /*1920px*/
  --max-width-1440: 90em; /*1440px*/
}

/* Reset*/

/* https://piccalil.li/blog/a-modern-css-reset/ */

/* Box sizing */
*,
*::before,
*::after {
  box-sizing: border-box;
}

/* Reset margins */
html,
body,
div,
span,
applet,
object,
iframe,
h1,
h2,
h3,
h4,
h5,
h6,
p,
blockquote,
pre,
a,
abbr,
acronym,
address,
big,
cite,
code,
del,
dfn,
em,
img,
ins,
kbd,
q,
s,
samp,
small,
strike,
strong,
sub,
sup,
tt,
var,
b,
u,
i,
center,
dl,
dt,
dd,
ol,
ul,
li,
fieldset,
form,
label,
legend,
table,
caption,
tbody,
tfoot,
thead,
tr,
th,
td,
article,
aside,
canvas,
details,
embed,
figure,
figcaption,
footer,
header,
hgroup,
menu,
nav,
output,
ruby,
section,
summary,
time,
mark,
audio,
video {
  margin: 0;
  padding: 0;
  border: 0;
  font-size: 100%;
  font: inherit;
  vertical-align: baseline;
}

/* Set html defaults */
html {
  scroll-behavior: smooth;
}
/* Set body defaults */
body {
  background-color: var(--clr-black);
  font-family: var(--ff-body);
  font-weight: var(--fw-reg);
}
/* Set h1,h2 defaults */
h1,
h2 {
  font-family: var(--ff-headings);
  text-transform: capitalize;
  font-size: var(--fs-med);
  font-weight: var(--fw-bold);
  color: var(--clr-white);
  -webkit-text-fill-color: white; /* Will override color (regardless of order) */
  -webkit-text-stroke-width: 1px;
  -webkit-text-stroke-color: black;
}
/* Set h3,h4,h5 defaults */
h3,
h4,
h5 {
  font-family: var(--ff-headings);
  text-transform: capitalize;
  font-size: var(--fs-small);
  font-weight: var(--fw-bold);
  color: var(--clr-white);
}
.h3inline{
  display: inline;
  color: white;
  font-size: 1.5rem;
  text-transform: capitalize;
  font-weight: bold;

}

.h3inline a{
cursor: pointer;
color: var(--clr-white);
text-decoration: none;
font-size: 1rem;
}

.h3inline a:hover{
  color: var(--clr-green);
}


 

/* Make images easier to work with */
img,
picture {
  max-width: 100%;
  display: inline-block;
}

.flagimage{
  display: inline-block;
  max-width: 6rem;
}

.flagsmall {
  width: 30px;
  height: auto;
  margin-top: 5px; /* Adjust as needed */
}

.flagtiny {
  display: inline-block;
  width: 15px;
  height: auto;
  margin-top: 5px; /* Adjust as needed */
}


.photoimage{
  display: inline;
  min-width: 3rem;
  margin-right: 0.5rem;
  vertical-align:middle
}

input,
button,
textarea,
select {
  font: inherit;
}


/* remove animations for people who've turned them off */
@media (prefers-reduced-motion: reduce){
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}
/*--------------------- Set root defaults -----------------------------*/



main {
  /* background-image: linear-gradient(to bottom right,  rgb(29, 113, 3),rgb(14, 59, 1)); */
  background-image: url(/templates/images/mobilebackground.webp);
  background-repeat:no-repeat;
  background-size: cover;
  background-position:center;
  /* background-attachment: fixed; */
  background-color: var(--clr-black);
  max-width: var(--max-width-1440);
  margin: auto;
  border-left: 1px solid var(--clr-white);
  border-right: 1px solid var(--clr-white);
  -webkit-box-shadow: var(--box-shadow);
  box-shadow: var(--box-shadow);
}

header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0 1rem;
  margin: 0 auto;
  min-height: 10vh;
  margin-bottom: 3rem;
} 

section{
  min-height: 90vh;
}

/*------------------------LOGO/NAV----------------------*/

.logo {
  padding-top: 0.5rem;
  display: inline-block;
  max-height: 6.25rem;
}
.logo a {
  color: var(--clr-white);
  font-size: var(--fs-200);
  text-decoration: none;
  text-transform: capitalize;
}

  #sideNav {
      width: 350px;
      height: 100vh;
      position: fixed;
      right: -350px;
      top: 0;
      background-color: hsl(44.73deg 92.35% 64.12%);
      backdrop-filter: blur(3rem);
      -webkit-backdrop-filter: blur(3rem);
      z-index:1000;
      transition: 0.5s;
      opacity: 25%;
      border-left: 2px solid #f23432;
  }
  
  .sidenav_list {
    list-style: none;
    font-size: var(--fs-med);
    font-family: var(--ff-body);
    font-weight: var(--fw-reg);
    text-transform: capitalize;
    letter-spacing: 0.02em;
    margin: 4em 1em;
  }
  
  .sidenav_list > * {
    margin-top: 1em;
  }
  .sidenav_link {
    position: relative;
    text-decoration: none;
    color: var(--clr-black);
    transition: all 200ms ease-in-out;
  }
  .sidenav_link:hover,
  .sidenav_link:focus {
    color: #45a049;
  }
  
  /* Fade in */
  .sidenav_link::after {
    content: "";
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 100%;
    height: 0.1em;
    background-color: #45a049;
    opacity: 0;
    transition: opacity 300ms, transform 300ms;
  }
  
  .sidenav_link:hover::after,
  .sidenav_link:focus::after {
    opacity: 1;
    transform: translate3d(0, 0.1em, 0);
  }

  
.nav_link {
  text-decoration: none;
  color: var(--clr-white);
  text-transform: capitalize;
  font-weight: var(--ff-reg);
  font-family: var(--ff-body);
  transition: all 200ms ease-in-out;
  position: relative;
  font-size: var(--fs-125);
}

.nav {
  display: none;
}
.burger {
  position: absolute;
  display: flex;
  justify-content: space-around;
  flex-direction: column;
  width: 35px;
  height: 30px;
  border-radius: 5px;
  right: 1.5em;
  top: 35px;
  cursor: pointer;
  z-index: 1001;
}

.line {
  width: 90%;
  height: 3px;
  background-color: var(--clr-white);
  margin: 0 auto;
  transition: all 0.3s ease;
}

.toggle .line-1,
.toggle .line-4 {
  transform: translate(100px);
  opacity: 0%;
}

.toggle .line-2 {
  transform: rotate(45deg) translate(0px, 2px);
  background-color: var(--clr-white);
}
.toggle .line-3 {
  transform: rotate(-45deg) translate(2px, -3px);
  background-color: var(--clr-white);
}

.nav:before {
  position: absolute;
  inset: 0;
  content: "";
  width: 100%;
  height: 3px;
  background-image: -webkit-linear-gradient(
    to right,
    hsla(0, 0%, 0%, 0) 0%,
    var(--clr-purple-main) 100%
  );
  background-image: -moz-linear-gradient(
    to right,
    hsla(0, 0%, 0%, 0) 0%,
    var(--clr-purple-main) 100%
  );
  background-image: -ms-linear-gradient(
    to right,
    hsla(0, 0%, 0%, 0) 0%,
    var(--clr-purple-main) 100%
  );
  background-image: -o-linear-gradient(
    to right,
    hsla(0, 0%, 0%, 0) 0%,
    var(--clr-purple-main) 100%
  );
  background-image: linear-gradient(
    to right,
    hsla(0, 0%, 0%, 0) 0%,
    var(--clr-purple-main) 100%
  );
  transition: all 200ms ease-in-out;
}

/*------------------------LOGO/NAV----------------------*/

/*------------------------HOME----------------------*/

  .hero {
    display: grid;
    grid-template-rows: 0.7fr 0.3fr;
    min-height: 90vh;
    animation: fadeIn 2s;
    -webkit-animation: fadeIn 2s;
    -moz-animation: fadeIn 2s;
    -o-animation: fadeIn 2s;
    -ms-animation: fadeIn 2s;
    position: relative;
  }

  @keyframes fadeIn {
    0% {
      opacity: 0;
      transform: translate3d(0, 60px, 0);
    }
    100% {
      opacity: 1;
      transform: none;
    }
  }
  
  @-moz-keyframes fadeIn {
    0% {
      opacity: 0;
      transform: translate3d(0, 60px, 0);
    }
    100% {
      opacity: 1;
      transform: none;
    }
  }
  
  @-webkit-keyframes fadeIn {
    0% {
      opacity: 0;
      transform: translate3d(0, 60px, 0);
    }
    100% {
      opacity: 1;
      transform: none;
    }
  }
  
  @-o-keyframes fadeIn {
    0% {
      opacity: 0;
      transform: translate3d(0, 60px, 0);
    }
    100% {
      opacity: 1;
      transform: none;
    }
  }
  
  @-ms-keyframes fadeIn {
    0% {
      opacity: 0;
      transform: translate3d(0, 60px, 0);
    }
    100% {
      opacity: 1;
      transform: none;
    }
  }

  .grid-item {
    display: flex;
    justify-content: center;
    align-items: center;
}

.grid-item img {
    max-width: 70%;
    max-height: 70%;
}

  .hero-text{
    margin: 0rem 1.5rem 0 1.5rem;
    z-index: 999;
  }
  .hero-text p{
    color: var(--clr-white);
    max-width: 60ch;
  }
  
  .hero-text p a{
    color: var(--clr-white);
    text-decoration: none;
    cursor: pointer;
  }


  .title-text {
    text-align: left;
    text-transform: capitalize;
    font-size: var(--fs-125);
    font-family: var(--ff-headings);
    font-weight: var(--fw-bold);
    color: var(--clr-accent);
  }
  
  .hero-text h1 {
    font-size: var(--fs-spec);
    font-family: var(--ff-body);
    font-weight: var(--fw-exbold);
    color: var(--clr-white);
    line-height: 1.5;
  }
  
  .hero-text h1 span {
    display: block;
    font-size: var(--fs-150);
    color: var(--clr-black);
    margin-top: 0.7em;
  }
 
  
  .hero-text .small-text {
    color: var(--clr-accent);
    font-size: 0.8rem;
    line-height: 1.8;
    margin: 1rem 0 2rem 0;
}

  .hero-text .small-text a {
    color: var(--clr-accent); 
    text-decoration: none;
    cursor: pointer;
  }
  

  .hero-img {
    grid-column: 2/3;
    grid-row: 1/2;
  }

  .btn-flex {
    display: flex;
    flex-wrap: wrap;
    gap: 2em;
    margin: 2rem;
  }

  .btn {
    min-width: 10em;
    text-align: center;
    text-decoration: none;
    border-radius: 0.5rem;
    border: 1px solid var(--clr-red);
    background-color: var(--clr-white);
    color: var(--clr-black);
    font-weight: var(--fw-bold);
    text-transform: uppercase;
    transition: all 0.35s;
    padding: 0.2em 1.5em;
    position: relative;
   }
 .usage-info {
    position: absolute;
    top: -2px;
    left: -50px;
    font-size: 0.5rem;
    background-color: var(--clr-green);
    color: var(--clr-black);
    padding: 2px 5px;
    border-radius: 9999px;
    transform: translate(50%, -50%);
    border: 1px solid var(--clr-black);
}
  
 a.btn:hover {
    color: var(--clr-black);
    background-color: greenyellow;
    transform: scale(1.2);
  }

  .team_wrapper {
    display: flex;
    flex-wrap: wrap;
    margin: 0 auto;
    justify-content:space-around;
    gap: 0.4rem;
    margin-bottom: 2rem;
  }

  .prize_wrapper {
    display: flex;
    flex-direction: column;  /* Column layout, all items stack vertically */
    flex-wrap: nowrap;  /* No wrapping needed in a column layout */
    justify-content: flex-start;  /* Align children vertically at the top */
    align-items: flex-start;  /* Align items to the start (left) horizontally */
    color: var(--clr-white);
    text-transform: capitalize;
    background-color: var(--clr-glass);
    border-radius: 0.5rem;
    padding: 0.5rem;  /* Adjusted for even padding */
    width: 100%;  /* Fill up to the max-width */
    margin-bottom: 0.5rem;
}

.pwrapper {
  display: flex;
  flex-direction: column;
  flex-wrap: nowrap;
  background-color: var(--clr-glass);
  border-radius: 0.5rem;
  padding: 0.5rem;
  margin: 1rem;
  align-items: center;
  color: var(--clr-accent);
}

 
  .latest-stake{
    margin: 0 1.5rem;
  }
  
.latest-stake .small-text{
  color: var(--clr-accent);
  font-size: 0.8rem;
  line-height: 1.8;
  margin: 0 0 2rem 0;
}
  .team_div {
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
}
   
  .team_div p{
    color: VAR(--clr-white);
    text-align: center;
    font-size: 0.8rem;
  }

/*------------------------HOME----------------------*/


/*------------------------sweepstake----------------------*/

.section{
  margin: 1rem;
  min-height: 120vh;
}
.section p{
 color: var(--clr-white);
 text-transform: capitalize;
}

.section p a{
  color: var(--clr-white);
  text-decoration: none;
  cursor: pointer;
 }

 .section p a:hover{
  color: var(--clr-green);
  text-decoration: none;
  cursor: pointer;
 }



.switch {
  display: inline-block;
  height: 34px;
  position: relative;
  width: 60px;
}

.switch input {
  display:none;
}

.slider {
  background-color: #ccc;
  bottom: 0;
  cursor: pointer;
  left: 0;
  position: absolute;
  right: 0;
  top: 0;
  transition: .4s;
}

.slider:before {
  background-color: #fff;
  bottom: 4px;
  content: "";
  height: 26px;
  left: 4px;
  position: absolute;
  transition: .4s;
  width: 26px;
}

input:checked + .slider {
  background-color: #66bb6a;
}

input:checked + .slider:before {
  transform: translateX(26px);
}

.slider.round {
  border-radius: 34px;
}

.slider.round:before {
  border-radius: 50%;
}

/* Content to be toggled */
.hidden {
  display: none;
}


.flex-container {
  display: flex;
  flex-wrap: wrap; /* Allows the flex items to wrap if needed */
  justify-content: flex-start; /* Aligns items to the start of the flex container */
}
.flex-column {
flex: 1;
padding: 0.5rem;
margin: 0.3rem;
box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
background: #66bb6a33;
min-width: 20rem;
color: white;
border-radius: 1rem;
border: 1px solid;
font-size: 0.8rem;
}

table {
  width: 100%;
  border-collapse: collapse;
  font-family: var(--ff-Poppins);
}

th, td {
  padding: 8px;
  text-align: left;
  text-transform: capitalize;
}

table a {
  text-decoration: none;
  cursor: pointer;
  color: red;
}

.redline{
  text-decoration:line-through;
  color:red;
}
.green{
  color:rgb(115, 255, 0);
}


.addbtn{
  display: inline-block;
    text-align: center;
    text-decoration: none;
    border-radius: 0.5rem;
    border: 1px solid var(--clr-accent);
    background-color: var(--clr-white);
    color: var(--clr-black);
    font-weight: var(--fw-bold);
    text-transform: uppercase;
    transition: all 0.35s;
    padding: 0.1rem 0.4rem;
    font-size: 0.6rem;
}

.addbtn:hover{
  background-color: var(--clr-green);
  color: var(--clr-white);
}

.delbtn{
    display: inline-block;
    text-align: center;
    text-decoration: none;
    border-radius: 0.5rem;
    border: 1px solid var(--clr-accent);
    color: var(--clr-black);
    font-weight: var(--fw-bold);
    text-transform: uppercase;
    transition: all 0.35s;
    padding: 0.1rem 0.4rem;
    font-size: 0.6rem;
}
.delbtn:hover{
  background-color: var(--clr-green);
  color: var(--clr-white);
}

/* The Modal (background) */
.modal {
  display: none; /* Hidden by default */
  position: fixed; /* Stay in place */
  z-index: 1; /* Sit on top */
  padding-top: 100px; /* Location of the box */
  left: 0;
  top: 0;
  width: 100%; /* Full width */
  height: 100%; /* Full height */
  overflow: auto; /* Enable scroll if needed */
  background-color: rgb(0,0,0); /* Fallback color */
  background-color: rgba(0,0,0,0.4); /* Black w/ opacity */
}

/* Modal Content */
.deletemodal-content{
  color: black;
  margin: auto;
  padding: 20px;
  border: 1px solid #888;
  width: 80%;
  max-width: 500px;
  text-align: center;
  border-radius: 5px;
}

/* Close button */
.close {
  color: #aaa;
  float: right;
  font-size: 28px;
  font-weight: bold;
}

.close:hover,
.close:focus {
  color: black;
  text-decoration: none;
  cursor: pointer;
}


.goodmess, .errormess{
padding: 1rem;
border-radius: 5px;
margin: 1rem 0;
font-size: 0.8rem;
}

.goodmess{
  background-color: #dff0d8; 
  color: #3c763d; 
  }
.errormess{
background-color: #ff0909;
color: white;
}


.display_names{
  display: inline-block;
  color: var(--clr-white);
  background-color: var(--clr-glass);
  border-radius: 0.5rem;
  text-transform: capitalize;
  padding: 0.5rem;
  font-family: var(--ff-Poppins);
}

.ad-div{
  margin: 1rem 0;
  }
  .ad-div p{
    color: #efefef;
    font-size: 0.8rem;
  }
  .ad-div img{
border-radius: 10px;
box-shadow: -4px 5px 5px 0px hsla(0, 0%, 0%, 0.459);
min-width: 17.5rem;
  }
/*------------------------sweepstake----------------------*/


/*------------------------Your Sweeps---------------------*/
.sweep-table {
  width: 100%;
  border-collapse: collapse;
}

.sweep-table th, .sweep-table td {
  padding: 8px;
  text-align: left;
  border: 1px solid hsla(93, 100%, 50%, 0.603);
}

/*------------------------Your Sweeps---------------------*/

/*table*/


.table {
  display: table;
  margin-bottom: 2rem;
}

.table a{
  color: white;
  text-decoration: none;
  cursor: pointer;
}


.table_full {
  min-width: 100%;
}


.table_in_flex_3{
  flex-basis: 32.5%;
}

.table_in_flex_small{
  flex-basis: 33%;
}

.table_in_flex_big{
  flex-basis: 33%;
}

.table_in_flex_half{
  flex-basis: 49%;
}

.table_row {
  display: flex;
  flex-direction: column;
}
.table_row a{
  color:var(--clr-white);
  text-decoration: none;
  cursor: pointer;
}
.table_row a:hover{
  text-decoration: underline;
}

.table_cell{
  display: table-cell;
  color: var(--clr-white);
  border: 1px dotted hsl(0deg 0% 38.04%);
  overflow: auto;
  vertical-align: middle;
}


.table_row.stats_header .table_cell {
  font-weight: bold;
  text-transform: capitalize;
}

.table_row.header{
  display: none; /* Hide headers for mobile view */
}

.table_row:not(.header) .table_cell::before{
  content: attr(data-label);
  font-weight: bold;
  display: inline-block;
  width: 38%;
  padding: 0.3rem;
  margin-right: 5%;
  text-align: left;
  color: var(--clr-white);
  background-color: var(--clr-green);
}

.row1{
  background-color: hsla(0, 0%, 0%, 0.812);
}
.row2{
  background-color:hsla(0, 0%, 0%, 0.31);
}


.active{
  background-color: hsl(103, 32%, 48%);
}
.finished{
background-color: hsl(0, 0%, 38%) !important;
}

.noneactive{
background-color: hsl(1, 88%, 57%)!important;
}
/* Media query for larger screens */
@media (min-width: 48.125em) {
  .table {
    display: table;
  }

  .table_max{
    min-width: 100%;
  }

  .table_row {
    display: table-row;
  }

  .table_row.header{
    display: table-row;
  }

  .table_cell {
    display: table-cell;
    padding: 0 0.5rem;
   }

  .table_row.header {
    display: table-row;/* Hide headers for mobile view */
    font-size: var(--ff-headings);
    font-weight: bold;
     min-height: 10px;
    text-align: center;
  }

  
  .table_row.header_sec {
    display: table-row;/* Hide headers for mobile view */
    font-size: var(--ff-headings);
    font-weight: bold;
    background-color: var(--clr-black);
    color: var(--clr-white);
    min-height: 10px;
  }

 
  /* Hide the pseudo-element on larger screens */
  .table_row:not(.stats_header) .table_cell::before {
    display: none;
  } 

}

.podium {
  display: flex;
  justify-content: center;
  align-items: flex-end;
  gap: 2rem;
}

.podium-step {
  text-align: center;
  border: 2px solid #ccc;
  border-radius: 10px;
}

.first-place {
  background-color: gold;
}

.second-place {
  background-color: silver;
}

.third-place {
  background-color: #cd7f32;
}


.gallery {
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem;
  margin-top: 1rem;
  margin-bottom: 2rem;
}

.thumbnail {
  width: 10rem;
  height: 10rem;
  cursor: pointer;
  transition: 0.3s;
}

.thumbnail:hover {
  opacity: 0.7;
}

.modal {
  display: none;
  position: fixed;
  z-index: 1;
  padding-top: 2rem;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  overflow: auto;
  background-color: rgb(0,0,0);
  background-color: rgba(0,0,0,0.9);
}

.modal-content {
  margin: auto;
  display: block;
  width: 80%;
  max-width: 700px;
}

.close {
  position: absolute;
  top: 15px;
  right: 35px;
  color: #f1f1f1;
  font-size: 40px;
  font-weight: bold;
  transition: 0.3s;
}

.close:hover,
.close:focus {
  color: #bbb;
  text-decoration: none;
  cursor: pointer;
}
.testimonials {
  background-color: #f4f4f4;
  padding: 50px 20px;
}

.testimonial-container {
  display: flex;
  justify-content: space-around;
  flex-wrap: wrap;
}

.testimonial {
  background: var(--clr-glass);
  border-radius: 10px;
  box-shadow: 0 4px 8px #0000001a;
  margin: 20px;
  padding: 20px;
  text-align: center;
  width: 300px;
  transition: transform 0.3s;
}

.testimonial:hover {
  transform: scale(1.05);
}

.star-icon {
  font-size: 2rem;
  color: gold;
}

.testimonial blockquote {
  font-style: italic;
  color: var(--clr-white);
  margin: 0 0 10px 0;
}


/*------------------------login pages----------------------*/

.login-form-container {
  background: var(--clr-white);
  padding: 1rem;
  border-radius: 0.5rem;
  box-shadow: 0 4px 8px var(--clr-black);
  margin: 0 auto;
}


.login-form-container form h2 {
text-align: center;
margin-bottom: 1rem;
color: var(--clr-black);
}

.input-group {
margin-bottom: 1rem;
display: flex;
flex-direction: column;
}

.input-group label{
margin-bottom: 0.2rem;
}

.input-group input {
padding: 10px;
font-size: 16px;
border: 1px solid var(--clr-black);
background:hsl(112.67deg 37.82% 46.67%);
color: var(--clr-white);
border-radius: 4px;
}

button {
  background-color: hsl(112.67deg 37.82% 46.67%);
  color: var(--clr-white);
  padding: 0 0.5rem;
  border-radius: 0.5rem;
  cursor: pointer;
  font-size: 1rem;
  text-transform: uppercase;
}

button:hover {
background-color:hsl(113, 68%, 62%);
}

.message_box{
color: red;  
background: var(--clr-white);
padding: 1rem;
border-radius: 1rem;

}
.input-container {
  position: relative;
}

.password-input {
  width: 100%;
  padding: 10px;
  padding-right: 40px; /* Add padding to prevent text from overlapping the icon */
}

.password-icon {
  position: absolute;
  right: 10px;
  top: 50%;
  transform: translateY(-50%);
  cursor: pointer;
}


/*------------------------login pages----------------------*/

.container {
  background-color: hsla(0, 0%, 100%, 0.11);
  border-radius: 1rem;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
  padding: 1rem;
}

.container h2 {
  margin-top: 0;
}

.form-row {
  display: flex;
  flex-direction: column;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.form-group {
  flex: 1;
  display: flex;
  flex-direction: column;
}

.form-group label {
  margin-bottom: 0.3rem;
  color: var(--clr-white);
}

.form-group input[type="text"] {
  padding: 0 0.4rem;
  border: 1px solid #ccc;
  border-radius: 0.4rem;
  margin-bottom: 0.5rem;
}

input[type="submit"] {
  background-color: #4CAF50;
  color: white;
  padding: 0.5rem 1rem;
  border: none;
  border-radius: 0.3rem;
  cursor: pointer;
  font-size: 1rem;
  margin: 1rem 0;
}

input[type="submit"]:hover {
  background-color: #45a049;
}



.onoff {
  display: -moz-inline-stack;
  display: inline-block;
  vertical-align: middle;
  zoom: 1;
  position: relative;
  cursor: pointer;
  width: 4.5rem;
  height: 1.875rem;
  line-height: 30px;
}
.onoff label {
  position: absolute;
  top: 0px;
  left: 0px;
  width: 100%;
  height: 100%;
  cursor: pointer;
  background: var(--clr-red);
  border-radius: 5px;
  font-weight: bold;
  color: #FFF;
  -webkit-transition: background 0.3s, text-indent 0.3s;
  -moz-transition: background 0.3s, text-indent 0.3s;
  -o-transition: background 0.3s, text-indent 0.3s;
  transition: background 0.3s, text-indent 0.3s;
  text-indent: 27px;
  -webkit-box-shadow: 0px 0px 5px rgba(0, 0, 0, 0.4) inset;
  -moz-box-shadow: 0px 0px 5px rgba(0, 0, 0, 0.4) inset;
  box-shadow: 0px 0px 5px rgba(0, 0, 0, 0.4) inset;
}
.onoff label:after {
  content: 'NO';
  display: block;
  position: absolute;
  top: 0px;
  left: 0px;
  width: 100%;
  color: var(--clr-white);
  text-shadow: 0px 1px 0px rgb(0, 0, 0);
  z-index: 1;
}
.onoff label:before {
  content: '';
  width: 15px;
  height: 24px;
  border-radius: 3px;
  background: #FFF;
  position: absolute;
  z-index: 2;
  top: 3px;
  left: 3px;
  display: block;
  -webkit-transition: left 0.3s;
  -moz-transition: left 0.3s;
  -o-transition: left 0.3s;
  transition: left 0.3s;
  -webkit-box-shadow: 0px 0px 5px rgba(0, 0, 0, 0.4);
  -moz-box-shadow: 0px 0px 5px rgba(0, 0, 0, 0.4);
  box-shadow: 0px 0px 5px rgba(0, 0, 0, 0.4);
}
.onoff input:checked + label {
  background: var(--clr-green);
  text-indent: 8px;
}
.onoff input:checked + label:after {
  content: 'YES';
  color: var(--clr-white);
  text-shadow: 0px 1px 0px rgb(0, 0, 0);;
}
.onoff input:checked + label:before {
  left: 3.125rem;
}






/*---------------Footer-----------------------------*/

footer {
  margin: 3rem 0 0 0;
}

.footer-wrapper {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 2em;
  max-width: 85%;
  margin: auto;
}

.footer-wrapper ul {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 1em;
  margin-top: 1rem;
  color: var(--clr-white);
  text-decoration: none;
  list-style-type: none;
  font-size: var(--fs-125);
}

.footer-wrapper li > * {
  color: var(--clr-white);
  font-size: var(--fs-125);
  text-transform: capitalize;
  text-decoration: none;
  list-style-type: none;
}

.footer-wrapper svg {
  fill: var(--clr-purple-light);
  margin: 0 0.5em 0 0;
  vertical-align: bottom;
}

.footer-wrapper a {
  transition: all 200ms ease-in-out;
  position: relative;
}

.footer-wrapper a:hover {
  color: var(--clr-purple-main);
}

/* Fade in */
.footer-wrapper a::after {
  content: "";
  position: absolute;
  bottom: -11px;
  left: 0;
  width: 100%;
  height: 0.1em;
  background-color: var(--clr-purple-main);
  opacity: 0;
  transition: opacity 300ms, transform 300ms;
}

.footer-wrapper a:hover::after,
.footer-wrapper a:focus::after {
  opacity: 1;
  transform: translate3d(0, 0.2em, 0);
}

.copyright {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-direction: column;
  padding: 2em 0;
}
.copyright h5 {
  font-size: var(--fs-087);
}
.copyright a {
  text-decoration: none;
  text-transform: capitalize;
  cursor: pointer;
  color: var(--clr-white);
  padding: 0.5em 0;
}




/*---------------Footer-----------------------------*/
/* Base styles for mobile devices */
.card_wrapper {
  display: flex;
  flex-wrap: wrap;
  justify-content: center; /* Center the cards horizontally */
  gap:0.5rem; /* Adjust the spacing between cards for mobile */
}

/* Individual card style */
.card {
  display: flex;
  flex-direction: column;
  align-items: center;
  background-color: var(--clr-glass);
  border-radius: 0.5rem;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  width: 100%;
  max-width: 11rem; /* Adjust initial size for mobile */
  text-align: center;
  border: 1px solid var(--clr-white);
  color: var(--clr-white);
  position: relative;
}

/* Header and footer styles */
.card-header,
.card-footer {
  font-weight: bold;
  font-family: var(--ff-Poppins);
 text-transform: capitalize;
 padding: 0.5rem;
}

/* Card photo container styling */
.card-photo {
  width: 100%;
}

.card-photo img {
  display: block;
  width: 100%;
  height: 12rem;
}

/* Card flag container styling */
.card-flag {
  width: 100%;
}

.card-flag img {
  display: block;
  border-top: 1px solid;
  margin: 0 auto;
  padding: 1rem;
}


.game {
  border: 1px solid #ccc;
  padding:0.5rem;
  background: var(--clr-white);
  border-radius: 1rem;
  min-width: 20.75rem;
}

.gamefinish {
  background: var(--clr-red-glass);
  color: var(--clr-white)!important;
}
.win{
  background-color: hsl(122, 100%, 50%)!important;
  color: white;
}
.lost{
  background-color: hsl(0, 100%, 57%)!important;
  color: white;
}

.details {
  display: flex;
  flex-direction: row;
  justify-content: space-around;
  align-items: center;
  min-width: 18rem;
  background:hsla(110, 37%, 48%, 0.741);
  border-radius: 0.2rem;
}

.names{
  display: flex;
  flex-direction: row;
  justify-content: space-around;
  align-items: center;
  text-transform: capitalize;
}

.teams{
  display: flex;
  flex-direction: row;
  justify-content: space-around;
  align-items: center;
}

.flag-flex{
  display: flex;
  flex-direction:column;
  justify-content: space-between;
  align-items: center;
}

.details-text {
  font-size:0.8rem;
  color: var(--clr-black);
  position: relative;
  font-family: var(--ff-Poppins);
}

.details-text a{
  color: var(--clr-red);
  text-decoration: none;
  cursor: pointer;
}

.details-text a:hover{
  color: var(--clr-green);
}

.small-photo{
  width: 6.25rem;
  height: 7.5rem;
  border: 1px solid var(--clr-black);
  box-shadow: 0 4px 8px var(--clr-black);
}
.tiny-photo{
  display: inline-block;
  vertical-align: middle;
  width: 1rem;
  height: 1.2rem;
  border: 1px solid var(--clr-black);
  box-shadow: 0 4px 8px var(--clr-black);
}
.score-box{
  background-color: white;
  border-radius: 0.3rem;
  color: black !important;
  padding: 0.2rem;
  margin: 0.2rem;
  min-width: 3rem;
  text-align: center;
  border: 1px solid black;
}

.red-x::before, .red-x::after {
  content: '';
  position: absolute;
  width: 100%;
  height: 20px; /* Adjust this value to make the lines thicker or thinner */
  background-color: red;
}

/* Create one diagonal line of the X */
.red-x::before {
  transform: rotate(45deg);
  top: 50%;
  left: 0;
  transform-origin: center;
}

/* Create the other diagonal line of the X */
.red-x::after {
  transform: rotate(-45deg);
  top: 50%;
  left: 0;
  transform-origin: center;
}

/*------------------------DESKTOP (MEDIA)----------------------*/




/*----------------Media---------------------------------------------------------------------------------------------------------------*/


/* Media query for tablets and small desktops */
@media (min-width:37.5rem){  /*600px*/

  main {
    /* background-image: linear-gradient(to bottom right,  rgb(29, 113, 3),rgb(14, 59, 1)); */
    background-image: url(/templates/images/background.webp);
    background-size: cover;
    /* background-position:center;
    background-attachment: fixed; */
  }

   
    /*768px*/
    .header_container {
      padding: 1em 2em;
    }
    .menu_img {
      display: none;
    }
  
   .burger,
    #sideNav {
      display: none;
    }
    .nav {
      display: block;
      position: relative;
    }
  
    .nav_list {
      display: flex;
      gap: 1em;
      list-style: none;
      padding: 0;
      margin: 1em 0;
    }

 
  .hero-text a.page_links:hover {
    color: var(--clr-black);
    background-color: var(--clr-green);
    text-decoration-color: var(--clr-green);
    transform: scale(1.2);
    border-radius: 10px;
    padding: 0 0.2rem;
  }

  .nav_list-item svg:hover {
    transform: scale(1.3);
  }
  .nav_link:hover {
    color: var(--clr-white);
  }


  /* Fade in */
  .nav_link::after {
    content: "";
    position: absolute;
    bottom: -3px;
    left: 0;
    width: 100%;
    height: 0.1em;
    background-color: greenyellow;
    opacity: 0;
    transition: opacity 300ms, transform 300ms;
  }

  .nav_link:hover::after,
  .nav_link:focus::after {
    opacity: 1;
    transform: translate3d(0, 0.2em, 0);
  }
 
  .hero-text h1 {
    line-height: 1.3;
  }
  .hero-text .small-text {
    font-size: var(--fs-125);
  }

  .hero-text {
    margin: 2rem 2rem 0 2rem;
  }
  
.login-form-container {
   width: 75%;
}
.login-form-container p {
  color: var(--clr-black);
}
.game {
  min-width:20rem;
}
.form-row {
  flex-direction: row;
}

  .card_wrapper {
      gap: 16px; /* Increase the spacing between cards */
     }

  .card {
      max-width: 15rem; /* Adjust size for tablets */
   }
   .card-photo img {
    display: block;
    width: 100%;
    height: 20rem;
  }
}

@media(min-width:80rem){
  .hero{
    grid-template-columns: 60% 40%;
    grid-template-rows: 1fr;
}

.grid-item{
     margin-right: 1.5rem;
     margin-bottom: 12rem;
}


.grid-item img {
  max-width: 100%;
  max-height: 100%;

}
}


/* Media query for larger desktops */
@media (min-width:64rem){ /*1024px*/

  header {
      padding: 0 2.5rem;
      } 

  .section{
    margin: 1rem 2.5rem;
  }
  .latest-stake .small-text{
    font-size: var(--fs-100);
    line-height: 1.8; 
  }
  .card {
      max-width: 12rem; /* Adjust size for larger desktops */
  }
  .card-photo img {
    display: block;
    width: 100%;
    height: 20rem;
  }
  
  .game {
    max-width:20rem;
  }
.goodmess,.errormess{
  text-align: center;
  }

  .table_cell{
    text-align: center;
    padding: 0 0.5rem;
  }

  .pwrapper {
    flex-direction: row;
    gap: 3rem;
    padding: 1rem 2rem 0 0.5rem;
    color: var(--clr-accent);
    margin: 2rem;

  }
  
  .footer-wrapper {
    flex-direction: row;
  }

  .prize_wrapper{ 
    flex-direction: row;
    gap: 3rem;
    max-width: 70%;  /* Restrict to 80% width of the parent/container */
  }
}

.social-share {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    margin-top: 10px;
    flex-wrap: wrap;
    margin: 0 auto;
    max-width: 50%;
    color: white;
}
  .social-share p {
    margin: 0;
    font-weight: bold;
  }
  .share-btn {
    text-decoration: none;
    padding: 10px;
    border-radius: 50%;
    color: white;
    font-size: 16px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.2s;
  }
  .share-btn:hover {
    transform: scale(1.1);
  }
  .facebook { background-color: #3b5998; }
  .twitter { background-color: #1da1f2; }
  .whatsapp { background-color: #25d366; }
  .email { background-color: #666666; }