@charset "utf-8";
@import url("webfont.css");

/************************************************************************
 * 파일명      : login.css
 * 설명        : 로그인
 * 작성자      : 박승아
 * 작성일      : 2025.06.25
************************************************************************/

*{
	margin: 0;
}

.container{
	display: flex;
	flex-direction: column;
	justify-content: center;
	align-items: center;
	min-height: 67vh;
	font-size: 30px;
	background-image: linear-gradient(to top, #fff8fd, white);
}

.content{
	margin: 30px;
}

.title{
	font-size: 30px;
	margin-bottom: 40px;
	text-align: center;
	font-weight: 300;
}

.sub-title{
	font-size: 25px;
	margin-bottom: 30px;
	font-weight: 300;
}

span{
	font-weight: 500;
}

.content-box{
	display: flex;
	gap: 40px;
	text-align: center;
}

.login{
	box-sizing:border-box;
	border-radius: 10px;
	border: 3px solid white;
	box-shadow: 0 0 15px rgba(0, 0, 0, 0.15);
	transition: all .5s;
	background-color: white;
}

.login:hover{
	box-sizing: border-box;
	box-shadow: 0 0 15px rgba(102, 53, 154, 0.5);
	transition: all .5s;
	transform: translateY(-10px);
	border:3px solid transparent;
	border-radius:10px;
	background-image:linear-gradient(#fff, #fff),linear-gradient(0deg, #663399 0%, #bc5fbc 100%);
	background-origin: border-box;
	background-clip: content-box, border-box;
	border-image-slice: 1;
}

.login-box{
 padding: 40px;
}

.login img{
	width: 50%;
}

.login-btn{
	width: 90%;
	margin: 0 auto;
	padding: 10px 0;
	font-size: 15px;
	border-radius: 100px;
	margin-top: 20px;
	background-image: linear-gradient(to right, #663399, #bc5fbc);
	color: white;
	cursor: pointer;
}

@media screen and (max-width: 550px) {
	
	.title{
		display: none;
	}

	.content-box{
		display: flex;
		justify-content: center;
		flex-wrap: wrap;
		min-width: 200px;
	}

	.login img{
		width: 40%;
	}

	.login-box{
 		padding: 20px;
	}
	
	.login-btn{
		padding: 10px 15px;
		box-sizing: border-box;
		font-size: 13px;
	}
}

@keyframes fadeInUp {
	0% {
	opacity: 0;
	transform: translate3d(0, 5%, 0);
	}
	to {
		opacity: 1;
		transform: translateZ(0);
	}
}

.fade {
	position: relative;
	animation: fadeInUp 1s;
}