html, body {
    text-align: center;
    margin: 0;
    padding: 0;
    background-size: contain;
    font-family: Arial, Helvetica, sans-serif;
    font-size: 13px;
    background-color: #000000;
}

body {
    display: flex;
    flex-direction: column;
    align-items: center;
}

body * {
    /* margin: 0 auto; */
    text-align: left;
}

audio {
    position: absolute;
    top: -64px;
    right: 900px;
    left: 550px;
    width: 200px;
    height: 150px;
    transform: scale(0.5);
}

p {
    margin: 4px;
}

.dw_layout {
    position: relative;

    display: flex;
    flex-direction: row;
    justify-content: center;

    width: 90vw;
}

*/
#page {
    /*
    margin: 0 auto;
    margin-top: 25px;
    display: block;
    height: auto;
    position: relative;
    overflow: hidden;
    width: 900px;   
    */
}

.tv {
    position: fixed;
    padding-bottom: 50px;
    top: 0;

    height: 100vh;

    pointer-events: none; 
}

#tv_border {
    z-index: 1;
}

#tv_bg {
    z-index: 0;
}


#main {
    display: flex;
    flex-direction: column;
    justify-content: flex-start;

    padding: 14vh 0 20vh 6.25vw;
    width: 30%;

    font-family: "Lucida Console", Lucida Console, "Tahoma", "Trebuchet MS", Arial;
    color: #FFFFFF; 
    line-height: 1.6;
    /*
    overflow-y: scroll;
    scrollbar-width: none;
    -ms-overflow-style: none;
    */
    
    z-index: 0;
}

#main::-webkit-scrollbar {
    width: 0 !important;
}

#main a {
    text-decoration: none; /* Remove underline */
    color: inherit; /* Preserve the text color */
}

#main a:hover {
    text-decoration: none; /* Remove underline on hover */
    color: #ff1100; /* Change the color on hover if needed */
}

#main a {
    text-decoration: underline;
}

#main a:hover {
    text-decoration: none;
    color: #ff1100;
}

a, a:visited {
    color: inherit;
    text-decoration: none;
}

#main h1 {
    font-family: "Lucida Console", Lucida Console, "Tahoma", "Trebuchet MS", Arial;
    font-size: 60px;
    margin-bottom: 0;
}

#main_content {
    display: flex;
    flex-direction: column;
    align-items: center;

    text-align: left;

    width: 100%;
}

.flex_column {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

#bar {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    top: 12vh;
    
    color: #FFFFFF;
    background-repeat: no-repeat;
    font-family: Tahoma, "Tahoma", "Trebuchet MS", Arial;
    font-size: 10px;
    /* filter: blur(.05px); */

    z-index: 1;
}

#bar h3{
    font-family: "Courier New", Arial, Helvetica, sans-serif;
    font-size: 11px;
}

#bar ul {
    list-style-type: none;
    height: 21px;
    text-align: left;
}

#bar a:hover {
    color: #ff1100;
}

#bar a:hover {
    color: #ff1100 !important;
    /* background-color: #ff1100 !important; */
}

#bar_content {
    display: flex;
    flex-direction: column;
    align-items: end;

    min-width: 270px;

    padding: 5px 5px 5px 5px;
}

#bar_content h3 {
    margin: 2px;
}

.reactive_row {
    display: flex;
    flex-direction: row;
    align-items: end;
}

.bar_list div {
    padding: 0 3px 0 0;
    margin: 0;
    overflow: hidden;
    display: inline;
    text-align: center;
    color: #FFFFFF;
    text-decoration: none;
}

#generate {
    position: absolute;
    top: 20%;
    left: 47.5%;
}

#footer {
    position: fixed;
    bottom: 2.5vh;

    display: flex;
    flex-direction: row;
    justify-content: center;
    width: 100vw;
    
    padding-top: 6px;
    background-repeat: no-repeat;
    overflow: hidden;
    font-size: 9px;
    color: #E2E2E0;

    z-index: 2;
}

#footer a, #footer a:visited, #footer a:hover {
    font-size: 9px;
    color: #ff1100;
}

#footer a:hover {
    color: #ff1100;
}

#bookofshadows {
    width: 579px;
    height: 580px;
    text-align: center;
    padding-top: 100px;
    padding-left: 90px;
    padding-right: 28px;
    color: white;
    font-family: 'Courier New', Courier, monospace;
    font-size:16px;
    font-weight: bold;
    line-height: 1.6;
    overflow-y: scroll;
    scrollbar-width: none;
    -ms-overflow-style: none;
}

#bookofshadows::-webkit-scrollbar {
    width: 0 !important;
}


#bookofshadows p {
    text-align: center;
}

#bookofshadows h1 {
    font-family: "Lucida Console", Lucida Console, "Tahoma", "Trebuchet MS", Arial;
    font-size: 20px;
    font-weight: bold;
    text-align: right
}

#bookofshadows a {
    color: rgb(207, 1, 1);
}

#bookofshadows a:hover {
    text-decoration: underline;
}

#bookofshadows a:visited {
    color: rgb(210, 0, 0);
    width: 100%; /* Adjust the width as needed */
    text-align: center;
    padding-top: 100px;
    font-family: 'Courier New', Courier, monospace;
    line-height: 1.6;
    overflow-y: scroll;
    scrollbar-width: none;
    -ms-overflow-style: none;
}

/* is this used? */
#sentence {
    position: absolute;
    top: 40%;
    left: 51%;
    transform: translate(-50%, -50%);
    color: #E2E2E0;
    font-size: 30px;
    font-family: "Courier New", Arial, Helvetica, sans-serif;
    font-weight: bold;
}

/* also unused? */
#titlebar {
    background-repeat: no-repeat;
    height: 30px;
    width: 614px;
    overflow: hidden;
}

#titlebar h1 {
    padding-left: 21px;
    margin-top: 60px;
    margin-left: 70px;
    width: 510px;
    position: relative;
    color: #FFFFFF;
    text-align: left;
    font-size: 14px;
    font-family: "Trebuchet MS", Arial, Helvetica, sans-serif;
    background-repeat: no-repeat;
    overflow: hidden;
}

h1 {
    margin-top: 0px;
}

#headline {
    margin-top: 12px;
}

.noise_bg {
    background: url(base_noise.png) fixed repeat 50%/50%;
}

#eyes {
    width: 38.5vw;
}


/* reactive stuff */
/* 1100 = when the title starts to get clipped, so we switch there */
@media screen and (max-width: 1920px) {
    #eyes {
        width: 498px;
    }
}

@media screen and (max-width: 1100px) {
    #main h1 {
        font-size: 30px;
    }
}

@media screen and (max-width: 760px) {
    #main {
        padding-top: 120px;
        padding-bottom: 120px;
    }

    #main h1 {
        font-size: 20px;
    }
	
	#bar
	{
		width: 130%;
	}
	
    #bar_content
    {
        min-width: 170px;
		width: 100%;
    }

    .reactive_row 
	{
        flex-wrap: wrap;
		justify-content: center;
    }
	
    /*
    .reactive_row {
        flex-direction: column;
    }
	*/

	/*
    .reactive_row div {
        padding-bottom: 15px;
    }
	*/

    .hide_when_small {
        display: none;
    }

    .show_when_small {
        display: inline;
    }

    #eyes {
        width: 249px;
    }
	
	#ritual {
		align: center;
		text-align: center;
		width: 100%;
	}
}