*{
    margin: 0;
    padding: 0;
    font-family: "gilroy";
    box-sizing: border-box;
}

html, body{
    height: 100%;
    width: 100%;
}

.loader-screen{
    position: fixed;
    inset: 0;
    z-index: 2000;
    display: none;
    align-items: center;
    justify-content: center;
    background: #0f172a;
    opacity: 1;
    visibility: visible;
    transition: opacity .35s ease, visibility 0s linear .35s;
}

.js .loader-screen{
    display: flex;
}

.loader-screen.is-hidden{
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
}

.truckWrapper{
    width: 200px;
    height: 100px;
    display: flex;
    flex-direction: column;
    position: relative;
    align-items: center;
    justify-content: flex-end;
    overflow: hidden;
}

.truckBody{
    width: 130px;
    height: fit-content;
    margin-bottom: 6px;
    animation: truckMotion 1s linear infinite;
}

.trucksvg{
    display: block;
    width: 100%;
}

.truckTires{
    width: 130px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 10px 0 15px;
    position: absolute;
    bottom: 0;
}

.truckTires svg{
    width: 24px;
}

.road{
    width: 100%;
    height: 1.5px;
    background-color: #e2e8f0;
    position: relative;
    align-self: flex-end;
    border-radius: 3px;
}

.road::before,
.road::after{
    content: "";
    position: absolute;
    height: 100%;
    background-color: #e2e8f0;
    border-radius: 3px;
    animation: roadAnimation 1.4s linear infinite;
}

.road::before{
    width: 20px;
    right: -50%;
    border-left: 10px solid #0f172a;
}

.road::after{
    width: 10px;
    right: -65%;
    border-left: 4px solid #0f172a;
}

.lampPost{
    position: absolute;
    bottom: 0;
    right: -90%;
    height: 90px;
    fill: #e2e8f0;
    animation: roadAnimation 1.4s linear infinite;
}

@keyframes truckMotion{
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(3px); }
}

@keyframes roadAnimation{
    to { transform: translateX(-350px); }
}

#main{
    position: relative;
    width: 100%;
    height: 100vh;
}

#back{
    position: absolute;
    top: 0;
    left: 0;
    z-index: 0;
    width: 100%;
    height: 100vh;
    overflow: hidden;

}

#back img{
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    pointer-events: none;
}
#top{
    pointer-events: none;
    position: absolute;
    top: 0;
    left: 0;
    z-index: 1;
    width: 100%;
    height: 100vh;
}

#working_area{
    margin: 0 auto;
    position: relative;
    width: 80%;
    max-width: 1920px;
    height: 100vh;
}

#nav{
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 12px 24px;
    width: 100%;
    padding: 20px 0;
}

#nav img{
    height :60px
}

#nleft ,#nright{
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 30px;
}
#nav a{
    pointer-events: all;
    text-decoration: none;
    text-transform: uppercase;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 1px;
    color: aliceblue;
    font-family: "giloroy";
}

#nav a:focus-visible{
    outline: 2px solid currentColor;
    outline-offset: 5px;
}

@media (max-width: 700px){
    #working_area{
        width: calc(100% - 24px);
    }

    #nav{
        flex-wrap: nowrap;
        gap: 6px;
        padding: 12px 0;
    }

    #nleft,#nright{
        display: contents;
    }

    #nav img{
        height: 32px;
    }

    #nav a{
        font-size: 9px;
        letter-spacing: 0;
        white-space: nowrap;
    }
}

@media (max-width: 420px){
    #nav{
        gap: 4px;
    }

    #nav a{
        font-size: 8px;
    }

    #nav img{
        height: 28px;
    }
}

#hero{
    display: flex;
    position: absolute;
    top: 50%;
    left: 0;
    transform: translate(0 ,-50%);
    justify-content: space-between;
    width: 100%;
}
#heroleft{
    min-width: 50%;
}
#heroleft .elem{

    height: 9vw;
    position: relative;
    overflow: hidden;
}
#heroleft .elem h1:nth-child(1){
    top:0;
}
#heroleft .elem h1{
    position: absolute;
    top:100%;
    left:0;
    line-height: .9;
    font-family: "kajiro";
    color:#fff;
    font-weight: 100;
    font-size: 11vw;


}

#heroleft button,
#heroleft .explore-works{
    display: inline-block;
    appearance: button;
    -webkit-appearance: button;
    pointer-events: all;
    padding: 1vw 4vw;
    font-size: 2vw;
    margin-top: 2vw;
    font-family: 'Courier New', Courier, monospace;
    color: buttontext;
    text-decoration: none;
}

#heroleft .explore-works{
    position: relative;
    isolation: isolate;
    display: flex;
    justify-content: center;
    align-items: center;
    width: 13rem;
    height: 3rem;
    padding: 0;
    overflow: hidden;
    background-size: 300% 300%;
    backdrop-filter: blur(1rem);
    border-radius: 5rem;
    transition: .5s;
    animation: gradient_301 5s ease infinite;
    border: double 4px transparent;
    background-image:
        linear-gradient(#212121, #212121),
        linear-gradient(137.48deg, #ffdb3b 10%, #fe53bb 45%, #8f51ea 67%, #0044ff 87%);
    background-origin: border-box;
    background-clip: content-box, border-box;
}

.explore-works strong{
    position: relative;
    z-index: 2;
    font-family: "Avalors Personal Use", sans-serif;
    font-size: 12px;
    letter-spacing: 5px;
    color: #fff;
    text-shadow: 0 0 4px #fff;
}

.explore-works #container-stars{
    position: absolute;
    z-index: -1;
    width: 100%;
    height: 100%;
    overflow: hidden;
    transition: .5s;
    backdrop-filter: blur(1rem);
    border-radius: 5rem;
}

.explore-works #glow{
    position: absolute;
    z-index: -1;
    display: flex;
    width: 12rem;
}

.explore-works .circle{
    width: 100%;
    height: 30px;
    filter: blur(2rem);
    animation: pulse_3011 4s infinite;
    z-index: -1;
}

.explore-works .circle:nth-of-type(1){
    background: rgba(254, 83, 186, .636);
}

.explore-works .circle:nth-of-type(2){
    background: rgba(142, 81, 234, .704);
}

.explore-works #stars{
    position: relative;
    background: transparent;
    width: 200rem;
    height: 200rem;
}

.explore-works #stars::after,
.explore-works #stars::before{
    content: "";
    position: absolute;
    width: 100%;
    background-image: radial-gradient(#fff 1px, transparent 1%);
    background-size: 50px 50px;
}

.explore-works #stars::after{
    top: -10rem;
    left: -100rem;
    height: 100%;
    animation: animStarRotate 90s linear infinite;
}

.explore-works #stars::before{
    top: 0;
    left: -50%;
    height: 500%;
    opacity: .5;
    animation: animStar 60s linear infinite;
}

.explore-works:hover #container-stars{
    z-index: 1;
    background-color: #212121;
}

.explore-works:hover{
    transform: scale(1.1);
}

.explore-works:active{
    border: double 4px #fe53bb;
    background-origin: border-box;
    background-clip: content-box, border-box;
    animation: none;
}

.explore-works:active .circle{
    background: #fe53bb;
}

.explore-works:focus-visible{
    outline: 2px solid #fff;
    outline-offset: 5px;
}

@keyframes animStar{
    from { transform: translateY(0); }
    to { transform: translateY(-135rem); }
}

@keyframes animStarRotate{
    from { transform: rotate(360deg); }
    to { transform: rotate(0); }
}

@keyframes gradient_301{
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

@keyframes pulse_3011{
    0% {
        transform: scale(.75);
        box-shadow: 0 0 0 0 rgba(0, 0, 0, .7);
    }
    70% {
        transform: scale(1);
        box-shadow: 0 0 0 10px rgba(0, 0, 0, 0);
    }
    100% {
        transform: scale(.75);
        box-shadow: 0 0 0 0 rgba(0, 0, 0, 0);
    }
}

@media (prefers-reduced-motion: reduce){
    #heroleft .explore-works,
    .explore-works .circle,
    .explore-works #stars::after,
    .explore-works #stars::before{
        animation: none;
        transition: none;
    }
}

#heroright{
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    width: 18%;
    color: #fff;
}

#heroright p{
    font-size: 14px;
    text-align: right;
    font-weight: 300;

}
#heroright #imgdiv{
    width: 100%;
    height: 170px;
    margin-top: 20px;
    margin-bottom: 30px;
    background-image: url("small.jpeg");
    background-size: cover;
    position: center;
}

#heroright p:nth-child(3){
    margin-bottom: 70px;
}
