@import url('https://fonts.googleapis.com/css?family=Poppins:400,500,600,700&display=swap');

:root {
    /** Primary **/
    --Red: hsl(0, 100%, 74%);
    --Green: hsl(154, 59%, 51%);
    /** Accent **/
    --Blue: hsl(248, 32%, 49%);
    /** Neutral **/
    --Dark-Blue: hsl(249, 10%, 26%);
    --Grayish-Blue: hsl(246, 25%, 77%);
}
* {
	box-sizing: border-box;
}

body {
	background-color: var(--Red);
	background-image: url('./images/bg-intro-desktop.png');
	color: #fff;
	font-family: 'Poppins', sans-serif;
}

.container {
	display: flex;
	align-items: center;
	justify-content: center;
	flex-wrap: wrap;
	max-width: 1200px;
	margin: 0 auto;
	min-height: 100vh;
}

.container > div {
	flex: 1;
	padding: 0 20px;
}

h1{
	font-size: 40px;
    text-align: center;
    line-height: 50px;
}
h3{
	font-size: 20px;
    text-align: center;
    line-height: 40px;
	color: var(--Dark-Blue);
}

.box {
	background-color: #fff;
	border-radius: 5px;
	box-shadow: 0 6px rgba(0, 0, 0, 0.2);
	padding: 30px;
	margin-bottom: 20px;
	text-align: center;
    display: none;
    perspective: 1000px;
}

.box p {
	margin: 0;
}
#details{
    display: none;
    color: var(--Dark-Blue);
    margin-right: 2%;
}

.box-blue {
	background-color: var(--Blue);
	padding: 20px;
    border: 1px solid var(--Blue);
	box-shadow: 0 2px var(--Blue);
	color: #fff;
	cursor: pointer;
   align-items: center;
}
.cancel{
    background-color: var(--Red);
	padding: 20px;
    border: 1px solid var(--Red);
	box-shadow: 0 2px var(--Red);
	color: #fff;
	cursor: pointer;
}
.form-control {
	position: relative;
	margin-bottom: 30px;
}

.form-control small {
	color: var(--Red);
	font-weight: 600;
	position: absolute;
	bottom: -24px;
	right: 0;
	opacity: 0;
	text-align: right;
}

input {
	border-radius: 5px;
	border: 1.3px solid var(--Grayish-Blue);
	font-family: 'Poppins', sans-serif;
	font-size: 14px;
	font-weight: 500;
	padding: 15px 25px;
	display: block;
	width: 100%;
}

.form-control.error input {
	border-color: var(--Red);
	color: var(--Red);
}

.form-control.success input::placeholder {
	color: var(--Green);
}
.form-control.success input {
	border-color: var(--Green);
	color: var(--Green);
}

.form-control.error input::placeholder {
	color: var(--Red);
}

input:focus {
	border: 1.3px solid var(--Dark-Blue);
	outline: none;
}

.form-control img {
	opacity: 0;
	position: absolute;
	top: 50%;
	right: 15px;
	transform: translateY(-50%);
	height: 20px;
}

.form-control.error img {
	opacity: 1;
}

button {
	background-color: var(--Green);
	border-radius: 5px;
	border: 1px solid var(--Green);
	box-shadow: 0 2px var(--Green);
	color: #fff;
	cursor: pointer;
	display: block;
	font-family: 'Poppins', sans-serif;
	font-size: 14px;
	font-weight: 500;
	padding: 15px 25px;
	letter-spacing: 1px;
	text-transform: uppercase;
	width: 100%;
}

button:focus {
	outline: none;
}

button:active {
	box-shadow: 0 0 var(--Green);
	transform: translateY(2px);
}

.form-control small {
	opacity: 0;
}

.form-control.error small {
	opacity: 1;
}

small {
	display: block;
	color: var(--Grayish-Blue);
	font-size: 11px;
	font-weight: 500;
	margin-top: 15px;
}

small a {
	color: var(--Red);
	font-weight: 600;
	text-decoration: none;
}

@media screen and (max-width: 768px) {
	h1 {
		text-align: center;
	}

	p {
		text-align: center;
	}

	.container {
		flex-direction: column;
	}
    .box {
        width: 100%;
    }
}

@media screen and (max-width: 375px) {
	h1 {
		text-align: center;
	}

	p {
		text-align: center;
	}

	.container {
		flex-direction: column;
	}
}




