@import url('https://fonts.googleapis.com/css2?family=Goblin+One&family=Jua&family=Sen:wght@400..800&display=swap');
/*OVERALL*/
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

a {
  text-decoration: none;
}

img {
  max-width: 100%;
}

.clearfix {
  clear: space-between;
}

/*BODY FORMAT*/
body {
	background-color: #fee7d9;
	color:#9c2722;
  font-family: "Sen", serif;
  font-optical-sizing: auto;
  font-weight: 400;
  font-size: 22px;
  font-style: normal;
}

#header-content, main, #mainfooter, #subfooter-content {
  width: 1200px;
  margin: auto;
  display: flex;
}

/*IMAGE BORDER*/
.bordered {
	border-color: #9c2722;
	border-style: solid;
	border-width: 3px;
	border-radius: 30px;	
}

hr {
	border: 2px solid #9c2722;
}

/*HEADING FORMATS*/
/*HOMEPAGE-ONLY*/
#home h1 {
	font-family: "Goblin One", serif;
	font-size: 50px;
	text-transform: capitalize
}

#home h2 {
	font-family: "Jua", serif;
	font-size: 40px;
	font-weight: 400;
	letter-spacing: 3px;
	color: #9c2722; /*fallback color*/
	-webkit-text-fill-color: #fecd40;
  -webkit-text-stroke: 8px #9c2722;
  paint-order: stroke fill;
  text-transform: capitalize;
}

#home h3 {
	font-family: "Jua", serif;
	font-size: 16px;
	font-weight: 400;
	letter-spacing: 3px;
	color: #9c2722; /*fallback color*/
	-webkit-text-fill-color: #fee7d9;
  -webkit-text-stroke: 7px #9c2722;
  paint-order: stroke fill;
  text-transform: capitalize;
}

/*LEGAL ONLY*/
#legal h2, #legal h3, #legal h4 {
	font-family: "Sen", serif;
	color: #9c2722;
	-webkit-text-fill-color: #9c2722;
	-webkit-text-stroke: 0;
}

/*STANDARD*/
h1 {
	font-family: "Goblin One", serif;
	font-size: 56px;
	text-align: center;
	text-transform: capitalize;
}

main section h2 {
	font-family: "Jua", serif;
	font-size: 50px;
	font-weight: 400;
	letter-spacing: 3px;
	color: #9c2722; /*fallback color*/
	-webkit-text-fill-color: #fecd40;
  -webkit-text-stroke: 8px #9c2722;
  paint-order: stroke fill;
  text-transform: capitalize;
}

h3 {
	font-family: "Jua", serif;
	font-size: 50px;
	font-weight: 400;
	letter-spacing: 3px;
	color: #9c2722; /*fallback color*/
	-webkit-text-fill-color: #fecd40;
  -webkit-text-stroke: 8px #9c2722;
  paint-order: stroke fill;
  text-transform: capitalize;
}

h4 {
	font-family: "Jua", serif ;
	font-size: 30px;
	text-transform: capitalize;
}

/*HEADER*/
header {
	background-color: #fee7d9;
	color: #fee7d9;
	border-style: solid;
	border-bottom-color: #fa7737;
	border-bottom-width: 4px;
	font-family: "Jua", serif;
	font-size: 18px;
}

#header-content {
	align-items: center;
	justify-content: space-between;
	padding: 10px 25px;
}

#logo img {
	height: 60px;
}

/*NAVBAR*/
nav {
	display: flex;
	align-items: center;
}

nav ul {
	display: flex;
	list-style-type: none;
}

nav ul li a {
	color: #fee7d9;
	display: flex;
}

nav a:hover { 
	color: #fecd40; 
}

nav a:hover img { 
	filter: invert(83%) sepia(88%) saturate(1899%) hue-rotate(321deg) brightness(101%) contrast(99%)
}

nav ul li a img {
	padding-left: 10px;
	filter: invert(94%) sepia(6%) saturate(2018%) hue-rotate(307deg) brightness(103%) contrast(105%);
}

nav img {
	width: 30px;
}

.navlink {
	background-color: #9c2722;
	text-transform: capitalize;
	border-radius: 10px;
	padding: 10px;
	margin-right:10px;
}

/*NAVBAR-DROPDOWN*/
nav ul ul {
	display: none;
	position: absolute; 
	top: 60px; /* the height of the main nav */
}

nav ul li:hover > ul {
	display:inherit;
}

nav ul ul li {
	background-color: #9c2722;
	width:170px;
	float:none;
	display:list-item;
	position: relative;
}

nav ul ul li a {
	padding: 10px 8px;
}

/*NAVBAR-SEARCHBAR*/
.search {
display: flex;
position: relative; 
height: 40px;

}

input[type="text"] {
	font-family: "Sen", serif;\
	border-style: solid;
	border-width: 5px;
	border-radius: 30px;
	border-color: #9c2722;
}

.search input { 

	background-color: #fee7d9;
	color: #9c2722;
}

.search img { 
position: absolute; 
top: 3px; 
right: 100px 
filter: invert(26%) sepia(36%) saturate(3006%) hue-rotate(339deg) brightness(82%) contrast(96%);
}

/*PAGE-TITLE*/
#page-title {
	padding: 15px 0;
}

/*MAIN*/
main {
	width: 1200px;
	margin: 0 auto;
	padding: 10px 25px 30px;
	flex-direction: column;
}

/*LANDING PAGE*/

/*LANDING-FEATURED*/
#featured {
	display: flex;
	flex-direction: column;
}

#featured-content {
	padding-top: 15px;
	padding-bottom: 20px;
}

#featured-left {
	display: flex;
}

#featured-left img {
	border-radius: 30px;
	width: 450px;
	height: 300px;
	object-fit: cover;
}

#featured-right {
	display: flex;
	flex-direction: column;
	padding-left: 10px;
}

#featured img {
	width: 500px;
}

/*LANDING-PREVIEWS-NEWSLETTER*/
#extras {
  display: flex;
  justify-content: space-between;
}

#article-previews {
  display: flex;
  flex-direction: column;
}

.preview-row {
  display: flex;
  padding-bottom: 10px;
}

.preview {
	padding-right: 10px;
}
.preview img {
  object-fit: cover;
  object-position: center center;
  width: 300px;
  height: 200px;
  border-radius: 25px;
  margin: 10px 0 0 10px;
  position: relative;
}

.overlay h3 {
  position: absolute;
  bottom: 20px;
  left: 20px;
  margin: 0;
}

/*PREVIEW-BUTTON*/
#button-archive {
  padding-top: 20px;
  display: flex;
  align-self: flex-end;
}

#button-archive{
  background-color: #9c2722;
  width: 250px;
  border-radius: 25px;
  display: flex;
  justify-content: center;
  padding: 10px 30px;
  text-align: center;
}

#button-archive a {
  font-family: "Jua", serif;
  font-size: 20px;
  color: #fee7d9;
  font-weight: 400;
  text-transform: capitalize;
  padding-right: 10px;
}

#button-archive img {
  width: 20px;
  filter: invert(94%) sepia(6%) saturate(2018%) hue-rotate(307deg) brightness(103%) contrast(105%);
}

/*LANDING-NEWSLETTER*/
#newsletter {
  display: flex;
  flex-direction: column;
  align-items: center;
  background-color: rosybrown;
}

#newsletter h2 {
}

#button-subscribe {
  background-color: #9c2722;
  width: 180px;
  border-radius: 25px;
  display: flex;
  justify-content: center;
  padding: 10px 30px;
  text-align: center;
}

#button-subscribe a {
  font-family: "Jua", serif;
  font-size: 20px;
  color: #fee7d9;
  font-weight: 400;
  text-transform: capitalize;
  padding-right: 10px;
}

/*LEGAL*/
#legal {
	background-color: #E6B6A1;
	border-color: #9c2722;
	border-style: solid;
	border-width: 3px;
	border-radius: 30px;	
}

#legal-text {
	margin: 20px;
}

#legal-text ul {
	padding-left: 40px;
}

/*ARTICLE*/
.banner {
	width: 100%;
}

.article-text {
	padding: 10px ;
}

.article-text p {
	padding: 15px 0;
}

/*CARD*/
.card {
	display: flex;
	background-color: #e6b6a1;
	border-style: solid;
	border-width: 3px;
	border-radius: 30px;
	display: flex;
	flex-direction: column;
	padding: 20px;
}

.card-info {
	display: flex;
}

.card-desc {
	display: flex;
	flex-direction: column;
	padding-left: 25px;
}

.card-tips {
	display: flex;
	padding: 25px 10px;
	justify-content: space-between;
}


/*GALLERY*/
.gallery {
	background-color: #e6b6a1;
	display: flex;
	flex-direction: column;
	text-align: center;
	align-items: center;
	padding: 20px 0;
}

.gallery-img img {
	width: 200px;
	margin: 20px 50px 0 50px;
}

.gallery p {
	text-transform: capitalize;
}

.gallery-container {
	display: flex;
}

/*CONTACT-CARD*/
.contact p:first-child {
	text-align: center;
	padding: 25px 0;
}
.panels {
	display: flex;
	flex-direction: column;
	justify-content: space-between;
}

.panel {
	display: flex;
	flex-direction: column;
	flex-wrap: wrap;
	padding: 0 25px;

}

.panel p {
	padding-bottom: 20px;
}
/*BOTTOM-SECTION*/
#bottom {
	background-color: #e6b6a1;
	border-style: solid;
	border-width: 3px;
	border-radius: 30px 30px 0 0;
	align-items: center;
	display: flex;
	flex-direction: column;
	padding: 6px 10px;
}

#bottom li {
	margin-left: 45px;
	margin-bottom: 8px;
}

/*FOOTER*/
footer {
	background-color: #fa7737;
	font-size: 18px;
}

#mainfooter {
	justify-content: space-between;
	align-items: center;
	padding: 10px 25px;
}

#footer-left {
	display: flex;
	align-items: center;
}

#footer-left p {
	padding-right: 10px;
}
#footer-left img {
	width: 50px;
	padding-right: 6px;
}

#footer-right ul {
	list-style-type: none;
	display: flex;
}

#footer-right ul li a {
	color: #fee7d9;
}

.footerlist {
	text-transform: capitalize;
	padding-left: 15px;
}

/*SUBFOOTER*/
#subfooter {
	color: #fa7737;
	background-color: #9c2722;
	font-size: 15px;
}

#subfooter-content {
	justify-content: space-between;
		padding: 10px 25px;
}
