@font-face {
    font-family: 'Material Symbols Outlined';
    font-style: normal;
    src: url(../assets/MaterialSymbolsOutlined[FILL\,GRAD\,opsz\,wght].woff2) format('woff2');
}

/* .material-symbols-outlined {
    font-family: 'Material Symbols Outlined';
    font-weight: normal;
    font-style: normal;
    font-size: 24px;
    display: inline-block;
    line-height: 1;
    text-transform: none;
    letter-spacing: normal;
    word-wrap: normal;
    white-space: nowrap;
    direction: ltr;
} */

* {
    padding: 0;
    margin: 0;
}

html {
    scroll-behavior: smooth;
}

:root {
    --primary-color: #1e1e1e;
    --text-color: #1e1e1e;
    --background-color: #ededed;
    --second-color: #FF4C3E;
    --link-color: #3e68ff;
}

body {
    color: var(--text-color);
    background-color: var(--primary-color);
    background-image: url('../img/bg.jpg');
    appearance: auto;
    -webkit-appearance: auto;
    /* background-size: 50%; */
}

footer h4
{
    font-family: tt-commons-pro, sans-serif;
    font-weight: 500;
    font-style: normal;
}

footer .contact h2, footer .contact th
{
    border: none;
    padding: 0;
    margin: 0;
}

.side
{
    display: none;
    position: absolute;
    z-index: auto;
    width: 350px;
}

.container {
    max-width: 70ch;
    margin: auto;
    padding-left: 1rem;
    padding-right: 1rem;
}

.mail::before {
    font: normal normal normal 24px/24px Material Symbols Outlined;
    font-feature-settings: "liga";
    content: "mail";
    font-size: 20px;
    vertical-align: text-bottom;
}

.insta::before {
    font: normal normal normal 24px/24px Material Symbols Outlined;
    font-feature-settings: "liga";
    content: "smartphone";
    font-size: 20px;
    vertical-align: text-bottom;
}

.contact a
{
    font-family: tt-commons-pro, sans-serif;
    font-weight: 300;
    font-style: normal;
    font-size: 20px;
    font-display: auto;
}

.contact th a
{
    display: flex;
    color: var(--background-color);
}

.contact span
{
    position: relative;
    bottom: 1.3px;
    margin-right: 7px;

    font-weight: 300;
    font-variation-settings: 'wght' 300;
}

.contact th
{
    height: 30px;
}

.contact th, .contact h2
{
    text-align: start;
    padding-left: 20px;
}

#photo
{
    margin: 0;
}

h1 {
    font-family: tt-travels-next, sans-serif;
    font-weight: 800;
    font-style: italic;
    font-size: 4rem;
    padding-top: 5rem;
    color: var(--primary-color);
}

h2 {
    font-family: roc-grotesk-compressed, sans-serif;
    font-weight: 700;
    font-style: normal;
    font-variant-caps: titling-caps;
    text-transform: uppercase;
    font-size: 4rem;
    margin-top: 4rem;
    color: var(--primary-color);

    padding-top: 25px;
    border-top: solid var(--text-color) 2px;
}

h2::after {
    padding-left: 10px;
    content: "↓";
    font-family: tt-commons-pro, sans-serif;
    font-weight: 600;
    font-size: 70%;
    vertical-align: middle;
}

h3 {
    font-family: roc-grotesk-compressed, sans-serif;
    font-weight: 600;
    font-style: normal;
    color: var(--primary-color);
    font-size: 3rem;
    margin-top: 2rem;
}

h4 {
    font-size: 1.2rem;
    margin-top: 1rem;
}

p, img, ul, ol {
    margin-top: 1rem;
}

a {
    font-family: tt-commons-pro, sans-serif;
    font-style: normal;
    color: var(--link-color);
    text-decoration: none;
}

ul {
    list-style: none;
    font-weight: bolder;
}

ul li::before {
    content: "→";
    margin-right: 0.3rem;
    font-weight: bolder;
}

ul li {
    padding-top: 0.3rem;
    padding-bottom: 0.3rem;
}

p, ul
{
    font-family: tt-commons-pro, sans-serif;
    font-weight: 300;
    font-style: normal;
    font-size: 20px;
    line-height: 1.8rem;
}

a.external::after {
    font: normal normal normal 24px/24px Material Symbols Outlined;
    font-feature-settings: "liga";
    content: "open_in_new";
    font-size: 18px;
    vertical-align: text-bottom;
    margin: 0;
}

img {
    width: 100%;
}

article {
    scroll-margin-top: 5rem;
}

body > header {
    background: var(--primary-color);
    border-bottom: 2px solid var(--text-color);
    position: sticky;
    z-index: 1;
    width: 100%;
    top: 0;
    padding: 25px 0;
}

body > header nav {
    display: flex;
    text-transform: uppercase;
    gap: 1rem;
}

body > header a {
    color: var(--background-color);
}

body > footer {
    margin-top: 6rem;
    padding: 2rem 0 3rem 0;
    background: var(--primary-color);
    position: relative;
}

footer th,
footer p,
footer h2,
footer h4 {
    color: var(--background-color);
}

footer p {
    font-size: 1rem;
}

footer p span {
    font-variation-settings: 'opsz' 20;
    font-size: 20px;
}

/* Effet navigation - by billionbd */

.nav-effect a::before,
.nav-effect a::after {
	display: inline-block;
	opacity: 0;
	-webkit-transition: -webkit-transform 0.3s, opacity 0.2s;
	-moz-transition: -moz-transform 0.3s, opacity 0.2s;
	transition: transform 0.3s, opacity 0.2s;
}

.nav-effect a::before {
	margin-right: 10px;
	content: '[';
	-webkit-transform: translateX(20px);
	-moz-transform: translateX(20px);
	transform: translateX(20px);
}

.nav-effect a::after {
	margin-left: 10px;
	content: ']';
	-webkit-transform: translateX(-20px);
	-moz-transform: translateX(-20px);
	transform: translateX(-20px);
}

.nav-effect a:hover::before,
.nav-effect a:hover::after,
.nav-effect a:focus::before,
.nav-effect a:focus::after {
	opacity: 1;
	-webkit-transform: translateX(0px);
	-moz-transform: translateX(0px);
	transform: translateX(0px);
}

.embed-text {
    display: inline;
    color: var(--background-color);
    font-weight: bolder;
    background: var(--primary-color);
    box-shadow: 3px 0 0 var(--primary-color), -3px 0 0 var(--primary-color);
    padding-top: 2px;
    padding-bottom: 2px;
    box-decoration-break: clone;
    -webkit-box-decoration-break: clone;
}

.material-symbols-outlined {
    font-weight: 500;
    font-variation-settings: 'wght' 500;
}

.link {
    position: relative;
    padding: 2px 0;
}

.link::before{
    content: "";
    width: 100%;
    height: 1.5px;
    position: absolute;
    left: 0;
    bottom: 0;
    transition: 0.2s transform ease;
    transform: scale3d(0,1,1);
    transform-origin: 0 50%;
}

.link:hover::before{
    transform: scale3d(1,1,1);
}

.link::before{
    transform-origin: 100% 50%;
    background: var(--link-color);
}