@font-face {
    font-family: 'Italianno';
    src:  url('Italianno-Regular.ttf') format('truetype'),
}

body {
    position: relative;
    margin: 0;
    height: 100vh;
    width: 100vw;
    background-color: black;

    display: grid;
    align-content: baseline;
    justify-content: center;

    font-family: 'Roboto', sans-serif;
    font-size: 18px;
}

nav {
    padding: 15px;
}

header {
    font-family: 'Italianno';
    font-size: 72px;
    font-style: italic;

    color: white;

    text-indent: 10%;
    text-shadow: -2px 5px 2px black;
}

h1 {
    padding: 15px;

    font-family: 'Impact', sans-serif;
    font-size: 40px;
    font-style: italic;
    text-align: center;
}

main {
    padding: 15px;
}

.top-bar {
    display: inline-block;
    height: 240px;
}

.newsline {
    display: inline;
    padding-right: 500px;
}

.spacebg {
    /* filter: blur(2px); */
    background-image: url(galaxy.webp);
    position: fixed;
    top: 0;
    z-index: -1;

    width: 100%;
    height: 100%;
}

.displaybox {
    display: flex;
    flex-direction: row;

    margin-left: 10%;
    margin-right: 10%;

    color: white;
    background-color: rgb(105, 105, 105);

    width: 80%;
    max-width: 1200px;
    height: 100%;

    outline: black 2px solid;
}

.tv-screen {
    background-color: black;
    float: left;
    width: calc(100% - 160px);
    height: 80%;
}

.audio-interface {
    background-color: gray;
    float: left;
    width: calc(100% - 160px);
    height: 20%;
}

.right-speakers {
    background-color: cadetblue;
    float: right;
    width: 160px;
    height: 100%;
}

.col-1 {
    width: 25%;
}

.col-2 {
    width: 75%;
}

/* Change layout for mobile devices */
@media only screen and (max-width: 768px) {
    .displaybox {
        flex-direction: column;   
    }

    .col-1 {
        width: 100%;
    }
    
    .col-2 {
        width: 100%;
    }
}