@import url('https://fonts.googleapis.com/css2?family=Oswald:wght@200..700&family=Roboto:ital,wght@0,100;0,300;0,400;0,500;0,700;0,900;1,100;1,300;1,400;1,500;1,700;1,900&display=swap');


/* Asegura que html y body ocupen toda la altura */
html, body {
  height: 100%;
  margin: 0;
}

h1, h2, h3, h4, h5 {
	font-family: "Oswald", sans-serif;
}

#homeConsentModal .modal-footer {
	justify-content: space-around;
}

#homeConsentModal .smallfont {
	font-size: 0.9rem;
}

#welcome p{
	font-weight: bold;
}

#welcome h2 {
	font-size: 1.65rem;
}

#welcome h3 {
	font-size: 1rem;
	text-transform: uppercase;
	color: #888;
}

/* Contenedor principal de la página */
.page-wrapper {
  display: flex;
  flex-direction: column;
  min-height: 100vh; /* Ocupa al menos el 100% de la altura de la ventana */
}

/* Contenido principal */
.main-content {
  flex: 1 0 auto; /* Se expande para llenar el espacio disponible */
}

#logo {
  background-image: url('/img/soccer-field-2.png');
  background-size: contain;
  background-position: center;
  background-repeat: no-repeat;
  min-height: 200px; /* Ajusta esta altura según tus necesidades */
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
}

#logo span {
  font-size: 1.8rem;
  vertical-align: baseline;
  padding-top: 15px;
  
}

.ad-thumb {
	height: 80px;
}

.ads-table td {
	vertical-align: middle;
}

.section {
	padding: 30px 0;
}

.section-clearer1 {
	background-color: #414950;
}

.section-darker1 {
	background-color: #141c23;
}

.back-to-top-btn {
  position: fixed;
  bottom: 20px;
  right: 20px;
  background-color: #28a745;
  color: white;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 24px;
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s, visibility 0.3s;
  z-index: 1000;
}

.back-to-top-btn.show {
  opacity: 1;
  visibility: visible;
}

.back-to-top-btn:hover {
  background-color: #218838;
}

.logotext {
  color: #002600; /* O el color que prefieras para que contraste con la imagen */
  margin: 0;
  text-align: center;
  font-family: "Oswald", sans-serif;
  font-optical-sizing: auto;
  font-size: 3.5rem !important;
  padding: 0 !important;
}

.why-list-title {
	font-weight: bold;
}

.home-textleft {
	text-align: left !important;
} 

.footer {
    padding: 20px 0 10px;
    display: block;
}

.footer-container {
	margin-top: 50px;

}

.footer__bottom {
    display: flex;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center;    
    background-color: #000;
    flex-shrink: 0; /* Evita que el footer se comprima */
    margin-top: 20px;
}

.footer__copir {

    line-height: 12px;
}

.footer__copir, .footer__links {
    font-weight: 400;
    font-size: 13px;
    color: #fff;
}

.footer__bottom ul {
	list-style-type: disc;
    margin-block-start: 1em;
    margin-block-end: 1em;
    unicode-bidi: isolate;
}

.footer__links {
    
    line-height: 12px;
    padding: 0;
    margin: 0;
    display: flex;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
}

.footer__links li {
    border-left: 1px solid #75798d;
    padding-left: 10px;
    margin-left: 10px;
    display: flex;
    -webkit-box-align: end;
    -ms-flex-align: end;
    align-items: flex-end;
}

.footer__links a {
    color: #bfc9ca;
    text-decoration: none;
}

.footer__links a:hover {
    color: #5d6d7e;
}

.btn-create.generator {
    background: #4eb947;
}

.btn-create.generator:hover {
    background: #198313;
}

.btn-create {
    color: #fff !important;
    font-size: 20px;
    font-weight: 600;
    padding: 15px 20px;
    display: inline-block;
    -webkit-transition: .25s;
    transition: .25s;
    background: #41a7fb;
    line-height: 26px;
    text-decoration: none;
    border-radius: 10px;
    min-width: 100px;
}

.hometext {
    text-align: center;
    font-size: 18px;
    font-style: normal;
    font-weight: 300;
    line-height: normal;
    margin-top: 7.5px;
    margin-bottom: 7.5px;
}

.headline__text {
    color: #ccc;
    font-size: 16px;
    font-weight: 400;
    line-height: 24px;
    margin: 0 0 8px;
}

.footble-text .ol {
    counter-reset: item;
    padding: 0;
    margin: 20px 0 0;
}

.footble-text .ol li {
    display: block;
    position: relative;
    text-align: center;
    padding-top: 70px;
    margin-bottom: 25px;
    line-height: 24px;
}

.footble-text .ol li:before {
    content: counters(item, ".") " ";
    counter-increment: item;
    width: 55px;
    height: 55px;
    -webkit-box-shadow: 0 0 25px rgba(0, 0, 0, .1);
    box-shadow: 0 0 25px rgba(0, 0, 0, .1);
    background-color: #141C23;
    position: absolute;
    top: 0;
    left: calc(50% - 27px);
    text-align: center;
    line-height: 50px;
    border-radius: 50%;
    color: #fff;
    font-size: 30px;
    font-weight: 400;
    border: 1px solid #434d57;
}

.footble-text .ol li, .footble-text p, .footble-text ul li {
    color: #ccc;
    font-size: 16px;
}

.footble-text .ol li h3 {
    color: #fff;
    font-size: 20px;
    font-weight: 700;
    line-height: 30px;
    margin: 0;
}

.footble-text .ol li span {
    color: #ccc;
    font-size: 16px;
    font-weight: 400;
    display: block;
    line-height: 30px;
}

.wordle-text .ol li img {
    margin-top: 10px;
    box-shadow: 0 0 30px rgba(0, 0, 0, .1);
}

.thumbnail {
	max-height: 150px;
}

.hints {
	font-weight: 700 !important;
	
}

.btn {
  border-radius: 100px !important;
  min-width: 150px;
  font-weight: 700;
}


.btn:active {
  transform: translate(0px, 5px);
  -webkit-transform: translate(0px, 5px);
  box-shadow: 0px 1px 0px 0px;
}

.btn-cover {
	min-width: 200px;
}

.bigger {
  transition: all 1s ease;
  transform: scale(1);
}

.bigger:hover {
/*  Making button bigger on hover  */
  transform: scale(1.1) perspective(1px)
}


.my-modal-bottom {
    border-bottom-right-radius: var(--bs-modal-inner-border-radius);
    border-bottom-left-radius: var(--bs-modal-inner-border-radius);
}

.mr16 {
	margin-right: 16px;
}

.searchbox {
	width: 100%;
    border: none;
    height: 40px;
    border-radius: 1.625rem;
    font-size: 18px;
    box-sizing: border-box;
    padding-left: 1rem;
    padding-right: 3rem;
    box-shadow: 0 1px 4px #0000001a;
    border-top-right-radius: 1.625rem !important;
    border-bottom-right-radius: 1.625rem !important;
}

.searchbox-button {
	position: absolute;
	top: 8px;
    right: 30px;
    background: none;
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0;
}

.borde1 {
	border: 1px solid black;
}

.borde2 {
	border: 1px solid white;
}

.borde3 {
	border: 1px solid red;
}


.clubes {
	border: 1px solid #ccc;
	border-radius: 5px;
	overflow: auto;
	max-height: 480px;
}

#titles-list li {
	line-height: 45px;
}

.numtitles {
	display: inline-block;
	width: 57px;
	padding: 0.375rem 0.75rem;
    font-size: 0.9rem;
    font-weight: 400;
    line-height: 1.6;
    color: var(--bs-body-color);
    appearance: none;
    background-color: var(--bs-body-bg);
    background-clip: padding-box;
    border: var(--bs-border-width) solid var(--bs-border-color);
    border-radius: var(--bs-border-radius);
    transition: border-color 0.15sease-in-out, box-shadow 0.15sease-in-out;	
    float: right;
}

.floatright {
	float: right;
}

.floatleft {
	float: left;
}

.smallfont {
	font-size: 0.7rem;
}


.input-dropdown-container {
    position: relative;
    width: 100%; /* Asegura que ocupe todo el ancho del input-group */
}
.dropdown-menu {
    position: fixed; /* Usar fixed para evitar desplazamiento con el teclado */
  top: auto; /* Ajustar posición dinámicamente */
  left: 0;
  width: 100%;
  overflow-y: auto;
  z-index: 10000; /* Muy alto para evitar solapamientos */
  background-color: white;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
}

.dropdown-player-item {
	line-height: 48px;
	vertical-align: middle;
	padding: 0 0.8rem !important;
	margin: 0.8rem 0 ;
}

.dropdown-player-item img {
	display: inline-block;
	height: 100%
}

.dropdown-player-item:hover {
	background-color: #CCC !important;
	cursor: pointer;
}

.tinythumb {
    max-height: 50px;
    border-radius: 50%;
}

.text-justify {
	text-align: justify;
}

.player-div-box {
	border: 1px solid #CCC;
	border-radius: 15px;
	background-color: #141C23;
}

.round-thumb {
	width: 80px;
    height: 80px;
    border-radius: 50%;
    object-fit: cover;
    
}

.padding-top-5 {
	padding-top: 3rem !important;
}

.padding-five {
	padding: 3rem !important;
}

.margin-top-5 {
	margin-top: 3.5rem !important;
}

.data-row {
	display: flex;
}

.data-player-id {
	flex-wrap: nowrap;
}

.player-data {	
	color: #FFF !important;
	flex-wrap: wrap;
	gap: 6px;
	justify-content: space-between;
	
}

.player-data ul {
	list-style-type: none;
	padding-left: 0.2rem;
	font-weight: 600;
}

.player-data h3 {
	font-size: 15.2px;
    font-weight: 500;
    font-style: normal;
}

.player-data h4 {
	font-size: 21px;
    font-weight: 700;
    line-height: 1 !important;
}


.club-badge {
	max-width: 30px;
	margin-right: 10px;
}

.wrong-guess {
	background-color: #454545 !important;
}

.right-guess {
	background-color: hsl(115, 29%, 43%) !important;
}

.partial-guess {
	background-color: hsl(49, 51%, 47%);
}

.player-data-item {
	border-radius: 10px;
	width: 31%;
	margin-bottom: 10px;
	padding: 10px;
	transition: transform 250ms linear;
}

.player-data-item-wide {
	border-radius: 10px;
	width: 48%;
	padding: 10px;
	transition: transform 250ms linear;
}

.attribute-item {
	display: grid;
    place-items: center; /* Centra tanto horizontal como verticalmente */
}

.attribute-item p {
	line-height: 1.1rem;
    margin-bottom: 0;
    color: #fff;
}

.width50 {
	width: 50%;
	margin: 0 auto;
}

.player-data-item.flip {
    transform: rotateY(90deg);
}

.player-data-item-wide.flip {
    transform: rotateY(90deg);
}

.player-data-item-wide li div {
	display: inline-block;
	vertical-align: text-top; 
}

.badge-box {
	width: 17%;
}

.club-name-box {
	width: 83%;
}

.num-titles-box {
	width: 10%;
}

.name-titles-box {

	width: 90%;
	padding-left: 3px;
}

.marginleft-li-15 {
	margin-left: 15px;
}

.marginright-li-15 {
	margin-right: 15px;
}

.mr15 {
	margin-right: 15px;
}

.oculto {
	display: none;
}

.guesses-remaining {
	color: #fff;
    text-align: right;
    margin-bottom: 5px;
    margin-right: 12.5px;
    font-size: 15px;
}

@media screen and (max-width: 910px) {
	.player-data h4 {
		font-size: 18px;
		font-weight: 600;
	}

	.badge-box {
		width: 25%;
	}

	.club-name-box {
		width: 75%;
		padding-left: 3px;
	}

	.num-titles-box {
		width: 15%;
	}

	.name-titles-box {

		width: 85%;
		padding-left: 0;
	}

	.player-data-item-wide {

		padding: 4px;
	}

	.player-data h4 {
		font-size: 17px;
		font-weight: 600;
	}

	.player-data h4 {
		font-size: 14px;
	}

	.player-div-box h2 {
		padding-top: 4%;
	}


}

@media (max-width: 768px) {
  #logo {
    min-height: 150px; /* Altura menor para pantallas más pequeñas */
  }

  .width50 {
	width: 100%;
  }
}

@media (max-width: 480px) {
	#logo {
		min-height: 150px;
	}

	#logo h1 {
		font-size: 2.8rem; /* Tamaño de fuente menor para móviles */
	}

	#logo span {
		font-size: 1.5rem;
		vertical-align: text-top;

		padding-top: 8px;
	}

  	.headline__text {
	    line-height: 18px;
	    font-size: 14px;
	    margin: 0 0 5px;
	    
	}

	.headline__text_just {
		text-align: justify;
	}

	.padding-five {
		padding: 1.5rem !important;
	}

	.width50 span, .width50 p {
		line-height: 20px !important;
		font-size: 15px !important;
	}

}

@media screen and (max-width: 450px) {

	.player-div-box.p-3 { /* Combinamos ambas clases */
	    padding: 0.5rem !important; /* Equivale a p-2 en Bootstrap */
	}

	.player-data-item {
		margin-bottom: 5px;
	}

	.player-data-item-wide {
		padding: 4px 3px;
	}

	.hideicon {
		display: none;
	}

	.padding-top-5 {
		padding-top: 2rem !important;
	}

	.margin-top-5 {
		margin-top: 1rem !important;
	}

	.marginleft-li-15 {
		margin-left: 7px;
	}

	.marginright-li-15 {
		margin-right: 0;
	}

	.club-badge {
		max-width: 23px;
		margin-right: 0;
	}

	.player-data ul {
		padding-left: 0.1rem;
		font-weight: 600;
	}

	.club-name-box {
		font-weight: 600;
		font-size: 15px;
	}

	.player-data h4 {
		font-size: 16px;
		font-weight: 600;
	}

	.player-div-box h2 {
		padding-top: 0;
	}

	.num-titles-box {
		width: 12%;
		font-size: 15px;
	}

	.name-titles-box {

		width: 88%;
		padding-left: 0;
		font-size: 15px;
	}	

	.round-thumb {
		width: 70px;
    	height: 70px;
	}

	.g-4, .gy-4 {
	    --bs-gutter-y: 1rem !important;
	}

	.g-4, .gx-4 {
	    --bs-gutter-x: 1rem !important;
	}

	.row-stats {
		margin-left: 0 !important;
	}


}

@media screen and (max-width: 450px) {
	.player-data h4 {
		font-size: 14px;

	}
}