/*
Theme Name: Request
Theme URI: https://request.host
Description: Custom WordPress child theme for Hello Elementor, developed for the internal Request hosting & infrastructure website by Request.
Author: Request
Author URI: https://request.lv
Template: hello-elementor
Version: 1.0.3
Text Domain: request-host
*/

html {
    background: #000;
}

body {
    background: #fff;
}

.heading-highlight {
    height: 1em;
    line-height: 1em;
    background-size: 100% 100%;
    background-repeat: no-repeat;
    background-color: transparent;
    background-image: linear-gradient(#D1FD0E, #D1FD0E);
    color: black;
    display: inline-block;

    animation: heading-highlight-animation 0.75s linear forwards;
}

@keyframes heading-highlight-animation {
    0% {
        background-size: 0% 100%;
    }

    100% {
        background-size: 100% 100%;
    }
}

::-moz-selection {
    color: black;
    background: #D1FD0E;
}

::selection {
    color: black;
    background: #D1FD0E;
}

.footer-link {
    color: white;
    text-decoration: none;
}

.footer-link:hover {
    color: #D1FD0E;
}

#polylang-2,
#polylang-3 {
    font-size: 30px !important;
}

body.home {
    overflow: hidden;
}

html:has(body.home),
body.home {
    background: linear-gradient(to bottom, #060606 0%, #1b1b1b 100%);
    background-repeat: no-repeat;
    min-height: 100%;
}

body.home .site,
body.home .site-main {
    overflow: hidden;
}

.home-hero {
    min-height: calc(100dvh + 80px);
    height: calc(100dvh + 80px);
    padding-top: calc(88px + env(safe-area-inset-top));
    padding-bottom: env(safe-area-inset-bottom);
    box-sizing: border-box;
    position: relative;
    overflow: hidden;
}

.home-hero__content {
    position: relative;
    z-index: 3;
}

.home-hero__globe-desktop {
    position: relative;
    z-index: 1;
}

@media (max-width: 1024px) {
    .home-hero__globe-desktop {
        display: none !important;
    }

    .home-hero__globe-mobile {
        position: absolute;
        right: -40vw;
        bottom: -56vh;
        z-index: 1;
        pointer-events: none;
        width: 180vw;
    }

    .home-hero__globe-mobile .elementor-widget-container {
        width: 100%;
    }

    .home-hero__globe-mobile .ascii-globe-wrap {
        min-height: 0;
        height: auto;
        width: 100%;
        display: flex;
        justify-content: center;
        align-items: flex-end;
        overflow: visible;
    }

    .home-hero__globe-mobile .ascii-globe {
        font-size: clamp(6.8px, 2vw, 10px);
        transform: scaleX(0.92);
        transform-origin: center bottom;
        position: relative;
        z-index: 1;
    }

    .home-hero__globe-mobile .ascii-stars {
        position: fixed;
        inset: 0;
        width: 100vw;
        height: 100vh;
        z-index: 0;
    }
}

@media (max-width: 767px) {
    .home-hero__globe-mobile {
        bottom: -42vh;
    }
}

@media (min-width: 768px) and (max-width: 1024px) {
    .home-hero__globe-mobile {
        bottom: -40vh;
    }
}

.elementor-field-textual.elementor-size-sm {
    padding: 0;
}

input[type=checkbox]:checked {
    color: black;
    accent-color: #D1FD0E;
}

input::placeholder,
textarea::placeholder {
    color: white !important;
    opacity: 1 !important;
}
