@import url('https://fonts.googleapis.com/css?family=Raleway:400,700');

* {
	box-sizing: border-box;
	margin: 0;
	padding: 0;	
}

body {
    padding: 0;
    margin: 0;
    font-family: Microsoft JhengHei, Arial Black, LiHei Pro;
    letter-spacing: 1px;
    position: relative;
    background: linear-gradient(90deg, #f27c69, #c55c4b);
}

.container {
	display: flex;
	align-items: center;
	justify-content: center;
	min-height: 100vh;
}

.screen {		
    background: linear-gradient(90deg, #b04727, #ef7d5a);
    position: relative;
    height: 600px;
    width: 360px;
    box-shadow: 0px 0px 24px #be503e;
}

.screen__content {
    z-index: 1;
    position: relative;
    height: 100%;
    display: flex;
    flex-direction: column;
    flex-wrap: nowrap;
    align-items: flex-start;
    background: url(../images/top.png) no-repeat right 99%;
}

.screen__background {		
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	bottom: 0;
	z-index: 0;
	-webkit-clip-path: inset(0 0 0 0);
	clip-path: inset(0 0 0 0);	
}

.screen__background__shape {
	transform: rotate(45deg);
	position: absolute;
}

.screen__background__shape1 {
	height: 520px;
	width: 520px;
	background: #FFF;	
	top: -50px;
	right: 120px;	
	border-radius: 0 72px 0 0;
}

.screen__background__shape2 {
    height: 220px;
    width: 220px;
    background: #c95c3b;
    top: -172px;
    right: 0;
    border-radius: 32px;
}

.screen__background__shape3 {
    height: 540px;
    width: 190px;
    background: linear-gradient(270deg, #a64620a1, #b23c2ab3);
    top: -24px;
    right: 0;
    border-radius: 32px;
}

.screen__background__shape3::after{
    position: absolute;
    content: "";
    background: url(../images/bg1.png) repeat center center;
    width: 100%;
    height: 100%;
    display: block;
}

.screen__background__shape4 {
    height: 400px;
    width: 200px;
    background: #a745215c;
    top: 420px;
    right: 50px;
    border-radius: 60px;
}
.screen__background__shape0 {
	background-image: url(../images/top1.png);
	background-position: left top;
	background-repeat: no-repeat;
    top: 0;
    left: 0;
    width: 150px;
    height: 16px;
    transform:inherit;
}


/*==== tittl名稱 ====*/
.logo_tit{
width: 320px;
    padding: 0 1rem;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    margin: 90px 0 0.5rem 0;
}
.logo_tit .logoimg{
    display: flex;
    flex-direction: row;
    justify-content: space-around;
    flex-wrap: nowrap;
    align-items: center;
}
.logo_tit .logoimg img{
	height: 50px;
    width: auto;
}
.logo_tit .logoimg span{
    font-weight: 600;
    font-size: 1.2rem;
    margin: 0 0 0 0.5rem;
    line-height: 110%;
    letter-spacing: .5px;
}
.logo_tit h1{
font-size: 1.8rem;
    margin: 0.5rem 0 0 0;
    letter-spacing: -2px;
    color: #7b3727;
}



/*==== 登入內容 ====*/
.login {
    width: 320px;
    padding: 0 1.5rem;
}

.login__field {
	padding: 10px 0px;	
	position: relative;	
}

.login__icon {
    position: absolute;
    top: 20px;
    color: #ac4125;
}

.login__input {
    border: none;
    border-bottom: 2px solid #D1D1D4;
    background: none;
    padding: 10px;
    padding-left: 24px;
    font-weight: 700;
    width: 75%;
    transition: .2s;
    font-size: 1rem;
}

.login__input:active,
.login__input:focus,
.login__input:hover {
	outline: none;
	border-bottom-color: #995b3c;
}

/*眼睛*/
.icon_lock{}
.icon_lock i{
    color: #444;
}

/*驗證*/
.validate__field{
    margin: 1rem 0;
    text-align: center;
    padding: 0 1rem;
}
.validate__field img{
    width: 100%;
}

.login__submit {
    background: #fff;
    font-size:1.1rem;
    padding: 16px 20px;
    border-radius: 26px;
    border: 1px solid #D4D3E8;
    text-transform: uppercase;
    font-weight: 700;
    display: flex;
    align-items: center;
    width: 100%;
    color: #ac4125;
    box-shadow: 0px 2px 2px #c36c51;
    cursor: pointer;
    transition: .2s;
}

.login__submit:active,
.login__submit:focus,
.login__submit:hover {
    border-color: #b94a38;
    outline: none;
}

.button__icon {
	font-size: 24px;
	margin-left: auto;
	color: #9f6629;
}

.social-login {	
    padding: 1rem 0.5rem 0 0;
    width: 100%;
}

.social-icons {
display: flex;
    align-items: center;
    justify-content: flex-end;
    color: #fff;
}


.social-login__icon {
    text-shadow: 0px 0px 8px #823230;
    font-size: .9rem;
    color: #fff;
    text-decoration: none;
    padding: 5px;
}

.social-login__icon:hover {
	transform: scale(1.05);	
}


.footer{
    padding: 0 2rem;
    /* margin: 1.5rem 0 0 0; */
    margin: 1rem 0 0 0;
    color: #faf2ef;
}
.footer p{
    font-size: .85rem;
}

/*====== 忘記密碼 ======*/
.forget .logo_tit p{
        font-size: .95rem;
    letter-spacing: -.5px;
}

.forget .social-login {
    padding: .5rem 0.5rem 0 0;
}

.forget .footer{
    margin-top: 0;
}


@media only screen and (max-width:568px) {
.container{   
 align-items: flex-start;
}

.screen{
	margin-top: 20px;
 width: 90%;
    padding: 0;
}

.social-login {

}

.logo_tit {
    margin: 70px 0 0.5rem 0;
}

.logo_tit .logoimg span {
    letter-spacing: -1px;
}

.logo_tit h1 {
   font-size: 1.5rem;
    margin: 1rem 0 0 0;
}
.screen__background__shape0 {
    background-size: 80% auto;
}
.footer {
    margin: 2.5rem 0 0 0;
    }

}