﻿html {
    font-size: 62.5%;
}

body {
    color: #333;
    font-family: Helvetica, Arial, sans-serif;
    font-size: 1.6rem;
    line-height: 1.6;
}

.box-layout input {
    width: 21rem;
    margin-bottom: 1.6rem;
}

.box-layout {
    align-items: center;
    background-color: black;
    background-size: cover;
    display: flex;
    height: 100vh;
    justify-content: center;
    width: 100vw;
}

.box-layout__box {
    background: hsla(0,0%,100%,.85);
    border-radius: 3px;
    padding: 3.2rem 1.6rem;
    text-align: center;
    width: 25rem;
}

.box-layout__hint {
    font-size: 1.2rem;
    width: 25rem;
}

.box-layout__title {
    margin: 0 0 1.6rem 0;
    line-height: 1;
}

#upload-photo {
    width: 0.1px;
    height: 0.1px;
    opacity: 0;
    overflow: hidden;
    position: absolute;
    z-index: -1;
}

    #upload-photo + label {
        cursor: pointer;
    }

    #upload-photo + label {
        padding: 0.8rem;
        margin-bottom: 1rem;
        font-size: 1.8rem;
        font-weight: 300;
        color: white;
        background-color: #1c88bf;
        display: inline-block;
        text-overflow: ellipsis;
        overflow: hidden;
        width: 20rem;
        white-space: nowrap;
    }

    #upload-photo:focus + label {
        outline: 1px dotted #000;
        outline: -webkit-focus-ring-color auto 5px;
    }

button {
    cursor: pointer;
}

.button {
    background: #1c88bf;
    border: none;
    color: white;
    display: inline-block;
    font-size: 1.8rem;
    font-weight: 300;
    line-height: 1;
    padding: 1.2rem;
    text-decoration: none;
    width: 22rem;
}

#upload-photo:disabled + label,
button:disabled {
    cursor: default;
}

@media all and (max-width: 600px) {
    input[type="checkbox"] {
        width: 25px;
        height: 25px;
    }
}

@media all and (max-width: 320px) {
    input[type="checkbox"] {
        width: 40px;
        height: 40px;
    }
}
