body {
	background-color:#ff0092;
}

#calc {
    position: absolute;
    left: 50%;
    top: 40%;
    text-align: center;  
    background-color:#fff;      
    width:350px;
    height:310px;
    margin-left: -195px; /*half width*/
    margin-top: -175px; /*half height*/
    padding:20px;
    border-radius:10px;
    color:#ff0092;
}

#calc img {
	width:93%;
	height:32%;
        padding-bottom:10%;
}

#logo p {
	color:#fff;
}

div#logo {
    width:100%;
}

form {
	color:#ff0092;
}

#calc p {
    color:#ff0092;
}

label{
    display: inline-block;
    float: left;
    clear: left;
    width: 28%;
    margin-left: 16%;
    text-align: right;
    margin-right:7px;
}

input {
  display: inline-block;
  float: left;
}

input[type="submit"] {
    width: 57%;
    height:16%;
    color:#fff;
    background-color: #ff0092;
    border-radius:10px;
    border: none;
    font-size:1.125em;
    float: none !important;
}

input[type="button"] {
    width: 57%;
    height:16%;
    color:#fff;
    background-color: #ff0092;
    border-radius:10px;
    border: none;
    font-size:1.125em;
    float: none !important;
}

@media only screen 
  and (min-device-width: 414px) 
  and (max-device-width: 736px) 
  and (-webkit-min-device-pixel-ratio: 3) { 
    html, body {
        height: 100% !important;
        width: 100% !important;
        margin: 0 !important;
        padding: 0 !important;
        background-color:#fff !important;
    }
    #calc {
        height:100% !important;
        width: 100% !important;
        left: 0px !important;
        top: 0px !important;
        margin-left: 0px !important; /*half width*/
        margin-top: 0px !important; /*half height*/
        padding:0px !important;
        border-radius:0px !important;
        font-size: 3.5em !important;
    }
    #calc img {
	width:85% !important;
	height:auto !important;
        padding-bottom:10% !important;
        padding-top:5%;
    }
    input[type="submit"] {
        width: 65% !important;
        height:10% !important;
        color:#fff;
        background-color: #ff0092;
        border-radius:10px;
        border: none;
        -webkit-appearance: none;
    }
    input[type="button"] {
        width: 65% !important;
        height:10% !important;
        color:#fff;
        background-color: #ff0092;
        border-radius:10px;
        border: none;
        -webkit-appearance: none;
    }
    input[type="number"] {
        width: 35%;
        font-size: 42px !important;
    }
    label{
        width: 36%;
        margin-left: 13% !important;
        text-align: right;
        margin-right:7px;
    }
}

@media only screen 
  and (min-device-width: 320px) 
  and (max-device-width: 568px)
  and (-webkit-min-device-pixel-ratio: 2) {
    html, body {
        height: 100% !important;
        width: 100% !important;
        margin: 0 !important;
        padding: 0 !important;
        background-color:#fff !important;
    }
    #calc {
        height:100% !important;
        width: 100% !important;
        left: 0px !important;
        top: 0px !important;
        margin-left: 0px !important; /*half width*/
        margin-top: 0px !important; /*half height*/
        padding:0px !important;
        border-radius:0px !important;
        font-size: 3.5em !important;
    }
    #calc img {
	width:85% !important;
	height:auto !important;
        padding-bottom:10% !important;
        padding-top:5%;
    }
    input[type="submit"] {
        width: 65% !important;
        height:10% !important;
        color:#fff;
        background-color: #ff0092;
        border-radius:10px;
        border: none;
        -webkit-appearance: none;
    }
    input[type="button"] {
        width: 65% !important;
        height:10% !important;
        color:#fff;
        background-color: #ff0092;
        border-radius:10px;
        border: none;
        -webkit-appearance: none;
    }
    input[type="number"] {
        width: 35%;
        font-size: 42px;
    }
    label{
        width: 36%;
        margin-left: 13% !important;
        text-align: right;
        margin-right:7px;
    }
}