@import url('https://fonts.googleapis.com/css2?family=Inter:ital,opsz,wght@0,14..32,100..900;1,14..32,100..900&display=swap');
/* nunito-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: 'Nunito';
  font-style: normal;
  font-weight: 400;
  src: url('fonts/nunito-v32-latin-regular.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}

/* nunito-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: 'Nunito';
  font-style: normal;
  font-weight: 600;
  src: url('fonts/nunito-v32-latin-600.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}

/* nunito-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: 'Nunito';
  font-style: normal;
  font-weight: 800;
  src: url('fonts/nunito-v32-latin-800.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}

/* parisienne-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: 'Parisienne';
  font-style: normal;
  font-weight: 400;
  src: url('fonts/parisienne-v14-latin-regular.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}


:root {
    --background-color: #f0fcff;
    --text-color: #001f2e;
    --mouse-x: -150px;
    --mouse-y: -150px;
    --spotlight-radius: 150px;
}
@media (prefers-color-scheme: dark) {
    :root {
        --background-color: #2a2a30;
        --text-color: #e8f1fd;   
    }
}

body {
    font-family: 'Nunito', sans-serif;
    color: var(--text-color);
    padding: 70px 15vw 0 15vw;
    margin: 0;
    background-color: var(--background-color);
}

.noise-spotlight {
    position: fixed;
    inset: 0;
    pointer-events: none;
    z-index: 10;
    background: url("data:image/svg+xml;utf8,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20width%3D%22200%22%20height%3D%22200%22%3E%3Cfilter%20id%3D%22n%22%3E%3CfeTurbulence%20type%3D%22fractalNoise%22%20baseFrequency%3D%220.75%22%20numOctaves%3D%223%22%20stitchTiles%3D%22stitch%22%2F%3E%3C%2Ffilter%3E%3Crect%20width%3D%22100%25%22%20height%3D%22100%25%22%20filter%3D%22url(%23n)%22%20opacity%3D%220.20%22%2F%3E%3C%2Fsvg%3E");

    -webkit-mask-image: radial-gradient(
        circle var(--spotlight-radius) at var(--mouse-x) var(--mouse-y),
        black 0%,
        transparent 100%
    );
    mask-image: radial-gradient(
        circle var(--spotlight-radius) at var(--mouse-x) var(--mouse-y),
        black 0%,
        transparent 100%
    );
}

.profile-image {
    width: 300px;
    height: 300px;
    object-fit: cover;
    border-radius: 30%;
}

.profile {
    display: flex;
    justify-content: space-between;
}
.profile-name {
    font-size: 5rem;
    font-weight: 800;
    margin-bottom: 0;
}
.profile-description {
    font-size: 1.25rem;
    font-weight: 400;
    margin: 0;
}
.links-section {
    padding: 10px;
    margin-top: 100px;
}
.links-section ul {
    list-style-type: none;
    padding: 0;
    display: flex;
    justify-content: center;
    gap: 20px;
}
.links-section li a {
    color: var(--text-color);
    font-size: 40px;
    border-radius: 10px;
    transition: box-shadow 0.3s ease, color 0.3s ease, transform 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 70px;
    height: 70px;
    text-decoration: none;
}
.links-section li a.with-icon {
    filter: grayscale(100%) brightness(0.2);
    transition: filter 0.3s ease, transform 0.3s ease, box-shadow 0.3s ease;
}
@media (prefers-color-scheme: dark) {
    .links-section li a.with-icon {
        filter: grayscale(100%) brightness(1);
    }
}
.links-section li a.with-icon:hover {
    filter: none;
}
.links-section li a img {
    width: 50px;
}

.links-section li a:hover {
    box-shadow: inset 0px 0px 5px 0px rgba(109, 109, 109, 0.5);
    transform: scale(1.1);
}
#linkedin:hover {
    color: #0e76a8;
}
#github:hover {
    color: #24292e;
}
@media (prefers-color-scheme: dark) {
    #github:hover {
        color: #F2F5F3;
    }
}
#CV:hover {
    color: #047217;
}
#gallery-js {
    font-family: "Inter", sans-serif;
    font-weight: 800;
    font-size: 1.5rem;
    letter-spacing: 0px;
}
#gallery-js span{
    transition: color 0.3s ease;
}
#gallery-js:hover span{
    color: #f4ed06;
}

.tooltip {
    position: absolute;
    pointer-events: none;
    width: 0;
}
.tooltip img {
    width: 200px;
    transform: translate(-90px, 20px) rotate(-90deg);
}
@media (prefers-color-scheme: dark) {
    .tooltip img {
        filter: invert(1);
    }
}
.tooltip span {
    color: var(--text-color);
    font-size: 1.5rem;
    transform: translate(-30px,37px) rotate(30deg);
    display: block;
    width: max-content;
    font-family: 'Parisienne', cursive;
    font-weight: bold;
}

@media (max-width: 640px) {
    body {
        padding: 40px 20px 0 20px;
        margin: 0;
    }
    .profile-image {
        width: 150px;
        height: 150px;
    }
    .profile-name {
        font-size: 3rem;
        font-weight: 800;
        margin-bottom: 0;
        margin-top: 10px;
    }
    .profile-description {
        position: absolute;
        top: 220px;
    }
    .links-section {
        margin-top: 300px;
    }
    .links-section ul {
        flex-wrap: wrap;
    }
    .tooltip img {
        width: 200px;
        transform: translate(-95px, -220px) rotate(55deg);
    }
    .tooltip span {       
        transform: translate(-120px,-420px) rotate(20deg);
    }
}
.background {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    background-image: url('img/noise.svg');
    opacity: 0.1;
}