@import url('https://fonts.googleapis.com/css2?family=Roboto+Mono&display=swap');

html,body {
    font-family: 'Roboto Mono', monospace;
    font-size: 14px;
    background: #1a1b26;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    padding: 0px;
    margin: 0px;
}

img {
    height: 300px;
    width: 600px;
    object-fit: cover;
    border: 2px solid #733947;
    /* border-bottom: none; */
    margin-bottom: -3px;
}

nav {
    color: #733947;
    background-color: #24283b;
    display: grid;
    grid-template-columns: auto auto auto auto;
    margin-top: 0px;
    text-align: center;
    border: 2px solid #733947;
    border-top: none;
    padding-top: 5px;
    padding-bottom: 5px;
}

ul {
    list-style-type: none;
    margin-left: -35px;
    margin-top: 5px;
    margin-bottom: 5px;
}

.clock-box {
    position: relative;
    color: #733947;
    background-color: #1a1b26;
    flex-direction: row;
    display: flex;
    justify-content: space-between;
}

a {
    text-decoration: none;
    color: #d2738a;
}

a:hover {
    background-color: #4e515f;
}

input {
    background-color: #24283b;
    font: 16px 'Ubuntu Mono', monospace;
    color: #733947;
    height: 100%;
    width: 100%;
    border: 2px solid #733947;
    border-top: none;
    margin-top: 0px;
    outline: none;
    padding: 5px;
}

input::placeholder {
    color: #733947;
}

/*  The following section is not really my work, I found these glitchy effects
    on this website: https://al1-ce.neocities.org/
*/
/* Animations */
.glowtext { animation: titleAnim 5s infinite; }
@keyframes titleAnim{
	50%{
		color: var(--color-main-bg);
		text-shadow:var(--color-border) 1px 4px 5px;
	}
}

#scanlines {
    background-image: url("scanlines.png");
    background-repeat: repeat;
    position:absolute; top: 0px; left: 0px;
    width: 100%; height: 100%; z-index:9999;
    animation: scanAnim 0.6s infinite;
    animation-timing-function: linear;
    pointer-events: none;
    background-color: transparent;
}

@keyframes scanAnim {
    0% {
        background-position: 0px 0px;
    }
    100% {
        background-position: 0px 8px;
    }
}
