* {
    margin: 0;
    padding: 0;
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
}

/* General Styles */

html {
    scroll-behavior: smooth;
    -webkit-tap-highlight-color: transparent;
    height: 100%;
}

body {
    position: relative;
    font-family: "Anton", sans-serif;
    letter-spacing: normal;
    line-height: 1.25;
    height: 100%;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    text-rendering: optimizeLegibility;
}

a,
button {
    display: inline-block;
    font: inherit;
    color: inherit;
    text-decoration: none;
    cursor: pointer;
}

img,
svg {
    display: block;
    width: 100%;
    height: auto;
}

section {
    position: relative;
    padding: 5rem 0;
}

.container {
    width: 100%;
    max-width: 1440px;
    margin: 0 auto;
    padding: 0 1rem;
}

/* Skin Section */

h1 {
    font-family: "Berkshire Swash", cursive;
    text-align: center;
    font-size: 3rem;
    margin-bottom: 2rem;
    text-shadow: 2px 4px 3px rgba(0, 0, 0, 0.3);
}

.skins {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr 1fr 1fr 1fr;
    gap: 1rem;
}

.skin {
    -webkit-transition: 0.25s ease;
    -o-transition: 0.25s ease;
    transition: 0.25s ease;
    cursor: pointer;
}

.skin img {
    -webkit-box-shadow: rgba(0, 0, 0, 0.24) 0px 3px 8px;
    box-shadow: rgba(0, 0, 0, 0.24) 0px 3px 8px;
    border-radius: 10px;
    -webkit-transition: 0.25s ease;
    -o-transition: 0.25s ease;
    transition: 0.25s ease;
}

.skin:hover {
    -webkit-transform: translateY(-5px);
    -ms-transform: translateY(-5px);
    transform: translateY(-5px);
}

.skin:hover img {
    -webkit-box-shadow: rgba(0, 0, 0, 0.25) 0px 14px 28px, rgba(0, 0, 0, 0.22) 0px 10px 10px;
    box-shadow: rgba(0, 0, 0, 0.25) 0px 14px 28px, rgba(0, 0, 0, 0.22) 0px 10px 10px;
}

.pet-name {
    font-family: sans-serif;
    font-size: 1.125rem;
    text-align: center;
    color: #fff;
    margin-top: 0.5rem;
}

/* Generator Section */

.generator-section {
    display: none;
}

.waviy {
    position: relative;
    text-align: center;
    margin: 5px 0;
}

.waviy span {
    font-family: "Rubik Spray Paint", cursive;
    position: relative;
    display: inline-block;
    color: #e5f747;
    text-shadow: #000 3px 3px;
    line-height: 1.875rem;
    text-transform: uppercase;
    -webkit-animation: flip 2s infinite;
    animation: flip 2s infinite;
    font-weight: 400;
}

@-webkit-keyframes flip {
    0%,
    80% {
        -webkit-transform: rotateY(360deg);
        transform: rotateY(360deg);
    }
}

@keyframes flip {
    0%,
    80% {
        -webkit-transform: rotateY(360deg);
        transform: rotateY(360deg);
    }
}

.generator,
.platform,
.loading {
    margin: auto;
    width: 98%;
    left: 0px;
    background-color: hsl(0deg 0% 0% / 40%);
    position: relative;
    margin-top: 0px;
    margin-bottom: 2.8125rem;
    padding: 0.625rem 1.25rem;
    border-radius: 0.3125rem;
    max-width: 400px;
    min-height: 480px;
}

.platform,
.loading,
.loading-img {
    display: none;
}

.loading-img>img {
    width: 220px;
    margin: 0 auto 1rem;
}

.uid-container {
    padding: 0.5rem;
    background-image: -webkit-gradient( linear, left top, right top, from(#767676), color-stop(#cfcfcf), to(#767676));
    background-image: -o-linear-gradient(left, #767676, #cfcfcf, #767676);
    background-image: linear-gradient(to right, #767676, #cfcfcf, #767676);
    margin-bottom: 0.625rem;
    -webkit-box-shadow: 0 0 10px black;
    box-shadow: 0 0 10px black;
    text-align: center;
}

.platform .uid-container h3,
.loading .uid-container h3 {
    font-size: 1.75rem;
}

.uid-container h3 {
    font-size: 1.25rem;
    font-weight: 500;
    color: #3d300e;
    font-family: anton;
    text-shadow: 0px 10px 30px #ffc000;
}

.generator p {
    color: #fff;
    font-family: "Anton", sans-serif;
    font-weight: 300;
    margin: 1.25rem 0;
}

.platforms {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 1rem;
    padding: 1rem 2rem;
}

.platforms>div {
    background-color: #000;
    border: 2px solid #fff;
    border-radius: 10px;
    cursor: pointer;
    -webkit-transition: 0.25s ease;
    -o-transition: 0.25s ease;
    transition: 0.25s ease;
}

.platforms>div:hover {
    border-color: #ffbb0f;
    -webkit-transform: translateY(-5px);
    -ms-transform: translateY(-5px);
    transform: translateY(-5px);
}

input[type="text"] {
    background-color: #3a3737;
    font-size: 1.125rem;
    color: white;
    font-family: anton;
    padding: 1.25rem 0.625rem;
    border-radius: 5px;
    width: 100%;
    border: none;
    outline-color: #ff3d00;
}

.btn {
    text-align: center;
    margin: 0.5rem 0;
}

.bounce-in-top {
    background-color: #ffbb0f;
    -webkit-box-shadow: 0 0 20px #fff;
    box-shadow: 0 0 20px #fff;
    color: black;
    border-color: #eaca78;
    border-width: 1px;
    border-style: solid;
    padding: 1.25rem 1.875rem 1.25rem 1.875rem;
    font-family: anton;
    position: relative;
    text-align: center;
    margin: 1rem auto;
    border-radius: 5px;
    width: 50%;
    cursor: pointer;
    -webkit-animation: bounce-in-top 1.1s infinite;
    animation: bounce-in-top 1.1s infinite;
}

@-webkit-keyframes bounce-in-top {
    0% {
        -webkit-transform: translateY(-5px);
        transform: translateY(-5px);
        -webkit-animation-timing-function: ease-in;
        animation-timing-function: ease-in;
        opacity: 1;
    }
    38% {
        -webkit-transform: translateY(0px);
        transform: translateY(0px);
        -webkit-animation-timing-function: ease-out;
        animation-timing-function: ease-out;
        opacity: 1;
    }
    55% {
        -webkit-transform: translateY(-5px);
        transform: translateY(-5px);
        -webkit-animation-timing-function: ease-in;
        animation-timing-function: ease-in;
    }
    72% {
        -webkit-transform: translateY(0);
        transform: translateY(0);
        -webkit-animation-timing-function: ease-out;
        animation-timing-function: ease-out;
    }
    81% {
        -webkit-transform: translateY(-5px);
        transform: translateY(-5px);
        -webkit-animation-timing-function: ease-in;
        animation-timing-function: ease-in;
    }
    90% {
        -webkit-transform: translateY(0);
        transform: translateY(0);
        -webkit-animation-timing-function: ease-out;
        animation-timing-function: ease-out;
    }
    100% {
        -webkit-transform: translateY(-5px);
        transform: translateY(-5px);
        -webkit-animation-timing-function: ease-out;
        animation-timing-function: ease-out;
    }
}

@keyframes bounce-in-top {
    0% {
        -webkit-transform: translateY(-5px);
        transform: translateY(-5px);
        -webkit-animation-timing-function: ease-in;
        animation-timing-function: ease-in;
        opacity: 1;
    }
    38% {
        -webkit-transform: translateY(0px);
        transform: translateY(0px);
        -webkit-animation-timing-function: ease-out;
        animation-timing-function: ease-out;
        opacity: 1;
    }
    55% {
        -webkit-transform: translateY(-5px);
        transform: translateY(-5px);
        -webkit-animation-timing-function: ease-in;
        animation-timing-function: ease-in;
    }
    72% {
        -webkit-transform: translateY(0);
        transform: translateY(0);
        -webkit-animation-timing-function: ease-out;
        animation-timing-function: ease-out;
    }
    81% {
        -webkit-transform: translateY(-5px);
        transform: translateY(-5px);
        -webkit-animation-timing-function: ease-in;
        animation-timing-function: ease-in;
    }
    90% {
        -webkit-transform: translateY(0);
        transform: translateY(0);
        -webkit-animation-timing-function: ease-out;
        animation-timing-function: ease-out;
    }
    100% {
        -webkit-transform: translateY(-5px);
        transform: translateY(-5px);
        -webkit-animation-timing-function: ease-out;
        animation-timing-function: ease-out;
    }
}

.selected-skin {
    width: 180px;
    margin: 0 auto;
}

.selected-skin img {
    border-radius: 0.3125rem;
}

.loading {
    text-align: center;
}

.lds-dual-ring {
    display: inline-block;
    width: 60px;
    height: 60px;
    margin: 1rem 0;
}

.lds-dual-ring:after {
    content: " ";
    display: block;
    width: 40px;
    height: 40px;
    margin: 8px;
    border-radius: 50%;
    border: 6px solid #fff;
    border-color: #fff transparent #fff transparent;
    -webkit-animation: lds-dual-ring 1.2s linear infinite;
    animation: lds-dual-ring 1.2s linear infinite;
}

@-webkit-keyframes lds-dual-ring {
    0% {
        -webkit-transform: rotate(0deg);
        transform: rotate(0deg);
    }
    100% {
        -webkit-transform: rotate(360deg);
        transform: rotate(360deg);
    }
}

@keyframes lds-dual-ring {
    0% {
        -webkit-transform: rotate(0deg);
        transform: rotate(0deg);
    }
    100% {
        -webkit-transform: rotate(360deg);
        transform: rotate(360deg);
    }
}

.loading-text {
    font-size: 1.25rem;
    color: #fff;
    font-size: 700;
}

/* Reward Section */

.reward-section {
    position: fixed;
    top: 0;
    padding: 3rem 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    font-family: sans-serif;
    display: none;
}

.reward-section .container {
    height: 100%;
}

.reward-content {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    height: 100%;
}

.reward {
    text-align: center;
    width: 90%;
    max-width: 550px;
    height: auto;
    overflow: auto;
    background-color: #607d8b;
    background-size: cover;
    padding: 1.25rem;
    border: #fff solid 5px;
    border-radius: 1.5625rem;
    -webkit-box-shadow: 1px 1px 0.625rem black;
    box-shadow: 1px 1px 0.625rem black;
    position: relative;
    margin: 1.25rem;
}

.reward-img img {
    width: 100%;
    max-width: 150px;
}

.team-container {
    background-color: #000000;
    border-radius: 0.3125rem;
    border: 2px solid #fff;
    padding: 0 1.25rem 1.875rem;
}

.team-container h3 {
    color: #fff;
    font-size: 1rem;
}

.reward p {
    color: #fff;
    margin: 1.25rem 0;
    font-weight: 100;
}

.reward p span {
    font-weight: 700;
}

.winnerContainer {
    font-weight: bold;
    position: relative;
    font-weight: bolder;
    color: #fff;
}

.congo {
    background-color: #fff;
    padding: 0.625rem;
    border-radius: 0.3125rem;
    opacity: 0.8;
    cursor: pointer;
}

.congo:hover {
    background-color: #fff;
    opacity: 1;
}

.offerbtn {
    position: relative;
    background-color: #fff;
    border-radius: 5px;
}

.offerbtn:hover {
    background-color: #d6d6d6;
}

.offerbtn .btn {
    width: 100%;
    height: 100%;
    margin: 0;
    padding: 0.5rem 0;
}

.reward h5 {
    color: #d90c29;
    font-weight: bold;
    font-size: 0.9375rem;
    margin: 0.625rem 0;
}

.loader {
    margin-top: 10px;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    display: inline-block;
    position: relative;
    border: 3px solid;
    border-color: #ffff #ffff transparent transparent;
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
    -webkit-animation: rotation 1s linear infinite;
    animation: rotation 1s linear infinite;
}

.loader::after,
.loader::before {
    content: "";
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
    position: absolute;
    left: 0;
    right: 0;
    top: 0;
    bottom: 0;
    margin: auto;
    border: 3px solid;
    border-color: transparent transparent #ff3d00 #ff3d00;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    box-sizing: border-box;
    -webkit-animation: rotationBack 0.5s linear infinite;
    animation: rotationBack 0.5s linear infinite;
    -webkit-transform-origin: center center;
    -ms-transform-origin: center center;
    transform-origin: center center;
}

.loader::before {
    width: 32px;
    height: 32px;
    border-color: #d0ff00 #d0ff00 transparent transparent;
    -webkit-animation: rotation 1.5s linear infinite;
    animation: rotation 1.5s linear infinite;
}

@-webkit-keyframes rotation {
    0% {
        -webkit-transform: rotate(0deg);
        transform: rotate(0deg);
    }
    100% {
        -webkit-transform: rotate(360deg);
        transform: rotate(360deg);
    }
}

@keyframes rotation {
    0% {
        -webkit-transform: rotate(0deg);
        transform: rotate(0deg);
    }
    100% {
        -webkit-transform: rotate(360deg);
        transform: rotate(360deg);
    }
}

/* Background Animation */

.wrapper {
    background: #50a3a2;
    background: -o-linear-gradient(top left, #50a3a2 0%, #53e3a6 100%);
    background: -webkit-gradient( linear, left top, right bottom, from(#50a3a2), to(#53e3a6));
    background: linear-gradient(to bottom right, #50a3a2 0%, #53e3a6 100%);
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    z-index: -1;
}

.bg-bubbles {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.bg-bubbles li {
    position: absolute;
    list-style: none;
    display: block;
    width: 40px;
    height: 40px;
    background-color: rgba(255, 255, 255, 0.15);
    bottom: -160px;
    -webkit-animation: square 25s infinite;
    animation: square 25s infinite;
    -webkit-transition-timing-function: linear;
    -o-transition-timing-function: linear;
    transition-timing-function: linear;
}

.bg-bubbles li:nth-child(1) {
    left: 10%;
}

.bg-bubbles li:nth-child(2) {
    left: 20%;
    width: 80px;
    height: 80px;
    -webkit-animation-delay: 2s;
    animation-delay: 2s;
    -webkit-animation-duration: 17s;
    animation-duration: 17s;
}

.bg-bubbles li:nth-child(3) {
    left: 25%;
    -webkit-animation-delay: 4s;
    animation-delay: 4s;
}

.bg-bubbles li:nth-child(4) {
    left: 40%;
    width: 60px;
    height: 60px;
    -webkit-animation-duration: 22s;
    animation-duration: 22s;
    background-color: rgba(255, 255, 255, 0.25);
}

.bg-bubbles li:nth-child(5) {
    left: 70%;
}

.bg-bubbles li:nth-child(6) {
    left: 80%;
    width: 120px;
    height: 120px;
    -webkit-animation-delay: 3s;
    animation-delay: 3s;
    background-color: rgba(255, 255, 255, 0.2);
}

.bg-bubbles li:nth-child(7) {
    left: 32%;
    width: 160px;
    height: 160px;
    -webkit-animation-delay: 7s;
    animation-delay: 7s;
}

.bg-bubbles li:nth-child(8) {
    left: 55%;
    width: 20px;
    height: 20px;
    -webkit-animation-delay: 15s;
    animation-delay: 15s;
    -webkit-animation-duration: 40s;
    animation-duration: 40s;
}

.bg-bubbles li:nth-child(9) {
    left: 25%;
    width: 10px;
    height: 10px;
    -webkit-animation-delay: 2s;
    animation-delay: 2s;
    -webkit-animation-duration: 40s;
    animation-duration: 40s;
    background-color: rgba(255, 255, 255, 0.3);
}

.bg-bubbles li:nth-child(10) {
    left: 90%;
    width: 160px;
    height: 160px;
    -webkit-animation-delay: 11s;
    animation-delay: 11s;
}

@-webkit-keyframes square {
    0% {
        -webkit-transform: translateY(0);
        transform: translateY(0);
    }
    100% {
        -webkit-transform: translateY(-700px) rotate(600deg);
        transform: translateY(-700px) rotate(600deg);
    }
}

@keyframes square {
    0% {
        -webkit-transform: translateY(0);
        transform: translateY(0);
    }
    100% {
        -webkit-transform: translateY(-700px) rotate(600deg);
        transform: translateY(-700px) rotate(600deg);
    }
}

/* Media Queries */

@media (max-width: 1400px) {
    .container {
        max-width: 1140px;
    }
}

@media (max-width: 1200px) {
    .container {
        max-width: 960px;
    }
}

@media (max-width: 992px) {
    .container {
        max-width: 720px;
    }
    /* Skin Section */
    h1 {
        font-size: 2rem;
    }
    .skins {
        grid-template-columns: 1fr 1fr 1fr 1fr 1fr;
    }
}

@media (max-width: 768px) {
    .container {
        max-width: 540px;
    }
    .skins {
        grid-template-columns: 1fr 1fr 1fr 1fr;
    }
}

@media (max-width: 576px) {
    .container {
        max-width: 100%;
    }
    /* Skin Section */
    h1 {
        font-size: 1.75rem;
    }
    .pet-name {
        font-size: 1rem;
    }
    .skins {
        grid-template-columns: 1fr 1fr;
    }
}