:root {
    --gap: 20px 2%;
  }

body {
    position: relative;
    background: url(../img/background2.webp) no-repeat center center;
    background-size: cover;
    background-attachment: fixed;
    font-family: Roboto, 'sanser-serif';
}
.mob-banner {
    display: none;
}
.mob-banner img {
    transform: translateX(15px);
}
.mob {
    display: none;
}
.desk {
    display: block;
}

.btn-sd {
    position: relative;
}
.btn-sd:hover::after {
    content: "";
    position: absolute;
    top: 0px;
    width: 100%;
    height: 100%;
    z-index: -1;
    background: linear-gradient(90deg, #f0da21 0%, #fef2a0 100%);
    filter: blur(10px) brightness(2);
}
.btn-zoom:hover {
    animation: zoom 300ms ease-in-out infinite;
}

.container {
    width: 100%;
    height: auto;
    max-width: 1063px;
    margin-inline: auto;
    display: grid;
    grid-template-columns: 1fr;
    background-color: black;
    background: #fee71b
}
.header {
    position: relative;
    height: 90px;
    background: #028843;
    background-image: linear-gradient( to right, #015e2f, #016633, #016d36, #01753a, #017d3e, #038544, #048e4a, #069650, #09a05a, #0bab65, #0db56f, #0ec07a );
    z-index: 10;
}

.hd-logo img{
    display: block;
    height: 100%;
 }
.hd-container {
    max-width: 1700px;
    margin: 0 auto;
    height: 100%;
    padding: 15px 10px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.hd-btns {
    display: flex;
    justify-content: space-around;
    align-items: center;
}
.hd-btns a {
    display: flex;
    justify-content: center;
    align-items: center;
    width: auto;
    height: 46px;
    border-radius: 5px;
    background: linear-gradient(90deg,#f0da21 0%,#fef2a0 100%);
    margin: 0 10px;
    padding: 5px 25px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.2);
}
.hd-btns a span {
    color: #111;
    font-size: 20px;
    font-weight: 600;
    text-transform: uppercase;
}


.main {
    position: relative;
    padding: var(--gap);
    display: flex;
    justify-content: flex-end;
    height: calc(100vh - 90px);
    overflow: hidden;
    z-index: 5;
}
.form {
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: center;
    padding-right: 5%;
}
a.topbtn {
    display: flex;
    justify-content: center;
    align-items: center;
    width: auto;
    height: 46px;
    border-radius: 5px;
    background: linear-gradient(90deg,#f0da21 0%,#fef2a0 100%);
    margin: 15px 10px;
    padding: 5px 30px;
    box-shadow: 0 3px 4px  rgba(0,0,0,0.2);
}

a.topbtn  span {
    color: #111;
    font-size: 20px;
    font-weight: 600;
    text-transform: uppercase;
}
.players {
    position: absolute;
    height: 100%;
    bottom:-50px;
    left: -10%;
    z-index: -1;
}
.btotom {
    position: absolute;
    bottom: -100px;
    left: -100px;
}

.banner50 {
    margin: 0 5px;
    padding: 20px;
    border-radius: 10px;
    border: 1px solid #bceccd;
    box-shadow: 0 4px 4px rgba(0,0,0,0.3);
    background: linear-gradient(90deg, #ebfff6 50%, #cdffe0 70%, #6bdf93 100%);
    
    /* border: 1px solid #4ea792;
    background: rgba(162, 235, 220, 0.2);
    backdrop-filter: blur(1px); */
}


/*#region Boostrap modal adjustment */
#modal-success .modal-content {
    background-color: unset;
    outline: none;
    border: none;
    max-width: 500px;
}
#modal-success.modal-open .modal{
    background: rgba(0,0,0,0.6);
}

#modal-success .close {
    border: none;
    outline: none;
    position: absolute;
    top: 0;
    right: 0;
    color: #333;
    opacity: 1;
    z-index: 99;
    cursor: pointer;
    width: 22px;
    height: 22px;
    background: white;
    border-radius: 50%;
    transition: all 100ms ease-out;
}
#modal-success .close span {
    display: block;
    width: 22px;
    height: 22px;
    font-size: 22px;
}
#modal-success .close:hover {
    color: white;
    transform-origin: center center;
    background: red;
    animation: roto 300ms linear forwards;
}
.md-contents {
    width: 100%;
    height: auto;
    border-radius: 5px;
    border: 1px solid #4ea792;
    background: rgba(162, 235, 220, 0.4);
    backdrop-filter: blur(8px);
    padding: 30px;
    font-size: 20px; 
   
}
.md-contents a{
    color: #08ff94;
    text-decoration: underline !important;
}
.md-contents p:first-child {
    text-transform: uppercase;
    text-align: center;
    color: #08ff94;
    font-weight: 600;
    margin-bottom: 20px;
}
.md-contents p:last-child {
    font-weight: 13px;
    color: #fff;
}
.md-contents p:last-child span {
    color: #fee71b;
    font-weight: 600;
}

/*#region REGISER ------------------*/
#register {
    position: relative;
    z-index: 1;
    margin-top: 10px;
}
.register-form {
    position: relative;
    max-width: 420px;
    min-height: 475px;
    display: block;
    margin: 0px auto;
    box-shadow: none;
    border-radius: 8px;
    border: 1px solid #4ea792;
    background: rgba(162, 235, 220, 0.4);
    backdrop-filter: blur(8px);
}
.modal-backdrop.show {
    opacity: 0.9;
}
.register-form > .close {
    color: #fff;
    opacity: 1;
    margin-top: 16px;
    margin-right: 31px;
    z-index: 9999;
    position: relative;
    cursor: pointer;
}
.text-register {
    padding-left: 40px;
}
.inner-wrap {
    width: 380px;
    margin: 0 auto;
    position: relative;
    z-index: 999;
    padding-top: 38px;
    padding: 15px 30px 0;
}

.register-form input[type="text"],
.register-form input[type="password"],
.register-form input[type="email"],
.register-form textarea,
.register-form select {
    position: relative;
    width: 100%;
    height: 43px;
    background-size: contain;
    border: none;
    padding-left: 20px;
    margin: 0 auto;
    margin-bottom: 15px;
    font-size: 18px;
    display: block;
    line-height: 1;
    border-radius: 6px;
    position: relative;
    z-index: 999;
    color: gray;
    border: 1px solid #4ea792;
    background: #fff;
}

.errorMsg {
    padding: 8px;
    background: #e74e4e;
    border: 1px solid #860404;
    color: #fff;
    display: none;
    font-size: 14px;
    position: fixed;
    top: 10px;
    left: 10px;
    z-index: 9999999;
    box-sizing: border-box;
    right: 10px;
    -moz-box-sizing: border-box;
    border-radius: 5px;
}

.successMsg {
    padding: 8px;
    background: #6bb34b;
    border: 1px solid #1b4a07;
    color: #fff;
    display: none;
    font-size: 14px;
    position: fixed;
    top: 10px;
    left: 10px;
    z-index: 999;
    box-sizing: border-box;
    right: 10px;
    -moz-box-sizing: border-box;
    border-radius: 5px;
}

.birthDate select {
    width: 31.4%;
    display: block;
    float: left;
    margin-right: 8px;
    padding-left: 5px;
    font-size: 13px;
    line-height: 19px;
    position: relative;
}

.birthDate select:last-child {
    margin-right: 0;
}

.msg-error {
    color: #fff;
    font-size: 12px;
    margin-top: -5px;
    display: none;
    padding: 0 10px;
    margin-bottom: 5px;
}

.msg-error-focus {
    position: relative;
    color: #fff;
    font-size: 12px;
    margin-top: -5px;
    display: block;
    padding: 0 10px;
    margin-bottom: 5px;
    background: #015e2f;
}

.capbox-inner {
    position: relative;
}

#CaptchaDiv {
    font-size: 16px;
    color: #fff;
    background-color: #4ea792;
    padding: 4px;
    -moz-border-radius: 0 4px 4px 0;
    border-radius: 0 4px 4px 0;
    -webkit-border-radius: 0 4px 4px 0;
    width: 85px;
    float: right;
    height: 43px;
    text-align: center;
    position: absolute;
    top: 0;
    right: 0;
    line-height: 41px;
    z-index: 999;
}

.dangky {
    outline: none;
    border: none;
    border-radius: 4px;
    width: 100%;
    margin: 10px 0 10px 0;
    font-size: 18px;
    font-weight: 600;
    height: 50px;
    cursor: pointer;
    background: #fee71b;
    background-image: linear-gradient(
        to right top,
        #ffc400,
        #ffca03,
        #ffd107,
        #ffd70d,
        #ffde13,
        #ffe22c,
        #fee73d,
        #feeb4c,
        #feee65,
        #fff17c,
        #fff391,
        #fff6a6
    );
    transition: background 0.3s ease-in-out;
}
.dangky:hover {
    background: #3ff977;
    color: #555;
}
.dangky:active {
    animation: clicked 100ms ease;
}

.register-form input[name="password"] {
    background: #fff url(../img/eye.png) no-repeat center right;
}
.register-form input[name="phone"] {
    background: #fff url(../img/flag-vn.png) no-repeat center right;
}
.dacotk {
    color: white;
   margin-bottom: 10px;
   font-size: 14px;
}
.dacotk a {
    color: #006834 ;
    text-decoration: underline !important;
}


.burger {
    position: absolute;
    top: 30px;
    right: 20px;
    display: none;
}
.burger span
{
  display: block;
  width: 33px;
  height: 4px;
  margin-bottom: 5px;
  position: relative;
  
  background: #cdcdcd;
  border-radius: 3px;
  
  z-index: 1;
  
  transform-origin: 4px 0px;
  
  transition: transform 0.5s cubic-bezier(0.77,0.2,0.05,1.0),
              background 0.5s cubic-bezier(0.77,0.2,0.05,1.0),
              opacity 0.55s ease;
}

.burger span:first-child
{
  transform-origin: 0% 0%;
}

.burger span:nth-last-child(2)
{
  transform-origin: 0% 100%;
}
.burger.open span
{
  opacity: 1;
  transform: rotate(45deg)  translate(-7px, 1px) ;
}
 .burger.open span:nth-child(2)
{
  opacity: 0;
  transform: rotate(0deg) scale(0.2, 0.2);
}
.burger.open span:nth-child(3)
{
  transform: rotate(-45deg) translate(-5px, -8px);
}


/*#endregion REGISER ------------------*/


@media (max-width: 1366px) {
    body {
        background: url(../img/background.jpg) no-repeat right center;
        background-size: cover;
    }
    .mob-banner {
        display: block;
    }
    .header {
        height: auto;
    }
    .hd-container {
        justify-content: space-around;
    }
    .hd-btns {
       flex-direction: column;
        align-items: flex-start;
    }
    .hd-btns a {
        margin: 5px 0;
        width: 400px;
    }
    .main {
        height: auto;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        padding: 20px 0;
    }
    .form {
        padding-right: 0%;
    }
}
@media (max-width: 768px) {
    .mob {
        display: block;
    }
    .desk {
        display: none;
    }
    
    .burger {
        display: block;
    }
    .hd-container {
        flex-direction: column;
    }
    .hd-logo {
        margin-bottom: 10px;
    }
    .btn-zoom {
        animation: zoom 500ms ease-in-out infinite;
    }
    a.topbtn {
        height: 40px;
        padding: 5px 20px;
    }
    .hd-btns {
        max-height: 0;
        overflow: hidden;
        transition: all 500ms ease-in-out;
    }
}

@media (max-width: 500px) {
    .hd-btns a span {
        color: #333;
        font-size: 14px;
        font-weight: 600;
        text-transform: uppercase;
    }
    .hd-btns a {
        height: 32px;
        margin: 4px 0;
        padding: 5px 15px;
        width: 290px;
    }
    .hd-logo img{
       height: 40px;
    }
    .inner-wrap {
        width: 100%;
        padding: 15px 10px;
    }
    .birthDate select{
        width: 31%;
    }
    .banner50 {
        width: 75%;
        padding: 7px;
        margin-bottom: 10px;
    }
}



@keyframes roto {
    0% {
        transform: rotate(0deg);
    }
    100% {
        transform: rotate(180deg);
    }
}

@keyframes zoom {
    0% {
        transform: scale(1,1);
        box-shadow: 0 3px 4px  rgba(0,0,0,0.2);
    }
    100% {
        transform: scale(1.1,1.1);
        box-shadow: 0 5px 7px  rgba(0,0,0,0.2);
    }
}

@keyframes clicked {
    0% {
        transform: scale(1,1);
        transform: translateY(0px);
    }
    50% {
        transform: scale(0.95,0.95);
        transform: translateY(3px);
    }
    100% {
        transform: scale(1.1,1.1);
        transform: translateY(0px);
    }
}