/* 
    Style for the frontend of the website, including the header and other elements.
    This file is part of the JEF 4 Website plugin.
*/
:root {
    --primary-color: #A91816;
    --text-color: #1B1B1B;
    --accent-color: #0084FF;
    --grey-light-color: #F5F5F5;
    --primary-font: "Libre Baskerville", serif;
    --secondary-font: "DM Sans", sans-serif;
}
body {
    font-family: var(--secondary-font);
    background-color: white;
    color: var(--text-color);
    margin: 0;
    padding: 0;
    overflow-x: hidden;
}
 
a:visited, a:link 
{
    color: inherit;
    text-decoration: none;
}
p {
    margin: 0 0 15px 0;
    padding: 0;
}
* {
    box-sizing: border-box;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}
@media screen and (max-width:1024px) {
  html
  {
    font-size: 14px;
  }
}


/* TITLE WEBSITE */
h1, h2, h3, h4, h5, h6 {
  margin: 0;
  padding: 0;
  font-family: var(--primary-font);
}
.mainTitleWebsite 
{
	font-size: 3.1rem;
	line-height: 3.5rem;
  font-weight: 500;
	color: var(--text-color);

}
.mainTitleWebsite.bigger
{
	font-size: 4.9rem;
	line-height: 5.3rem;
}
.mainTitleWebsite p
{
  margin: 0;
  padding: 0;
}

.mainTextWebsite 
{
	font-size: 1rem;
	line-height: 1.3rem; 
  font-weight: 300;
	color: var(--text-color);
}
.mainTextWebsite.bigger
{
	font-size: 1.5rem;
	line-height: 1.9rem; 
}
.mainTextWebsite.medium
{
	font-size: 1.3rem;
	line-height: 1.7rem;
}
.mainTextWebsite.smaller
{
	font-size: 12px;
	line-height: 15px;
}
.mainTextWebsite strong
{
  font-weight: 700;
}

.nomargin .mainTextWebsite p,
.nomargin p
{
  margin: 0;
  padding: 0;
}

@media screen and (max-width:480px) {
  .mainTitleWebsite 
  {
    font-size: 2.7rem;
    line-height: 3.1rem;
  }
  .mainTitleWebsite.bigger
  {
    font-size: 4rem;
    line-height: 4.5rem;
  }
}

/* HEADER */
header {
	position: sticky;
	top: 0;
	z-index: 99;
	background-color: white;
}

header nav ul,
header nav li
{
  list-style: none;
  margin: 0;
  padding: 0;
}
header nav ul
{
  display: flex;
  gap: 5px;
}

header .centerNav nav ul li a
{
  font-size: 1rem;
  line-height: 1.1rem;
  font-weight: 700;
  color: #000000;
  text-transform: uppercase;
  white-space: nowrap;
} 

.secondaryNavRow
{
  background-color: var(--primary-color);
}
header .secondaryNav nav ul li a
{
  font-size: 14px;
  line-height: 1.1rem;
  font-weight: 600;
  color: #FFFFFF; 
  white-space: nowrap;
}

header .leftNav button
{
  background-color: var(--primary-color);
  border: none;
  cursor: pointer;
  padding: 0;
  width: 70px;
  aspect-ratio: 1 / 1;
}

img.logo_website
{
  max-height: 100px;
  width: auto;
  height: auto;
  display: block;
  max-width: 100%;
  margin: 25px 0;
}
/* FOOTER */
footer
{
  padding-top: 40px;
  padding-bottom: 40px;
  background-color: var(--primary-color);

  color: white;
  font-weight: 300;
  font-size: 1rem;
  line-height: 1.3rem;
}

footer p
{
  margin: 0 0 25px 0;
  padding: 0;
}

footer ul, 
footer li
{
  list-style: none;
  margin: 0;
  padding: 0;
}
footer ul li
{
  margin: 0 0 15px 0;
}