
/* html { 
  background: url('/static/dddepth-337.jpg') no-repeat center center fixed; 
  -webkit-background-size: cover;
  -moz-background-size: cover;
  -o-background-size: cover;
  background-size: cover;
    } */
html {
    width: -webkit-fill-available;
    
}

body {
    display: flex;
    flex-direction: column;
    /* max-width: 100svw; */
    margin: 0 auto;
    /* height: 90svh; */
    min-height: -webkit-fill-available;
    height: -webkit-fill-available;
    width: -webkit-fill-available;
    background: #a8ff78;  
    background: -webkit-linear-gradient(to right, #78ffd76d, #a7ff7860);  
    background: linear-gradient(to right, #78ffd751, #a7ff7853); 
    /* background-image: url("/static/bg72.png"); */
    /* background-image: linear-gradient(45deg, rgb(226, 219, 219),rgb(180, 180, 201)); */
    background-repeat:repeat;
    background-size: cover;

}
body.newtournament {
  /* background-image: url('/static/bg24.png'); */
  background-image: none;
}
/* 
main {
    flex: 1;
    overflow: scroll;
} */

.navbar {
    width: -webkit-fill-available;
}



.group{
    position:relative;
  }
  .group>label{
    padding:0 0.2em;
    position:absolute;
    top:-0.5em;
    left:1em;
    background-color:white;
  }
  
  .group>input{
    padding:0.8em;
    border-radius: 0.5em;
    border: 2px solid lightblue;
    outline:none;
  }

.tournament-card {
    border-radius: 25px; 
    width: 300px; 
    background-image: radial-gradient(at center, #FFFFFF, #7ef3e096);
}


.bg-custom-1 {
    background-color: #85FFBD;
    background-image: linear-gradient(45deg, #85FFBD 0%, #FFFB7D 100%);

}

.bg-custom-2 {
    background-color: #8EC5FC;
    background-image: linear-gradient(to top, #cfd9df 0%, #e2ebf0 100%);
    border-radius: 10px;
    /* /* box-shadow: 0 0 5px #585858; */
}

.bg-name {
    background-color: #85FFBD;
    background-image: linear-gradient(45deg, #85FFBD 0%, #FFFB7D 100%);
    border-radius: 10px;
    box-shadow: 0 0 5px #585858;
    padding: 6px;
    width: 100%;
    color: black;
    min-height: fit-content !important;

}

/* Custom CSS to add padding around the input fields */
.my-2 {
    padding: 2px;
}

.tournament-input {
    width: 250px;
}

.form-wrapper {
    margin-top: 10px;
}


.btn-grad {
    background-image: linear-gradient(to right, #02AAB0 0%, #00CDAC 51%, #02AAB0 100%);

    text-align: center;
    text-transform: uppercase;
    transition: 0.5s;
    background-size: 200% auto;
    color: white;
    box-shadow: 0 0 5px #585858;
    border-color: #02ad90;
    border-radius: 10px;
    /* display: block; */
}

.btn-grad1 {
    background-image: linear-gradient(to right, #02aab0 0%, #00cdab 51%, #02aab0 100%);

    text-align: center;
    text-transform: uppercase;
    transition: 0.5s;
    background-size: 200% auto;
    color: white;
    box-shadow: 0 0 5px #585858;
    border-color: #01725f;
    border-radius: 10px;
    /* display: block; */
}

.btn-grad2 {
    /* background-image: linear-gradient(to right, #02AAB0 0%, #00CDAC  51%, #02AAB0  100%); */

    text-align: center;
    text-transform: uppercase;
    transition: 0.5s;
    background-size: 200% auto;
    color: #00CDAC;
    box-shadow: 0 0 2px #585858;
    border-color: #00CDAC;
    border-radius: 10px;
    /* display: block; */
}

.btn-grad:hover {
    background-position: right center;
    /* change the direction of the change here */
    color: #fff;
    text-decoration: none;
}

.btn-grad1:hover {
    background-image: linear-gradient(to right, #02AAB0 0%, #00CDAC 51%, #02AAB0 100%) !important;
    background-position: right center !important;
    /* change the direction of the change here */
    color: #fff !important;
    text-decoration: none !important;
}

.btn-grad2:hover {
    background-image: linear-gradient(to right, #02AAB0 0%, #00CDAC 51%, #02AAB0 100%) !important;
    background-position: right center !important;
    /* change the direction of the change here */
    color: #fff !important;
    text-decoration: none !important;
}


.playernameinput {
    max-width: 10rem;

}

.px-7 {
    padding-left: 15%;
    padding-right: 15%;
    max-width: 40rem;
}
/* CSS-Stil für das Werbebanner */
.mein-werbebanner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    color: #fff;
}

.mein-werbebanner img {
    max-height: 80px;
    max-width: 100svw;
}

.mein-werbebanner .schliessen {
    position:absolute;
    top: 5px;
    right: 5px;
    font-size: 18px;
    cursor: pointer;
    background-color: black;
    border-radius: 25px;
}

.highlightwin {
    box-shadow: 0 1px 8px #00b023;
    background-image: linear-gradient(45deg, #85ffd4 0%, #e5ff7d 100%);
    color:rgb(2, 88, 2, 0.9);
}

.highlightloss {
    /* box-shadow: 0 1px 3px red; */
    /* background-image: linear-gradient(45deg, #baf748da 0%, #ddff1ac9 100%); */
    color: rgba(65, 17, 17, 0.9);
}

.matchcard {
  border-radius: 50px;
    background-image: linear-gradient(45deg, #deeded71 0%, #c6e4d77b 100%);
    box-shadow: 0px 0px 4px #75757561;
    background: rgba(250, 255, 248, 0.295);
}
.card-header {
  
  background-color: rgb(0, 0, 0, 0.0);
}


.overlay {
    position: relative;
    display:contents;
    opacity: 0.6;
    background-color: black;
    border-radius: 10px;
    box-shadow: 0 0 0px #585858;
    width: 100%;
}

.player-score-container {
    display: flex; /* Use flexbox to arrange the name and score divs horizontally */
    align-items: center; /* Center items vertically within the container */
    justify-content: space-between; /* Put space between name and score divs */
    margin-bottom: 8px; /* Add some margin between players */
    padding-left: 2rem;
    padding-right: 1rem;
    max-width: 25rem;
    /* transition: transform 0.3s ease;
    transition: order 0.3s ease-in-out; */
    /* animation: bounceInLeft 10s ease-in-out; Adjust the duration as needed */

  }

  /* CSS styles for the player-name class */
  .player-name {
    font-weight: bold; /* Make the player name bold */
    flex-grow: 1;
  }
  
  /* CSS styles for the score-circle class */
  .score-circle {
    display: flex; /* Use flexbox to center the content inside the circle */
    justify-content: center; /* Center the content horizontally */
    align-items: center; /* Center the content vertically */
    width: 30px; /* Set the width of the circle */
    height: 30px; /* Set the height of the circle */
    /* background-image: linear-gradient(45deg, #fd746c 0%, #ff9068 100%); */
    color: rgb(106, 106, 106); /* Set the text color inside the circle */
    border-radius: 50%; /* Make the div round to create a circle */
    border-width: 5px;
    border-color: #585858;
  }

  .player-list{
    /* min-width: 12rem; 
    max-width: 12rem; */
    justify-content: center;
    margin-top: 1rem;
    margin-right: 4rem;
    margin-left: 4rem;
    margin-bottom: 4rem;
    min-height: 16rem;
  }

  .instruction {
    color: rgb(63, 63, 63);
    font-style: italic;
  }

.pagearranger{
margin-left: 5rem;
max-width: 95svw;
}



/* Style for the round button */
.scroll-button {
    /* display: none; */
    position: fixed;
    bottom: 45px;
    right: 45px;
    background-image: linear-gradient(45deg, rgb(107, 108, 115) 0%, rgb(182, 180, 180) 100%);
    opacity: 0;
    color: white;
    width: 50px;
    height: 50px;
    z-index: 999;
    border-radius: 30px;
    text-align: center;
    line-height: 50px;
    cursor:default;
    transition: opacity 0.5s ease
}

.arrow {
    border: solid black;
    border-width: 0 4px 4px 0;
    display: inline-block;
    padding: 4px;
  }

.up {
transform: rotate(-135deg);
-webkit-transform: rotate(-135deg);
}

.leader {
    box-shadow: 0 1px 8px #00851b;
    background-image: linear-gradient(45deg, #85ffd4 0%, #e5ff7d 100%);
    color:rgb(2, 88, 2, 0.9);
}

/* Keyframes for the animation */
@keyframes bounceInLeft {
    0% {
      opacity: 0.2;
      transform: translateX(0%);
    }
    25% {
      opacity: 1;
      transform: translateX(20px); /* Adjust the distance for the initial bounce */
    }
    75% {
        opacity: 1;
      transform: translateX(-5px); /* Adjust the distance for the bounce back */
    }
    100% {
        opacity: 1;
      transform: translateX(0);
    }
  }
  
  /* New class for the bounce animation */
.animate-bounce {
    animation: bounceInLeft 0.8s ease-in-out; /* Same duration and easing as before */
  }

.newtournamentstyle {
    max-width: 100svw;
    background-color: red;
}


/* Add this CSS for the star rating selector */
.star-rating {
    display: inline-block;
}

.star-rating input[type="radio"] {
    display: none;
}

.star-rating label {
    display: inline-block;
    width: 30px;
    height: 30px;
    margin: 0;
    padding: 0;
    font-size: 30px;
    text-align: center;
    line-height: 30px;
    cursor: pointer;
    color: #ccc;
}

.star-rating label:before {
    content: '\2605';
}

.star-rating input[type="radio"]:checked ~ label {
    color: #ffcc00;
}

/* Add this CSS for the half star icons */
.star-rating label.half {
    position: relative;
}

.star-rating label.half:before {
    content: '\2605';
    position: absolute;
    top: 0;
    left: 0;
    width: 50%;
    overflow: hidden;
}

.rating[data-rating='5.5'] .rating__item:nth-child(-n + 5):after, .rating[data-rating='5'] .rating__item:nth-child(-n + 5):after, .rating[data-rating='4.5'] .rating__item:nth-child(-n + 4):after, .rating[data-rating='4'] .rating__item:nth-child(-n + 4):after, .rating[data-rating='3.5'] .rating__item:nth-child(-n + 3):after, .rating[data-rating='3'] .rating__item:nth-child(-n + 3):after, .rating[data-rating='2.5'] .rating__item:nth-child(-n + 2):after, .rating[data-rating='2'] .rating__item:nth-child(-n + 2):after, .rating[data-rating='1.5'] .rating__item:nth-child(-n + 1):after, .rating[data-rating='1'] .rating__item:nth-child(-n + 1):after, .rating[data-rating='0.5'] .rating__item:nth-child(-n + 0):after, .rating[data-rating='0'] .rating__item:nth-child(-n + 0):after {
	content: "\f005";
}
.rating[data-rating='5.5'] .rating__item:nth-child(6):after, .rating[data-rating='4.5'] .rating__item:nth-child(5):after, .rating[data-rating='3.5'] .rating__item:nth-child(4):after, .rating[data-rating='2.5'] .rating__item:nth-child(3):after, .rating[data-rating='1.5'] .rating__item:nth-child(2):after, .rating[data-rating='0.5'] .rating__item:nth-child(1):after {
	content: "\f123";
}
.rating {
	margin: 0;
  margin-left: 4px;
	padding: 0;
	display: inline-flex;
	align-items: center;
	justify-content: flex-start;
    /* background-image: linear-gradient(45deg, yellow 0%, rgb(167, 167, 0) 100%); */
	color: rgb(228, 253, 36);
  text-shadow: -1px 1px 3px #787802;
}
.rating__item {
	font-size: 32px;
	display: block;
	font-family: FontAwesome;
}
.rating__item::after {
	content: '\f006 ';
}


/* Custom styles for the slider */
.form-range {
    width: 10rem;
    /* Customize other styles as needed */
  }
  
  /* Custom styles for the selected value */
  .selected-value {
    display: inline-block;
    margin-left: 10px;
    /* Customize other styles as needed */
  }

  .showcase-container {
    position: relative;
    /* top: 60%;
    left: 50%;
    transform: translate(-50%, -50%); */
    z-index: 9999;
    margin: 10px;
    margin-top: 10px;
    
  }
  
  .showcase {
    display: flex;
    justify-content: center;
    gap: 20px;
  }
  
  .team-card {
    padding: 20px;
    border: 1px solid #ccc;
    box-shadow: 0 0px 4px #acddb6;
    border-radius: 5px;
    text-align: center;
    height: 15rem;
    width: 10rem;
    margin: 2vw;
    background-image: linear-gradient(45deg, #deeded89 0%, #c6e4d797 100%);

  }
  
  .team-avatar {
    width: 120px;
    height: 120px;
    object-fit: cover;
  }
  
  .team-name {
    margin: 10px 0;
    font-size: 18px;
    font-weight: bold;
  }
  
  .team-overall {
    font-size: 14px;
    color: #888;
    line-height: -10%;
  }

  /* Add your styles for showcase-container and team-item here */

/* Slot machine animation */
@keyframes slotMachineAnimation {
    0% {
      transform: translateY(0);
      filter: blur(5px);
    }
    100% {
      transform: translateY(0); /* Adjust the distance based on your requirement */
      filter: blur(0px); /* Adjust the blur intensity based on your requirement */
    }
  }
  

 /* CSS */
.team-avatar {
    /* Add a relative positioning to the parent team-card */
    position: relative;
    filter: drop-shadow(2px 4px 4px #000000b4);

    /* Other CSS styles for the team-avatar class */
  }
  
.blur {
    animation: slotMachineAnimation 5s infinite linear; /* Adjust the animation duration based on your requirement */

}

.generatortext{
  margin-right: 10px;
}

    /* Styles for the d-wrap class on mobile */
    @media screen and (max-width: 767px) {
      .pagearranger{
      margin-left: 0rem;
      flex-wrap: wrap;
      }
      .showcase-container{
        margin: 0px;
        margin-top: 2rem;
        
      }
      .team-card {
        padding: 20px;
        border: 1px solid #ccc;
        box-shadow: 0 0px 4px #acddb6;
        border-radius: 5px;
        text-align: center;
        height: 15rem;
        width: 9rem;
        margin: 1vw;
        background-image: linear-gradient(45deg, #deeded89 0%, #c6e4d797 100%);
    
      }
      
      .team-avatar {
        width: 90px;
        height: 90px;
      }
  } 

  @media (max-width: 768px) {

    .showcase-container {

      margin-top: 40px;
      
    }
    }