/* VARIABLES -------------------------------- */
/* VARIABLES -------------------------------- */
:root {
    /* --font-headings: 'Qatar2022', sans-serif; */
    --font-primary:  "Readex Pro", sans-serif;


    --color-white: #FFFFFF;
    --color-black: #000000;

    --color-orange: #FC9425;
    --color-blue: #2EEEE0;
    --color-light-blue: #D7FBFF;
    --color-light-orange: #FFEAD5;

}

/* COLORS */
@property --color-gradient-top_left {
    syntax: "<color>";
    initial-value: #999999;
    inherits: false;
}
@property --color-gradient-bottom_right {
    syntax: "<color>";
    initial-value: #ffffff;
    inherits: false;
}
@property --background-gradient-angle {
    syntax: '<angle>';
    inherits: false;
    initial-value: 125deg;
}




/* RESET -------------------------------- */
/* RESET -------------------------------- */
*, *::after, *::before {
  box-sizing: border-box;  
  outline: none;
  appearance: none;
  margin: 0;
  padding: 0;
}



/* GLOBAL -------------------------------- */
/* GLOBAL -------------------------------- */
html {
    height: 100%;
}
body {
    height: 100%;
    position: relative;
    /* background-image: conic-gradient(from 180deg, #0B0E0E, #051E1F, #3F3D3D, #351900, #0B0E0E); */
    background-image: linear-gradient(var(--background-gradient-angle), #291401, rgba(255,0,0,0) 60.71%),
            linear-gradient(127deg, #051E1F, rgba(0,255,0,0) 70.71%),
            linear-gradient(360deg, #0B0E0E, #0B0E0E 70.71%);
    color: var(--color-white);
    font-family: var(--font-primary);
    font-size: 16px;
    overflow: hidden;
    animation-name: background-gradient-angle;
    animation-timing-function: ease;
    animation-duration: 10s;
    animation-fill-mode: forwards;
}
body::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    right: 0;
    bottom: 0;
    background-image: url('pd-dotted-pattern.png');
    background-size: 20%;
    background-color: transparent;
    z-index: 0;
    opacity: 0.1;
}






/* LANDING -------------------------------- */
/* LANDING -------------------------------- */
section.pd-logo-animation {
    position: relative;
    display: grid;
    place-items: center;
    height: calc(100dvh - 100px);
    z-index: 1;
}
section.pd-logo-animation .pd-logo {
    display: grid;
    grid-template-columns: repeat(11, 22px);
    grid-template-rows: repeat(11, 22px);
    gap: 15px;
    transition: 1.5s;
    transition-delay: 1s;
    transform: rotate(0deg) scale(1);
}
body.not-loaded section.pd-logo-animation .pd-logo {
    transform: rotate(-45deg) scale(0.75);
}
section.pd-logo-animation .pd-logo .pd-logo-pixel {
    position: relative;
    aspect-ratio: 1;
    border-radius: 50%;
    background-image: linear-gradient(-45deg, var(--color-gradient-top_left) 15%, var(--color-gradient-bottom_right) 85%);
    opacity: 0.075;
    transform: scale(1);
    transition: 750ms box-shadow, 750ms opacity, border 750ms, background-image 750ms, transform 2.5s;
}
body.not-loaded section.pd-logo-animation .pd-logo .pd-logo-pixel {
    transform: scale(0.5);
    opacity: 0;
}
section.pd-logo-animation .pd-logo .pd-logo-pixel::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    right: 0;
    bottom: 0;
    border: 1px solid var(--color-white);
    border-radius: inherit;
    transition: 750ms opacity;
}
section.pd-logo-animation .pd-logo .pd-logo-pixel.pd-logo-pixel-1 { grid-column: 5 / 6; }
section.pd-logo-animation .pd-logo .pd-logo-pixel.pd-logo-pixel-4 { grid-column: 4 / 5; }
section.pd-logo-animation .pd-logo .pd-logo-pixel.pd-logo-pixel-9 { grid-column: 3 / 4; }
section.pd-logo-animation .pd-logo .pd-logo-pixel.pd-logo-pixel-16 { grid-column: 2 / 3; }
section.pd-logo-animation .pd-logo .pd-logo-pixel.pd-logo-pixel-25 { grid-column: 1 / 2; }
section.pd-logo-animation .pd-logo .pd-logo-pixel.pd-logo-pixel-58 { grid-column: 2 / 3; }
section.pd-logo-animation .pd-logo .pd-logo-pixel.pd-logo-pixel-67 { grid-column: 3 / 4; }
section.pd-logo-animation .pd-logo .pd-logo-pixel.pd-logo-pixel-74 { grid-column: 4 / 5; }
section.pd-logo-animation .pd-logo .pd-logo-pixel.pd-logo-pixel-79 { grid-column: 5 / 6; }

section.pd-logo-animation .pd-logo .pd-logo-pixel.powered {
    --color-gradient-top_left: #FFEAD5;
    --color-gradient-bottom_right: #D7FBFF;
    
    background-image: linear-gradient(-45deg, var(--color-gradient-top_left) 15%, var(--color-gradient-bottom_right) 85%);
    opacity: 1;
    box-shadow: 
        inset -1px -1px 2px 0 var(--color-orange),
        1px 1px 3px 0 var(--color-orange),
        4px 4px 10px -2px var(--color-orange),
        inset 1px 1px 2px 0 var(--color-blue),
        -1px -1px 3px 0 var(--color-blue),
        -4px -4px 10px -2px var(--color-blue); 
}
section.pd-logo-animation .pd-logo .pd-logo-pixel.powered::before {
    opacity: 0;
}


section.pd-notice {
    position: fixed;
    left: 50%;
    bottom: 45px;
    display: flex;
    align-items: center;
    gap: 50px;
    padding: 15px 20px 15px 22px;
    background-color: rgba(255,255,255,0.05);
    border: 2px solid rgba(255,255,255,0.025);;
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-radius: 25px;
    transform: translateX(-50%);
    /* width: 90%; */
    animation: 2s show-notice ease forwards;
    z-index: 2;
}
section.pd-notice > div:nth-of-type(1) {
    width: 525px;
}
section.pd-notice p {
    color: rgba(255,255,255,0.45);
    font-weight: 300;
    line-height: 150%;
}
section.pd-notice p strong,
section.pd-notice p span {
    color: var(--color-white);
}
section.pd-notice p strong {
    font-weight: 500;
}
section.pd-notice p a {
    color: var(--color-white);
    text-decoration: none;
    font-weight: 500;
}
section.pd-notice p a:hover,
section.pd-notice p a:focus-visible {
    text-decoration: underline;
}

section.pd-notice > div:nth-of-type(2) {
    max-width: 600px;
    display: flex;
    gap: 15px;
}
section.pd-notice > div:nth-of-type(2) a {
    text-decoration: none;
    display: inline-flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    height: 50px;
    aspect-ratio: 1;
    border-radius: 50%;
    border: 1px solid rgba(255,255,255,0.15);
    transition: 250ms;
    will-change: transform;
}
section.pd-notice > div:nth-of-type(2) a:hover,
section.pd-notice > div:nth-of-type(2) a:focus-visible {
    transform: scale(1.1);
    border: 1px solid rgba(255,255,255,1);
}
section.pd-notice > div:nth-of-type(2) a svg {
    height: 40%;
    width: auto;
}





/* MEDIAQUERIES ------------------------------------ */
@media (max-width: 800px) {
    body::before {
        background-size: 50%;
    }
    section.pd-logo-animation .pd-logo {
        transform: rotate(0deg) scale(0.8);
    }
    body.not-loaded section.pd-logo-animation .pd-logo {
        transform: rotate(-45deg) scale(0.65);
    }
    section.pd-notice > div:nth-of-type(1) {
        width: calc(75dvw - 100px);
    }
    
}
@media (max-width: 650px) {
    section.pd-notice {
        gap: 30px;
    }
    section.pd-notice > div:nth-of-type(1) {
        width: calc(75dvw - 150px);
    }
}
@media (max-width: 575px) {
    body::before {
        background-size: 75%;
    }
    section.pd-logo-animation {
        height: calc(100dvh - 150px);
    }
    section.pd-logo-animation .pd-logo {
        transform: rotate(0deg) scale(0.55) translateX(-15px);
    }
    body.not-loaded section.pd-logo-animation .pd-logo {
        transform: rotate(-45deg) scale(0.35) translateX(-15px);
    }
    section.pd-notice {
        width: calc(100% - 40px);
        bottom: 22px;
    }
    section.pd-notice > div:nth-of-type(1) {
        width: unset;
    }
}
@media (max-width: 450px) {
    section.pd-notice > div:nth-of-type(2) {
        flex-direction: column;
    }
}


/* KEYFRAMES ------------------------------------ */
@keyframes background-gradient-angle {
    from {

    --background-gradient-angle: 125deg;
    }
    to {
        --background-gradient-angle: 300deg;
    }
}
@keyframes show-notice {
    25% {
        transform: translateX(-50%) translateY(200px) scale(0.75);
    }
    100% {
        transform: translateX(-50%) translateY(0) scale(1);
    }
}