
* {
	margin: 0;
	padding: 0;
	box-sizing: border-box;
	text-decoration: none;
	color: inherit;
/*	outline: 1.5px dashed violet;*/
}
/* ^^ browser reset ^^ */


/* home page */
/* home page */
/* home page */


body {
	margin: 0;
		font-family: helvetica, roboto, "work sans", sans-serif;

}

header {
	position: fixed;
	background-color: #ffffff;
	border-bottom: 1px solid #241818;
	width: 100%;
	height: 100px;
	display: grid;
	grid-template-columns: 40px 1fr 40px;
	grid-template-rows: 20px 50px 20px;
	min-width: 1100px;
	z-index: 1000;
}
header h1 {
	color: #241818;
	grid-column: 2 / 3;
	grid-row: 2 / 3;
	align-content: end;
	font-weight: bolder;
	letter-spacing: -1px;
}
header nav {
	grid-column: 2 / 3;
	grid-row: 2 / 3;
	margin-right: 100px;
	justify-self: right;
	align-content: end;
	margin-bottom: 5px;
}
header nav ul {
	list-style-type: none;
	width: 550px;
	display: flex;
	flex-wrap: nowrap;
	justify-content: space-between;
	align-content: center;
	font-size: 20px;
	text-transform: uppercase;
	color: #D45755;
}
header nav ul li a {
  position: relative;
  color: #D45755;
  text-decoration: none;
}

header nav ul li a::before {
  content: "";
  position: absolute;
  top: -10px; /* The bar will appear at the top */
  left: 0;
  width: 100%;
  height: 12px; /* Thickness of the bar */
  background-color: #ED323B; /* Bar color */
  transform: scaleX(0); /* Initially hidden */
  transform-origin: left; /* The bar grows from the left */
  transition: transform 0.5s ease-in-out; /* Smooth transition */
}

header nav ul li a:hover::before {
  transform: scaleX(1); /* Bar appears on hover */
}
header h1 a {
  position: relative;
  color: #241818;
  text-decoration: none;
}

header h1 a::before {
  content: "";
  position: absolute;
  top: 0; 
  left: 0;
  width: 100%;
  height: 12px; 
  background-color: #ED323B; 
  transform: scaleX(0); 
  transform-origin: left; 
  transition: transform 0.5s ease-in-out; 
  z-index: -1000;
}

header h1 a:hover::before {
  transform: scaleX(1); 
}
header h1 a.active::before,
header nav ul li a.active::before {
  transform: scaleX(1); 
}

/* ^^ header ^^ */


div.line {
	border-left: 1px solid #D45755;
}

main.index {
 	margin-top: 140px;
 	margin-left: 20px;
 	margin-right: 20px;
 	min-width: 1100px;
 	display: grid;
 	grid-template-columns: 80px 1fr 1fr 1fr 1fr 1fr 100px 1fr 1fr 1fr 1fr 1fr 80px;
 	grid-template-rows: auto 200px auto 50px auto auto auto 50px auto 100px ;
 }
main h3 {
	grid-column: 4 / 8;
	grid-row: 1 / 2;
	padding-right: 10px;
	text-transform: uppercase;
	font-size: 36px;
	font-weight: lighter;
	letter-spacing: 0px;
	max-width: 400px;
}
div.first {
	grid-column: 11/11;
	grid-row: 1/2;
	height: auto;

}
main.index img.homeportrait {
	grid-column: 4 / 9;
	grid-row: 3 / 4;
	width: 500px;
	height: auto;
}
main.index h2 {
	grid-column: 7 / 10;
	grid-row: 5 / 6;
/*	align-content: end;*/
	font-size: 24px;
	font-weight: normal;
	color: #D45755;
	margin-left: -15px;
}
main.index p {
	grid-column: 7 / 11;
	grid-row: 6 / 7;
	margin-top: 5px;
	font-size: 14px;
	font-weight: normal;
	color: #241818;
	letter-spacing: 1px;
	line-height: 120%;
	max-width: 400px;
}
div.second {
	grid-column: 6/6;
	grid-row: 5 / 8;
	align-content: end;
	height: auto;
}
main.index nav {
	grid-column: 2 / 6;
	grid-row: 7 / 8;
	max-height: 172px;
}
main.index nav ul{
	list-style-type: none;
	text-align: right;
}
main.index nav ul li{
	margin-bottom: 60px;
	margin-right: 60px;
	text-transform: uppercase;
	font-weight: bold;
	font-size: 12px;
	box-sizing: border-box;
}
main.index nav ul li a {
	border: 1px solid #D45755;
	border-radius: 5px;
	padding: 10px;
	width: fit-content;
	color: #D45755;
/*	transition: background-color 0.5s ease, color 0.5s ease;*/
}
main.index nav ul li a:hover {
	background-color: #ED323B;
	color: #fff;
	transition: background-color 0.7s ease, color 0.7s ease;
}
main.index nav ul li a:active {
	background-color: #28B0A6;
	border: 2px solid #28B0A6;
	transition: background-color 0.01s ease;
}
main.index h5 {
	text-transform: uppercase;
	grid-column: 4 / 11;
	grid-row: 9 / 10;
	z-index: 100;
	color: #fff;
	font-size: 36px;
	font-weight: lighter;
	margin: 60px;
}
main.index h5 span {
	display: block;
	font-size: 50px;
	font-weight: bold;
	background: linear-gradient(90deg, #fff, #fff, #241818, #241818, #241818); 
    -webkit-background-clip: text; 
    -webkit-text-fill-color: transparent; 
    background-clip: text; 
    text-fill-color: transparent; 
    max-width: fit-content;
}
main.index h5 a {
	display: block;
	font-size: 12px;
	font-weight: bold;
	border: 1px solid #fff;
	border-radius: 5px;
	padding: 10px;
	width: fit-content;
	color: #fff;
}
main.index h5 a:hover {
	background-color: #fff;
	color: #241818;
	transition: background-color 0.7s ease, color 0.7s ease;
}
main.index h5 a:active {
	background-color: #28B0A6;
	border: 2px solid #28B0A6;
	transition: background-color 0.01s ease;
}
main.index img.homed2n {
	grid-column: 4 / 14;
	grid-row: 9 / 10;
	width: 100%;
	height: auto;
}

/* ^^ main body ^^ */

footer {
	position: relative;
 	bottom: 0;
	left: 0;
	display: grid;
	grid-template-columns: 80px 1fr 1fr 1fr 1fr 1fr 80px;
	grid-template-rows: 80px 1fr 1fr 80px;
	column-gap: 40px;
	background-color: #241818;
	color: #fff;
}
footer h1 { opacity: 70%; font-size: 20px;
	grid-column: 2/3;
	grid-row: 2/4;
	align-content: start;
	border-right: 1px solid #fff;
	height: 100%;
	min-width: 100px;
	max-width: 200px;
}
footer nav { opacity: 70%; font-size: 12px;
	grid-column: 3/4;
	grid-row: 2/4;
	border-right: 1px solid #fff;
	height: 100%;
	align-content: end;
	min-width: 150px;
}
footer nav ul {
	display: flex;
    flex-direction: column;
    justify-content: space-between;
    list-style-type: none;
   
	height: 100%;
	color: #D45755;
}
footer address { opacity: 70%;
	grid-column: 4/6;
	grid-row: 2/4;
	align-content: center;
	border-right: 1px solid #fff;
	font-style: normal;
	font-size: 10px;
	min-width: 400px;
}
footer address ul {
	list-style-type: none;
	display: grid;
	grid-template-rows: 1fr 1fr;
	grid-template-columns: 1fr 1fr;
	column-gap: 5px;
	row-gap: 5px;
}
footer address ul li.a {
	grid-row: 1/2;
	grid-column: 1/2;
}
footer address ul li.c {
	grid-row: 2/3;
	grid-column: 1/2;
}
footer address ul li.b {
	grid-row: 1/2;
	grid-column: 2/3;
}
footer address ul li.d {
	grid-row: 2/3;
	grid-column: 2/3;
}
footer address ul li {
	padding-left: 10px;
	max-width: 150px;
}
footer address ul li a {
	display: inline-block;
	margin-left: -10px;
	font-style: italic;
	color: #28B0A6;
}
footer a:visited {
	color: #ED323B;
}
footer a:hover {
	color: #28B0A6;
	transition: background-color 0.7s ease, color 0.7s ease;
}
footer a:active {
	border: 2px solid #ED323B;
	transition: background-color 0.01s ease;
}
footer div{ opacity: 70%;
	grid-column: 6/7;
	grid-row: 2/4;
	align-content: center;
	min-width: 150px;
}
footer div.icons {
	display: grid;
	grid-template-rows: 1fr 1fr;
	grid-template-columns: 1fr 1fr 1fr;
	justify-content: center;
	align-content: center;
}

footer div.icons img {
	height: 20px;

}
footer span {
	opacity: 70%;
	font-size: 12px;
}
footer span.navigation {
	grid-column: 3/4;
	grid-row: 1/2;
	margin-left: -20px;
	align-content: end;
	margin-bottom: 20px;
}
footer span.contact {
	grid-column: 4/5;
	grid-row: 1/2;
	margin-left: -20px;
	align-content: end;
	margin-bottom: 20px;
}
footer span.socials {
	grid-column: 6/7;
	grid-row: 1/2;
	margin-left: -20px;
	align-content: end;
	margin-bottom: 20px;
}

/* ^^ footer ^^ */ 

main small {
    grid-column: 14/14;
    grid-row: 1/12;
    padding-left: 5px;
    writing-mode: vertical-rl; 
    text-orientation: sideways; 
    color: #544C4C;
    opacity: 10%;
}

/* colors

#ED323B RED
#D45755 Dull RED
#28B0A6 Tourquoise
#241818 Black
#544C4C Grey












/* page loader*/

#loader {
  position: fixed;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background-color: #241818; /* Background color for the loader */
  z-index: 9999; /* Ensure it's on top of everything else */
  display: flex;
  justify-content: center;
  align-items: center;
}

#loader::before {
  content: "";
  border: 8px solid #544C4C;
  border-radius: 50%;
  border-top: 8px solid #28B0A6;
  width: 60px;
  height: 60px;
  animation: spin .5s linear infinite;
}

/* Loader spin animation */
@keyframes spin {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

/* Initially hide the page content */
.content {
  display: none;
}

