@charset "utf-8";
/* CSS Document */

*{
	margin: 0;
	box-sizing: border-box;
	font-family: lato;
	color: #F8F8F8;
	line-height: 1.2;
}
html {
  scroll-behavior: smooth;
}
@media (min-width: 1440px) {
  ::-webkit-scrollbar {
    width: 0.5vw;
  }
  ::-webkit-scrollbar-track {
    border-radius: 8px;
    background-color: #EEEEEE;
  }
  ::-webkit-scrollbar-thumb {
    background: #941E1B;
    border-radius: 8px;
  }
  ::-webkit-scrollbar-thumb:hover {
    background: #b42325;
  }
  html {
    scrollbar-width: thin; /* Firefox support */
    scrollbar-color: #941E1B #EEEEEE;
  }
}

.login-header {
	background-color: #EEEEEE;
	padding: 15px 133px;
	display: flex;
	align-content: center;
	justify-content: space-between;
	position: sticky;
	top: 0;
	z-index: 1000;
	box-shadow: 0 2px 4px rgba(32, 18, 13, 0.20);
}
.header_logo {
	height: 50px;
	width: auto;
}
.header_text {
	font-size: 20px;
	font-family: lato;
	font-weight: 400;
	color: #20120D;
	display: flex;
	align-items: center;
}
.homepage {
	display: flex;
	align-items: center;
}
.homepage a {
	font-size: 20px;
	font-family: lato;
	font-weight: 400;
	color: #20120D;
	text-decoration: none;
	position: relative;
}
/* Hover underline like standard header */
.homepage a::after {
	content: "";
	position: absolute;
	left: 0;
	bottom: -2px;
	width: 100%;
	height: 2px;
	background-color: #941B1E;
	transform: scaleX(0);
	transform-origin: right;
	transition: transform 0.2s ease;
}
.homepage a:hover::after {
	transform: scaleX(1);
	transform-origin: left;
}

.fade-in-section {
	opacity: 0;
  	transform: translateY(-20px);
  	transition: opacity 0.5s ease-out, transform 0.5s ease-out;
}
.fade-in-section.is-visible {
  	opacity: 1;
  	transform: translateY(0);
}

.padding{
	padding: 38px 132px 38px 133px;
	text-align: center
}
.margin{
	margin-top: 38px;
}
.body_logo{
	height: 100px;
	width: auto;
}
h2{
	font-size: 40px;
	color: #941B1E;
	font-weight: 500;
}
input{
	width: 575px;
	height: 60px;
	border-radius: 8px;
	background: #EEEEEE;
	border: none;
	padding: 18px 38px;
	color: #20120D;
	font-size: 20px;
	font-weight: 400;
}
input::placeholder{
	opacity: 0.5;
}
button{
	width: 160px;
	height: 60px;
	border-radius: 8px;
	background: #941B1E;
	border: none;
	box-shadow: 0px 4px 4px 0px rgba(32, 18, 13, 0.50);
	font-size: 20px;
	transition: background-color 0.3s ease, box-shadow 0.3s ease, transform 0.3s ease;
}
button:hover{
	background-color: #b42325;
	transform: translateY(-2px);
	box-shadow: none;
}
/* Overlay background */
.popup-overlay {
	position: fixed;
	top: 0;
	left: 0;
	width: 100vw;
	height: 100vh;
	background-color: rgba(0, 0, 0, 0.5);
	display: flex;
	justify-content: center;
	align-items: center;
	z-index: 9999;
}
.login-popup {
	background-color: #FEFEFE;
	color: #941B1E;
	border: 1px solid #941B1E;
	padding: 30px;
	border-radius: 8px;
	width: 400px;
	text-align: center;
	position: relative;
	box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}
.login-popup p {
	color: #941B1E;
	font-size: 20px;
	margin: 0;
}
.close-btn {
	margin-top: 20px;
	background: none;
	border: 1px solid #941B1E;
	border-radius: 8px;
	padding: 6px 12px;
	font-size: 20px;
	color: #941B1E;
	cursor: pointer;
	transition: background-color 0.3s ease, color 0.3s ease;
}
.close-btn:hover {
	background-color: #941B1E;
	color: #FEFEFE;
}

footer{
	padding: 38px 0;
	background-color: #EEEEEE;
	text-align: center;
}
footer h3{
	color: #20120D;
	font-size: 20px;
	font-weight: 400;
}

@media (max-width: 768px){
	h2{
		font-size: 1.7rem;
	}
	.header_text, .homepage a, input, button, .login-popup p, .close-btn, footer h3{
		font-size: 0.9rem;
	}
	.padding{
		padding: 4vw;
	}
	.margin{
		margin-top: 4vw;
	}
	.login-header{
		padding: 12px 4vw;
	}
	.header_logo{
		width: 7vw;
		height: auto;
	}
	.body_logo{
		height: 10vw;
	}
	input{
		width: 60vw;
		height: 6vw;
		padding: 4vw;
	}
	button{
		width: 150px;
		height: 50px;
	}
	footer{
		padding: 4vw 0;
		grid-row: 3;
	}
	body{
		min-height: 100vw;
		display: grid;
		grid-template-rows: auto 1fr auto;
	}
	button:active, .close-btn:active{
		box-shadow: none;
		transform: translateY(1px);
	}
}
@media (max-width: 426px){
	h2{
		font-size: 1.3rem;
	}
	.header_text, .homepage a, input, button, .login-popup p, .close-btn, footer h3{
		font-size: 0.8rem;
	}
	.padding{
		padding: 10vw 4vw;
	}
	.margin{
		margin-top: 10vw;
	}
	.login-header{
		padding: 10px 4vw;
	}
	.header_logo{
		width: 9vw;
	}
	.header_text{
		display: none;
	}
	.body_logo{
		height: 14vw;
	}
	input{
		width: 70vw;
	}
	button{
		width: 140px;
		height: 45px;
	}
}
@media (max-width: 376px){
	h2{
		font-size: 1.2rem;
	}
	.header_text, .homepage a, input, button, .login-popup p, .close-btn, footer h3{
		font-size: 0.7rem;
	}
	button{
		width: 130px;
		height: 35px;
	}
}
@media (max-width: 320px){
	h2{
		font-size: 1rem;
	}
	.login-header{
		padding: 8px 4vw;
	}
	.header_logo{
		width: 9vw;
	}
	button{
		width: 120px;
	}
}