:root[data-theme='light'] {
    --BackgroundColor: #FFF3F3;
    --FontColor: #2B2B2B;
    --FontSubColor: #dec4c4;
    --FontSubColorHover: #c4a5a5;
    --FontScrollText: #F8E6E6;
    --TipColor: #dec4c4;
    --AboutMeFigureText: #2B2B2B;
    --Cursor: #dec4c4;

    --MaxWidth: 1280px;

}

:root[data-theme='dark'] {
    --BackgroundColor: #121212;
    --FontColor: #FFFFFF;
    --FontSubColor: #2A2A2A;
    --FontSubColorHover: #FFFFFF;
    --FontScrollText:#FFFFFF;
    --TipColor: #c7c7c7;
    --AboutMeFigureText: #2B2B2B;
    --Cursor: #FFFFFF;

    --MaxWidth: 1280px;
}


/* ----------------------------------
---------------Fonts----------------
------------------------------------- */

/* montserrat-100 - latin */
@font-face {
  font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
  font-family: 'Montserrat';
  font-style: normal;
  font-weight: 100;
  src: url('../fonts/montserrat-v30-latin-100.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}
/* montserrat-200 - latin */
@font-face {
  font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
  font-family: 'Montserrat';
  font-style: normal;
  font-weight: 200;
  src: url('../fonts/montserrat-v30-latin-200.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}
/* montserrat-300 - latin */
@font-face {
  font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
  font-family: 'Montserrat';
  font-style: normal;
  font-weight: 300;
  src: url('../fonts/montserrat-v30-latin-300.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}
/* montserrat-regular - latin */
@font-face {
  font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
  font-family: 'Montserrat';
  font-style: normal;
  font-weight: 400;
  src: url('../fonts/montserrat-v30-latin-regular.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}
/* montserrat-500 - latin */
@font-face {
  font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
  font-family: 'Montserrat';
  font-style: normal;
  font-weight: 500;
  src: url('../fonts/montserrat-v30-latin-500.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}
/* montserrat-600 - latin */
@font-face {
  font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
  font-family: 'Montserrat';
  font-style: normal;
  font-weight: 600;
  src: url('../fonts/montserrat-v30-latin-600.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}
/* montserrat-700 - latin */
@font-face {
  font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
  font-family: 'Montserrat';
  font-style: normal;
  font-weight: 700;
  src: url('../fonts/montserrat-v30-latin-700.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}
/* montserrat-800 - latin */
@font-face {
  font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
  font-family: 'Montserrat';
  font-style: normal;
  font-weight: 800;
  src: url('../fonts/montserrat-v30-latin-800.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}
/* montserrat-900 - latin */
@font-face {
  font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
  font-family: 'Montserrat';
  font-style: normal;
  font-weight: 900;
  src: url('../fonts/montserrat-v30-latin-900.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}


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

body {
    background-color: var(--BackgroundColor);
    font-family: "Montserrat", sans-serif;
    color: var(--FontColor);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

h1, h2 {
    font-weight: 900;
    font-size: 2rem;
}

li {
    list-style: none;
}

.Cursor{
    width: 20px;
    height: 20px;
    background-color: var(--Cursor);
    position: fixed;
    left: -40px;
    top: -40px;
    border-radius: 50%;
    z-index: 1000;
    mix-blend-mode: difference;
    pointer-events: none;
    transform: translate(-50%, -50%);
}

/* ----------------------------------
---------------Header----------------
------------------------------------- */

header {
    position: fixed;
    top: 0;
    right: 0;
    left: 0;
    z-index: 100;
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 95%;
    max-width: var(--MaxWidth);
    margin: auto;
}

header > a:nth-of-type(2){
    display: none;
}

header ul {
    display: flex;
    justify-content: flex-end;
    gap: 1.5rem;
    font-weight: 200;
    padding: 1rem;
}

header a{
    color: var(--FontColor);
    text-decoration: none;
    position: relative;
}

header > a{
font-weight: 900;
}

/* ----------------------------------
----------------Links----------------
------------------------------------- */

.LinkWithArrow {
    color: var(--FontColor);
    text-decoration: none;
    position: relative;
}

.LinkWithArrow::after, header li a::after{
    content: "";
    width: 0%;
    height: 2px;
    background-color: var(--FontColor);
    position: absolute;
    left: 0;
    bottom: -2px;
    transition: all 0.3s ease-out;
}

.LinkWithArrow:hover::after, header li a:hover::after{
    width: 100%;
}

.LinkWithArrow > svg {
    width: 1rem;
    fill: var(--FontColor);
}

/* ----------------------------------
---------------Footer----------------
------------------------------------- */

footer {
    background-color: var(--FontScrollText);
    /* margin-top: -25vh; */
    height: 30vh;
    min-height: 250px;
    width: 100%;
    position: relative;
}

footer h2 {
    margin: 1rem 0;
}

footer>div {
    width: 95%;
    max-width: var(--MaxWidth);
    margin: auto;
    padding: 2rem 0;
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: end;
}

footer>div>div>p {
    max-width: 35rem;
}

footer>div>p {
    width: 100%;
    text-align: center;
    position: absolute;
    bottom: 0.5rem;
    left: 0;
    font-size: 0.75rem;
}

/* ----------------------------------
------------Media Queries------------
------------------------------------- */

@media (max-width: 768px){
    footer>div{
        text-align: center;
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    footer>div>div>p{
        margin: auto;
    }
}

@media (max-width: 545px){
    /* header{
        flex-wrap: wrap;
    } */

    header > a:nth-of-type(1){
        display: none;
    }

    header > a:nth-of-type(2){
        display: block;
    }

    header nav{
        font-size: 0.85rem;
        text-wrap: nowrap;
    }

    header ul{
        gap: 1rem;
    }
}