/* general */
* {
	-webkit-box-sizing: border-box;
	-moz-box-sizing: border-box;
	box-sizing: border-box;
}
::-moz-selection {
    background: #000;
    text-shadow: none;
    color: #fff;
}
::selection {
    background: #000;
    text-shadow: none;
    color: #fff;
}
.cf:before,
.cf:after {
    content: " "; 
    display: table;
}
.cf:after {
    clear: both;
}
.cf {
    *zoom: 1;
}

/* main styles */
body {
	background: url(../img/noise.png) repeat 0 0 #DBDBDB;
	color: #FF0000;
	max-width: 960px;
	margin: 0 auto;
	padding: 0 1em;
	font-family: 'PT Sans Narrow', sans-serif;
	font-size: 24px;
}
a {
	color: #353535;
}
a:hover {
	color: #555555;
}
h1 {
    margin: 0;
    font-family: 'Lobster Two', cursive;
    font-style: italic;
    font-size: 3em;
    text-shadow: 1px 1px 1px rgba(255, 255, 255, 0.6);
}
p {
    margin: 0.5em;
}
.row {
	width: 100%;
	padding: 1em;
	clear: both;
}
.col-1-3 {
	width: 32%;
	margin-right: 2%;
	float: left;
}
.last {
    margin-right: 0;
}
input[type=text], textarea {
    color: #777;
    width: 100%;
    padding: 0.5em;
    border-style: solid;
    border-width: 1px;
    border-color: transparent transparent rgba(0,0,0,0.4) transparent;
    font-size: 1em;
    -webkit-transition: all 0.3s;
    -moz-transition: all 0.3s;
    -ms-transition: all 0.3s;
    -o-transition: all 0.3s;
    transition: all 0.3s;
}
input[type=text]:hover, textarea:hover {
    border-color: transparent transparent rgba(0,0,0,0.6) transparent;
}
input[type=text]:focus, textarea:focus {
    outline: none;
    border-color: transparent transparent rgba(0,0,0,0.8) transparent;
}
button {
    background-color: #4459ca;
    color: #fff;
    width: 100%;
    padding: 0.5em;
    cursor: pointer;
    font-family: 'Lobster Two', cursive;
    font-style: italic;
    font-size: 1.25em;
    line-height: 0.75em;
    border-style: solid;
    border-width: 1px;
    border-color: transparent transparent rgba(0,0,0,0.25) transparent;
    -webkit-transition: all 0.3s;
    -moz-transition: all 0.3s;
    -ms-transition: all 0.3s;
    -o-transition: all 0.3s;
    transition: all 0.3s;
}
button:hover, button:active {
    background-color: #FF0000;
    border-color: transparent transparent rgba(0,0,0,0.4) transparent;
}
.settings {
    font-size: 0.65em;
    padding-top: 0.5em;
}
.settings span {
    padding-right: 0.6em;
}
.tab {
    padding: 0.5em;
    display: inline-block;
    cursor: pointer;
}
.copy {
    background-color: #fff;
    color: #454545;
}
.result {
    background-color: #4459ca;
    color: #fff;
}
textarea {
    height: 12em;
    display: none;
    color: #fff;
    font-size: 0.8em;
    padding: 0.7em;
    box-shadow: 0 -0.5em 1em rgba(0,0,0,0.05) inset;
}
.show {
    display: inline-block;
}
footer {
    font-size: 0.7em;
}
footer h2 {
    font-size: 1.05em;
    display: inline;
}

/* media queries */
@media all and (min-width: 50.1em) {
    .text {
        margin-top: -1em;
        padding-top: 0;
    }
}
@media all and (max-width: 50em) {
    body {
        font-size: 18px;
        padding: 0.5em;
    }
    header img {
        width: 35px;
    }
    h1 {
        font-size: 2.25em;
    }
    .row {
        padding: 0.5em 1em;
    }
    .col-1-3 {
        width: 100%;
        margin-right: 0;
        padding-bottom: 0.25em;
    }
    .settings {
        font-size: 0.9em;
    }
}
@media all and (max-width: 22em) {
    header img {
        display: none;
    }
}