/* Header */
body {
    font-family: 'Roboto', sans-serif;
    font-style: normal;
}

header {
    /* position: fixed; */
    z-index: 2;
    width: 100%;
    display: -webkit-box !important;
    display: -ms-flexbox !important;
    display: flex !important;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center;
    padding: 25px 25px 45px;
    opacity: 0;
    -webkit-transition: .4s ease;
    transition: .4s ease;
}

header.start {
    opacity: 1;
    -webkit-transition: .5s ease-in-out;
    transition: .5s ease-in-out;
}

header .logo {
    height: 24px;
}

header .wordle-txt {
    color: white;
    font-size: 16px;
    padding-right: 3px;
    line-height: 12px;
    text-transform: uppercase;
    font-weight: 700;
    text-align: right;
    margin-right: -3px;
    font-family: monospace;
    letter-spacing: 1px;
}

.letter.current:before {
    content: '';
    position: absolute;
    left: 15px;
    top: 50%;
    -webkit-transform: translateY(-50%);
    transform: translateY(-50%);
    height: 25px;
    width: 3px;
    background-color: #067dc0;
    -webkit-animation: blink-caret-bg 1.5s step-end infinite;
    animation: blink-caret-bg 1.5s step-end infinite;
}

/* Content */
body {
    color: white;
    background-color: #007cbf;
    background: radial-gradient(100% 200% at 10% -15%, #1aaae2, #005687);
    background-attachment: fixed;
    background-size: cover;
    background-position: center;
}

div#tsparticles {
    pointer-events: none;
    height: 100vh;
    /* mobile viewport bug fix */
    min-height: -webkit-fill-available;
    width: 100vw;
    position: fixed;
    z-index: -1;
    opacity: .7;
}

div#tsparticles.start {
    opacity: .4;
    -webkit-transition: .5s ease-in-out;
    transition: .5s ease-in-out;
}

/* INTRO */
.intro {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    padding: 30px 0 30px;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: flex-end;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -ms-flex-direction: column;
    flex-direction: column;
    width: 240px;
    height: 100vh;
    /* mobile viewport bug fix */
    min-height: -webkit-fill-available;
    -webkit-transition: .5s ease-in-out;
    transition: .5s ease-in-out;
    position: fixed;
    top: 0px;
    left: 50%;
    -webkit-transform: translate(-50%, 0%);
    transform: translate(-50%, 0%);
    /* pointer-events: none; */
    margin: auto;
    overflow: hidden;
}

.intro .text-traz {
    margin-top: 5px;
}

.intro .text-traz.mobile {
    /* transform: scale(3); */
}

.intro .text-traz.fibra {
    -webkit-transform: translate(100vw, 0);
    transform: translate(100vw, 0);
}

.wordle-txt span {
    font-weight: 700;
    text-transform: uppercase;
    font-size: 25px;
    text-align: right;
    /* padding-top: 5px; */
}

.intro img {
    max-width: 100%;
}

.intro .vs-box {
    width: 70%;
    height: 160px;
    position: relative;
    z-index: -1;
    -webkit-transform: scale(10);
    transform: scale(10);
    -webkit-transition: 1s ease-in-out;
    transition: 1s ease-in-out;
}

.vs-box.start {
    -webkit-transform: scale(1);
    transform: scale(1);
}

.intro .vs-box .vs-traz {
    width: 90px;
    position: absolute;
    left: 50%;
    top: 50%;
    -webkit-transform: translate(-50%, -50%);
    transform: translate(-50%, -50%);
    -webkit-transition: 1.8s cubic-bezier(0.2, 0.36, 0.63, 0.95) 0s;
    transition: 1.8s cubic-bezier(0.2, 0.36, 0.63, 0.95) 0s;
}

.intro .vs-box .vs-traz.v {
    -webkit-transform: translate(10%, -150%);
    transform: translate(10%, -150%);
}

.intro .vs-box .vs-traz.s {
    -webkit-transform: translate(-80%, 45%);
    transform: translate(-80%, 45%);
}

.intro .vs-box.start .vs-traz.v {
    -webkit-transform: translate(-60%, -80%);
    transform: translate(-60%, -80%);
}

.intro .vs-box.start .vs-traz.s {
    -webkit-transform: translate(-25%, -20%);
    transform: translate(-25%, -20%);
}

.intro .vs-box .vs-traz.effect {
    width: 100px;
    opacity: 0;
    z-index: -1;
    -webkit-transform: rotate(1deg) translate(-50%, -50%);
    transform: rotate(1deg) translate(-50%, -50%);
    -webkit-transition: 1s ease-in-out .5s;
    transition: 1s ease-in-out .5s;
    -webkit-filter: brightness(1);
    filter: brightness(1);
}

.intro .vs-box.start .vs-traz.effect {
    -webkit-transform: rotate(0deg) translate(-50%, -50%);
    transform: rotate(0deg) translate(-50%, -50%);
    width: 170px;
    opacity: 1;
    -webkit-filter: brightness(1.3);
    filter: brightness(1.3);
}

.intro.start {
    opacity: 0;
    -webkit-transform: translate(-50%, 0%) scale(.5);
    transform: translate(-50%, 0%) scale(.5);
}

/* GAME */
.game, .game-box, .grid, #app {
    height: 680px;
    max-height: 80vh;
    width: 420px;
    max-width: 90vw;
    position: relative;
}

.game {
    -webkit-transition: .5s ease-in-out;
    transition: .5s ease-in-out;
    opacity: 0;
    margin: auto;
    /* display: flex; */
    -webkit-box-shadow: 0px 0px 0 10px rgb(84 163 206);
    box-shadow: 0px 0px 0 10px rgb(84 163 206);
}

.game.start {
    opacity: 1;
    /* transform: translate(-50%, 0%); */
}

.sublogo {
    height: 80px;
    /* width: 470px; */
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center;
    -webkit-transform: scale(1);
    transform: scale(1);
}

.sublogo img.text-traz {
    height: 34px;
    -webkit-transform: translate(0px, 0px);
    transform: translate(0px, 0px);
}

.sublogo img.text-traz.mobile {
    height: 40px;
    -webkit-transform: translate(0px, -5px);
    transform: translate(0px, -5px);
}

.sublogo .vs-traz {
    width: 30px;
    /* position: absolute; */
    -webkit-transform: translate(0px, 0px);
    transform: translate(0px, 0px);
}

.sublogo .vs-box {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center;
    margin: 0 -5px 0 10px;
    -webkit-transform: translateY(-4px);
    transform: translateY(-4px);
    position: relative;
}

.sublogo .vs-traz.effect {
    position: absolute;
    width: 60px;
    z-index: -1;
    -webkit-transform: translate(-7px, 6px);
    transform: translate(-7px, 6px);
    -webkit-filter: brightness(1.2);
    filter: brightness(1.2);
}

.sublogo .vs-traz.s {
    -webkit-transform: translate(-10px, 15px);
    transform: translate(-10px, 15px);
}

body.game-end .game-box {
    opacity: 0;
    -webkit-transform: scale(.5);
    transform: scale(.5);
    -webkit-transition: .5s ease-in-out 1s;
    transition: .5s ease-in-out 1s;
}

.offer-box h2 {
    font-family: 'Roboto', sans-serif;
    font-size: 1em;
    text-align: center;
}

span.sup-title {
    display: block;
    margin-bottom: 10px;
    font-size: 18px;
}

.end-message {
    font-size: 15px;
    margin-bottom: 30px !important;
}

.offer {
    background-color: white;
    margin: 20px auto;
    width: 60%;
    max-width: 300px;
    border-radius: 5px;
    padding: 10px 20px 5px;
    -webkit-box-shadow: 7px 7px 0 rgb(0 0 0 / 18%);
    box-shadow: 7px 7px 0 rgb(0 0 0 / 18%);
}

.offer img {
    width: 100%;
}

.offer-box {
    opacity: 0;
    pointer-events: none;
    position: absolute;
    left: 50%;
    top: 80px;
    -webkit-transform: translate(-50%, 0%);
    transform: translate(-50%, 0%);
    width: 90%;
    margin-top: 0px;
    z-index: 1;
    height: 0;
    overflow: hidden;
}

body.game-end .offer-box {
    opacity: 1;
    -webkit-transition: .5s ease-in-out .5s;
    transition: .5s ease-in-out .5s;
    pointer-events: all;
    height: auto;
    overflow: auto;
}

.buttons-wrapper {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -ms-flex-direction: column;
    flex-direction: column;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    margin-bottom: 50px;
}

p.see-you {
    font-size: 18px;
}

a.primary-btn {
    background: transparent -webkit-gradient(linear, left top, left bottom, from(#fdec4f), to(#eba709)) 0 0 no-repeat padding-box;
    background: transparent linear-gradient(180deg, #fdec4f 0%, #eba709 100%) 0 0 no-repeat padding-box;
    text-decoration: none;
    text-align: center;
    font-size: 1rem;
    line-height: 36px;
    padding: 0.1rem 1.5rem;
    text-transform: uppercase;
    color: #005181 !important;
    -webkit-box-shadow: 4px 4px 0px rgb(0 0 0 / 18%);
    box-shadow: 4px 4px 0px rgb(0 0 0 / 18%);
    border-radius: 50px;
    font-weight: 600;
    margin: 10px 0 10px;
}

.reset-btn {
    color: white !important;
    font-size: 16px;
    text-decoration: underline;
    padding-top: 25px;
    position: relative;
    text-align: center;
}

.reset-btn:before {
    content: '';
    height: 20px;
    width: 20px;
    display: block;
    position: absolute;
    left: 50%;
    -webkit-transform: translateX(-50%);
    transform: translateX(-50%);
    top: 0;
    /*background-image: url(../images/reset.png);*/
    background-size: 100%;
}

.sublogo .vs-traz.plus {
    position: absolute;
    -webkit-transform: scale(5);
    transform: scale(5);
    left: 5px;
    top: 0px;
    width: 35px;
    position: absolute;
    opacity: 0;
    -webkit-transition: .5s ease-in-out 1.8s !important;
    transition: .5s ease-in-out 1.8s !important;
}

.game-end .sublogo .vs-traz.plus {
    opacity: 1;
    -webkit-transform: scale(1);
    transform: scale(1);
}

.game-end .sublogo .vs-traz.v {
    -webkit-transform: translate(50px, -70px);
    transform: translate(50px, -70px);
    opacity: 0;
}

.game-end .sublogo .vs-traz.s {
    -webkit-transform: translate(-50px, 70px);
    transform: translate(-50px, 70px);
    opacity: 0;
}

.game-end .sublogo .vs-traz.effect {
    opacity: 0;
    -webkit-transition: .5s ease-in-out 1.3s !important;
    transition: .5s ease-in-out 1.3s !important;
}

.game-end .sublogo .vs-traz {
    -webkit-transition: .5s ease-in-out 1.3s;
    transition: .5s ease-in-out 1.3s;
}

.game-end .sublogo img.text-traz.mobile {
    -webkit-transform: translate(7px, -5px);
    transform: translate(7px, -5px);
}

.game-end .sublogo img.text-traz.fibra {
    -webkit-transform: translate(-7px, 0px);
    transform: translate(-7px, 0px);
}

.game-end .sublogo img.text-traz {
    -webkit-transition: .2s ease-in-out 2s;
    transition: .2s ease-in-out 2s;
}

.return-game .sublogo .vs-traz.plus {
    opacity: 0;
    -webkit-transform: scale(.4);
    transform: scale(.4);
    -webkit-transition: .5s ease-in-out 0s !important;
    transition: .5s ease-in-out 0s !important;
}

.return-game .sublogo .vs-traz.v {
    -webkit-transform: translate(0px, 0px);
    transform: translate(0px, 0px);
    opacity: 1;
    -webkit-transition: .5s ease-in-out 0s !important;
    transition: .5s ease-in-out 0s !important;
}

.return-game .sublogo .vs-traz.s {
    -webkit-transform: translate(-10px, 15px);
    transform: translate(-10px, 15px);
    opacity: 1;
    -webkit-transition: .5s ease-in-out 0s !important;
    transition: .5s ease-in-out 0s !important;
}

.return-game .sublogo .vs-traz.effect {
    opacity: 1;
    -webkit-transition: .5s ease-in-out 0s !important;
    transition: .5s ease-in-out 0s !important;
}

.return-game .sublogo img.text-traz.mobile {
    -webkit-transform: translate(0px, -5px);
    transform: translate(0px, -5px);
    -webkit-transition: .5s ease-in-out 0s !important;
    transition: .5s ease-in-out 0s !important;
}

.return-game .sublogo img.text-traz.fibra {
    -webkit-transform: translate(0px, 0px);
    transform: translate(0px, 0px);
    -webkit-transition: .5s ease-in-out 0s !important;
    transition: .5s ease-in-out 0s !important;
}

body.return-game .offer-box {
    opacity: 0;
    -webkit-transition: .5s ease-in-out;
    transition: .5s ease-in-out;
}

body.return-game .game-box {
    opacity: 1;
    -webkit-transition: .5s ease-in-out;
    transition: .5s ease-in-out;
}

.memory-sublogo {
    margin-top: 7px;
}

.intro .memory-sublogo {
    margin-right: -115px;
}

.intro .memory-sublogo {
    -webkit-animation: snake .1s ease .3s forwards;
    animation: snake 1.2s ease .3s forwards;
}

@-webkit-keyframes snake {
    0% {
      margin-right: -115px;
    }
    20% {
      margin-right: -92px;
    }
    40% {
      margin-right: -69px;
    }
    60% {
      margin-right: -46px;
    }
    80% {
      margin-right: -23px;
    }
    100% {
      margin-right: 0px;
    }
}



.memory-sublogo span {
    background-color: white;
    color: #007cbe;
    padding: 1px 7px;
    font-size: 16px;
    width: 23px;
    display: block;
    float: left;
    font-weight: 900;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center;
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
    position: relative;
}

header .memory-sublogo {
    margin: 0;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
        -ms-flex-align: center;
            align-items: center;
    -webkit-box-pack: end;
        -ms-flex-pack: end;
            justify-content: flex-end;
}

header .memory-sublogo span {
    font-size: 10px;
    width: 11px;
    border-radius: 0;
    padding: 1px 6px;
    margin: 0 0px;
    font-weight: 600;
}

a.btn-info {
    position: absolute;
    left: 0px;
    top: 0px;
    width: 20px;
    height: 20px;
    border-radius: 100%;
    border: solid 2px white;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center;
    color: white !important;
    font-size: 16px;
}

.modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    bottom: 0;
    background-color: rgb(6 125 192);
    color: white;
    z-index: 9999;
    padding: 20px 30px;
    left: -100%;
    overflow: auto;
    -webkit-transition: .4s;
    transition: .4s;
}

.modal.open {
    left: 0%;
}

.modal .letter {
    font-size: 22px;
    height: 32px;
}

.modal p {
    font-size: 15px;
}

.mi-modal-close {
    position: absolute;
    right: 15px;
    top: 10px;
    color: white !important;
    font-size: 32px;
    line-height: 22px;
    padding: 10px;
}

.container-into {
    max-width: 450px;
    margin: auto;
    position: relative;
    width: 100%;
}

a.content-logo {
    display: block;
    margin: auto;
    width: 127px;
}

.single-example {
    margin: 10px 0px;
    background-color: rgb(255 255 255 / 20%);
    padding: 20px;
}

.modal .single-example p {
    margin-bottom: 0px;
}

/* - */

#infoAlert {
    width: 100%  !important;
    height: 100%  !important;
    top: 0  !important;
    left: 0  !important;
    background-color: #007cbe  !important;
    border: none  !important;
    padding: 10px 10px  !important;
}

@-webkit-keyframes matchAnim {
    0% {
        background: #e0ffd4;
    }

    100% {
        background: white;
    }
}

@keyframes matchAnim {
    0% {
        background: #e0ffd4;
    }

    100% {
        background: white;
    }
}

.card {
    float: left;
    width: 16%;
    height: 72px;
    padding: 6px;
    text-align: center;
    display: block;
    -webkit-perspective: 500px;
            perspective: 500px;
    position: relative;
    cursor: pointer;
    z-index: 50;
    -webkit-tap-highlight-color: rgba(0, 0, 0, 0);
    /* box-shadow: 3px 3px 10px black; */
}

@media (max-width: 800px) {
    .card {
        width: 25%;
        height: 80px;
    }
}

.card .inside {
    width: 100%;
    height: 100%;
    display: block;
    -webkit-transform-style: preserve-3d;
            transform-style: preserve-3d;
    -webkit-transition: 0.4s ease-in-out;
    transition: 0.4s ease-in-out;
    background: white;
    border-radius: 5px;
    -webkit-box-shadow: 0px 0px 15px rgb(0 0 0 / 20%);
            box-shadow: 0px 0px 15px rgb(0 0 0 / 20%);
}

.card .inside.picked, .card .inside.matched {
    -webkit-transform: rotateY(180deg);
            transform: rotateY(180deg);
}

.card .inside.matched {
    -webkit-animation: 1s matchAnim ease-in-out;
            animation: 1s matchAnim ease-in-out;
    -webkit-animation-delay: 0.4s;
            animation-delay: 0.4s;
}
.card .back:before {
    content: '?';
    position: absolute;
    bottom: 50%;
    right: 50%;
    -webkit-transform: translate(50%, 50%);
            transform: translate(50%, 50%);
    font-size: 35px;
    font-weight: 300;
}
.circles {
    position: absolute;
    bottom: 0;
    right: 0;
    -webkit-transform: translate(50%, 50%);
            transform: translate(50%, 50%);
    width: 75px;
    height: 75px;
    /* background-color: #00b0ea; */
    border-radius: 100%;
    border: solid 2px #ffffff;
}
.card .front, .card .back {
    /* border: 1px solid black; */
    -webkit-backface-visibility: hidden;
            backface-visibility: hidden;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    padding: 10px;
}

.card .front img, .card .back img {
    max-width: 100%;
    display: block;
    margin: 0 auto;
    max-height: 100%;
}

.card .back img {
    display: none;
}

.card .front {
    -webkit-transform: rotateY(-180deg);
            transform: rotateY(-180deg);
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
        -ms-flex-align: center;
            align-items: center;
    -webkit-box-pack: center;
        -ms-flex-pack: center;
            justify-content: center;
}

@media (max-width: 800px) {
    .card .front {
        padding: 10px;
    }
}

.card .back {
    -webkit-transform: rotateX(0);
            transform: rotateX(0);
    overflow: hidden;
    border-radius: 4px;
    background-color: #00b0ea29;
    /* background: radial-gradient(100% 210% at 30% 100%, #1aaae2, #9cd1fb); */
    background: rgb(0 159 227 / 80%);
}

@media (max-width: 800px) {
    .card .back {
        padding: 10px;
    }
}

.modal-overlay {
    display: none;
    background: rgba(0, 0, 0, .8);
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.modal {
    display: none;
    position: relative;
    width: 500px;
    height: 400px;
    max-height: 90%;
    max-width: 90%;
    min-height: 380px;
    margin: 0 auto;
    background: white;
    top: 50%;
    -webkit-transform: translateY(-50%);
            transform: translateY(-50%);
    padding: 30px 10px;
}

.modal .winner {
    font-size: 80px;
    text-align: center;
    text-shadow: 0px 3px 0 black;
}

@media (max-width: 480px) {
    .modal .winner {
        font-size: 60px;
    }
}

.modal .restart:hover {
    background: -webkit-gradient(linear, left top, left bottom, from(#222), to(black));
    background: linear-gradient(#222, black);
}

.modal .message {
    text-align: center;
}

.modal .message a {
    text-decoration: none;
    color: #28afe6;
    font-weight: bold;
}

.modal .message a:hover {
    color: #56c0eb;
    border-bottom: 1px dotted #56c0eb;
}

.modal .share-text {
    text-align: center;
    margin: 10px auto;
}

.modal .social {
    margin: 20px auto;
    text-align: center;
}

.modal .social li {
    display: inline-block;
    height: 50px;
    width: 50px;
    margin-right: 10px;
}

.modal .social li:last-child {
    margin-right: 0;
}

.modal .social li a {
    display: block;
    line-height: 50px;
    font-size: 20px;
    color: white;
    text-decoration: none;
    border-radius: 5px;
}

.modal .social li a.facebook {
    background: #3b5998;
}

.modal .social li a.facebook:hover {
    background: #4c70ba;
}

.modal .social li a.google {
    background: #d34836;
}

.modal .social li a.google:hover {
    background: #dc6e60;
}

.modal .social li a.twitter {
    background: #4099ff;
}

.modal .social li a.twitter:hover {
    background: #73b4ff;
}
#field {
    position: relative !important;
    left: 0 !important;
    top: 0 !important;
    width: 100% !important;
    height: 100% !important;
}

@media (max-width: 450px) {
    .teclado {
        position: fixed;
        bottom: 0;
        left: 0;
        right: 0;
        z-index: 1;
    }

    .modal-error {
        position: fixed;
        left: 50%;
        -webkit-transform: translateX(-50%);
        transform: translateX(-50%);
        bottom: 160px;
    }
}



/* GAME SNAKE */

.app {
  text-align: center;
}

.app .score {
  display: none;
  position: fixed;
  bottom: 0;
  right: 0;
  font-size: 65px;
  padding: 20px;
}

.app .start-screen {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 100%;
  /* background: #007cbe; */
  /* border: 5px solid #2B331B; */
  z-index: 1;
  -webkit-transform: translate(-50%, -50%) !important;
  transform: translate(-50%, -50%) !important;
}

.app .start-screen h2 {
  font-size: 50px;
  margin: 0;
}

.app .start-screen button {
  border: 5px solid #ffffff;
  background-color: rgb(255 255 255 / 10%) !important;
  background: none;
  cursor: pointer;
  color: inherit;
  outline: 0;
}

.app .start-screen button:hover,
.app .start-screen button.active {
  background: green;
  color: white;
}

.app .start-screen .options {
  margin-bottom: 40px;
}
.app .start-screen h3 {
    display: none;
}

.app .start-screen .options h3 {
  margin-bottom: 25px;
  display: none;
}

.app .start-screen .play-btn {
  font-size: 30px;
  padding: 15px 40px;
  text-transform: uppercase
}

/* Game In Progress */
.app.game-in-progress .score {
  display: block;
}

.app.game-in-progress .start-screen {
  display: none;
}

/* Game Over */
.app.game-over canvas {
  opacity: 0.3;
}

/* @Credit: https://github.com/daneden/animate.css/ */
.animated {
  -webkit-animation-duration: 1s;
  animation-duration: 1s;
  -webkit-animation-fill-mode: both;
  animation-fill-mode: both;
}

#field {
    background-color: #ffffff !important;
}

#field .snake-head {
    background-color: #005180 !important;
}

#field .snake-tail {
    background-color: #007cbe !important;
}

#field .food {
    border-radius: 100% !important;
    background-color: #76b82a !important;
    border: solid 2px;
}

#infoAlert:not(.final) {
    width: 70% !important;
    height: 80px !important;
    border-radius: 5px;
    top: 50% !important;
    left: 50% !important;
    -webkit-transform: translate(-50%, -50%) !important;
    transform: translate(-50%, -50%) !important;
    pointer-events: none;
}
#infoAlert:not(.final):before {
    content: 'X';
    position: absolute;
    top: 5px;
    right: 7px;
}




.logo-title {
    line-height: 1;
    margin: 0;
}

.back-btn {
    position: absolute;
    top: 50%;
    left: 0px;
    -webkit-transform: translateY(-50%);
    transform: translateY(-50%);
    -webkit-transition: .2s;
    transition: .2s;
    padding: 10px;
}
.back-btn:hover {
    -webkit-transform: translate(-2px, -50%);
    transform: translate(-2px, -50%);
}
.back-btn svg {
    width: 25px;
}
.back-btn svg path {
    fill: white;
}



@media (max-width: 469px) {
	.game, .game-box, .grid, #app {
		height: 440px;
		max-height: 80vh;
		width: 300px;
		max-width: 90vw;
		position: relative;
	}
}

#field .snake-head,
#field .snake-tail,
#field .food {
    width: 1.25rem !important;
    height: 1.25rem !important;
}


