h1 {
        font-size: inherit !important;
    }
.shadow{
    -webkit-box-shadow: 0px 0px 32px 0px rgba(0,0,0,0.2);
    -moz-box-shadow: 0px 0px 32px 0px rgba(0,0,0,0.2);
    box-shadow: 0px 0px 32px 0px rgba(0,0,0,0.2);
}
.oswald {
    font-family: 'Oswald', sans-serif;
    font-size: 3.25em;
    text-transform: uppercase;
    font-weight: 300;
}
.lobster {
    font-family: 'Lobster Two', sans-serif;
    font-size: 9em;
    color: #D2B65A;
}
#header{
    background-image: url('../images/bg-header.webp');
    background-position: bottom;
    background-size: cover;
    background-repeat: no-repeat;
    height: 100vh;
}
#section2 {
    background-image: url(../images/bg-map.webp);
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    padding: 5% 0;
}
#section3{
    background-image: url(../images/bg-mas-premiados.webp);
    background-position: center;
    background-repeat: no-repeat;
    background-size: contain;
    padding: 5% 0;
}
#section4 {
    background-image: url(../images/bg-boletos.webp);
    background-repeat: no-repeat;
    background-position: center;
    background-size: contain;
}
#section5 {
    background-image: url(../images/bg-section.webp);
    padding: 14% 0;
    background-position: center;
    background-size: contain;
    background-repeat: no-repeat;
}
#section5Mobile{
        display: none;
    }
#section6{
    background-image: url('../images/bg-footer.webp');
    background-position: top;
    background-size: cover;
    background-repeat: no-repeat;
    padding: 2% 0;
}
#section6 .title-container{
    color: white;
}
#footer .logo-footer{
    width: 130px;
}
#section2 p {
    text-align: center;
    font-size: 35px;
    width: 80%;
    margin: 0 auto;
}
#header img{
    margin: 0 auto;
    display: block;
}

#header h1{
    color: white;
    text-align: center;
    font-family: 'Oswald', sans-serif;
}
.one {
    /*text-align: left;*/
    width: 10%;
    margin-left: 40%;
}
.two {
    margin-top: -5%;
}
.three {
    /*width: 70%;*/
    /*text-align: right;*/
    margin-top: -2%;
}
.four {
    margin-top: -3%;
    /*text-align: right;*/
    /*margin-right: 17%;*/
}
.five {
    /*text-align: right;*/
    margin-left: 17%;
    margin-top: -2%;
}
.six {
    /*text-align: left;*/
    /*margin-left: 22%;*/
}
.seven {
    margin-top: -4%;
}
.eight {
    margin-top: -4%;
    /*text-align: right;*/
    /*margin-right: 15%;*/
}
.nine {

}
.ten {
    margin-top: -4%;
}
.eleven {
    margin-top: -4%;
}
.twelve {
    /*text-align: left;*/
    margin-left: -32%;
}
.thirteen {
    /*text-align: left;*/
    margin-top: -7%;
}
.fourteen {
    margin-top: -4%;
}
.fiveteen {
    /*text-align: right;*/
    margin-top: -4%;
}
.sixteen {
    /*text-align: right;*/
    margin-top: -3%;
}
.eighteen {
    margin-top: -4%;
}

.home-container {
    display: flex;
    flex-direction: column;
    height: 100%;
}

span.two {
    font-size: 200px;
}
span.four {
    font-size: 150px;
}

.search-container {
  width: 490px;
  display: block;
  margin: 0 auto;
}

input#search-bar {
    margin: 0 auto;
    width: 100%;
    height: 65px;
    padding: 0 30px;
    font-size: 1rem;
    border: 1px solid #D0CFCE;
    outline: none;
    border-radius: 50px;
}
input#search-bar:focus {
  border: 1px solid #008ABF;
  transition: 0.35s ease;
  color: #008ABF;
}
input#search-bar:focus::-webkit-input-placeholder {
  transition: opacity 0.45s ease;
  opacity: 0;
}
input#search-bar:focus::-moz-placeholder {
  transition: opacity 0.45s ease;
  opacity: 0;
}
input#search-bar:focus:-ms-placeholder {
  transition: opacity 0.45s ease;
  opacity: 0;
}

.search-icon {
    position: absolute;
    float: right;
    width: 75px;
    height: 75px;
    top: -4px;
    right: 0;
}
.resultado {
    width: 100%;
    display: flex;
    flex-direction: row;
    align-content: flex-start;
    align-items: flex-start;
    align-items: center;
}
.numero-loteria {
    position: relative;
}
.numero-buscado {
    position: absolute;
    font-family: 'Oswald', sans-serif;
    font-weight: 900;
    font-size: 55px;
    letter-spacing: 13px;
    right: 23%;
    top: 7%;
}
.veces-tocado, .probabilidades {
    padding: 5% 0;
    align-items: center;
}
.tag {
    width: 100%;
    font-family: 'Oswald';
    text-transform: uppercase;
    background-color: #d2b65a;
    /*background-image: url(../images/arrow.svg);
    background-size: cover;
    background-position: right;
    background-repeat: no-repeat;*/
    padding: 10px 30px 10px 10px;
    color: white;
    display: flex;
    align-content: center;
    align-items: center;
    justify-content: center;
}

.tag p{
    margin-bottom: 0;
    padding: 0;
}
.probabilidad p, .premiado p {
    display: flex;
    align-items: center;
    font-size: 50px;
    margin-bottom: 0;
    padding: 0 20px;
    font-family: 'Oswald', sans-serif;
    font-weight: 900;
    text-align: center;
    justify-content: center;
}


svg#svg2 {
    width: 80%;
}
.spain-map-container {
    text-align: center;
}

.span-map-item {
    display: inline-block;
}

.state,
.state * {
    transition: all 0.8s ease;
    cursor: pointer;
}

.state.active * {
    fill: #D2B65A !important;
}

.state:hover * {
    fill: #D2B65A !important;
}

.state.active:hover * {
    fill: #D2B65A !important;
}

.box-comunidad {
    display: none;
}

.box-comunidad.active {
    display: block;
}

/* modal mapa */

.state-modal {
  z-index: 1;
}

.state-modal-contaniner{
  text-align: center;
}

p.state-modal-number {
    font-family: 'Oswald';
    font-weight: 900;
    font-size: 60px;
    padding: 0;
    margin: 0;
}

.state-modal {
    position: absolute;
    background-color: white;
    min-width: auto;
    padding: 25px 20px 20px 20px;
    transition: top 0.3s ease, left 0.3s ease;
    -webkit-box-shadow: 0px 0px 40px 0px rgba(0,0,0,0.3);
    -moz-box-shadow: 0px 0px 40px 0px rgba(0,0,0,0.3);
    box-shadow: 0px 0px 40px 0px rgba(0,0,0,0.3);
    border-radius: 20px;
}

.state-modal-title{
  cursor: pointer;
    text-align: center;
    font-size: 20px;
    color: #111111;
    font-family: 'Oswald', sans-serif;
    text-transform: uppercase;
    font-weight: 600;
    padding: 0;
    /*background-color: #ff6700;
    border-radius: 50px;*/
    margin: 0;
}
.state-modal-title:hover,
.box-comunidad .img-center a:hover{
  text-decoration: none;
}
.state-modal .state-modal-buttons {
   text-align: center;
   margin-top: 12px;
}

.state-modal-close {
  transition: all 0.3s ease;
  position: absolute;
  right: 10px;
  top: 10px;
}

.state-modal-close img{
    width: 20px;
  }

.state-modal-corner {
  content: "";
  display: block;
  position: absolute;
  width: 20px;
  height: 20px;
  transform: rotate(45deg);
  top: -10px;
  background-color: white;
  border: red;
}
.state-modal:before {
    
}
.state-modal-person {
    font-family: 'Oswald';
    text-transform: uppercase;
    margin: 0;
}


.imagenes-premiados {
    position: relative;
    padding: 5% 0;
    height: 500px;
}
img.cupon1 {
    position: absolute;
    top: 0;
    left: 15%;
    transform: rotate(4.74deg);
}
img.cupon2 {
    right: 15%;
    position: absolute;
    top: 170px;
    transform: rotate(-5.5deg);
}

.element-card {
  position: relative;
  width: 100%;
  height: 350px;
  transform-style: preserve-3d;
  transform: rotatey(0deg) translatex(0px) translatey(0px);
  transition: all 0.6s cubic-bezier(0.68, -0.55, 0.265, 1.55);
  box-shadow: 4px 4px 20px rgba(0, 0, 0, 0.4);
  margin: 5px;
  cursor: pointer;
  padding: 50px;
}
/*.element-card:hover {
  transform: rotatey(45deg) translatex(0px) translatey(0px);
}*/
.element-card.open {
  width: 100%;
  height: 350px;
  transform: rotatey(-180deg) translatex(0px) translatey(0px);
}
.element-card .front-facing {
      transform: rotateY(0deg) translateZ(2px);
      position: absolute;
      top: 0;
      left: 0;
      bottom: 0;
      right: 0;
      background-color: #ffffff;
      /*border-radius: 5px;*/
      padding: 8%;
      text-align: center;
      font-family: 'Oswald', sans-serif;
      text-transform: uppercase;
      display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}
.front-facing p {
    font-size: 30px;
    line-height: 35px;
}
.front-facing p span {
    font-weight: 900;
}
.element-card .front-facing .abr {
  width: 100%;
  position: absolute;
  top: 50%;
  left: 0;
  font-size: 42px;
  margin: -35px 0 0 0;
  text-align: center;
  color: #3498db;
}
.element-card .front-facing .title {
  width: 100%;
  position: absolute;
  top: 50%;
  left: 0;
  text-transform: uppercase;
  font-size: 12px;
  margin: 15px 0 0 0;
  text-align: center;
  color: #3498db;
}
.element-card .front-facing .atomic-number {
  position: absolute;
  top: 10px;
  left: 10px;
  font-size: 12px;
  color: #2980b9;
}
.element-card .front-facing .atomic-mass {
  position: absolute;
  bottom: 10px;
  right: 10px;
  font-size: 12px;
  color: #2980b9;
}
.element-card .back-facing p span {
    font-size: 82px;
    font-weight: 900;
    line-height: 70px;
}
.element-card .back-facing {
  transform: rotateY(180deg) translateZ(0px);
  display: flex;
  flex-direction: column;
  flex-wrap: nowrap;
  justify-content: center;
  align-items: center;
  position: absolute;
  top: 0;
  left: 0;
  bottom: 0;
  right: 0;
  background-color: #ffffff;
  padding: 20px;
  text-align: center;
  overflow: hidden;
  padding: 10%;
  text-align: center;
  font-family: 'Oswald', sans-serif;
  text-transform: uppercase;
}
.back-facing img {
    transform: rotate(45deg);
    width: 35px;
    margin-top: 10px;
}
.element-card .back-facing p {
  font-size: 30px;
  margin: 0;
}
.element-card .back-facing a.btn {
  display: inline-block;
  background-color: white;
  padding: 5px 15px;
  margin: 20px 0 0 0;
  color: #eee;
  background-color: #3498db;
  text-decoration: none;
  border-radius: 3px;
}
.element-card .back-facing a.btn:hover, .element-card .back-facing a.btn:focus {
  color: #fff;
  background-color: #2980b9;
}

.suppoprt-me {
  display: inline-block;
  position: fixed;
  bottom: 10px;
  left: 10px;
  width: 20vw;
  max-width: 250px;
  min-width: 200px;
  z-index: 9;
}
.suppoprt-me img {
  width: 100%;
  height: auto;
}

.carousel-control-next, .carousel-control-prev {
    top: 35% !important;
    width: 50px !important;
    height: 50px !important;
    border-radius: 50px !important;
    opacity: 1 !important;
    background-color: #f1bf2c !important;
}

.text-carousel {
    display: flex;
    align-items: center;
    font-size: 25px;
    line-height: 35px;
}
.box-number{
    position: relative;
}
.active-confetti{
    transform: scale(0);
    position: absolute;
    width: 150px;
    height: auto;
    z-index: 999;
}

.numero-premiado.hover-confetti:hover + .active-confetti{
    transform: scale(1);
}
.numero-premiado.hover-confetti {
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
}
.numero-premiado .mini-text {
    font-size: 16px;
    font-weight: 400;
    /* margin: -21px; */
    background-color: #1f3f3e;
    color: white;
    padding: 5px 20px;
    border-radius: 50px;
}
.numero-premiado .number {
    font-weight: 900;
    margin: 0;
    padding: 0;
    font-size: 5em;
    color: #D73434;
}
.numero-premiado small {
    font-size: 16px;
}
.info2 p, .info1 p {
    font-size: 50px;
    font-weight: 600;
    margin: 0;
    color: #9c780d;
}
.info1 {
    background-image: url('../images/star.svg');
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    position: absolute;
    padding: 50px;
    border-radius: 15px;
    text-align: center;
    font-family: 'Oswald';
    width: 250px;
    height: 250px;
}
.info2 {
    background-image: url('../images/star.svg');
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    position: absolute;
    padding: 50px;
    border-radius: 15px;
    text-align: center;
    font-family: 'Oswald';
    width: 250px;
    height: 250px;
}
.info1.scale-image {
    right: 24%;
    top: -10%;
    z-index: 0;
    width: 250px; /* Debe coincidir con la imagen de hover */
    height: auto;
    transform: scale(0); /* Comienza en escala 0 */
    transition: transform 0.3s ease; /* Transición suave */
}

.hover-image:hover + .scale-image {
    transform: scale(1); /* Escala a 1 al hacer hover */
}
.info2.scale-image2 {
    bottom: -8%;
    left: 25%;
    z-index: 0;
    width: 250px; /* Debe coincidir con la imagen de hover */
    height: auto;
    transform: scale(0); /* Comienza en escala 0 */
    transition: transform 0.3s ease; /* Transición suave */
}

.hover-image2:hover + .scale-image2 {
    transform: scale(1); /* Escala a 1 al hacer hover */
}

.box-number {
    margin-bottom: 6%;
}
.numero-premiado {
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    border-radius: 15px;
    -webkit-box-shadow: 0px 17px 23px -7px rgba(0, 0, 0, 0.21);
    -moz-box-shadow: 0px 17px 23px -7px rgba(0, 0, 0, 0.21);
    box-shadow: 0px 17px 23px -7px rgba(0, 0, 0, 0.21);
    padding: 20px 0;
}    
div#carouselExample {
    color: white;
}


.share-button .social{
    margin-top: 20px;
}
.share-button .social p{
    color: white;
}
.share-button .social a{
    color: transparent;
}
.share-button .social img {
    width: 30px;
    background: white;
    padding: 5px;
    margin: 0 5px;
    border-radius: 10px;
}
.logo-share {
    display: flex;
    /* flex-direction: row; */
    align-content: center;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
}
.text-oraculo{
    text-align: center;
    font-size: 18px;
    margin: 20px auto;
    width: 80%;
}