@import url("https://fonts.googleapis.com/css?family=Open+Sans|Poppins:400,700&display=swap");

:root {
	/*Primary*/
	--violet: hsl(257, 40%, 49%);
	--soft-magenta: hsl(300, 69%, 71%);
}

* {
	box-sizing: border-box;
}

body {
	background-image: url("./images/bg-desktop.svg");
	background-repeat: no-repeat;
	background-size: cover;
	background-color: var(--violet);
	color: #fff;
	display: flex;
	font-family: "Open sans", sans-serif;
	font-size: 1.2em;
	font-weight: 400;
	align-items: center;
	justify-content: center;
	min-height: 100vh;
}

h1 {
	font-family: "Poppins", sans-serif;
}

p {
	font-size: 0.8em;
	line-height: 1.6;
	color: white;
	opacity: 0.8;
	padding-right: 20px;
	margin-bottom: 30px;
}

img {
	max-width: 100%;
}

.huddle-logo {
	width: 20%;
}

.container {
	margin: auto;
	max-width: 100%;
	width: 1200px;
}

.flex {
	display: flex;
	margin: 70px 0;
}

.mockup {
	flex: 0.6;
	margin-right: 50px;
}

.text-area {
	flex: 0.4;
}

button {
	background-color: #fff;
	border-radius: 50px;
	border: none;
	box-shadow: 0 5px 10px rgba(0, 0, 0, 0.3);
	color: var(--violet);
	font-size: 20px;
	padding: 10px 55px;
}

button:hover {
	background: var(--SoftMagenta);
	color: white;
	cursor: pointer;
	border: 1px solid white;
}

.social-links {
	display: flex;
	justify-content: flex-end;
	padding: 0;
	list-style-type: none;
}

.social-links a {
	border-radius: 50%;
	border: 2px solid #fff;
	color: #fff;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	margin-left: 20px;
	height: 50px;
	width: 50px;
	text-decoration: none;
}

@media screen and (max-width: 768px) {
	.flex {
		flex-direction: column;
		margin: 50px;
	}

	.huddle-logo {
		width: 35%;
		margin: 50px;
	}

	.mockup {
		margin: 0;
	}

	.text-area {
		text-align: center;
	}

	p {
		font-size: 1.2em;
	}

	.social-links {
		justify-content: center;
	}
}
