body {
	margin: 0;
	margin-top: 10vh;
	justify-content: center;
	display: flex;
	flex-direction: column;
}

.orange {
	color: orangered;
}

h1, h2, h3, h4, h5, h6, p, span {
	margin: 0;
}

a {
	text-decoration: none;
	color: inherit;
}

nav {
	position: fixed;
	top: 0;
	width: 70%;
	padding: 15px;
	padding-right: 15%;
	padding-left: 15%;
	max-height: 10%;
	display: grid;
	grid-template-rows: auto;
	grid-template-columns: 20% 5% auto 5% 20%;
	grid-template-areas: "logo . nav-links . get";
	background-image: url(/img/bg-wide-2.jpg);
}

nav > img {
	height: 100%;
	grid-area: logo;
}

nav > links {
	grid-area: nav-links;
	display: flex;
	justify-content: space-around;
	align-items: center;
}

nav > links a:hover {
	color: orangered
}

nav > button {
	grid-area: get;
	width: 50%;
	height: 75%;
	justify-self: center;
	align-self: center;
	background-color: orangered;
	border: none;
	color: white;
}

drop > content {
	display: none;
	z-index: 1;
}

drop > .activator > i {
	font-size: 0.8em;
}

drop:hover > content, drop > content:hover, drop > .activator:hover + content {
	display: block;
}

drop > content {
	position: absolute;
	top: 100%;
	background-color: white;
	box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
}

drop > content > a {
	display: block;
	padding: 15px;
}

content {
	display: flex;
	flex-direction: column;
	justify-content: space-around;
}

content > container {
	padding-left: 25%;
	padding-right: 25%;
}

input, input:hover {
	border: none;
	outline: none;
}

container {
	margin-bottom: 15rem;
}

container.container-1 {
	margin-top: 2rem;
	padding-right:60%;

	p {
		color: grey;
		margin-top: 1rem;
	}

	div {
		display: flex;
		margin-top: 2rem;
		border: 1px solid black;

		input {
			width: 80%;
			margin: 10px;
			height: 100%;
			align-self: center;
		}

		button {
			flex-grow: 1;
			background-color: orangered;
			color: white;
			border: none;
			margin: 1px;
		}
	}
}

container.container-2 {
	display: grid;
	justify-content: center;
	text-align: center;
	grid-template-columns: auto auto auto;
	grid-template-rows: auto auto auto;
	grid-template-areas:
		". feat ."
		". title ."
		"card-1 card-2 card-3";
}

container.container-3 {
	display: flex;

	card {
		display: flex;
	flex-direction: column;
	justify-content: center;
	align-items: center;
	padding: 15px;
	margin-top: 2rem;

	h4 {
		margin-top: 1rem;
	}

	p {
		color: grey;
		margin-top: 1rem;
	}

	img {
		width: 10rem;
	}
	}
}

container.container-4 {
	display: flex;

	left {
		display: grid;
		grid-template-rows: auto auto;
		grid-template-columns: auto auto;
		grid-template-areas:
			"top top"
			"card-1 card-2";
	}
}

container.container-5 {
	text-align: center;
	margin-bottom: 2rem;
}

container.container-5 > card-box {
	display: flex;
	flex-direction: row;
	justify-content: center;
	align-items: center;
	padding: 2rem;
	margin-top: 2rem;

	card {
		display: flex;
		flex-direction: column;
		justify-content: center;
		align-items: center;
		padding: 2.5rem;
		border: 1px solid gray;
		min-width: 20%;

		price {
			margin-top: 2rem;
			margin-bottom: 1rem;

			h3 {
				font-size: 3rem;
			}

			h5 {
				font-size: 1.5rem;
			}
		}

		features {
			margin-bottom: 2rem;

			p {
				color: grey;
			}
		}

		button {
			background-color: lightpink;
			color: orangered;
			width: 80%;
			padding: 1rem;
			border: none;
		}
	}

	card.card-2 {
		margin-left: 5rem;
		margin-right: 5rem;
	}

	card > img {
		width: 80%
	}
}

container.container-6 {
	display: grid;
	grid-template-columns: 10% 20% 4.5% 10% 20% 4.5% 10% 20%;
	grid-template-rows: auto auto;
	grid-template-areas:
		"ico-1 title-1 . ico-2 title-2 . ico-3 title-3"
		"ico-1 desc-1 . ico-2 desc-2 . ico-3 desc-3";
	justify-content: center;

	h2 {
		font-size: 3rem;
	}

	h5 {
		font-size: 1.5rem;
	}
}

container.container-7 {
	text-align: center;
	padding-left: 5%;
	padding-right: 5%;

	img-container {
		display: flex;
		justify-content: center;
		margin-top: 5em;

		img {
			margin-left: 5px;
			margin-right: 5px;
		}
	}
}

container.container-8 {
	display: flex;

	h1 {
		margin-top: 10px;
		margin-bottom: 1rem;
		line-height: 1.5;
	}

	p {
		color: grey;
		margin-bottom: 1rem;
	}

	button {
		border: 1px solid grey;
		padding: 15px;
		text-align: left;
		align-items: center;
		margin-right: 1rem;

		span {
			color: grey;
		}

		p {
			color: black;
			margin-bottom: 0
		}
	}
}

container.container-9 {
	display: flex;
	flex-direction: column;
	justify-content: center;
	text-align: center;

	card-box {
		display: flex;
		flex-direction: row;
		margin-top: 2rem;
	}

	card {
		display: flex;
		flex-direction: column;
		justify-content: center;
		border: 1px solid lightgray;

		quote {
			padding: 2rem;
		}

		bottom {
			display: grid;
			grid-template-columns: 40% 60%;
			grid-template-rows: auto auto;
			grid-template-areas:
				"img name"
				"img title";
			;
			padding: 2rem;
			background-color: lightgray;
		}

		img {
			border-radius: 50%;
		}
	}

	card:nth-child(2) {
		margin-left: 3rem;
		margin-right: 3rem;
	}
}

container.container-10 {
	text-align: center;
}

container.container-11 {
	display:flex;
	justify-content: center;
	margin-bottom: 3rem;

	img {
		filter: grayscale(30%) opacity(40%);
		margin-left: 4rem;
		margin-right: 4rem;
	}
}

footer {
	background-color: lightgrey;
	padding: 3rem 10% 3rem 10%;

	display: grid;
	grid-template-columns: 25% 25% 25% 25%;
	grid-template-rows: auto auto;
	grid-template-areas:
		"logo support links news"
		"logo-text support-text links-text news-text";

	p {
		margin-top: 1em;
		margin-bottom: 1em
	}

	>div {
		margin-left: 2rem;
		margin-right: 2rem;
	}

	.underline {
		border-bottom: 2px solid orange;
		padding-bottom: 0.5em;
	}

	.link-column {
		display: flex;
		flex-direction: column;

		a:first-of-type {
			margin-top: 1em;
		}
	}

	#newsletter {
		display: flex;
		flex-direction: column;

		input {
			padding: 1em;
			margin-top: 1em;
		}

		button {
			background-color: orangered;
			color: white;
			border: none;
			padding: 1em;
			margin-top: 1em;
		}
	}
}

button.gradient-anim {
    padding: 1em;
    margin-top: 1em;
    overflow: hidden;
    position: relative;
    transition: color 0.5s ease;
}

button.gradient-anim:hover::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to top right, orangered, white);
    z-index: -1;
    animation: gradient-wipe 0.3s forwards;
}

button.gradient-anim:hover {
    z-index: 1;
}

@keyframes gradient-wipe {
    from {
        clip-path: polygon(-50% 50%, -50% 50%, 50% 150%, 50% 150%);
    }
    to {
        clip-path: polygon(50% -50%, -50% 50%, 50% 150%, 150% 50%);
    }
}

@keyframes gradient-wipe-reverse {
    from {
        clip-path: polygon(50% -50%, -50% 50%, 50% 150%, 150% 50%);
    }
    to {
        clip-path: polygon(-50% 50%, -50% 50%, 50% 150%, 50% 150%);
    }
}