
.login-button {
    width: 300px;
    height: 60px;
    font-size: large;
    border-radius: 10px;
    border-style: hidden outset outset hidden;
    background-color: whitesmoke;
    transition-duration: 0.15s;
    cursor: pointer;
    color: black;
    /* border-style: outset;
    border-color: #cccc black black #cccc; */
}
/* Phone Landscape */
@media screen and (min-width: 600px) and (max-height: 600px){
    :root {
        --UNSW-Yellow: #FFE600;
        --button-hover-color: #fff27e;
        --button-click-color: #fff27e;
        --center-width: 600px;
        --title-textsize: 28px;
        --subtextsize: 14px;
        --padding: 10px;
    }
    .container {
        height: 100%;
        min-width: 330px;
        min-height: 380px;
        max-height: 1000px;
        margin: 0;    
        flex-direction: row;
        align-items: stretch;
    }

    .side-padding{
        flex-grow: 1;
        display: flex;
    }

    .banner {
        display: none;
        
    }

    .banner-vert{
        display: flex;
        flex-direction: column;
        background-color: white;
        width: 150px;
        margin: 0px;
    }

    .line-container{
        display: none;
    }

    .yellowline-vert{
        display: flex;
        flex-shrink: 0;
        flex-grow: 0;
        height: 100%;
        width: 5px;
        margin: 0px;
        background-color: var(--UNSW-Yellow);
    }

    .info-section{
        display: flex;
        flex-grow: 1;
        margin: 0px;
        min-width: 350px;
    }

    .info-content {
        min-width: 350px;
        width: 100%;
        background-color: white;
        margin: 0px;
        align-content: center;
    }

    .headset-container{
        display: flex;
        position: relative;
        height: 200px;
    }

    .footer-container{
        display: flex;
        flex-shrink: 0;
        flex-grow: 0;
        height: 100%;
        margin: 0px;
        align-items: stretch;
        align-content: center;
    }

    .footer-content{
        max-width: 200px;
        min-width: 180px;
        flex-shrink: 0;
        background-color: white;
        margin: 0px;
        align-content: center;
    }

    .footer {
        background-color: #000000;
        color: #ffffff;
        text-align: left;
        /* padding: var(--padding); */
        height: 100%;
        font-size: 12px;
    }

    .status-layout{
        display: flex;
        flex-direction: row;
        justify-content: center;
    }

    .base-timer{
        position: relative;
        width: 200px;
        height: 200px;
        margin: var(--padding);
    }

    .base-time-label{
        position: absolute;
        width: 200px;
        height: 200px;
        top: 0;
        display: flex;
        align-items: center;
        justify-content: center;
        font-size: 48px;
    }

    .logo-vert {
        padding: var(--padding);
        margin-top: var(--padding);
    }

    .title {
        flex-grow: 1;
        align-content: end;
        text-align: center;
        padding: var(--padding);
        margin-bottom: var(--padding);
    }

    .device-alias-container{
        text-align: center;
        margin: 20px;
    }

    .device-alias{
        font-size: 28px;
        
    }

    .dialog-container{
        width: 100%;
        flex-grow: 1;
        align-content: center;
        text-align: center;
    }

    .dialog-text{
        font-size: 18px;
    }

    .connect-button-container{
        flex-grow: 1;
        justify-content: center;
        display: flex;
        padding: var(--padding);
    }

    .login-button-tall {
        height: 120px;
        background-color: var(--UNSW-Yellow);
    }

    .connect-button {
        width: 100px;
        height: 60px;
        font-size: large;
    }
    .disconnect-button {
        width: 100px;
        height: 60px;
        font-size: large;
        color: red;
    }

    .form-input{
        width: 100px;
        align-content: center;
    }
}


/* PC or Tablet size*/
@media screen and (min-width: 600px) and (min-height: 600px){
    :root {
        --UNSW-Yellow: #FFE600;
        --button-hover-color: #fff27e;
        --button-click-color: #fff27e;
        --center-width: 600px;
        --title-textsize: 28px;
        --subtextsize: 18px;
        --padding: 20px;
    }

    .container {
        flex-direction: column;
        width: 100%;       /* Fills the viewport width */
        min-width: 330px;
        min-height: 380px;
        max-height: 1000px;
        margin: 0;    
        align-items: stretch; /* Centers the layout */
    }
    .side-padding{
        flex-grow: 1;
        display: flex;
    }

    .banner {
        display: flex;
        flex-shrink: 0;
        flex-grow: 0;
        height: 100px;
        margin: 0px;
    }

    .banner-vert{
        display: none;
    }

    .line-container{
        display: flex;
        align-items: stretch;
        align-content: center;
        margin: 0px;
        
    }

    .yellowline-vert{
        display: none;
    }

    .info-section{
        display: flex;
        min-height: 450px;
        margin: 0px;
    }

    .info-content {
        width: var(--center-width);
        flex-shrink: 0;
        background-color: white;
        margin: 0px;
        align-content: center;
    }

    .headset-container{
        display: flex;
        position: relative;
    }

    .footer-container{
        display: flex;
        flex-shrink: 0;
        flex-grow: 0;
        height: 100%;
        margin: 0px;
        align-items: stretch;
        align-content: center;
    }

    .footer-content{
        width: var(--center-width);
        flex-shrink: 0;
        background-color: white;
        margin: 0px;
        align-content: center;
    }

    .footer {
        background-color: #000000;
        color: #ffffff;
        text-align: left;
        /* padding: var(--padding); */
        max-height: 300px;
        font-size: 14px;
    }

    .status-layout{
        display: flex;
        flex-direction: column;
        justify-content: center;
    }

    .base-timer{
        position: relative;
        margin: var(--padding);
        width: 300px;
        height: 300px;
    }

    .base-time-label{
        position: absolute;
        width: 300px;
        height: 300px;
        top: 0;
        display: flex;
        align-items: center;
        justify-content: center;
        font-size: 48px;
    }

    .logo-vert {
        padding: var(--padding);
    }

    .title {
        flex-grow: 10;
        align-content: center;
        text-align: right;
        padding: var(--padding);
    }

    
    .device-alias-container{
        text-align: center;
        margin: 20px;
    }

    .device-alias{
        font-size: 28px;
        padding: 20px;
    }

    .dialog-container{
        width: 100%;
        flex-grow: 1;
        align-content: center;
        text-align: center;
    }

    .dialog-text{
        font-size: 24px;
    }

    .connect-button-container{
        flex-grow: 1;
        justify-content: center;
        display: flex;
        padding: var(--padding);
    }

    .login-button-tall {
        height: 180px;
        background-color: var(--UNSW-Yellow);
    }

    .connect-button {
        width: 150px;
        height: 60px;
        font-size: large;
    }
    .disconnect-button {
        width: 150px;
        height: 60px;
        font-size: large;
        color: red;
    }

    .form-input{
        width: 200px;
        align-content: center;
    }
}

/* Phone Portrait */
@media screen and (max-width: 600px){
    :root {
        --UNSW-Yellow: #FFE600;
        --button-hover-color: #fff27e;
        --button-click-color: #fff27e;
        --center-width: 100%;
        --title-textsize: 24px;
        --subtextsize: 15px;
        --padding: 15px;
    }

    .container {
        width: 100%;       /* Fills the viewport width */
        height: 100%;
        min-width: 330px;
        min-height: 380px;
        max-height: 1000px;
        margin: 0;    /* Centers the layout */
        flex-direction: column;
        align-items: stretch;
    }

    .side-padding{
        flex-grow: 0;
        display: none;
    }

    .banner {
        display: flex;
        flex-shrink: 0;
        flex-grow: 0;
        height: 100px;
        width: 100%;
        margin: 0px;
    }

    .banner-vert{
        display: none;
    }

    .line-container{
        display: flex;
        align-items: stretch;
        align-content: center;
        margin: 0px;
    }

    .yellowline-vert{
        display: none;
    }

    .info-section{
        display: flex;
        flex-grow: 1;
        margin: 0px;
    }

    .info-content {
        width: 100%;
        flex-shrink: 0;
        background-color: white;
        margin: 0px;
        align-content: center;
    }

    .headset-container{
        display: flex;
        position: relative;
    }

    .footer-container{
        display: flex;
        flex-shrink: 0;
        flex-grow: 0;
        
        margin: 0px;
        align-items: stretch;
        align-content: center;
    }

    .footer-content{
        width: 100%;
        flex-shrink: 0;
        background-color: white;
        margin: 0px;
        align-content: center;
    }

    .footer {
        background-color: #000000;
        color: #ffffff;
        text-align: left;
        /* padding: var(--padding); */
        max-height: 300px;
        font-size: 14px;
    }

    .status-layout{
        display: flex;
        flex-direction: column;
        justify-content: center;
    }

    .base-timer{
        position: relative;
        margin: var(--padding);
        width: 300px;
        height: 300px;
    }

    .base-time-label{
        position: absolute;
        width: 300px;
        height: 300px;
        top: 0;
        display: flex;
        align-items: center;
        justify-content: center;
        font-size: 48px;
    }

    .logo-vert {
        padding: var(--padding);
    }

    .title {
        flex-grow: 10;
        align-content: center;
        text-align: right;
        padding: var(--padding);
    }

    
    .device-alias-container{
        text-align: center;
        margin: 20px;
    }

    .device-alias{
        font-size: 28px;
        padding: 20px;
    }

    .dialog-container{
        width: 100%;
        flex-grow: 1;
        align-content: center;
        text-align: center;
    }
    .dialog-text{
        font-size: 20px;
    }

    .connect-button-container{
        flex-grow: 1;
        justify-content: center;
        display: flex;
        padding: var(--padding);
    }

    .login-button-tall {
        height: 180px;
        background-color: var(--UNSW-Yellow);
    }

    .connect-button {
        width: 150px;
        height: 60px;
        font-size: large;
    }
    .disconnect-button {
        width: 150px;
        height: 60px;
        font-size: large;
        color: red;
    }

    .form-input{
        width: 100px;
        align-content: center;
    }
}

body {
    margin: 0px;
    align-content: center;
    height: 100vh;
    font-family: Arial, Helvetica, sans-serif;
    background-color: #cccccc;
}

.layout2 {
    height: 100%;
    align-content: center;
    align-items: center;
}

.flexcolumn {
    flex-direction: column;
}

.flex-container {
    display: flex;
    align-items: stretch;
    margin: 0px;
}

.center-content {
    width: var(--center-width);
    flex-shrink: 0;
    background-color: white;
    margin: 0px;
}

.yellowline {
    height: 5px;
    background-color: var(--UNSW-Yellow);
    flex-shrink: 0;
    width: var(--center-width);
}

.logo {
    height: 60px;
    min-width: 140px;
}

.logo-container {
    height: 100%;
    
    align-content: center;
    padding-left: var(--padding);
}
.login-button-container{
    justify-content: center;
    display: flex;
    padding: var(--padding);
}

.highlight-box {
    background-color: var(--UNSW-Yellow);
    padding: 25px;
    margin: var(--padding) 0px var(--padding) 0px;
}

.login-button:hover {
    background-color: var(--button-hover-color);
    font-size: x-large;
}
.login-button:focus {
    border-style: outset hidden hidden outset;
}

.flex-justify-center {
    display: flex;
    justify-content: center;
}

.login-form-container{
    justify-content: center;
    display: flex;
}

.hidden{
    display: none;
}

.login-form-subcontainer{
    height: 250px;
    align-items: stretch;
    outline: auto;
    padding: var(--padding);
}

.form-group{
    flex-direction: row;
    height: 30px;
    padding: 10px;
    text-align: center;
    justify-content: center;
}
.form-label{
    width: 120px;
    align-content: center;
}

.submit-button{
    width: 80px;
    height: 40px;
    margin: var(--padding);
    color: black;
}