@import url('https://fonts.googleapis.com/css2?family=Jost:ital,wght@0,100..900;1,100..900&display=swap');
@import url('../fonts/hartwell-alt-webfont/style.css');

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body{ 
    font-family: 'Hartwell Alt Bold', sans-serif;
    font-size: 18px;
    margin: 0;
    padding: 0;
    overflow-x: hidden;
}

.bg-blue {
    /* background: linear-gradient(to bottom, #ffd200, #7a6400); */
    background-image: url('/public/images/bg.webp');
    background-size: cover;
    background-repeat: no-repeat;
}

a {
    text-decoration: none;
    color: #fff;
}

.btn {
    background-color: black;
    color: #fff;
    border: none;
    padding: 10px 20px;
    font-size: 16px;
    cursor: pointer;
    border-radius: 10px;
    display: inline-block;
    text-decoration: none;
    outline: none;
}

.buttons .btn {
    flex: 1;
    padding: 20px;
}

.card-container .icon-container img {
    width: 30px;
    margin-top: 20px;
}

/* header */
.header {
    width: calc(100% - 40px);
    height: 100px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 20px;
    position: fixed;
    top: 20px;
    z-index: 999;
    margin: 0 20px;
    background: black;
}

.header > * {
    /* flex: 1; */
    width: fit-content;
}

.header > div {
    display: flex;
    align-items: center;
    justify-content: center;
    /* gap: 20px; */
}

.card.highlight {
    border: 2px solid red;
    animation: shake 0.5s; /* Optional shake animation */
}

@keyframes shake {
    0%, 100% { transform: translateX(0); }
    25%, 75% { transform: translateX(-5px); }
    50% { transform: translateX(5px); }
}

.buttons {
    z-index: 99;
    width: 100%;
    padding: 0 15px;
    display: flex;
    justify-content: space-between;
    gap: 20px;
}


/* .header button:nth-child(1) {
    justify-content: flex-start;
}

.header > button:nth-child(3) {
    justify-content: flex-end;
} */

.header button {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
    color: #ffd200;
    background: transparent;
    border: none;
    cursor: pointer;
    font-weight: 800;
    font-size: 20px;
}

.header button img {
    width: 50px;
}

.header img {
    width: 100px;
}

.trivia-container {
    min-height: 100vh;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    overflow: hidden;
}

.tickets {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.ticket {
    width: 100%;
    text-decoration: none;
    color: black;
    padding: 10px 15px;
    border-radius: 10px;
    background-color: white;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border: 2px solid #ffd200;
}

.ticket > .box {
    flex: 1;
}

.ticket > .box h5 {
    margin-bottom: 20px;
}

.bg-gray {
    background-color: #d6d6d6;
}

.team-images {
    display: flex;
    align-items: center;
    /* justify-content: space-between; */
    gap: 10px;
}

.team-images img{
    border-radius: 50%;
    height: 50px;
    width: 50px;
    border: 2px solid #ffd200;
    padding: 3px;
}

.container {
    margin: 20px;
    width: calc(100% - 40px);
    max-width: 1200px;
    min-height: 50vh;
    height: 100%;
    overflow: auto;
    padding: 10px;
    margin-top: 130px;
}

.title {
    color: white;
}

.card-container .title-container {
    width: 100%;
    text-align: center;
    /* background-color: #0a0a4583; */
    color: #fff;
    border-radius: 10px;
}

.card-container .card-number {
    font-weight: 900;
    color: white;
    position: absolute;
    right: 16px;
}

.league, .date {
    font-weight: 600;
}

.date .time {
    padding: 2px 10px;
    background: #ffd200;
    color: #0a0a45;
    border-radius: 100px;
}

/* Picks */
.picks {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.picks .pick {
    display: flex;
    gap: 20px;
    background: white;
    padding: 5px 10px;
    border-radius: 10px;
}

.team-images {
    gap: 0;
    flex: 1;
}

.team-images img {
    background-color: white;
}

.team-images img:nth-child(2) {
    margin-left: -15px;
}

.picks .pick .options {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 10px;
    overflow: auto;
    margin: 20px 0;
    /* margin: 0; */
}

.picks .pick .options p {
    padding: 10px;
    border-radius: 10px;
    background-color: #e9e9e9;
    color: #0a0a45;
    font-weight: 600;
}

.picks .pick .options p.selected {
    background-color: #ffd200;
    color: #0a0a45;
}

.picks .pick .options p.correct {
    background-color: #00ff00;
    color: #0a0a45;
}

.teams {
    position: relative;
    margin-top: 10px;
    z-index: 1;
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
}

.teams .separator {
    width: 10px;
    border-radius: 10px;
    height: 60px;
    background-color: #fff;
    margin: 0 10px;
}

.team {
    text-align: center;
    margin: 10px;
    width: 100%;
}

.team p {
    color: #fff;
    font-size: 12px;
}

.team img {
    background-color: white;
    padding: 4px;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    /* margin: 10px; */
}

.card-container {
    min-height: 500px;
    width: 400px;
    background-image: url('/images/1 Football Field.webp');
    background-size: 100%;
    background-position: top center;
    background-repeat: no-repeat;
    background-color: #fff;
    border-radius: 20px;
    box-shadow: 0 0 10px rgba(0,0,0,0.1);
    padding: 20px 20px;
    padding-top: 100px;
    display: flex;
    align-items: center;
    /* justify-content: flex-end; */
    flex-direction: column;
    position: relative;
    overflow: hidden;
}

/* .card-container::after {
    position: absolute;
    content: '';
    left: 0;
    bottom: 0;
    width: 100%;
    height: 90%;
    background: rgb(25,25,112);
    background: linear-gradient(0deg, rgba(25,25,112,1) 70%, rgba(252,209,0,0) 100%);   
} */

.card-container .cards {
    position: relative;
    z-index: 1;
    flex: 1;
    width: 100%;
    padding: 0 20px;
}

form {
    height: 550px;
    width: 400px;
    position: relative;
}

.card-container.card {
    position: absolute;
    /* left: 0; */
    z-index: 2;
    /* width: 100%; */
    /* min-height: 200px; */
    background-color: #fff;
    border-radius: 20px;
    box-shadow: 0 10px 10px rgba(0,0,0,0.1);
    padding: 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
    /* justify-content: center; */
    transform: scale(0.8);
    bottom: 0px;
    transition: all 500ms ease;
    /* justify-content: center; */
    /* justify-content: center; */
}

.card-container .carder {
    /* position: absolute; */
    /* margin-top: 60px; */
    z-index: 2;
    width: 100%;
    min-height: 200px;
    background-color: #fff;
    border-radius: 20px;
    /* box-shadow: 0 10px 10px rgba(0,0,0,0.1); */
    padding: 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    /* transform: scale(0.8); */
    bottom: 0px;
    transition: all 500ms ease;
    /* justify-content: center; */
}

.card-container .card.active {
    transform: none;
    z-index: 10;
    bottom: 50px;
}

.card-container .card.active + .card {
    transform: scale(0.9);
    z-index: 5;
    bottom: 20px;
}

.card-container.card.active {
    transform: none;
    z-index: 10;
    bottom: 50px;
}

.card-container.card.active + .card {
    transform: scale(0.9);
    z-index: 5;
    bottom: 0px;
}

.card-container .carder .question {
    text-align: center;
}

.card-container.card.away {
    transform: translate(100%, -100%) rotate(90deg);
}

.card-container.card.comeBack {
    transform: translate(-100%, 100%) rotate(-90deg);
}

.card-container .indicators {
    display: none;
    z-index: 3;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 3px;
}

.card-container .indicators .indicator {
    height: 5px;
    width: 5px;
    background-color: #959595;
    border-radius: 5px;
    transition: all 300ms linear;
}

.card-container .indicators .indicator.active {
    width: 10px;
    background-color: #fff;
}

/* Options customization */
.options {
    margin: 20px;
    display: flex;
    width: 100%;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    /* padding: 10px 30px; */
    gap: 10px;
    /* height: 70px; */
}
/* Customize the label (the container) */
.optioncontainer {
    display: flex;
    flex: 1;
    position: relative;
    /* padding: 10px; */
    border-radius: 10px;
    background-color: #eee;
    cursor: pointer;
    font-size: 13px;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
  }
  
  /* Hide the browser's default radio button */
  .optioncontainer input {
    position: absolute;
    opacity: 0;
    cursor: pointer;
    height: 0;
    width: 0;
  }
  
  /* Create a custom radio button */
  .checkmark {
    position: relative;
    top: 0;
    left: 0;
    width: 100%;
    padding: 10px;
    min-width: 90px;
    text-align: center;
    border-radius: 10px;
    background-color: #eee;
    transition: all 300ms ease-in-out;
  }
  
  /* On mouse-over, add a grey background color */
  .optioncontainer:hover input ~ .checkmark {
    background-color: #ccc;
    font-weight: 600;
  }
  
  /* When the radio button is checked, add a blue background */
  .optioncontainer input:checked ~ .checkmark {
    background-color: #ffd200;
    color: black;
  }
  