/**************************************************************************************************/
/********* MISC
/**************************************************************************************************/
html {
    font-size: var(--font-size-M);
    font-family: var(--font1);
    font-weight: 400;
    color: var(--font-color);
    background: var(--background-color);
    min-height:100vh;
    line-height: var(--line-height);
    scroll-behavior:smooth
}

.visually-hidden {display:none;}

/**************************************************************************************************/
/********* TITLES 
/**************************************************************************************************/
h1, h2, h3, h4, h5 {font-weight: bold;margin:.5em 0;}
h1, .h1 {font-size:4.5rem;}
h2, .h2 {font-size:3rem;}
h3, .h3 {font-size:1.4rem;}
h4, .h4 {font-size:1.5rem;}
h5, .h5 {font-size:1.1rem;}

/**************************************************************************************************/
/********* TEXT
/**************************************************************************************************/
.font-size-XS   {font-size:var(--font-size-XS);}
.font-size-S    {font-size:var(--font-size-S);}
.font-size-M    {font-size:var(--font-size-M);}
.font-size-L    {font-size:var(--font-size-L);}
.font-size-XL   {font-size:var(--font-size-XL);}
.font-size-XXL  {font-size:var(--font-size-XXL);}

em, .italic {font-style: italic;}
strong, .bold {font-weight: bold;}
.upper {text-transform:uppercase;}
a {text-decoration:none;color:inherit;}

.txt p,
.txt ul {margin:1em 0;line-height:var(--line-height);}
.txt ul {padding-left:1rem;list-style-type:disc;}
    .txt ul ul {list-style-type:circle;margin:.5rem 0;}
.txt > *:first-child {margin-top:0;}
.txt > *:last-child {margin-bottom:0;}
.txt a,
.underline {
    text-decoration:underline;
    text-decoration-thickness: var(--text-decoration-thickness);
    text-underline-offset: var(--text-underline-offset);
    text-decoration-color: var(--font-color-extra-light);
    color: var(--font-color-light);
    transition: color.2s, text-decoration-color .2s;
}
.txt a:hover,
.underline:hover {
    color: var(--font-color);
    text-decoration-color: var(--font-color);
}
/**************************************************************************************************/
/********* BUTTONS
/**************************************************************************************************/
.btn {
    padding: .85em 1.5em;
    color: #fff;
    background-color: var(--color-black);
    border: 1px solid var(--color-black);
    font-weight: bold;
    text-transform: uppercase;
    font-size: var(--font-size-S);
    letter-spacing: 0.05em;
    transition: background-color .2s, border-color .2s;
}
.btn:hover {
    background-color: #000;
    border-color: #000;
}
.btn-white {
    color: #000;
    background-color: rgba(255,255,255,1);
}
.btn-white:hover {
    background-color: rgba(255,255,255,.85);
}

/**************************************************************************************************/
/********* IMAGES
/**************************************************************************************************/
img, svg, video{display:block;max-width:100%;height:auto;}
/**************************************************************************************************/
/********* MENUS
/**************************************************************************************************/
.mod-menu > li > a {
    display: block;
    font-weight: bold;
    text-transform: uppercase;
    transition: color .2s;
}
#topMenu .mod-menu > li > a:hover {
    color: var(--color-beige);
}
.mod-menu > li > a::before {
    content: '';
    background: currentColor;
    display: block;
    margin: .5em auto;
    border-radius: 999px;
    width: .25rem;
    height: .25rem;
    transition: width .2s;
}
.mod-menu > li > a:hover::before {
    width: 55%;
}
/**************************************************************************************************/
/********* SOCIALS
/**************************************************************************************************/
.socials {
    display: flex;
    gap: 18px;
}
.socials li svg {
    width: 28px;
    padding: 10px 5px;
    transition: fill .15s;
}

/**************************************************************************************************/
/********* MOD LANGUAGES
/**************************************************************************************************/
.mod-languages ul {
    display: flex;
    align-items: baseline;
}
.mod-languages li:last-child {
    display:flex;
    align-items: baseline;
}
.mod-languages li:last-child::before {
    content: '/';
    margin: 10px .5rem;
}
.mod-languages li a {
    display: block;
    padding: 10px 0;
}


/**************************************************************************************************/
/********* PHONE MAIL
/**************************************************************************************************/
.phoneLink, .mailLink {
    transition: color .15s;
}
.mailLink {
    text-decoration: underline;
    text-decoration-thickness: 1px;
}
.mailLink:hover {
    text-decoration-thickness: 3px;
}

/**************************************************************************************************/
/********* TERMS
/**************************************************************************************************/
#terms {
    margin: 0 var(--gutter-left);
}