@font-face {
    font-family: 'Helvetica Neue';
    src: url("HelveticaNeue.ttf") format("truetype");
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}

body {
    display: flex;
    font-family: 'Helvetica Neue';
    background-image: linear-gradient(to bottom,
        rgba(255, 255, 255, 0.2) 0%,
        rgba(0, 0, 0, 0.25) 50%
    ), url("wallp2.jpg");
    background-position: center;
    background-size: cover;
    background-attachment: fixed;
    text-shadow: 0 4px 4px #393939;
}

.nav {
    text-align: center;
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 20%;
    background-image:linear-gradient(to bottom,
        rgba(255, 255, 255, 0.02) 0%,
        rgba(0, 0, 0, 0.2) 25%,
        rgba(0, 0, 0, 0.5) 90%
    ), url("imaages.jpeg");
}

.nav h1 {
    text-shadow: 2px 0 0 #000000, 0 2px 0 #757575;
    color: #d2d2d2;
    font-size: 300%;
}

.nav p {
    color: #d2d2d2;
}

#results h1 {
    color: #d2d2d2;
}

#pa {
    color: #d2d2d2;
    font-size: 150%;
    transform: translateY(-50%) rotate(7deg);
}

@media screen and (max-aspect-ratio: 1.2/1) {
    html {
        font-size: 80%;
    }
    
    .nav {
        width: 30%;
    }
    #results {
        height: 70vh;
    }
}

#search {
    background-color: #d2d2d2;
    text-align: center;
    border-radius: 0.25rem;
    outline: none;
}

@media screen and (max-aspect-ratio: 1/1.5) {
    #search {
        width: 75%;
    }
}

#results {
    overflow-y: auto;
    height: 65vh;
    width: 80%;
    margin-left: auto;
    margin-right: auto;
    margin-top: 5%;
    font-size: 150%;
    background-image: linear-gradient(to bottom,
        rgba(200, 200, 200, 0.25) 0%,
        rgba(150, 150, 150, 0.25) 49%,
        rgba(125, 125, 125, 0.2) 50%,
        rgba(90, 90, 90, 0.1) 100%
    );
    border-radius: 0.2rem;
    border: solid rgba(255,255,255,0.25);
    color: #d2d2d2;
}

#home {
    position: absolute;
    top: 15%;
    bottom: 15%;
    left: 40%;
    right: 10%;
    background-color: rgba(16, 26, 48, 0.88);
    background-image: linear-gradient(
        180deg,
        rgba(207, 198, 233, 0.35) 0%,
        rgba(142, 138, 166, 0.12) 49%,
        rgba(255, 255, 255, 0.0) 50%,
        rgba(0, 0, 0, 0.15) 100%
    );
    border: 1px solid #7d7d7d;
    border-top-color: #bcbcbc;
    border-radius: 12px;
    box-shadow: 
        0 10px 25px rgba(0, 0, 0, 0.65),
        inset 0 1px 0 rgba(255, 255, 255, 0.6),      
        inset 0 0 1px 1px rgba(255, 255, 255, 0.2);
    transition: transform .1s ease;
    color: #d2d2d2;
    font-size: 300%;
    text-align: center;
    padding-top: 2%;
}

#home:hover {
    transform: translateY(-2%) scale(1.025);
}

#results p {
    cursor: pointer;
    transition: color .1s ease;
}

#results p:hover {
    color: rgba(39, 39, 39, 0.75);
}

.watamark {
    position: absolute;
    bottom: 2%;
    left: 5%;
    right: 5%;
    text-align: center;
    color: #949494;
    overflow: clip;
}

.pee {
    animation-name: marquee2;
    animation-duration: 8s;
    animation-iteration-count: infinite;
    animation-timing-function: linear;
    margin-top: auto;
    margin-bottom: auto;
}

@keyframes marquee2 {
    0% {
            transform: translateX(-120%);
    } 100% {
            transform: translateX(120%);
    }
}

a {
    text-decoration: none;
    list-style-type: none;
}

.v {
    margin: 0;
    background-color: rgba(255, 255, 255, 0.1);
    padding: 2%;
}

.paper {
    display: flex;
    position: absolute;
    background-image: url("paper.png");
    top: 0%;
    right: 0%;
    background-size: 100% 100%;
    width: 15vw;
    height: 3vh;
    background-position: center;
    background-repeat: no-repeat;
    text-align: center;
    padding-top: 3%;
    padding-bottom: 3%;
    color: rgb(65, 57, 45, 0.75);
    text-shadow: none;
    padding-inline: 4%;
    align-items: center;
    justify-content: center;
    font-size: 1.5vw;
}

@media screen and (min-aspect-ratio: 1.5/1) {
    #home {
        left: 30%;
        right: 20%;
    }
    .paper {
        width: 10vw;
        height: 1.5vh;
        font-size: 1vw;
    }
    #results {
        height: 60vh;
    }
}
