/* VARIABLES */
/* Colors */
/* Gutter */
/* Font size */
/* Line height */
/* Mobile first CSS Document */
/* Main test iPhone 5 320x568 */
body,
ul,
li,
p,
h1,
h2,
h3
{
    margin: 0;
    padding: 0;
}
body
{
    color: #333;
    background: url('../img/texture.svg') no-repeat center fixed;
    background-size: cover;
}
*
{
    -webkit-box-sizing: border-box;
            box-sizing: border-box;
}
section
{
    max-width: 500px;
    margin: 0 auto;
    padding: 40px 20px;
}
section h1
{
    font-family: 'Karla';
    font-size: 38px;
    line-height: 2.2rem;

    padding: 20px 0;
}
section p
{
    font-family: 'Roboto';
    font-size: 1rem;

    padding: 0 0 20px 0;
}
section img
{
    display: block;

    width: 60%;
    max-width: 350px;
    margin: 0 auto;
}
section ul
{
    display: none;

    -webkit-box-align: center;

        -ms-flex-align: center;

            align-items: center;
    -webkit-box-pack: center;
        -ms-flex-pack: center;
            justify-content: center;
}
section ul li
{
    padding: 0 20px;

    list-style: none;
}
section ul li a
{
    font-size: 38px;
}
section ul li a .fa-youtube
{
    color: #f00;
}
section ul li a .fa-instagram
{
    color: #4c68d7;
}
form
{
    position: relative;

    overflow: hidden;

    height: 105px;
    margin-bottom: 40px;
}
form fieldset
{
    font-family: 'Roboto';
    font-size: 1.3125rem;

    position: absolute;
    top: 0;

    margin: 0;
    padding: 0;

    -webkit-transition: top .5s;

    transition: top .5s;

    border: none;
}
form fieldset.moved
{
    top: -105px;
}
form fieldset p
{
    font-size: 1.3125rem;

    margin: 40px 0;
}
form input[type=text],
form input[type=mail]
{
    font-family: 'Karla';
    font-size: 1rem;

    width: 100%;
    height: 45px;
    padding: 10px 10px 10px 45px;

    -webkit-transition: border .5s;

    transition: border .5s;

    border: 2px solid #ccc;
    border-radius: 4px;
    /*width: 230px;*/
    outline: none;
    background-image: url(../img/cake.svg);
    background-repeat: no-repeat;
    background-position: 10px center;
    background-size: 25px;
}
form input[type=text]:focus,
form input[type=mail]:focus
{
    border: 2px solid #d47b7b;
}
form input[type=text].wrong,
form input[type=mail].wrong
{
    border-color: #ec1919;
}
form input[type=submit]
{
    font-family: 'Karla';
    font-size: 1rem;

    width: 100%;
    height: 45px;
    margin-top: 10px;
    padding: 10px;

    -webkit-transition: all .5s;

    transition: all .5s;
    /* margin-left: @gutter/2; */
    -webkit-transition: border .5s;
    transition: border .5s;

    color: #fafafa;
    border: none;
    border-radius: 4px;
    outline: none;
    background-color: #d47b7b;
}
form input[type=submit]:focus,
form input[type=submit]:hover
{
    cursor: pointer;

    background-color: #945656;
}
/* Media query +768px */
@media (min-width: 768px)
{
    form
    {
        height: 45px;
    }
    form fieldset.moved
    {
        top: -75px;
    }
    form input[type=text],
    form input[type=mail]
    {
        width: 310px;
    }
    form input[type=submit]
    {
        width: 120px;
        margin: 0 0 0 10px;
    }
}
