/* 1. Use a more-intuitive box-sizing model */
*,
*::before,
*::after {
    box-sizing: border-box;
}

/* 2. Remove default margin */
* {
    margin: 0;
}

/* 3. Enable keyword animations */
@media (prefers-reduced-motion: no-preference) {
    html {
        interpolate-size: allow-keywords;
    }
}

body {
    /* 4. Add accessible line-height */
    line-height: 1.5;
    /* 5. Improve text rendering */
    -webkit-font-smoothing: antialiased;
    font-family: system-ui;
}

/* 6. Improve media defaults */
img,
picture,
video,
canvas,
svg {
    display: block;
    max-width: 100%;
}

/* 7. Inherit fonts for form controls */
input,
button,
textarea,
select {
    font: inherit;
}

/* 8. Avoid text overflows */
p,
h1,
h2,
h3,
h4,
h5,
h6 {
    overflow-wrap: break-word;
}

/* 9. Improve line wrapping */
p {
    text-wrap: pretty;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    text-wrap: balance;
}

::-webkit-scrollbar {
    display: none;
}

/*
  10. Create a root stacking context
*/
#root,
#__next {
    isolation: isolate;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.hiddenDesktop {
    display: none;
}

.main {
    background-image: url(assets/mb/bg.png);
    background-repeat: no-repeat;
    background-position: top center;
    min-height: 100vh;
    background-size: 100% 100%;
}

.nav {
    display: flex;
    justify-content: space-between;
    padding: 20px 0 0 0;
}

.iconNavs {
    display: grid;
    gap: 4px;
}

.nav .bg-logo {
    background-image: url(assets/mb/light.png);
    background-repeat: no-repeat;
    background-position: top center;
    background-size: contain;
    min-height: 190px;
}

.logo {
    display: flex;
    max-width: 85%;
    padding: 15px 0 0 0;
    animation: pulse 2s infinite;
    justify-content: center;
    margin: 0 auto;
}

.iconNav {
    max-width: 62px;
}

.contentBody .titleNap {
    margin: -15px 0 0 0;
}

.boxContent {
    margin: 15px 0 0 0;
}

.boxForm {
    padding: 0 10px;
}

.bgForm {
    background-image: url(assets/pc/popup.png);
    background-position: top center;
    background-repeat: no-repeat;
    background-size: 100% 100%;
    padding: 0 45px;
    position: relative;
}

.formItem {
    background-image: url(assets/pc/boxBg.png);
    background-position: top center;
    background-repeat: no-repeat;
    background-size: 100% 100%;
}

.loginTitle {
    position: absolute;
    top: 7px;
    left: 51%;
    transform: translateX(-50%);
    max-width: 36%;
}

.formItem input {
    background: transparent;
    border: none;
    outline: none;
    width: 100%;
    padding: 8px 0 8px 18px;
    color: #fff;
    font-size: 13px;
}

.loginForm {
    display: grid;
    gap: 9px;
    padding: 65px 0 23px 0;
}

.registerForm {
    /* display: none; */
    display: grid;
    gap: 9px;
    padding: 65px 0 23px 0;
}

#ErrorMessageRegister {
    color: #f40000;
    font-size: 12px;
    position: absolute;
    margin: -20px 0 0 7px;
}

input::placeholder {
    color: #fff;
    opacity: 0.7;
}

.checkBox {
    display: flex;
    align-items: center;
    gap: 8px;
    margin: 2px 0 0 0;
}

.iconCheck {
    position: relative;
}

.tickBox {
    max-width: 90%;
}

.tick {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    max-width: 90%;
}

.textLink {
    margin: 5px 0 0px 0;
    display: flex;
    justify-content: space-between;
}

.textRegister {
    max-width: 69px;
    cursor: pointer;
}

.registerTitle {
    top: 6px;
    max-width: 27%;
    position: absolute;
    left: 51%;
    transform: translateX(-50%);
}

.textPass {
    max-width: 116px;
}

.loginButton {
    background: transparent;
    border: none;
    outline: none;
}

.registerButton {
    background: transparent;
    border: none;
    outline: none;
    display: flex;
    justify-content: center;
    margin: -7px 0 7px 0;
    cursor: pointer;
    animation: btnAnimation .5s linear infinite;
    transition: all 0.5s;
}

.buttonHover {
    cursor: pointer;
    transition: all 0.5s;
}

.buttonHover:hover {
    transform: scale(1.1);
}

.registerButton img {
    max-width: 85%;
}

.boxButton {
    display: flex;
    justify-content: space-between;
    margin: 0 -25px;
}

.boxButtonDirector {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    grid-template-rows: repeat(2, 1fr);
    gap: 6px 10px;
    padding: 0 10px;
    margin: 25px 0 0 0;
}

.boxIos {
    display: flex;
    justify-content: center;
    grid-area: 2 / 1 / 3 / 2;
}

.boxWeb {
    grid-area: 1 / 1 / 2 / 3;
    display: flex;
    justify-content: center;
}

.boxAndroid {
    display: flex;
    justify-content: center;
    grid-area: 2 / 2 / 3 / 3;
}

.contentText {
    margin: 21px 0 0px 0;
    color: #fff;
    padding: 0 0 20px 0;
}

.contentText h1 {
    text-align: center;
    font-size: 23px;
}

.contentText p {
    text-align: justify;
    font-size: 15px;
}

.contentText h2 {
    font-size: 23px;
    text-wrap: auto;
    padding: 8px 0 8px 0;
    line-height: 27px;
}

@media (min-width: 1024px) {
    .hiddenDesktop {
        display: block;
    }

    .main {
        background-image: url(assets/pc/bg.png);
        background-size: cover;
    }

    .boxContent {
        display: flex;
        justify-content: space-between;
    }

    .iconNavs {
        display: flex;
        gap: 15px;
    }

    .iconNav {
        max-width: 70px;
    }

    .logo {
        max-width: 100%;
        padding: 15px 0 0 0;
    }

    .nav .bg-logo {
        background-image: url(assets/pc/light.png);
        min-height: 250px;
        background-size: 100% 100%;
        margin: -20px 0 0 0;
    }

    .nav .center {
        margin: 0px 0 0 -99px;
    }

    .contentBody .titleNap {
        margin: -74px auto 0 auto;
        display: flex;
    }

    .loginForm {
        gap: 13px;
        padding: 76px 0 18px 0;
    }

    .formItem input {
        width: 100%;
        padding: 12px 0 11px 18px;
        color: #fff;
        font-size: 15px;
    }

    .bgForm {
        width: 443px;
        margin: 0 auto;
    }

    .registerForm {
        gap: 13px;
        padding: 74px 0 28px 0;
    }

    .registerButton img {
        max-width: 100%;
    }

    .boxButtonDirector {
        grid-template-columns: repeat(3, 1fr);
        grid-template-rows: 1fr;
        margin: 20px 0 0 0;
    }

    .boxIos {
        grid-area: 1 / 1 / 2 / 2;
    }

    .boxWeb {
        grid-area: 1 / 2 / 2 / 3;
    }

    .boxAndroid {
        grid-area: 1 / 3 / 2 / 4;
    }

    .bannerL {
        margin: -25px 0 0 0;
    }

    .bannerR {
        margin: -25px 0 0 0;
    }

    .textLink {
        margin: 5px 0 -11px 0;
    }

    .contentText {
        margin: 0px 0 0px 0;
    }

    .contentText h1 {
        font-size: 31px;
        padding: 0 0 8px 0;
    }
}

@keyframes pulse {
    0% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.03);
    }

    100% {
        transform: scale(1);
    }
}
@keyframes btnAnimation {
  0% {
    -webkit-filter: drop-shadow(0 0 5px #f8d234) brightness(1.4);
    filter: drop-shadow(0 0 5px #f8d234) brightness(1.4);
  }

  50% {
    -webkit-filter: brightness(1);
    filter: brightness(1);
  }

  100% {
    -webkit-filter: drop-shadow(0 0 5px #f8d234) brightness(1.4);
    filter: drop-shadow(0 0 5px #f8d234) brightness(1.4);
  }
}