:root {
	--black: #000;
	--gray: #DDD;
	--red: #B30000;
	--light-red: #FF3D3D;
	--white: #FFF;
	--size: 18px;
	--heading-font: 'Instrument Serif', Times, Georgia, serif;
	--body-font: ' Instrument Sans', Verdana, Arial, sans-serif;
}

html, body {
	margin: 0;
	padding: 0;
}

body {
	background: var(--black);
	color: var(--white);
	font-family: var(--body-font);
	font-size: var(--size);
	line-height: 1.3;
}

.sr {
  position: absolute;
  left: -14px;
  top: auto;
  width: 1px;
  height: 1px;
  overflow: hidden;
}


/* TRANSITIONS ************************/
a {
	transition: color 0.3s ease;
}
svg {
	transition: all 0.3s ease;
}
ul.sub-menu {
	transition: opacity .1s ease;
}


/* IMAGES ************************/
img {
    max-width: 100%;
    height: auto!important;
}


/* LINKS ************************/
a {
	color: var(--red);
}
a:hover {
	color: var(--black);
}
.dark a {
	color: var(--light-red);
}
.dark a:hover {
	color: var(--white);
}
button {
	cursor: pointer;
}


/* FONT STYLES ************************/
.logo,
h1, h2, h3, h4, h5, h6 {
	font-family: var(--heading-font);
}
.logo em,
h1 em, h2 em, h3 em, h4 em, h5 em, h6 em {
	font-style: normal;
	color: var(--red);
}
.dark .logo em,
.dark h1 em, .dark h2 em, .dark h3 em, .dark h4 em, .dark h5 em, .dark h6 em {
	color: var(--light-red);
}


/* BLOCK STYLES ************************/
.dark {
	background: var(--black);
	color: var(--white);
}
main {
	background: var(--gray);
	color: var(--black);
}


/* HEADER ************************/
header {
	padding: var(--size) Calc(var(--size) * 3);
	display: flex;
	align-items: center;
	gap: Calc(var(--size) * 2);
	line-height: 1;
}
header .logo a {
	display: block;
	color: var(--white);
	text-decoration: none;
	font-size: 3.5rem;
	text-transform: uppercase;
}
header .icons ul {
	list-style: none;
	margin: 0;
	padding: 0;
	display: flex;
	gap: var(--size);
}
header .icons ul li a {
	display: block;
}
header .icons ul li svg {
	fill: var(--white);
	width: Calc(var(--size) * 1.5);
	height: Calc(var(--size) * 1.5);
}
header .icons ul li:hover svg {
	fill: var(--light-red);
}
header .icons ul li button {
	background: none;
	border: none;
	padding: 0;
	display: none;
}
header .nav {
	flex-grow: 1;
}
header .nav ul.menu {
	display: flex;
	justify-content: flex-end;
	gap: Calc(var(--size) * 1.5);
	list-style: none;
	margin: 0;
	padding: 0;
	font-weight: bold;
}
header .nav ul.menu li {
	position: relative;
}
header .nav ul.menu li a {
	display: block;
	color: var(--white);
	font-size: 1.25rem;
	text-decoration: none;
}
header .nav ul.menu li:hover a {
	color: var(--light-red);
}
header .nav ul.menu li.menu-item-has-children a {
	cursor: default;
}
header .nav ul.menu li.menu-item-has-children > a::after {
	content: '';
	display: inline-block;
	background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 512 512"><path d="M233.4 406.6c12.5 12.5 32.8 12.5 45.3 0l192-192c12.5-12.5 12.5-32.8 0-45.3s-32.8-12.5-45.3 0L256 338.7 86.6 169.4c-12.5-12.5-32.8-12.5-45.3 0s-12.5 32.8 0 45.3l192 192z"/></svg>');
	background-size: 0.9em 0.9em;
	background-repeat: no-repeat;
	width: 0.9em;
	height: 0.9em;
	margin-left: .5em;
	filter: brightness(0)invert(1);
}
header .nav ul.menu li.menu-item-has-children:hover > a {
	color: var(--white);
}
header .nav ul.menu li ul.sub-menu {
	visibility: hidden;
  	opacity: 0;
  	list-style: none;
	margin: 0;
	padding: 2.25rem 0 1rem;
	position: absolute;
	top: 1.25rem;
	left: 0;
	right: 0;
	z-index: 90;
	background: var(--black);
	min-width: 200px;
	font-weight: normal;
}
header .nav ul.menu li ul.sub-menu li a {
	padding: 0.5rem 1rem;
	color: var(--white);
	cursor: pointer;
}
header .nav ul.menu li ul.sub-menu li a:hover {
	color: var(--light-red);
}
header .nav ul.menu li:hover ul.sub-menu {
	visibility: visible;
  	opacity: 1;
}



/* FOOTER ************************/
footer {
	padding: var(--size) Calc(var(--size) * 3);
}
footer .footer-navs {
	display: flex;
	justify-content: space-between;
	align-items: center;
	gap: Calc(var(--size) * 2);
	line-height: 1;
}
footer .footer-navs ul {
	list-style: none;
	margin: 0;
	padding: 0;
}
footer .footer-navs ul.socials-menu {
	display: flex;
	justify-content: center;
	gap: var(--size);
}
footer .footer-navs ul.socials-menu li a {
	display: block;
}
footer .footer-navs ul.socials-menu li a svg {
	fill: var(--light-red);
	width: 1rem;
	height: 1rem;
}
footer .footer-navs ul.socials-menu li a:hover svg {
	fill: var(--white);
}
footer .copyright {
	text-align: center;
	padding-top: Calc(var(--size) * 2);
	font-size: 0.9rem;
	color: var(--gray);
}