html {
  box-sizing: border-box;
  font-size: 62.5%; /* font-size: 10px; */
  scroll-behavior: smooth;
}

*,
*::after,
*::before {
  box-sizing: inherit;
  padding: 0;
  margin: 0;
}

body {
  font-size: 1.6rem;
  line-height: 1.6;
  overflow-x: hidden;
  height: 100vh;
  background-color: #141627;
  font-family: "Roboto", sans-serif;
  position: relative;
}

.back {
  width: 7rem;
  height: 3rem;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 0.5rem 1rem;
  background-color: brown;
  border-radius: 1rem;
  position: absolute;
  top: 1rem;
  left: 1rem;
}

.back a {
  color: white;
}

.container {
  width: 100%;
  height: 80vh;
  padding-left: 1.5rem;
  padding-right: 1.5rem;
  margin-left: auto;
  margin-right: auto;
  display: flex;
  justify-content: center;
  align-items: center;
}

/* Reset Style */
a {
  text-decoration: none;
}

.btn {
  padding: 1rem 2rem;
  border-radius: 1rem;
  color: #141627;
  background-color: rgb(236, 236, 114);
  transition: all 0.2s ease-in;
  cursor: pointer;
  font-weight: bold;
}

.btn:hover {
  padding: 0.5rem 3rem;
}

.box {
	width: 28rem;
  padding: 2rem;
	border-radius: 1rem;
	background-color: rgb(12, 129, 114);
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
	position: absolute;
	left: 50%;
	top: -50%;
	transform: translate(-50%, -50%);
	transition: all 1s ease-in-out;
}

.box .close {
	position: absolute;
	right: 1rem;
	top: 2rem;
	width: 2rem;
	height: 2rem;
	cursor: pointer;
	border-radius: 50%;
}

.box .close::after, .box .close::before{
	position: absolute;
	top: 50%;
	left: 50%;
	content: "";
	background-color: white;
	width: 0.3rem;
	height: 1.5rem;
	transform: translate(-50%,-50%) rotate(45deg);
	transition: all 0.5s ease-in-out;
}

.box .close:hover::after,.box .close:hover::before {
	transform: translate(-50%,-50%) rotate(90deg);
}

.box .close::after {
	transform: translate(-50%,-50%) rotate(-45deg);
}

.box h2, .box p {
  margin: 0.5rem;
	color: rgb(243, 239, 239);
	text-align: center;
}

.box p {
margin-bottom: 1.5rem;
}

.box form {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

.box form input[type=email] {
	padding: 1.5rem 3rem;
	color: rgb(119, 116, 116);
	border:none;
	outline:none;
	margin-bottom: 1rem;
	border-radius: 0.5rem;
}

.box form input[type=submit] {
	padding: 1rem 2rem;
	background-color: rgb(240, 240, 240);
	border:none;
	outline:none;
	border-radius: 0.5rem;
  color: rgb(12, 129, 114);
	font-weight: bold;
}

.box form input[type=submit]:hover {
	background-color: rgb(192, 191, 191);
}