* {
    box-sizing: border-box;
}
body {
    font-family: "Helvetica Neue", Helvetica, sans-serif;
    background-color: #362065;
    color: #ffffff;
}
#container {
    margin: 0 auto;
    padding: 0 20px;
    text-align: center;
}
form {
    width: 100%;
}
#logo {
    width: 320px;
    height: 60px;
    margin-top: 40px;
    background-size: contain;
    background-position: center;
    background-repeat: no-repeat;
    background-image: url("https://headend-api.bbckids-prod.switch.tv/staging/imageHelper.php?id=0:372:PROFILE:SELECTION_HEADER_LANDSCAPE:png&w=397&appID=BBCKids");
}
h1 {
    font-weight: 700;
    font-size: 32px;
    color: #FFFFFF;
    text-align: center;
    margin: 50px 0 40px;
}
.inputbox {
    display: flex;
    align-items: center;
    width: 360px;
    height: 60px;
    max-width: 100%;
    padding: 0 10px;
    font-size: 30px;
    color: #FFFFFF;
    border: 2px #FFFFFF solid;
    border-radius: 15px;
}
.inputbox .divider {
    flex: none;
    width: 1px;
    height: 40px;
    margin: 0 10px;
    background-color: #FFFFFF;
}
.inputbox input {
    width: 100%;
    font-size: 30px;
    color: #FFFFFF;
    background-color: transparent;
    border: none;
    outline: none;
    appearance: none;
}
.message.error {
    min-height: 30px;
    margin-top: 10px;
    text-align: center;
    font-size: 20px;
    font-weight: 700;
    color: #FF479B;
}
.button {
    width: 280px;
    height: 63px;
    max-width: 100%;
    border-radius: 15px;
    border: none;
    background-color: #FFFFFF;
    color: #333333;
    font-size: 28px;
    font-weight: 500;
    appearance: none;
    margin:  10px 0;
    cursor: pointer;
}
#requestCode {
    display: none;
}
#requestCode.show {
    display: block;
}
.otpDigitContainer {
    display: flex;
}
.otpDigit {
    width: 57px;
    height: 57px;
    border: 2px #FFFFFF solid;
    border-radius: 15px;
    margin-right: 8px;
    font-size: 28px;
    text-align: center;
    color: #FFFFFF;
    background-color: transparent;
    outline: none;
    appearance: none;
}
.otpDigit:last-of-type {
    margin-right: 0;
}
#actions {
  max-width: 450px;
}
.footerImage {
    width: 300px;
    max-width: 100%;
    margin-top: 53px;
}

@media (max-width: 544px) {
    #logo {
        width: 160px;
        height: 140px;
        background-image: url("https://headend-api.bbckids-prod.switch.tv/staging/imageHelper.php?id=0:372:PROFILE:SELECTION_HEADER_PORTRAIT:png&w=320&appID=BBCKids");
    }
}

/* Desktop overrides */
@media (pointer: fine) and (max-height: 800px) {
    #logo {
        margin-top: 0;
    }

    h1 {
        margin: 0 0 8px;
    }

    .footerImage {
        width: 250px;
        margin-top: 20px;
    }
}
