/*
    Filename: style.css
    Company:  FreezyTec - Armin Jänisch & Daniel Keiling Gbr
    Author:   Armin Jaenisch
*/

@font-face {
    font-family: 'Cyberspace';
    src: url('/fonts/cyberspace-webfont.woff2') format('woff2');
  }

* {
    margin: 0;
    padding: 0;
    font-family: Consolas,Monaco,Lucida Console,Liberation Mono,DejaVu Sans Mono,Bitstream Vera Sans Mono,Courier New, monospace;
    color: lightcoral;
}

body {
    display: grid;
    grid-template-columns: 50% 50%;
    background-image: url("../images/background.png");
    background-repeat: repeat;
    padding-top: 50px;
}

#logo {
    grid-column: 1/2;
}

#logo p {
    background: none;
    width: 400px;
    font-family: 'Cyberspace';
    font-size: 50pt;
    text-align: right;
    text-shadow:
        0 0 42px lightcoral,
        0 0 82px lightcoral;
    float: right;
    margin-right: 50px;
}

#nav {
    grid-column: 2/3;
    margin: auto auto auto 50px;
}

#nav div {
    width: 100%;
    height: 100px;
    font-size: 18pt;
    display: flex;
    flex-direction: row;
    justify-content: left;
    align-items: center;
}

#nav p {
    font-family: 'Cyberspace';
    color: dimgray;
}

#nav p:first-child {
    color: lightcoral;
    padding: 10px;
    border: solid dimgray 1px;
    border-radius: 5px;
    box-shadow: 0px 5px 10px 0px dimgray;
    cursor: pointer;
    margin-right: 20px;
}

#com {
    grid-column: 1/3;
    grid-row: 2/3;
    border: solid dimgray 1px;
    border-radius: 5px;
    display: grid;
    background-color: rgb(24, 24, 24);
    box-shadow: 0px 5px 10px 0px rgba(0, 0, 0, 0.5);
    width: 80%;
    margin: 70px auto;
}

#com_head {
    background-color: rgb(47, 47, 47);
    height: 30px;
    border-radius: 5px 5px 0 0;
    display: flex;
    flex-direction: row;
    justify-content: left;
}

#com_head div {
    border-radius: 100px;
    width: 15px;
    height: 15px;
    margin: 7px 0 0 7px;
}

#com_head p {
    margin: 7px 0 0 30%;
    background: none;
    color: white;
}

#redC {
    background-color: rgb(207, 65, 65);
}

#yellowC {
    background-color: rgb(207, 187, 57);
}

#greenC {
    background-color: rgb(68, 173, 52);
}

#output {
    padding: 10px;
    height: 500px;
    overflow: scroll;
}

#output p {
    margin-bottom: 10px;
}

#output span {
    font-weight: bold;
    margin-right: 20px;
    
}

#output, #output p, #output label, #output span {
    background: none;
    color: white;
}

.user_out, .user_out span {
    color: darkcyan;
}

.freezy_out, .freezy_out span {
    color: darkorange;
}

#com input {
    background: none;
    border: none;
    outline: none;
    font-size: 12pt;
    width: 80%;
}

@media only screen and (max-width: 1000px) {

    #logo p {
        width: 300px;
        font-size: 30pt;
        margin-right: 30px;
    }

    #nav {
        margin: auto auto auto 30px;
    }
    
    #nav div {
        height: 60px;
        font-size: 12pt;
    }

    #com_head p {
        margin: 7px 0 0 20%;
    }

    #output {
        height: 300px;
    }
    
    #com input {
        width: 70%;
    }

}

@media only screen and (max-width: 600px) {
    
    body {
        grid-template-columns: 100%;
        padding-top: 30px;
    }
    
    #logo p {
        width: 300px;
        font-size: 30pt;
        margin-right: 30px;
    }
    
    #nav {
        grid-column: 1/2;
        grid-row: 2/3;
        margin: 60px auto auto 30px;
    }
    
    #com {
        grid-column: 1/2;
        grid-row: 3/4;
        font-size: 10pt;
    }
    
    #com_head p {
        margin: 7px 0 0 10%;
    }
    
    #output {
        height: 300px;
    }
    
    #com input {
        font-size: 10pt;
        width: 60%;
    }
    
}

@media only screen and (max-width: 400px) {
    
    #com {
        grid-column: 1/2;
        grid-row: 3/4;
        font-size: 8pt;
    }
    
    #output {
        height: 200px;
    }

    #com input {
        font-size: 8pt;
        width: 50%;
    }
    
}