@font-face {
    font-family: "XM";
    src: url("./hanimation-regular.ttf") format("truetype");
}

#correct {
    flex-direction: column;
    align-items: flex-end;
}
#correct img {
    width: 100% !important;
}
#correct span {
    margin: 13px 0px;
}
/*note*/
#correct span, #correct p {
    font-size: 19px;    word-spacing: 3px;
}
div#note {
    transform: translateY(0px);
    position: fixed;
    top: 10rem;
    margin: auto;
    background: #000;
    border-radius: 10px;
    z-index: 999999;
    width: 70%;
    text-align: right;
    color: #fff;
    padding: 8px 10px;
}

body {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

footer {
    margin-top: auto;
}

.note1 {
    display: flex;
    justify-content: center;
}

label {
    font-size: 17px !important;
}


/* Add Animation */

@-webkit-keyframes animatetop {
    from {
        top: -300px;
        opacity: 0
    }
    to {
        top: 0;
        opacity: 1
    }
}

@keyframes animatetop {
    from {
        top: -300px;
        opacity: 0
    }
    to {
        top: 0;
        opacity: 1
    }
}


/* The Close Button */

.close,
.close2 {
    color: white;
    float: right;
    font-size: 28px;
    font-weight: bold;
}

.close:hover,
.close:focus {
    color: #000;
    text-decoration: none;
    cursor: pointer;
}

.modal-header {
    background: #ebded1;
    padding: 2px 16px;
    color: rgb(0, 0, 0);
    margin: 0;
}

.modal-body {
    padding: 2px 16px;
}

.modal-footer {
    padding: 2px 16px;
    color: white;
}


/**/

body {
    text-align: right;
    font: 1rem sans-serif;
    background: #C22627;
    position: relative;
    font-family: XM;
    overflow-x: hidden;
}

.main-container {
  
    border: 0;
    position: relative;
    margin: 50px auto;
    max-width: 500px;
    background-color: #faf6ed;
    padding: 130px 25px 25px;
    /* z-index: -1; */
}

h1,
h2 {
    text-align: center;
}

h1 {
    font-size: 2rem;
    font-weight: 600;
}

h2 {
    font-size: 30px;
    text-align: right;
    margin: 11px -5px;
    font-weight: lighter;
    font-size: 22px;
}

#notvalid {
    color: red
}

a#close {
    position: absolute;
    left: 10px;
}

#result {
    color: white;
    font-size: 23px;
}

.main-container div {
    margin: 5px 0px
}

.bottom-bg,
.top-bg {
    position: absolute;
    width: 280px;
    height: auto;
    object-fit: contain;
    z-index: 1;
}
/*
.logo-container {
    position: relative;
    left: 0;
}

@media (max-width:946px) and  (min-width:588px){
form .logo-bg {
  left: 22% !important;
}}

@media (min-width:992px){
form .logo-bg {
  left: 31% !important;
}}
*/

.logo,
form .logo-bg {

      width: 130px;
    position: absolute;
    left: 6%;
    z-index: 9999;
    top: 3rem;

}

.button {
    text-decoration: none;
    margin: 0px 5px;
    border: 0;
    padding: 5px 10px;
    color: #fff;
    font-size: 15px;
    font-family: 'XM';
    background-color: #C52622;
}

footer p {
    text-align: center;
    color: #fff;
    font-size: 14px;
    padding-bottom: 30px;
}


/*cards*/

.flip-card-front .flip-card-title {
    padding: 0 23px;
}

.flip-card-title {
    font-weight: 400;
    font-size: 22px !important;
}

.flip-card {
    background-color: transparent;
    width: 120px;
    height: 150px;
    perspective: 1000px;
}

.card {
    margin: 5px;
}

.flip-card-inner {
    position: relative;
    width: 100%;
    height: 100%;
    text-align: center;
    transition: transform 1.0s;
    transform-style: preserve-3d;
}

.flip-card:hover .flip-card-inner {
    transform: rotateY(180deg);
}

.flip-card-front,
.flip-card-back {
    box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2);
    position: absolute;
    width: 100%;
    height: 100%;
    -webkit-backface-visibility: hidden;
    backface-visibility: hidden;
}

.flip-card-front {
    display: flex;
    background-color: #ddd1d1;
    color: black;
    align-items: center;
    justify-content: center;
}

.flip-card-back {
    background-color: #c52622;
    color: white;
    transform: rotateY(180deg);
}

.hints-cards {
    flex-direction: row-reverse;
    display: flex;
    justify-content: center;
}


/*question -end*/

*,
*:before,
*:after {
    box-sizing: inherit
}


/* Extract from normalize.css by Nicolas Gallagher and Jonathan Neal git.io/normalize */

html {
    -ms-text-size-adjust: 100%;
    -webkit-text-size-adjust: 100%
}

body {
    margin: 0
}

article,
aside,
details,
figcaption,
figure,
footer,
header,
main,
menu,
nav,
section {
    display: block
}

summary {
    display: list-item
}

audio,
canvas,
progress,
video {
    display: inline-block
}

progress {
    vertical-align: baseline
}

audio:not([controls]) {
    display: none;
    height: 0
}

[hidden],
template {
    display: none
}

a {
    background-color: transparent
}

a:active,
a:hover {
    outline-width: 0
}

abbr[title] {
    border-bottom: none;
    text-decoration: underline;
    text-decoration: underline dotted
}

b,
strong {
    font-weight: bolder
}

dfn {
    font-style: italic
}

mark {
    background: #ff0;
    color: #000
}

small {
    font-size: 80%
}

sub,
sup {
    font-size: 75%;
    line-height: 0;
    position: relative;
    vertical-align: baseline
}

sub {
    bottom: -0.25em
}

sup {
    top: -0.5em
}

figure {
    margin: 1em 40px
}

img {
    border-style: none
}

code,
kbd,
pre,
samp {
    font-family: monospace, monospace;
    font-size: 1em
}

hr {
    box-sizing: content-box;
    height: 0;
    overflow: visible
}

button,
input,
select,
textarea,
optgroup {
    font: inherit;
    margin: 0
}

optgroup {
    font-weight: bold
}

button,
input {
    overflow: visible
}

button,
select {
    text-transform: none
}

button,
[type=button],
[type=reset],
[type=submit] {
    -webkit-appearance: button
}

button::-moz-focus-inner,
[type=button]::-moz-focus-inner,
[type=reset]::-moz-focus-inner,
[type=submit]::-moz-focus-inner {
    border-style: none;
    padding: 0
}

button:-moz-focusring,
[type=button]:-moz-focusring,
[type=reset]:-moz-focusring,
[type=submit]:-moz-focusring {
    outline: 1px dotted ButtonText
}

fieldset {
    border: 1px solid #c0c0c0;
    margin: 0 2px;
    padding: .35em .625em .75em
}

legend {
    color: inherit;
    display: table;
    max-width: 100%;
    padding: 0;
    white-space: normal
}

textarea {
    overflow: auto
}

[type=checkbox],
[type=radio] {
    padding: 0
}

[type=number]::-webkit-inner-spin-button,
[type=number]::-webkit-outer-spin-button {
    height: auto
}

[type=search] {
    -webkit-appearance: textfield;
    outline-offset: -2px
}

[type=search]::-webkit-search-decoration {
    -webkit-appearance: none
}

 ::-webkit-file-upload-button {
    -webkit-appearance: button;
    font: inherit
}


/* End extract */

html,
body {
    font-family: Verdana, sans-serif;
    font-family: "XM";
    font-size: 15px;
    line-height: 1.5
}

html {
    overflow-x: hidden
}

h1 {
    font-size: 36px
}

h3 {
    font-size: 24px
}

h4 {
    font-size: 20px
}

h5 {
    font-size: 18px
}

h6 {
    font-size: 16px
}

.w3-serif {
    font-family: serif
}

.w3-sans-serif {
    font-family: sans-serif
}

.w3-cursive {
    font-family: cursive
}

.w3-monospace {
    font-family: monospace
}


/*  */

.w3-wide {
    letter-spacing: 4px
}

hr {
    border: 0;
    border-top: 1px solid #eee;
    margin: 20px 0
}

.w3-image {
    max-width: 100%;
    height: auto
}

img {
    vertical-align: middle
}

a {
    color: inherit
}

.w3-table,
.w3-table-all {
    border-collapse: collapse;
    border-spacing: 0;
    width: 100%;
    display: table
}

.w3-table-all {
    border: 1px solid #ccc
}

.w3-bordered tr,
.w3-table-all tr {
    border-bottom: 1px solid #ddd
}

.w3-striped tbody tr:nth-child(even) {
    background-color: #f1f1f1
}

.w3-table-all tr:nth-child(odd) {
    background-color: #fff
}

.w3-table-all tr:nth-child(even) {
    background-color: #f1f1f1
}

.w3-hoverable tbody tr:hover,
.w3-ul.w3-hoverable li:hover {
    background-color: #ccc
}


/*  */

.w3-centered tr th,
.w3-centered tr td {
    text-align: center
}

.w3-table td,
.w3-table th,
.w3-table-all td,
.w3-table-all th {
    padding: 8px 8px;
    display: table-cell;
    text-align: left;
    vertical-align: top
}

.w3-table th:first-child,
.w3-table td:first-child,
.w3-table-all th:first-child,
.w3-table-all td:first-child {
    padding-left: 16px
}


/*  */

.w3-btn,
.w3-button {
    border: none;
    display: inline-block;
    padding: 8px 16px;
    vertical-align: middle;
    overflow: hidden;
    text-decoration: none;
    color: inherit;
    background-color: inherit;
    text-align: center;
    cursor: pointer;
    white-space: nowrap
}


/*  */

.w3-btn:hover {
    box-shadow: 0 8px 16px 0 rgba(0, 0, 0, 0.2), 0 6px 20px 0 rgba(0, 0, 0, 0.19)
}


/*  */

.w3-btn,
.w3-button {
    -webkit-touch-callout: none;
    -webkit-user-select: none;
    -khtml-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none
}


/*  */

.w3-disabled,
.w3-btn:disabled,
.w3-button:disabled {
    cursor: not-allowed;
    opacity: 0.3
}


/*000000000000000000  */

.w3-tooltip,
.w3-display-container {
    position: relative
}


/*  */

.w3-dropdown-hover:hover>.w3-button:first-child,
.w3-dropdown-click:hover>.w3-button:first-child {
    background-color: #ccc;
    color: #000
}


/* 0000000000 */

.w3-bar-block .w3-dropdown-hover,
.w3-bar-block .w3-dropdown-click {
    width: 100%
}


/* 000000000000000000 */

.w3-bar-block .w3-dropdown-hover .w3-dropdown-content,
.w3-bar-block .w3-dropdown-click .w3-dropdown-content {
    min-width: 100%
}


/*  0000000000000000000*/

.w3-bar-block .w3-dropdown-hover .w3-button,
.w3-bar-block .w3-dropdown-click .w3-button {
    width: 100%;
    text-align: left;
    padding: 8px 16px
}

button,
select,
a {
    -webkit-tap-highlight-color: rgba(0, 0, 0, 0);
}


/*  */

.w3-center .w3-bar {
    display: inline-block;
    width: auto;
}


/*  */

.w3-bar .w3-bar-item {
    padding: 8px 16px;
    float: left;
    width: auto;
    border: none;
    display: block;
    outline: 0
}


/*  */

.w3-bar .w3-dropdown-hover,
.w3-bar .w3-dropdown-click {
    position: static;
    float: left
}


/*  */

.w3-bar .w3-button {
    white-space: normal
}


/*  */

.w3-bar-block .w3-bar-item {
    width: 100%;
    display: block;
    padding: 8px 16px;
    text-align: left;
    border: none;
    white-space: normal;
    float: none;
    outline: 0
}


/*  */

.w3-bar-block.w3-center .w3-bar-item {
    text-align: center
}

header#home {
    height: 13rem;
    display: flex;
    align-content: center;
    align-items: center;
    flex-direction: column;
    justify-content: center;
}

.w3-center .w3-bar {
    display: flex;
    justify-content: center;
}

.w3-display-middle.w3-padding-large.w3-wide.w3-text-light-grey.w3-center {
    padding: 5px !important;
    padding-top: 40px !important;
}


/* 00000000000 */

.w3-container:after,
.w3-container:before,
.w3-panel:after,
.w3-panel:before,
.w3-row:after,
.w3-row:before,
.w3-row-padding:after,
.w3-row-padding:before,
.w3-cell-row:before,
.w3-cell-row:after,
.w3-clear:after,
.w3-clear:before,
.w3-bar:before,
.w3-bar:after {
    content: "";
    display: table;
    clear: both
}


/*  */

@media (max-width:600px) {
    /*  0000000000000*/
    .w3-hide-small {
        display: none!important
    }
    /*  */
    .w3-bar-item.w3-mobile,
    .w3-dropdown-hover.w3-mobile,
    .w3-dropdown-click.w3-mobile {
        text-align: center
    }
    /*  */
    .w3-dropdown-hover.w3-mobile,
    .w3-dropdown-hover.w3-mobile .w3-btn,
    .w3-dropdown-hover.w3-mobile .w3-button,
    .w3-dropdown-click.w3-mobile,
    .w3-dropdown-click.w3-mobile .w3-btn,
    .w3-dropdown-click.w3-mobile .w3-button {
        width: 100%
    }
}

@media (min-width:993px) {
    /*  */
    .w3-hide-large {
        display: none!important
    }
}


/*  */

@media (max-width:992px) and (min-width:601px) {
    .w3-hide-medium {
        display: none!important
    }
}


/* 00000000000000000 */


/* .w3-display-middle {
    position: inherit;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    -ms-transform: translate(-50%, -50%)
} */


/*00000000000  */


/* 
.w3-display-bottommiddle {
    position: absolute;
    left: 50%;
    bottom: 0;
    transform: translate(-50%, 0%);
    -ms-transform: translate(-50%, 0%)
} */


/*  00000000*/

.w3-display-container:hover .w3-display-hover {
    display: block
}


/*  0000000000*/

.w3-display-container:hover span.w3-display-hover {
    display: inline-block
}


/* 00000000000000 */

.w3-center {
    text-align: center!important
}


/*  000000*/

.w3-padding-large {
    text-align: center;
}


/* 0000000000000 */

.w3-padding-16 {
    padding-top: 0px!important;
    padding-bottom: 0px!important
}


/* 0000000000 */

.w3-button:hover {
    color: #000!important;
    background-color: #ccc!important
}


/*case buzule section*/

div#case {
    margin: 20px 0;
    text-align: center;
    background: #faf6ed;
}

button.case-button {
    margin: 16px 0px 14px 0;
    color: #000;
    font-size: 20px;
    text-decoration: none !important;
    border: 0;
    padding: 6px 25px 3px 25px;
}

h1.section-tittle {
    font-weight: 600;
    text-align: center;
    color: #c72a29;
    font-family: 'XM';
    font-size: 3rem;
}


/* 000000000000 */

.w3-light-grey,
.w3-hover-light-grey:hover,
.w3-light-gray,
.w3-hover-light-gray:hover {
    color: #000!important;
    background-color: #faf6ed!important
}

.footer {
    left: 0;
    bottom: 0;
    width: 100%;
    background-color: #faf6ed;
    color: rgb(0, 0, 0);
    border-radius: 20px 20px 0px 00px;
    text-align: center;
}

footer * {
    text-align: right;
    font-size: 17px;
    font-family: "XM";
    /* padding: 0 15px; */
}

.about-us {
    padding: 0 15px;
    margin: 10px 0
}

.about-us h1,
.about-us span {
    text-align: right;
    font-size: 17px;
}


/* 0000000000 */

.w3-text-light-grey,
.w3-hover-text-light-grey:hover,
.w3-text-light-gray,
.w3-hover-text-light-gray:hover {
    color: #f1f1f1!important
}


/*0000000000000000*/

.w3-image {
    max-width: 100%;
    height: auto;
}

img.w3-image.header {
    height: 200px !important;
}


.logo,
.logo-bg {
    width: 150px;
}


/*social*/

.contact-us {
    margin: 0 15px;
}

.fa,
a.fa-brands.fa-tiktok {
    /* padding: 10x; */
    font-size: 25px;
    width: 35px;
    text-align: center;
    border-radius: 20px;
    text-decoration: none;
    margin: 5px 2px;
}

a.fa-brands.fa-tiktok svg {
    width: 13px;
}

.fa:hover {
    opacity: 0.7;
}

.fa-twitter {
    /* background: #55ACEE; */
    color: #000;
}

.fa-youtube {
    /* background: #bb0000; */
    color: #000;
}

.fa-instagram {
    /* background: #125688; */
    color: #000;
}

.fa-snapchat-ghost {
    /* background: #fffc00; */
    color: #000;
    /* text-shadow: -1px 0 black, 0 1px black, 1px 0 black, 0 -1px black; */
}

.a.fa-brands.fa-tiktok:before {
    content: "\e07b";
}