@font-face {
  font-display: swap; 
  font-family: 'Rufina';
  font-style: normal;
  font-weight: 400;
  src: url('../fonts/rufina-v17-latin-regular.woff2') format('woff2');
}
@font-face {
  font-display: swap;
  font-family: 'Rufina';
  font-style: normal;
  font-weight: 700;
  src: url('../fonts/rufina-v17-latin-700.woff2') format('woff2'); 
}
@font-face {
  font-display: swap; 
  font-family: 'Roboto Slab';
  font-style: normal;
  font-weight: 400;
  src: url('../fonts/roboto-slab-v36-latin-regular.woff2') format('woff2'); 
}
@font-face {
  font-display: swap; 
  font-family: 'Roboto Slab';
  font-style: normal;
  font-weight: 700;
  src: url('../fonts/roboto-slab-v36-latin-700.woff2') format('woff2'); 
}

* {
	box-sizing: border-box;
	--c-green: #004839;
	--c-green-light: #b9d19d;
	--c-green-medium: #c8d96d;
}

body {
	color: #fff;
	font-family: 'Roboto Slab',sans-serif;
	font-size: 1.3rem;
	font-weight: 400;
	line-height: 1.27;
	overflow-x: hidden;
	background-color: #ffffff;
	display: flex;
	flex-direction: column;
	min-height: 100vh;
	background-color: var(--c-green);
	background-size: cover;
	background-position: center;
	background-attachment: fixed;
	display:  flex;
	flex-direction: column;
	justify-content: center;
	align-items: center;
	margin: 0;
	padding: 1em;

}

body>div{
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	max-width: 118ch;
	width: 100%;
	gap: 2em;
}

html {
	overflow-x: hidden;
	margin: 0;
}

h1, h2, h3, h4, h5, h6 {
	margin-bottom: 0.66em;
	margin-top: 1em;
	font-family: "Rufina", sans-serif; 
}

h1 {
	font-size: 2.5em;
}
h2 {
	font-size: 1.83em;
}
h3 {
	font-size: 1.67em;
}
h4 {
	font-size: 1.5em; 
}
h5 {
	font-size: 1.33em; 
}
h6 {
	font-size: 1.17em;
}


img {max-width: 100%;}

a {
	text-decoration: none;
	color: #fff;
	text-decoration: underline;
	transition: all 0.3s ease;
}

a:hover {
	color: var(--c-hover);
}

p {
	margin: 0 0 1em 0;
}

b {
	font-weight: bold;
}

header {
	align-self: center;
	margin-block: 1em 2em;

	
	@media(max-width: 599px){
		justify-content: center;
		display: flex;
		align-items: center;
		width: 100%;
		max-width: 200px;
		align-self: center; 
	}
}

header>div {
	height: 2px;
	background-color: #00203e;
	flex-grow: 1;
}

.flexspacer {
	flex-grow: 1;
}

header>img {
	/* margin: 0 45px; */
	width: 240px;
	/* filter: drop-shadow(0px 0px 7px black); */
	margin-bottom: -3.5em;
}

.main {
	/* max-width: 56ch; */
	width: 100%;
	text-align: center;

	& h1{
		font-style: italic; 
	}
}

.main>div {
	background-image: url('../img/bg.jpg');
	background-size: cover;
	width: 1360px;
	max-width: 100%;
	margin: 0 auto;
	display: flex;
	flex-direction: column;
	align-items: center;
	padding: 0 15px;
}


footer {
	max-width: 100%;
	margin-top: 0;
	padding-top: 1.5em;
	width: 100%;
	display: flex;
	gap: 1em 2em;
	justify-content: space-between;
	flex-wrap: wrap;
}

footer .footer-top {
	display: flex;
	flex-wrap: wrap;
	column-gap: 3em;
	row-gap: 0;
	/* margin-bottom: 1em; */
	/* border-bottom : 1px solid #fffa; */
	/* padding-bottom: 1em; */
}
footer .footer-imp{
	display: flex;
	flex-direction: column;
	align-items: end;
	flex-grow: 1;
}

footer .footer-top>div {
	display: flex;
	align-items: flex-start;
	gap: 0.25em;
	flex-direction: column;
}

footer .footer-top>div>div {
	display: flex;
	align-items: flex-start;
	gap: 0.33em;
}
footer .footer-top>div>div>img:first-child {
	margin-top: 0.15em;
	width: 1.125em;
}

footer img {height: 1em;}

footer a {
	text-decoration: none; 
}

@media (max-width: 1199px) {

	body {
		font-size: 1.2rem;
	}

}

@media (max-width: 991px) {


}

@media (max-width: 768px) {

}

@media (max-width: 599px) {

}

@media (max-width: 479px) {
	header>img {
	}

	.main td {
		padding: 0.2em 0.25em 0;
	}

	.main td:nth-child(2) {
		width: 45%;
		flex-grow: 1;
		text-align: right;
	}
	.main td:nth-child(3) {
		flex-grow: 1;
		text-align: right;
	}

	.main tr {
		display: flex;
		flex-wrap: wrap;
		justify-content: space-between;
		margin-bottom: 0.25em;
	}
	.main tr:first-child {
		justify-content: center;
	}
	

	
}

.balm{
	display: grid;
	grid-template-columns: 1fr 1fr;
	margin-block-start: 2em;
	gap: 2em;
	
	& .item{
		display: grid; 

		& .bg-holder{
			grid-row: 1; 
			grid-column: 1; 

			position: relative; 

			& img{
				position: absolute;
				object-fit: cover;
				object-position: center center;
				inset: 0;
				height: 100%;
				width: 100%;
			}
		}
		& .text-holder{
			background: linear-gradient(#0000, #000b 40%);
			grid-row: 1;
			grid-column: 1;
			position: relative;
			padding: 2em;
			padding-top: 8em;
			
			&>:last-child{
				margin-bottom: 0; 
			}
			@media(max-width: 991px){
				padding: 1em;
			}
		}

		&.item-wide{
			grid-column: 1/ -1;
			background-color: var(--c-green-light);
			background: white;
			
			& .text-holder{
				color: black;
				padding-block: 2em;
				background: none;
				
				& a {
					color: var(--c-green);
					&:hover{
					}
				}
			}
			& h2{
				color: var(--c-green);
				margin-top: 0;
			}
		}
	}
	@media(max-width: 768px){
		display: flex; 
		flex-direction: column; 
	}
}

.icons{
	display: flex;
	gap: 1em;
	align-items: center;
	text-wrap: balance; 
}

.highlight{
	color: var(--c-green-medium);
}