/* 
    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-website-color: #222222;
    --secondary-website-color: #4E5762;
    --text-website-color: #000000;
    --accent-website-color: #E64938;
    --grey-light-website-color: #F5F5F5;

    --primary-website-font: "Open Sans", sans-serif;
    
}
::selection {
  background-color: var(--primary-website-color);
  color: white;
}
body {
    font-family: var(--primary-website-font);
    background-color: var(--grey-light-website-color);
    color: var(--text-website-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;
  }
}

/* --LAYOUT CLASSES-- */

#mainWrapper
{
    display: block;
    width: 100%;
}

/*TYPOGRAPHY CLASSES*/
h1, h2, h3, h4, h5, h6
{
    margin: 0;
    padding: 0;
}
.mainTitleWebsite
{
    font-size: 2.625rem;
    line-height: 2.325rem;
    color: var(--primary-website-color);
    font-weight: 800;
    margin-bottom: 15px;
}
.mainTitleWebsite p
{
    margin: 0;
}
.mainTitleWebsite.bigger
{
    font-size: 4.375rem;
    line-height: 4.125rem;
}
.mainTitleWebsite.smaller
{
    font-size: 1.825rem;
    line-height: 1.6rem;
}

.mainTextWebsite
{
    font-size: 1rem;
    line-height: 1.275rem;
    color: var(--text-website-color);
    font-weight: 400;
}
.mainTextWebsite strong, .mainTextWebsite b
{
    font-weight: 700;
}

.mainTextWebsite.bigger
{
    font-size: 1.5rem;
    line-height: 1.975rem;
    color: var(--text-website-color);
    font-weight: 400;
}

.mainTextWebsite.pre_title
{
    font-weight: 800;
    color: var(--accent-website-color);
}
.mainTextWebsite.pre_title p
{
    margin: 0;
}

.mainTextWebsite a
{
    color: var(--accent-website-color);
    font-weight: 500;
    text-decoration: underline;
}


.mainButtonWebsite
{
    display: inline-block;
    padding: 20px 35px;
    background-color: var(--accent-website-color);
    color: white;
    font-weight: 600;
    border-radius: 5px;
    position: relative;
}
a.mainButtonWebsite
{
    color: white;
}

.mainButtonWebsite::after,
.mainButtonWebsite::before
{
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: var(--accent-website-color);
    border-radius: 5px;
    opacity: 0.3;
    z-index: -1;
    transform: translateX(10px);
    transition: transform 0.6s ease;
}

.mainButtonWebsite::before
{
    transform: translateX(20px);
    opacity: 0.15;
}

.mainButtonWebsite:hover::after,
.mainButtonWebsite:hover::before
{
    transform: translateX(0);
}
.mainButtonWebsite:hover::after
{
    transition: transform 0.6s ease;
}
.mainButtonWebsite:hover::before
{
    transition: transform 0.3s ease;
}



/* HEADER */
header
{
    position: sticky;
    top: 0;
    z-index: 1000; 
}

header .leftNav .logo img
{
    display: block;
    max-height: 110px;
}

header.scrolled
{
    background-color: var(--grey-light-website-color);
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
    transition: background-color 0.3s ease, box-shadow 0.3s ease;
}

header.scrolled .leftNav .logo img
{
    max-height: 75px;
    transition: max-height 0.3s ease;
}

/* .main-navigation
{
    margin-left: 25px;
} */
.main-navigation ul
{
    display: flex;
    gap: 15px;
    list-style: none;
    margin: 0;
    padding: 0;
}
.main-navigation ul li
{
    list-style: none;
    margin: 0;
    padding: 0;
}

.main-navigation a
{
    color: var(--primary-website-color);
    font-weight: 700;
    padding: 10px 15px;
    display: block;

    font-size: 1rem;
    line-height: 1.275rem;
}