
/* Fonts */
@font-face {
    font-family: AnjelikaRose;
    src: url('../font/AnjelikaRose.woff2') format('woff2'),
        url('../font/AnjelikaRose.woff') format('woff');
    font-weight: normal;
    font-style: normal;
}

@font-face {
    font-family: LucidaGrande;
    src: url('../font/8291-webfont.woff2') format('woff2'),
         url('../font/8291-webfont.woff') format('woff');
    font-weight: normal;
    font-style: normal;
}

/* Main */

#mx-wrapper {
    width: 960px;
    height: 100%;
    margin: 2em auto;
}

#mx-container > * {
    -webkit-user-select: none;  /* Chrome all / Safari all */
    -moz-user-select: none;     /* Firefox all */
    -ms-user-select: none;      /* IE 10+ */
    user-select: none;          /* Likely future */
}

#mx-container {
    color: #fff;
    background: #32a1c5;
    background-image: url('../img/mobiles.png');
    border-radius: 2em;
    padding: 1.5em;
    position: relative;

    font-family: AnjelikaRose;
    font-weight: normal;
    font-style: normal;
}

#mx-container .mx-border {
    border: 1px dashed #fff;
    border-radius: 2em;
}

#mx-container strong {
    font-weight: bolder;
}

#mx-container header {
    position: relative;
    padding: 1em 2.5em;
    border-bottom: 1px dashed #fff;
    font-family: LucidaGrande, sans-serif;
    text-align: center;
}

#mx-container header > p {
    font-size: 0.9em;
    font-family: LucidaGrande, sans-serif;
    text-align: center;
    margin-bottom: 1em;
}

#mx-container h1 {
    font-size: 1.5em;
}

#mx-container header section {
    flex: 1;
}

#mx-container .mx-guide {
    display: inline;
    padding-left: 1em;
    text-align: left;
    font-size: 1.8em;
    font-family: AnjelikaRose, cursive;
    line-height: 0.9em;
}

#mx-container .mx-number {
    background: #fff;
    color: #32a1c5;
    border-radius: 99em;
    display: inline-block;

    padding: 0;
    line-height: 42px;
    text-align: center;
    font-size: 1.5em;
    font-family: AnjelikaRose, cursive;
    white-space: nowrap;
    vertical-align: baseline;
    border-radius: 42px;
    position: relative;
    top: -3px;
    height: 42px;
    width: 42px;
}

#mx-container .mx-select {
    display: flex;
}

#mx-container .mx-select > section {
    flex: 1;
    height: 500px;
    position: relative;
}

.mx-first-section {
    display: flex;
    flex-direction: row;
    margin: 1.5em 5em 0;
}

.mx-first-step {
    flex: 1;
}

.mx-second-step {
    display: flex;
    flex-direction: column !important;
    transform: rotate(-20deg);
    position: absolute;
    left: 460px;
}

.mx-second-step .mx-arrow {
    font-size: 3em;
    padding: 0 0.3em
}

.mx-second-step-guide {
    padding-top: 0.3em;
    font-family: AnjelikaRose, cursive;
    font-size: 1.4em;
    text-align: right;
}

.mx-info {
    width: 280px;
    font-family: AnjelikaRose, cursive;
    font-size: 2em;
}

.mx-info strong {
    font-size: 1.9em;
}

.mx-forward {
    cursor: pointer;
    display: flex;
    border-radius: 10px;
    background-color: #00c23c;
    line-height: 1.2em;
    padding: 0.8em 1.5em;
    margin: 1em;
    font-weight: 900;
    font-family: LucidaGrande, sans-serif;
}

.mx-inactive {
    pointer-events: none;
    opacity: 0.5;
}

.mx-forward .mx-arrow {
    display: flex;
    align-items: center;
    font-size: 2em;
    padding: 0 0 0 0.2em;
}

.mx-center {
    position: absolute;
    justify-content: center;
    top: 120px;
    right: 0;
    left: 0;
    display: flex;
}

.mx-social {
    position: absolute;
    bottom: 30px;
    right: 15px;
}
.mx-social .share-this {
    border-radius: 0;
}

.mx-share-info {
    position: absolute;
    right: 70px;
    bottom: 0;
    width: 100px;
    transform: rotate(-20deg);

    font-family: AnjelikaRose, cursive;
    font-size: 1.2em;
    text-align: left;
}

.mx-share-info > .mx-arrow {
    padding: 1em;
}

.mx-display {
    position: relative;
}

.mx-image-wrapper {
    display: flex;
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    justify-content: center;
    align-items: center;

    background-image: url('../img/character-back.png');
    background-repeat: no-repeat;
    background-position: 50% 40%;
}

.mx-controls {
    position: absolute;
    display: flex;
    flex-direction: column;
    top: 40px;
    left: 20px;
}

.mx-controls .mx-btn {
    cursor: pointer;
    color: #fff;
    margin-top: 4.5em;
    margin-right: 5.5em;
    margin-left: 5.5em;
}

.mx-controls .mx-prev,
.mx-controls .mx-next {
    display: inline-block;
    padding: 0;
    text-align: center;
    font-size: 1em;
    font-weight: bolder;
    white-space: nowrap;
    vertical-align: baseline;
    position: relative;
    line-height: 28px;
    border-radius: 32px;
    top: -2px;
    height: 32px;
    width: 32px;
    border: 2px solid #fff;
    background: #7dbf50;
    outline: none;
}

.mx-row {
    display: flex;
    flex-direction: row;
    align-items: center;
}

.mx-share-character {
    display: none;
    margin: 1em;
    justify-content: center;
}

/* Buttons for select gender platform */

.mx-toggle-button {
    text-align: center;
    width: 100px;
}

.mx-toggle-button-selected {
    opacity: 1 !important;
}

.mx-toggle-button-logos > img {
    opacity: 0.5;
}

.mx-toggle-button-back {
    position: relative;
    margin: 0 auto;
    margin-top: 10px;
    margin-bottom: 10px;
    background: #fff;
    width: 50px;
    height: 14px;
    border-radius: 30px;
}

.mx-toggle-button-nibble {
    position: absolute;
    top: -4px;
    border: 2px solid #fff;
    background: #00bc53;
    border-radius: 18px;
    width: 18px;
    height: 18px;
}

.mx-toggle-button-nibble-next {
    right: 0;
}

.mx-toggle-text {
    text-align: center;
    text-transform: capitalize;
    font-weight: 600;
    font-size: 13px;
}

.mx-platform, .mx-gender {
    cursor: pointer;
    display: inline-block;
    margin-right: 2em;
}

.mx-selected-logos {
    text-align: center;
    margin: 1em 1em 0;
}
.mx-selected-logos > span {
    display: inline-block;
    margin: 0 0.5em;
    height: 32px;
    width: 32px;
    background-size: contain;
    background-repeat: no-repeat;
    content: "";
}

.mx-android-logo {
    background: url('../img/android-logo.png');
}
.mx-apple-logo {
    background: url('../img/apple-logo.png');
}

.mx-woman-logo {
    background: url('../img/female-logo.png');
}
.mx-male-logo {
    background: url('../img/male-logo.png');
}

.mx-pre-rules{
    bottom: 40px;
    left: 45px;
    position: absolute;
    z-index: 9;
}
.mx-pre-rules img {
    width: 170px;
    display: block;
}

.mx-rules {
    display: flex;
    justify-content: center;
    font-family: LucidaGrande, sans-serif;
    font-size: 0.8em;
    text-align: center;
}

.mx-rules a {
    color: #fff;
    text-decoration: underline;
}

/* Modal settings */
.mx-remodal {
    font-family: LucidaGrande, sans-serif;
    font-size: 1em;
}

.mx-result-image > div {
    display: inline-block;
}

.mx-result-image img {
    margin-top: 0.5em;
}

/* End modal */

/** Custom social share */
ul.mx-share-buttons{
  list-style: none;
  padding: 0;
}

ul.mx-share-buttons li{
  display: inline;
}

ul.mx-share-buttons .sr-only {
  position: absolute;
  clip: rect(1px 1px 1px 1px);
  clip: rect(1px, 1px, 1px, 1px);
  padding: 0;
  border: 0;
  height: 1px;
  width: 1px;
  overflow: hidden;
}

ul.mx-share-buttons img{
  width: 64px;
}

/* End custom social share */
