﻿/*로그인*/
.MyLoginBox {
    /* height: calc(100vh - var(--mud-appbar-height));*/
    /*margin-top: var(--mud-appbar-height);*/
    height: auto;
    min-height:800px;
    padding-top: calc(var(--mud-appbar-height) * 1.75);
    padding-bottom: calc(var(--mud-appbar-height) * 1.75);
}

#MainTxtContainer {
    color: #999;
    font-size: 40px;
    line-height: 1;
    font-family: 'NanumSquareNeoLight';
    font-weight: 300;
    padding-top: 2rem;
    width: 100%;
    display: block;
    text-align: center;
}

#flip {
    height: 47px;
    padding-top: 1px;
    overflow: hidden;
    font-family: 'NanumSquareNeoBold';
    font-weight: 700;
    margin: 5px;
}

    #flip > div > div.inin {
        color: var(--mud-palette-white);
        padding: 0px 15px;
        height: 46px;
        display: inline-flex;
        align-items: center;
        justify-content: center;
        width: fit-content;
        margin: 0 auto 50px;
        border-radius: var(--brd-10);
    }

    #flip div:first-child {
        animation: show 5s linear infinite;
    }

    #flip div div {
        background: #42c58a;
    }

    #flip div:first-child div {
        background: #4ec7f3;
    }

    #flip div:last-child div {
        background: #DC143C;
    }

@keyframes show {
    0%,100% {
        margin-top: -276px;
    }

    5%, 33% {
        margin-top: -184px;
    }


    38%,66% {
        margin-top: -92px;
    }

    71%,99.99% {
        margin-top: 0px;
    }
}

.MyLogo {
    font-family: 'NanumSquareNeoExtraBold';
    font-weight: 800;
}

.MyLoginBox .mud-grid {
    max-width: 400px;
}

.MyLoginInput.invalid {
    border-color: #e50000 !important;
}

.MyLoginButton {
    height: 46px !important;
    font-family: 'NanumSquareNeoBold';
    font-weight: 700;
}

.MyLoginBox .FindTab {
    margin: auto;
    min-width: 430px !important;
    width: 430px !important;
}
/*에러페이지*/
.ErrorBox {
    display: block !important;
    width: 100vw;
    height: 100vh;
    margin: 0;
    padding: 0;
    position: relative;
    background-image: /*url("../images/tit-arch.svg"), linear-gradient( #21263d -10%, #101322, #21263d 110%);*/ 
    linear-gradient( to bottom,#2A314C 0%,#21263d 30%,#181c2d 60%,#181c2d 99%,#ffffff 100%);
    background-repeat: no-repeat, no-repeat;
    background-position: 0 92%;
    background-size: contain, cover;
    overflow: hidden;
    position: relative;
    z-index: -1
}

 /*   .ErrorBox:after {
        content: '';
        position: absolute;
        left: 0px;
        top: 0px;
        width: 100%;
        height: 100%;
        background: rgba(0, 0, 0, 0.5);
    }*/
    .ErrorBox::before, .ErrorBox::after {
        content: "";
        width: 65vmax;
        height: 65vmax;
        position: absolute;
        background-image: linear-gradient(var(--grd-direction-rt), #ffffff0c, #ffffff00 );
        left: -20vmin;
        top: -20vmin;
        animation: morph 15s linear infinite alternate, spin 18s linear infinite;
        will-change: border-radius, transform;
        transform-origin: 55% 65%;
        pointer-events: none;
        z-index: 1;
        /*https: //codepen.io/weenabeana/pen/yRMwGY참고*/
    }
    .ErrorBox::after {
        width: 40vmin;
        height: 40vmin;
        left: auto;
        right: -10vmin;
        top: auto;
        bottom: 0;
        animation: morph 10s linear infinite alternate, spin 26s linear infinite reverse;
        transform-origin: 30% 20%;
    }
.ErrorTextBox {
    color: var(--mud-palette-white);
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translateY(-60%) translateX(-50%);
    display: flex;
    flex-direction: column;
    gap: 10px;
    justify-content: center;
    background-color: transparent !important;
}

    .ErrorTextBox > .mud-button {
        margin-top: 2rem;
    }

        .ErrorTextBox > .mud-button:hover {
            filter: brightness(1.1);
        }
    /*모바일★★★★★★★★★★★★★★★★★★★★★★★★★★★★★★★★★★★★★★★★★★★★★★★★★★★★★★*/
    @media (min-width:1280px) {
    }

#MainTxtContainer {
    padding-top: 1rem;
}

@media (min-width: 960px) and (max-width: 1280px) {
    .MyLoginBox .CenCen{
        transform: scale(0.95)
    }
    #MainTxtContainer {
        padding-top: 0rem;
        transform: scale(0.85);
    }
}

@media (min-width: 600px) and (max-width: 960px) {
    .MyLoginBox .CenCen {
        transform: scale(0.85)
    }

    #MainTxtContainer {
        padding-top: 0rem;
        transform: scale(0.75);
    }
}

@media (max-width: 600px) {
    .MyLoginBox .CenCen {
        transform: scale(1)
    }
    #MainTxtContainer {
        padding-top: 0rem;
        transform: scale(0.6);
    }

    .MyLoginBox .FindTab {
        min-width: 100% !important;
        width: 100% !important;
    }
    /* .MyLoginBox h1, h2, h3, h4, h5, h6 {
        font-size: 1.2rem !important;
    }*/
    /*.MyLoginBox, .MyLoginBox .mud-typography-body1, .MyLoginBox .mud-typography-body2, .MyLoginBox .mud-typography-subtitle1 {
        font-size: 80% !important; 
    }*/
  
    .ROK {
        transform: scale(0.9);
    }

        .ROK .MyLogo {
            margin: 1rem auto 0px;
        }
}
