@media only screen and (max-width: 768px) {
    .kep {
        max-width: 65px!important;
        max-height: 65px!important;
        margin-left: 5px!important;
        margin-right: 5px!important;
    }

    .hearts {
        top: 0px!important;
        right: 0px!important;
    }

    .hearts .heart {
        width: 15px!important;
        height: 15px!important;
      }

      .hearts .heart:after {
        width:15px!important;
        height:15px!important;
        font-size:14px!important;
      }

    .kep-100 {
        max-width: 60px!important;
        max-height: 60px!important;
        margin-left: 4px!important;
        margin-right: 4px!important;
    }
    .kep-100-rating {
        max-width: 55px!important;
        max-height: 55px!important;
        margin-left: 4px!important;
        margin-right: 4px!important;
    }
    #star_1::after, #star_2_1::after, #star_2_2::after, #star_medal_s::after, #star_medal_m::after, #star_3_1::after, #star_3_2::after, #star_3_3::after, #star_medal_goblet_s::after, #star_medal_goblet_m::after, #star_medal_goblet_g::after {
        width: 5px!important;
        height: 5px!important;
    }
    .particletext {
        font-size:20px!important;
    }
    .smaller {
        font-size: 16px!important;
    }
    .small-smaller {
        font-size: 15px!important;
    }
    .mb-25-sm-5{
        margin-bottom: 15px !important;
    }

    .next_btn {
        padding: 2px 10px !important;
        font-size: 12px!important;
        line-height: 1.5!important;
        height: auto!important;
    }

    .btn-width {
        margin-top: 0px!important;
        margin-right: 0px!important;
    }
}
@media only screen and (max-width: 1000px) {
    .small-smaller {
        font-size: 15px!important;
    }
    .mb-25-sm-5{
        margin-bottom: 20px !important;
    }
    #bulb {
        width: 165px !important;
        height: 220px !important;
        background-image: url('/assets/images/matekmindenkinek/dicsosegfal/bulb_turn_on_sm.png') !important;
        animation: lamp 1s linear !important;
    }
    .bottom-messages {
        bottom: 7px!important;
    }

    @keyframes flyingEven {
        0% {
          transform: translate(5px, 10px) scale(1);
          opacity: 1;
          filter: blur(0px);
        }
        100% {
          transform: translate(0px, -80px) scale(1.5);
          opacity: 0;
          filter: blur(5px);
        }
      }


      @keyframes flyingOdd {
        0% {
          transform: translate(0, 0) scale(1);
          opacity: 1;
          filter: blur(0px);
        }
        100% {
          transform: translate(-60px, -80px) scale(1.5);
          opacity: 0;
          filter: blur(5px);
        }
      }
}
@media only screen and (max-width: 490px) {
    .kep-100-rating {
        max-width: 43px!important;
        max-height: 43px!important;
        margin-left: 4px!important;
        margin-right: 4px!important;
    }
    .small-smaller {
        font-size: 12px!important;
    }
    .mb-25-sm-5{
        margin-bottom: 10px !important;
    }
    #bulb {
        width: 165px !important;
        height: 220px !important;
        background-image: url('/assets/images/matekmindenkinek/dicsosegfal/bulb_turn_on_sm.png') !important;
        animation: lamp 1s linear !important;
    }
    .phone {
        height: 60px!important;
        width: 30px!important;
        border-radius: 5px!important;
    }
    .btn {
        font-size:12px!important;
    }
    .bottom-messages {
        bottom: 5px!important;
    }
}
@media only screen and (max-width: 390px) {
    .kep-100-rating {
        max-width: 35px!important;
        max-height: 35px!important;
        margin-left: 4px!important;
        margin-right: 4px!important;
    }
    .small-smaller {
        font-size: 10px!important;
    }
    .mb-25-sm-5{
        margin-bottom: 5px !important;
    }
    #bulb {
        width: 165px !important;
        height: 220px !important;
        background-image: url('/assets/images/matekmindenkinek/dicsosegfal/bulb_turn_on_sm.png') !important;
        animation: lamp 1s linear;
    }
    .phone {
        height: 60px!important;
        width: 30px!important;
        border-radius: 5px!important;
    }
    .btn {
        font-size:10px!important;
    }
    .bottom-messages {
        bottom: 3px!important;
    }
}

@media only screen and (min-width: 1001px) {
    .mb-25-sm-5{
        margin-bottom: 25px !important;
    }

    @keyframes flyingEven {
        0% {
          transform: translate(5px, 10px) scale(1);
          opacity: 1;
          filter: blur(0px);
        }
        100% {
          transform: translate(0px, -200px) scale(1.5);
          opacity: 0;
          filter: blur(5px);
        }
      }


      @keyframes flyingOdd {
        0% {
          transform: translate(0, 0) scale(1);
          opacity: 1;
          filter: blur(0px);
        }
        100% {
          transform: translate(-60px, -200px) scale(1.5);
          opacity: 0;
          filter: blur(5px);
        }
      }
}

.phone {
    height: 150px;
    width: 75px;
    border: 3px solid white;
    border-radius: 10px;
    animation: rotate 1.5s ease-in-out infinite alternate;
}

.phone_small {
    height: 25px;
    width: 13px;
    border: 2px solid white;
    border-radius: 3px;
    display: block;
    position: absolute;
    left: -22px;
    top: -5px;
    animation: rotate 1.5s ease-in-out infinite alternate;
}

.spec-shiny::after
{
    content: "";
    -webkit-animation: sparkle 4s infinite;
    animation: sparkle 4s infinite;
    -webkit-animation-timing-function: linear;
    animation-timing-function: linear;
    animation-delay: 6s;
    background: #FFF;
    border-radius: 100%;
    box-shadow: 0 0 5px #FFF, 0 0 10px #FFF, 0 0 15px #FFF, 0 0 20px #FFF, 0 0 25px #FFF, 0 0 30px #FFF, 0 0 35px #FFF;
    visibility: hidden;
    display: block;
    height: 10px;
    opacity: 0.7;
    position: absolute;
    width: 10px;
}

#star_1::after {
    top:33%;
    left:85%;
}
#star_medal_s::after{
    top:33%;
    left:90%;
}

#star_2_1::after{
    top:33%;
    left:42%;
}

#star_2_2::after{
    top:33%;
    left:95%;
}
#star_medal_m::after{
    top:12%;
    left:36%;
}
#star_medal_goblet_s::after{
    top:35%;
    left:94%;
}

#star_3_1::after{
    top:35%;
    left:27%;
}

#star_3_2::after{
    top:35%;
    left:62%;
}
#star_3_3::after{
    top:35%;
    left:95%;
}
#star_medal_goblet_m::after{
    top:16%;
    left:54%;
}
#star_medal_goblet_g::after{
    top:25%;
    left:29%;
}

.confetti_div {
    font-family: sans-serif;
    color: #FFF;
}
.borderbackground {
    color: #FFF;
    background-color: rgb(173, 40, 118, 0.8);  /*#AD2876; rgba(156,39,176,0.5);*/
    font-weight: bold;
    border-radius: 20px; /* Making border radius */
    width: auto; /* Making auto-sizable width */
    height: auto; /* Making auto-sizable height */
    padding: 5px 30px 5px 30px;
}
.textcontainer {
    text-align:center;
}
.particletext {
    text-align:center;
    font-size:40px;
    position: relative;
}
.confetti > .particle{
        opacity:0;
        position: absolute;
        animation: confetti 3s ease-in infinite;
        animation-delay: 2s;
}

.bottom-messages{
    bottom: 10px;
    position: absolute;
    color: #FFF;
    font-family: sans-serif;
}
.c1 {
    background-color:rgba(76,175,80,0.5);
}
.c2 {
    background-color:rgba(156,39,176,0.5);
}
.kep {
    max-width: 120px;
    max-height: 120px;
}
.kep-100 {
    max-width: 100px;
    max-height: 100px;
}
.kep-100-rating {
    max-width: 100px;
    max-height: 100px;
}
.smaller {
    font-size:28px;
}
.small-smaller {
    font-size: 22px;
}

.hearts {
    position: absolute;
    top: -15px;
    right: 0px;
  }
  .hearts .heart {
    position: absolute;
    list-style: none;
    width: 32px;
    height: 32px;
    margin: 0px;
    top: 0;
    right: 0;
  }

  .hearts .heart:after {
    position: absolute;
    content: "?";
    color:#fff;
    background-color:#AD2876;
    width:32px;
    height:32px;
    display:inline-block;
    border-radius:100%;
    font-size:30px;
    font-family: 'Raleway',Arial,Helvetica,sans-serif !important;
    text-align:center;
    text-decoration:none;
    font-weight: bold;
  }

  .hearts.flying > .heart:nth-child(even) {
    opacity: 0;
    animation: 2.8s flyingEven linear infinite;
  }
  .hearts.flying > .heart:nth-child(odd) {
    opacity: 0;
    animation: 2.8s flyingOdd linear infinite;
  }
  .hearts.flying > .heart:nth-child(1) {
    animation-delay: 0.2s;
  }
  .hearts.flying > .heart:nth-child(2) {
    animation-delay: 0.3s;
  }
  .hearts.flying > .heart:nth-child(3) {
    animation-delay: 0.6s;
  }
  .hearts.flying > .heart:nth-child(4) {
    animation-delay: 1.5s;
  }
  .hearts.flying > .heart:nth-child(5) {
    animation-delay: 2.2s;
  }
  .hearts.flying > .heart:nth-child(6) {
    animation-delay: 2.9s;
  }
  .hearts.flying > .heart:nth-child(7) {
    animation-delay: 3.2s;
  }
  .hearts.flying > .heart:nth-child(8) {
    animation-delay: 3.5s;
  }
  .hearts.flying > .heart:nth-child(9) {
    animation-delay: 3.8s;
  }
  .hearts.flying > .heart:nth-child(10) {
    animation-delay: 4.1s;
  }
  .hearts.flying > .heart:nth-child(11) {
    animation-delay: 4.5s;
  }
  .hearts.flying > .heart:nth-child(12) {
    animation-delay: 8s;
  }

  @keyframes blink {
    0%, 100% { opacity: 0; }
    50% { opacity: 1; }
  }


@keyframes bulb {
    0%, 60%, 80%{
        background-image: url('/assets/images/matekmindenkinek/dicsosegfal/bulb_turn_off.png');
    }
    40%, 70%, 90%, 100% {
        background-image: url('/assets/images/matekmindenkinek/dicsosegfal/bulb_turn_on.png');
    }
}

@keyframes lamp {
    0%{
        background-image: url('/assets/images/matekmindenkinek/dicsosegfal/bulb_turn_off_sm.png');
        margin-left:200px;

    }
    100% {
        background-image: url('/assets/images/matekmindenkinek/dicsosegfal/bulb_turn_on_sm.png');
        margin-left: 0px;
    }
}

@keyframes confetti {
    0% {
       opacity:0;
       transform:translateY(0%) rotate(0deg);
    }
    10% {
       opacity:1;
    }
    35% {
       transform:translateY(-800%) rotate(270deg);
    }
    80% {
       opacity:1;
    }
    100% {
       opacity:0;
       transform:translateY(2000%) rotate(1440deg);
    }
 }

@keyframes sparkle
{
    from {visibility: visible;}
    0%   { opacity: 0; }
    30%  { opacity: 0; }
    40%  { opacity: 0.8; }
    60%  { opacity: 0; }
    100% { opacity: 0; }
}

@keyframes rotate {
    0% {
        transform: rotate(0deg)
    }
    50% {
        transform: rotate(-90deg)
    }
    100% {
        transform: rotate(-90deg)
    }
}

@keyframes fadeInDownMessage {
    from {
      opacity: 0;
      -webkit-transform: translate3d(0, -100%, 0);
      transform: translate3d(0, -100%, 0); }
    to {
      opacity: 1;
      -webkit-transform: translate3d(0, 0, 0);
      transform: translate3d(0, 0, 0); } }

@keyframes fadeOutDownMessage {
    0% {
      opacity: 1; }
    90% {
        -webkit-transform: translate3d(0, 100%, 0);
        transform: translate3d(0, 100%, 0);
      opacity: 0;
      }
    100% {
        opacity: 0;
        }

}
