* {
    box-sizing: border-box;
}

body {
    font-family: arial, helvetica, sans-serif;
    margin: 0;
    background-color: #000;
    border-top: 4px solid #fff;
    color: #ffffff;
    font-size: 1.6em;
    text-align: center;
}

#coat {
    border: 0px solid red;
    max-width: 600px;
    min-height: 100vh;
    margin: auto;
    overflow: hidden;
    margin-top: 2.5%;
}

#jacket {
    transition: all .5s ease-in;
    position: relative;
    padding-top: 100%;
    border: 0px solid green;
    background: center / contain no-repeat url(../img/moon-south-hemi.jpg);
}

#necklace {
    position: absolute;
    top: 8%;
    left: 0;
    width: 100%;
    border: 0px solid pink;
    z-index: 300;
    opacity: 0;
    transition: all .4s ease-in;
}

#singlet {
    position: absolute;
    top: 21%;
    left: 0;
    width: 100%;
    z-index: 300;
    border: 0px solid purple;
}

#shirt {
    position: absolute;
    top: 55%;
    left: 0;
    width: 100%;
    z-index: 200;
    border: 0px solid purple;
}

#vest {
    position: absolute;
    width: 100%;
    height: 100%;
    left: 0;
    top: 3px;
    z-index: 250;
    border-radius: 50%;
    background-color: #000;
    border: 8px solid #000;
    transform: translateX(100%);
    transition: all .9s ease-in;
}

#brooch {
    position: absolute;
    top: 55%;
    left: 0;
    width: 100%;
    z-index: 300;
    border: 0px solid purple;
    opacity: 0;
    transition: all .5s ease-in;
}

#tie {
    position: absolute;
    width: 100%;
    top: 105%;
    border: 0px dotted #fff;
    z-index: 300;
    transition: all .6s ease-in;
}

#cufflink {
    position: absolute;
    width: 100%;
    top: 105%;
    border: 0px dotted #fff;
    z-index: 275;
    opacity: 0;
    transition: all .6s ease-in;
}

#handkerchief {
    font-family: arial, helvetica, sans-serif;
    position: absolute;
    border: 0px solid red;
    bottom: -7px;
    left: 0;
    right: 0;
    margin: auto;
    font-size: 14px;
}


#trousers {
    position: relative;
    margin: 22% 0 2% 0;
    border: 0px solid yellow;
    max-height: 500px;
    transition: all .7s ease-out .63s;
}

#sockpair {
    color: #fff;
}

.socks {
    color: #fff;
    font-size: .7em;
    padding: 0px 5px;
    text-decoration: none;
}

/* DOB INPUTS  (parent element = #tie ) */

#dob {
    font-size: 1.3em;
    position: relative;
    display: inline-flex;
    border: 1px solid #ffffff;
    background-color: #000000;
    border-radius: 35px;
    justify-content: center;
    align-items: center;
    padding: 10px 17px 10px 30px;
}



input#dateinputday,
input#dateinputmonth,
input#dateinputyear {
    font-family: "Andale Mono", AndaleMono, Menlo, monospace;
    font-size: 1.3em;
    color: #fff;
    background-color: #000;
    font-size: 1.3em;
    outline: none;
    padding: 0;
    margin: 0 4px;
    border: 0px solid red;
    /* don't use line-height due to safari */
}

input#dateinputday:focus,
input#dateinputmonth:focus,
input#dateinputyear:focus {
    outline: none;
}

#dateinputday,
#dateinputmonth {
    /* two zero charaters wide */
    width: 2.2ch;
}

#dateinputyear {
    /* four zero charaters wide */
    width: 4.2ch;
}

button#clear {
    font-family: arial, helvetica, sans-serif;
    border-radius: 50%;
    background-color: #fff;
    color: #000;
    border: none;
    margin: 0 0 0 5px;
    padding: 0;
    font-size: 14px;
    line-height: 1;
    width: 22px;
    height: 22px;
    text-align: center;
    cursor: pointer;
}

button#clear:focus {
    outline: none;
}

::placeholder {
    /* Firefox, Chrome, Opera */
    color: #fff;
    opacity: 1;
}

:-ms-input-placeholder {
    /* Internet Explorer 10-11 */
    color: #fff;
}

::-ms-input-placeholder {
    /* Microsoft Edge */
    color: #fff;
}

::-webkit-input-placeholder {
    color: #fff;
}


#error {
    display: none;
    font-size: 14px;
    line-height: 0;
    border: 0px solid white;
    padding: 0 9px;
    margin: 0
}

#error.warning {
    color: yellow;
    background-color: black;

}

#error.error {
    color: red;
    background-color: black;

}

#error.none {
    color: black;
}



button#reveal {
    color: #000000;
    background-color: #ffffff;
    border: 1px solid #ffffff;
    font-weight: bold;
    padding: 11px 33px;
    font-size: 1.4em;
    border-radius: 35px;
    cursor: pointer;
    letter-spacing: -1px;
    width: 34%;
}

button#reveal:focus {
    outline: none;
    animation-duration: .5s;
    animation-name: ready-reveal;

}

@keyframes ready-reveal {
    from {
        transform: scale(1);
    }

    50% {
        transform: scale(1.2);
    }

    to {
        transform: scale(1);
    }
}



h1 {
    font-size: 115px;
    letter-spacing: -3px;
    font-weight: 900;
    margin: 0 0 4% 0;
    padding: 0;
    line-height: .8;
    text-shadow:
        4px 4px 0 #000,
        -2px -2px 0 #000,
        2px -2px 0 #000,
        -2px 2px 0 #000,
        2px 2px 0 #000;

}

h1 span {
    display: block;
}

h1 sup {
    font-size: .6em;
    top: -0.2em;
    position: relative;
}

.h1a {
    font-size: 100px;
}

.h1b {
    font-size: 132px;
}

h2 {
    font-size: 73px;
    margin: 0 0 1% 0;
    line-height: 1.1;
    /*text-shadow: 0px 1px 10px #191919, 0px -4px 11px #191919;
        -webkit-text-stroke: 2px black;*/
    text-shadow:
        4px 4px 0 #000,
        -2px -2px 0 #000,
        2px -2px 0 #000,
        -2px 2px 0 #000,
        2px 2px 0 #000;
}

h2 sup {
    font-size: .5em;
    top: -0.2em;
    position: relative;
}

#necklace h2 {
    font-size: 65px;
}

h3 {
    font-size: 38px;
    margin: 0;
    line-height: 1.1;
    margin: 1% 0;
}


h4 {
    font-size: 34px;
    font-weight: normal;
    margin: 2%;
}


/*  ------------------- MEDIA QUERIES  --------------- */

@media (max-width: 600px) {

    body {
        padding: 5%;
    }

    #jacket {
        transform: scale(1);
        border: 0px solid blue;
    }

    h1 span.h1a {
        font-size: 15.5vw;
    }

    h1 span.h1b {
        font-size: 20.5vw;
    }

    h1 {
        text-shadow:
            2px 2px 0 #000,
            -1px -1px 0 #000,
            1px -1px 0 #000,
            -1px 1px 0 #000,
            1px 1px 0 #000;
    }

    #necklace h2 {
        font-size: 9.5vw;
    }

    h2 {
        font-size: 11vw;
        text-shadow:
            2px 2px 0 #000,
            -1px -1px 0 #000,
            1px -1px 0 #000,
            -1px 1px 0 #000,
            1px 1px 0 #000;
    }

    h3 {
        font-size: 7.5vw;
    }

    h4 {
        font-size: 6.2vw;
    }

    #dob.container {
        border-radius: 35px;
        padding: 2% 3% 2% 5%;
    }


    input#dateinputday,
    input#dateinputmonth,
    input#dateinputyear {

        font-size: 6.8vw;
    }

    button#clear {
        font-size: 12px;
        width: 20px;
        height: 20px;

    }

    button#reveal {
        font-size: 6.8vw;
        width: 50%;
    }

    #handkerchief {
        font-size: 13px;
    }

    #cufflink.prestate {
        top: 84% !important;
    }

    #trousers {
        margin: 26% 0 2% 0;
    }

}


@media (max-width: 440px) {

    input#dateinputday,
    input#dateinputmonth,
    input#dateinputyear {

        font-size: 9vw;
    }

    #dob.container {
        border-radius: 35px;
        padding: 1.8% 3% 1.8% 5%;
    }

    #handkerchief {
        font-size: 8px;
    }

    #cufflink.prestate {
        top: 90% !important;
    }

}

/* PRESTATE */
#necklace.prestate {
    opacity: 1;
}

#tie.prestate {
    top: 67%;
}

#cufflink.prestate {
    top: 83%;
    opacity: 1;
}

#vest.prestate {
    transform: translateX(0%);
}

#brooch.prestate {
    opacity: 1;
}

#trousers.prestate {
    margin: 15% 0 0 0;
    max-height: 0;
}

[v-cloak] {
    display: hidden;
}