@font-face {
	font-family: 'CursiveFont';
	src: url('../fonts/Caveat/Caveat-VariableFont_wght.ttf');
}

@font-face {
	font-family: 'PrintFont';
	src: url('../fonts/Oswald-VariableFont_wght.ttf');
}

@keyframes slidein {
	from {
		margin-left: 100%;
		width: 10px;
	}

	to {
		margin-left: 0%;
		width: 300px;
	}
}

body {
	font-family: 'PrintFont', Arial, sans-serif;
	font-size: 1.5em;
}

h1 {
	font-size: 2em;
	font-weight: bold;
	font-family: 'CursiveFont', cursive;
	text-align: center;
}

header {
	display: flex;
	flex-direction: column;
	justify-content: center;
	background-color: #466995;
	color: black;
	/*margin-bottom: 40px;*/
	padding: 2%;
}

nav {
	text-align: center;
	margin: 10px;
	font-size: 1em;
}

nav ul {
	padding: 5px;
}

nav li {
	padding: 5px;
	width: auto;
	display: inline-block;
	border-radius: 2px;
}

p {
	text-align: center;
	margin-bottom: 3vh;
	font-size: 1em;
}

nav a {
	color: black;
	text-decoration: none;
}

nav a:hover {
	/*text-transform: uppercase;*/
	color: white;
}

li.active {
	font-size: 1.1em;
	font-weight: bold;
	/*text-transform: uppercase;*/
}

/*
img {
	border: 3px solid black;
	margin: 10px;
	border-radius: 20px;
	height: 300px;
	width: 300px;
	object-fit: cover;
	overflow: scroll;
}

img:hover {
	box-shadow: 0 0 20px 1px rgba(0, 140, 186, 0.5);
}
*/

.skip {
	color: black;
	position: fixed;
	left: -500px;
}

.skip:focus {
	background-color: black;
	color: white;
	left: 10px;
	z-index: 1;
}

.content {
	margin: 10px;
	text-align: center;
        min-height:80vh;
}

.fa-solid {
	margin: 10px;
}

.contact_gallery {
	display: flex;
	justify-content: center;
	flex-wrap: wrap;
	margin: 20px;
}

.contact_gallery img {
	border: none;
	height: auto;
	width: 300px;
}

.dropbtn {
	background-color: #466995;
	color: black;
	/* padding: 16px; */
	font-size: 1em;
	font-family: 'PrintFont', Arial, sans-serif;
	border: none;
}

.dropdown {
	position: relative;
	display: inline-block;
}

.dropdown-content {
	display: none;
	position: absolute;
	background-color: #f1f1f1;
	min-width: 160px;
	box-shadow: 0px 8px 16px 0px rgba(0, 0, 0, 0.2);
	z-index: 1;
}

.dropdown-content a {
	color: black;
	padding: 12px 16px;
	text-decoration: none;
	display: block;
}

.dropdown-content a:hover {
	background-color: #ddd;
}

.dropdown:hover .dropdown-content {
	display: block;
}

.dropdown:hover .dropbtn {
	/* background-color: #3e8e41; */
	/*text-transform: uppercase;*/
	color: white;
}

.gallery {
	display: grid;
	grid-template-columns: 1fr;
	border-radius: 10px;
	justify-items: center;
	margin: 10px;
}

.flip-card {
	background-color: transparent;
	padding: 20px;
	height: 150px;
	width: 150px;
	text-align: center;
	perspective: 1000px;
	margin: 0 auto;
}

.flip-inner {
	border: 3px solid black;
	border-radius: 5px;
	position: relative;
	height: 100%;
	width: 100%;
	text-align: center;
	transition: transform 0.8s;
	transform-style: preserve-3d;
}

.flip-card:hover .flip-inner {
	transform: rotateY(180deg);
}

.flip-front, .flip-back {
	position: absolute;
	height: 100%;
	min-width: 100%;
	backface-visibility: hidden;
}

.flip-front {
	background-color: #bbb;
	color: black;
}

.flip-front img {
	border: none;
	border-radius: 0px;
	margin: 0px;
	padding: 0px;
	background-color: none;
	height: 150px;
	width: 150px;
	object-fit: cover;
	overflow: scroll;
}

.flip-back {
	background-color: dodgerblue;
	color: black;
	transform: rotateY(180deg);
	overflow: hidden;
	font-size: 0.75em;
}

.home_img {
	animation-name: slidein;
	animation-duration: 4s;
	width: 800px;
	height: auto;
}

.parallax {
	background-image: url("../images/granada_cafe.JPG");
	min-height: 500px;
	background-attachment: fixed;
	background-position: center;
	background-repeat: no-repeat;
	background-size: cover;
}


@media (prefers-reduced-motion) {
	.home_img {
		animation-name: none;
	}

	.flip-card:hover .flip-inner {
		transform: none;
	}

	.flip-card:focus .flip-inner {
		transform: none;
	}

	.parallax {
		overflow: hidden;
	}
}

@media screen and (min-width: 600px) {
/*
	img {
		height: 200px;
		width: 200px;
	}
*/

	.contact_gallery {
		display: flex;
		flex-direction: row;
		justify-content: center;
		flex-wrap: wrap;
		margin: 20px;
	}

	.contact_gallery img {
		border: none;
		height: auto;
		width: 200px;
	}

	.gallery {
		display: grid;
		grid-template-columns: 1fr 1fr;
		justify-items: center;
		margin: 20px;
	}

	.home_img {
		grid-column: 1 / span 2;
	}

	.wrapper:last-child {
		grid-column: 1 / span 2;
	}
}

@media screen and (min-width: 1200px) {
/*
	img {
		height: 350px;
		width: 350px;
	}
*/

	.contact_gallery {
		display: flex;
		flex-direction: row;
		justify-content: space-between;
		flex-wrap: wrap;
		margin: 20px;
	}

	.contact_gallery img {
		border: none;
		height: auto;
		width: 350px;
	}

	.gallery {
		display: grid;
		grid-template-columns: 1fr 1fr 1fr;
		justify-items: center;
		margin: 20px;
	}

	.home_img {
		grid-column: 2;
	}

	.wrapper:nth-child(3n+1) {
		grid-column: 1;
	}

	.wrapper:nth-child(3n+2) {
		grid-column: 3;
	}

	.wrapper:nth-child(3n) {
		grid-column: 2;
	}
}

footer{
   display:block;
   clear:both;
}

