﻿.content {
    opacity: 0;
    transition: opacity 1.0s ease-in-out;
}

.loaded .content {
    opacity: 1;
}

body {
    font-family: 'Open Sans', sans-serif;
	display: flex;
	flex-direction: column;
	min-height: 100vh;
	width: 100%;
	margin: 0;
	padding: 0;
	opacity: 0;
	animation: fadeIn 1.2s ease-in forwards;
	-webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    z-index: 1;
}

body::before {
	content: "";
	background-image:url('Images/coffeebeans.jpg');
	opacity: 85%;
	background-size: cover;
    position: fixed;
    top: 0; left: 0; right: 0; bottom: 0;
    z-index: -1;
}

html {
	scroll-behavior: smooth;
}

@keyframes fadeIn {
  to {
    opacity: 1;
  }
}

h1, h2, h3 {
  font-family: 'Bitter', serif;
}


.herosection {
	display: flex;
	height: 950px;
}

.herosection img {
	width: 100%;
	position: relative;
	z-index: 1;
}

.hero {
	display: flex;
	justify-content: center;
	align-items: center;
	flex-direction: column;
	position: absolute;
	z-index: 2;
	margin-left: 3%;
	margin-top: 3%;
}

.hero img {
	width: 250px;
	height: 250px;
	object-fit: contain;
}

.herotext {
	display: flex;
	flex-direction: column;
	justify-content: center;
	align-items: center;
	margin-top: 20px;
	background: rgba(52, 32, 14, 0.7);
	border-radius: 10px;
	color: #C09464;
	padding: 20px;
}

.herotext h1 {
	font-size: 40px;
}

.hamburger {
  display: flex;
  font-size: 30px;
  cursor: pointer;
  padding: 10px;
  user-select: none;
  color: #C09464;
  z-index: 3;
}

.linksmenu {
  display: none;
  margin-top: 15px;
  padding: 15px;
  width: fit-content;
}

.links {
  list-style: none;
  padding: 0;
  margin: 0;
}

.links li {
  margin: 12px 0;
}

.links a {
  text-decoration: none;
  color: #f5d6a1;
  font-family: 'Open Sans', sans-serif;
  font-size: 24px;
  transition: color 0.3s ease;
}

.links a:hover {
  color: #ffffff;
}

.aboutus {
	display: flex;
	height: 950px;
}

.abouttext {
	display: flex;
	flex-direction: column;
	justify-content: center;
	color: #c09464;
	flex: 1;
	background: rgba(52, 32, 14, 0.8);
	padding: 20px;
}

.abouttext h1 {
	text-align: center;
	font-size: 60px;
	letter-spacing: 1.8px;
	text-decoration: underline;
	font-weight: 600;
}

.abouttext p {
	font-size: 26px;
	text-align: left;
	letter-spacing: 1.2px;
	line-height: 60px;
	text-indent: 30px;
}

.aboutimage {
	display: flex;
	flex: 1;
}

.aboutimage img {
	width: 100%; 
	height: 950px;
	object-fit: cover;
}

.menu {
	display: flex;
	position: relative;
	justify-content: center;
	width: 100%;
	margin: auto;
}

.menu img {
	width: 100%;
	height: auto;
	object-fit: cover;
}

.menutext {
	display: flex;
	flex-direction: column;
	justify-content: center;
	position: absolute;
	top: 50px;
	color: #c09464;
}

.menutext h1 {
	font-size: 56px;
	text-align: center;
	text-decoration: underline;
}

.menugrid {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	grid-template-rows: repeat(1, 1fr);
}

.hotcoffee,
.coldcoffee,
.pastries {
	background: rgba(52, 32, 14, 0.8);
	padding: 20px;
	height: auto;
	margin: 20px;
	display: flex;
	flex-direction: column;	 
}

.hotcoffee h2,
.coldcoffee h2,
.pastries h2 {
	font-size: 34px;
	text-decoration: underline;
	text-align: center;
}

.menu-list {
	display: flex;
	flex-direction: column;
	font-size: 24px;
	padding: 20px;
	line-height: 40px;
}

.contact{
	display: flex;
	flex-direction: column;
	justify-content: center;
	align-items: center;
	height: auto;
	padding: 30px;
	color: #c09464;
	background: rgba(52, 32, 14, 0.8); 
} 

.contact h1 {
	font-size: 30px;
	text-decoration:underline;
}

.contact p {
	font-size: 24px;
}

.social-links {
	display: flex;
	gap: 20px;
	font-size: 24px;
}

.fab {
	color: #c09464;
}

@media (max-width: 768px) {

html, body {
  margin: 0;
  padding: 0;
  width: 100%;
  max-width: 100%;
  overflow-x: hidden;
  box-sizing: border-box;
}

*, *::before, *::after {
  box-sizing: border-box;
}

body {
  font-size: 16px;
  line-height: 1.5;
  flex: 1 0 auto;
}

	
.herosection {
	display: flex;
	height: auto;
}

.herosection img {
	width: 100%;
	height: 450px;
	position: relative;
	z-index: 1;
}

.hero {
	display: flex;
	flex-direction: column;
	position: absolute;
	z-index: 2;
	margin-left: 1%;
	margin-top: 1%;
}

.hero img {
	width: 100px;
	height: 100px;
	object-fit: contain;
}

.herotext {
	display: flex;
	flex-direction: column;
	justify-content: center;
	align-items: center;
	margin-top: 10px;
	background: rgba(52, 32, 14, 0.7);
	border-radius: 10px;
	color: #C09464;
}

.herotext h1 {
	font-size: 20px;
}

.hamburger {
  display: flex;
  font-size: 20px;
  cursor: pointer;
  padding: 10px;
  user-select: none;
  color: #C09464;
  z-index: 3;
}

.linksmenu {
  display: none;
  margin-top: 15px;
  width: fit-content;
}

.links {
  list-style: none;
  padding: 0;
  margin: 0;
}

.links li {
  margin: 10px 0;
}

.links a {
  text-decoration: none;
  color: #f5d6a1;
  font-family: 'Open Sans', sans-serif;
  font-size: 16px;
  transition: color 0.3s ease;
}

.aboutus {
	display: flex;
	flex-direction: column;
	height: auto;
}

.abouttext {
	display: flex;
	flex-direction: column;
	justify-content: center;
	color: #c09464;
	flex: 1;
	background: rgba(52, 32, 14, 0.8);
	padding: 20px;
}

.abouttext h1 {
	text-align: center;
	font-size: 40px;
	letter-spacing: 1.8px;
	text-decoration: underline;
	font-weight: 600;
}

.abouttext p {
	font-size: 20px;
	text-align: left;
	letter-spacing: 1.2px;
	text-indent: 30px;
}

.aboutimage {
	display: flex;
	flex: 1;
}

.aboutimage img {
	width: 100%; 
	height: auto;
	object-fit: cover;
}

.menu {
	display: flex;
	position: relative;
	justify-content: center;
	width: 100%;
	margin: auto;
	height: 1600px;
}


.menutext {
	display: flex;
	flex-direction: column;
	justify-content: center;
	position: absolute;
	top: 20px;
	color: #c09464;
}

.menutext h1 {
	font-size: 36px;
	text-align: center;
	text-decoration: underline;
}

.menugrid {
	display: flex;
	flex-direction: column;	
}

.hotcoffee,
.coldcoffee,
.pastries {
	background: rgba(52, 32, 14, 0.8);
	padding: 10px;
	height: auto;
	margin: 10px;
	display: flex;
	flex-direction: column;	 
}

.hotcoffee h2,
.coldcoffee h2,
.pastries h2 {
	font-size: 28px;
	text-decoration: underline;
	text-align: center;
}

.menu-list {
	display: flex;
	flex-direction: column;
	font-size: 20px;
	padding: 10px;
	line-height: 30px;
}

}