/* https://material.io/design/color/#tools-for-picking-colors */

:root {
	--small-borders: #ccc;
	--accent: #5DAA33;
	--background: #eee;
	--bg-section: #ddd;
}


/*
-------------------------------------------------
Font style
-------------------------------------------------
*/

html {
	font-family: "Cascadia Code", monospace;
	font-size: 14px;
}

p, h1, h2, h3, h4, h5, h6 {
	line-height: 1.5;
}

h1, h2 {
	font-size: 1.75rem;
	margin-bottom: 0.75rem;
	font-weight: bold;
}

h2, h3 {
	font-size: 1.25rem;
}

.important {
	font-weight: bold;
}

a {
	text-decoration: none;
	color: #000000;
	font-weight: bold;
}

a:hover {
	color: var(--accent);
	font-weight: bolder;
}

/*
-------------------------------------------------
Main layout
-------------------------------------------------
*/

body {
	background: var(--background) no-repeat center center fixed;
	background-image: linear-gradient(rgba(255,255,255,0.2), rgba(255,255,255,0.2)), url(../img/bg-sea.jpg); 
	-webkit-background-size: cover;
	-moz-background-size: cover;
	-o-background-size: cover;
	background-size: cover;

	padding-top: 50px;
}

.card {
	border-radius: 5px;
	box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2), 0 6px 20px 0 rgba(0, 0, 0, 0.19);
	background-color: var(--bg-section);
}

section {
	padding: 5%;
	margin: 0 5% 30px;
}

@media (min-width: 576px) {
	section {
		padding: 4%;
	}
}

@media (min-width: 768px) {
	section {
		margin-left: 10%;
		margin-right: 10%;
		padding: 30px;
	}
}

@media (min-width: 992px) {
	section {
		max-width: 850px;
		margin-left: auto;
		margin-right: auto;
	}
}

/*
-------------------------------------------------
Navbar
-------------------------------------------------
*/

.nav-bar {
	text-align: right;

	display: flex;
	flex-direction: row;
	align-items: center;
	justify-content: flex-end;
}

.nav-bar a {
	margin-right: 1rem;
}

.nav-bar img {
	height: 2rem;
}

/*
-------------------------------------------------
Header
-------------------------------------------------
*/

header img {
	border: var(--small-borders) 1px solid;
	border-radius: 100%;
	width: 10%;
	min-width: 120px;
	min-height: 120px;
	max-width: 200px;
	max-height: 200px;
}

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

.container {
	display: flex;
	flex-direction: column;
}

@media (min-width: 768px) {
	.img-container {
		text-align: center;
	}

	.container {
		flex-direction: row-reverse;
		justify-content: space-between;
	}
}


/*
-------------------------------------------------
Social Media Links
-------------------------------------------------
*/

.list-container {
	display: flex;
	flex-direction: row;
	justify-content: space-evenly;

	max-width: 910px; /* needs to be bigger than standard because it has no padding */
	padding: 0;
}

.list-container div {
	width: 90px;
	height: 50px;
	
	text-align: center;
	display: flex;
	flex-direction: column;
	justify-content: center;

	transition: all .2s ease-in-out;
}

.list-container div:hover {
	transform: scale(1.1);
}

.list-container a:hover {
	color: #000000;
}