/* Basic styles */
body {
    font-family: "Montserrat-Medium";
    margin: 0;
    padding: 0;
    background: #20050c;
}

@font-face {
    font-family: "Montserrat-Medium";
    src: url("../font/Montserrat-Medium.ttf") format("truetype");
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}

@media only screen and (min-width: 240px) {
    html {
        font-size: 32px;
    }

    body {
        font-size: 7.68px;
    }
}

@media only screen and (min-width: 260px) {
    html {
        font-size: 34.6666666667px;
    }

    body {
        font-size: 8.32px;
    }
}

@media only screen and (min-width: 280px) {
    html {
        font-size: 37.3333333333px;
    }

    body {
        font-size: 8.96px;
    }
}

@media only screen and (min-width: 300px) {
    html {
        font-size: 40px;
    }

    body {
        font-size: 9.6px;
    }
}

@media only screen and (min-width: 320px) {
    html {
        font-size: 42.6666666667px;
    }

    body {
        font-size: 10.24px;
    }
}

@media only screen and (min-width: 360px) {
    html {
        font-size: 48px;
    }

    body {
        font-size: 11.52px;
    }
}

@media only screen and (min-width: 375px) {
    html {
        font-size: 50px;
    }

    body {
        font-size: 12px;
    }
}

@media only screen and (min-width: 384px) {
    html {
        font-size: 51.2px;
    }

    body {
        font-size: 12.288px;
    }
}

@media only screen and (min-width: 393px) {
    html {
        font-size: 52.4px;
    }

    body {
        font-size: 12.576px;
    }
}

@media only screen and (min-width: 411px) {
    html {
        font-size: 54.8px;
    }

    body {
        font-size: 13.152px;
    }
}

@media only screen and (min-width: 414px) {
    html {
        font-size: 55.2px;
    }

    body {
        font-size: 13.248px;
    }
}

@media only screen and (min-width: 480px) {
    html {
        font-size: 64px;
    }

    body {
        font-size: 15.36px;
    }
}

@media only screen and (min-width: 540) {
    html {
        font-size: 72;
    }

    body {
        font-size: 17.28;
    }
}

@media only screen and (min-width: 640px) {
    html {
        font-size: 85.3333333333px;
    }

    body {
        font-size: 20.48px;
    }
}

@media only screen and (min-width: 720px) {
    html {
        font-size: 96px;
    }

    body {
        font-size: 23.04px;
    }
}

img {
    max-width: 100%;
    height: auto;
}

p {
    margin: 0;
}

.container {
    max-width: 7.68rem;
    margin: auto;
    background-image: url("../images/match/bg.png");
    background-repeat: no-repeat;
    background-position: center;
    background-size: cover;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100vh;
    position: relative;
}

.top-image {
    width: 100%;
}

.form-group-container {
    padding: 0.24rem;
    border-radius: 0.24rem;
    border-top: 0.03rem solid #722b37;
    background: linear-gradient(180deg, rgb(32 5 12 / 50%) 82%, #161213);
}

.form-group-container .phone-form-group {
    display: grid;
    grid-template-columns: 0.5rem 0.42rem 0.02rem 1fr;
    align-content: center;
    align-items: center;
    background: url("../images/match/sr_di.png") no-repeat;
    background-size: 100% 100%;
    padding: 0.27rem 0.32rem;
    gap: 0.3rem;
}

.form-group-container .form-group .icon-box {
    width: 0.31rem;
    display: flex;
}

.form-group-container .phone-form-group .area-code {
    position: relative;
}

.area-code p {
    font-size: 0.3rem;
    color: #e6e6e6;
}

.vertical-Line {
    height: 0.5rem;
}

.vertical-Line img {
    height: 100%;
}

.form-group-container .phone-form-group .input-group {
    display: flex;
}

.form-group-container .input-group input {
    width: 100%;
    background: #17080b00;
    border: none;
    color: #e6e6e6;
}

input::placeholder {
    border: none;
    color: #807a7b;
    font-size: 0.2rem;
}

input:focus {
    outline: none;
    border: none;
}

.form-group-container .describe {
    width: 92%;
    margin-top: 0.22rem;
    margin-bottom: 0.55rem;
    font-size: 0.24rem;
    line-height: 0.3rem;
    color: #aea9aa;
    font-weight: 500;
}

.user-form-group {
    display: grid;
    grid-template-columns: 0.38rem 0.02rem 1fr;
    align-content: center;
    align-items: center;
    padding: 0.27rem 0.32rem;
    gap: 0.3rem;
    border: 0.02rem solid #46171d;
    border-radius: 0.16rem;
    background: #100206;
}

.form-group-container .user-form-group .icon-box {
    position: relative;
    width: 0.38rem;
}


.submit-box {
    background: url("../images/match/anniu.png") no-repeat;
    background-size: 100% 100%;
    text-align: center;
    width: 4.46rem;
    line-height: 0.8rem;
    height: 0.9rem;
    margin: 1rem auto 0.3rem;
}

.submit-box button {
    border: none;
    background: #00000000;
    color: #e6e6e6;
    font-size: 0.3rem;
    font-family: "Montserrat-Medium"
}

.login-box {
    text-align: center;
    margin: auto;
}

.login-box a {
    font-size: 0.24rem;
    color: #e6e6e6;
    text-decoration: underline;
}

.layer-msg-custom {
    font-size: 24px !important;
    color: #f9f7a5 !important;
    background-color: #fbf9a6 !important;
    border-radius: 10px !important;
    width: 80% !important;
    margin: 0 auto !important;
    line-height: 20px !important;
    text-align: center !important;
    background-color: transparent !important;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2) !important;
}

.zoom-btn {
    transition: transform 0.3s ease;
}

.zoom-btn:active {
    transform: scale(0.9);
}

.logo {
    padding-left: 6%;
    padding-top: 3%;
}

.logo-background {
    height: 100px;
    width: 100%;
    background-image: url("../images/match/logo_bg.png");
    background-repeat: no-repeat;
    background-position: center;
    background-size: cover;
    padding-left: 0;
    padding-top: 0;
    position: absolute;
    left: 0;
    top: 0;
    right: 0;
    max-width: 7.68rem;
    margin: 0 auto;
}

.resized-image {
    width: 33%;
    height: auto;
}