/* === CSS RESET === */
html, body, div, span, applet, object, iframe, h1, h2, h3, h4, h5, h6, p, blockquote, pre, a, abbr, acronym, address, big, cite, code, del, dfn, em, img, ins, kbd, q, s, samp, small, strike, strong, sub, sup, tt, var, b, u, i, center, dl, dt, dd, ol, ul, li, fieldset, form, label, legend, table, caption, tbody, tfoot, thead, tr, th, td, article, aside, canvas, details, embed, figure, figcaption, footer, header, hgroup, menu, nav, output, ruby, section, summary, time, mark, audio, video {
    margin: 0;
    padding: 0;
    border: 0;
    font-size: 100%;
    font: inherit;
    vertical-align: baseline;
}
/* HTML5 display-role reset for older browsers */
article, aside, details, figcaption, figure, footer, header, hgroup, menu, nav, section {
    display: block;
}
body {
    line-height: 1;
}
ol, ul {
    list-style: none;
}
blockquote, q {
    quotes: none;
}
blockquote:before, blockquote:after, q:before, q:after {
    content: '';
    content: none;
}
table {
    border-collapse: collapse;
    border-spacing: 0;
}
/* === End of CSS RESET === */

/*
#27abe2 blue
#fce94e yellow
#e52420 red
#0d8c39 green
*/

@font-face {
    font-family: act;
    src: url(../assets/alphabetized_cassette_tapes.ttf);
}

body {
    background-color: #f9f9f9;
    background: url("../assets/bg.png");
    color: rgb(165, 165, 165);
    font-size: 20px;
    font-family: act, "Terminal Dosis", sans-serif;
    text-shadow: 
        1px 1px 0 transparent,
        1px 1px 1px #1d1d1d;
    overflow: hidden;
    transform: scale(1);
}
h1 {
    font-size: 85px;
    font-weight: bold;
    line-height: 1.5em;
    text-shadow: 
        1px 1px 0 transparent,
        2px 2px 4px #1d1d1d;
    }

a, a:visited {
    color: rgba(29, 29, 29, 0.71);
    text-decoration: none;
    border-bottom: 2px dotted;
    transition: color 0.2s;
}

a:hover {
    color: #AAA;
}

a:active {
    color: lightblue;
}

.big {
    display: block;
    font-size: 45px;
    font-weight: bold;
    line-height: 1.3em;
    margin-bottom: 10px;
    text-shadow: 2px 2px 0 transparent, 2px 2px 2px #1d1d1d;
}

.wrapper-div {
    position: absolute;
}

.settings, nav {
    position: fixed;
    z-index: 9999999;
    top: 0;
    /*bottom: 0;*/
    /*background: rgba(10,10,10, 0.5);*/
    font-family: Helvetica, Arial, sans-serif;
    font-weight: normal;
    font-size: 20px;
}

.settings {
    right: 0;
    padding: 10px 20px;
    border-radius: 10px 0 0 0;
}

.settings a {
    border: none;
}

nav {
    margin: 10px;
}

nav li, .btn li, div.btn {
    /*float: left;*/
    margin: 10px;
    height: 50px;
    width: 50px;
    border-radius: 50%;
    border: 0px solid rgba(10,10,10, 0.5);
    background: rgb(165, 165, 165); /*rgba(10,10,10, 0.5);*/
    box-shadow: 
        1px 1px 0 transparent,
        2px 2px 4px #1d1d1d;
}

nav a, .btn a {
    display: block;
    width: 50px;
    height: 50px;
    line-height: 50px;
    border: none;
    text-align: center;
    transition: 0.25s;
    vertical-align: middle;
    opacity: 0.7;
}

nav li:last-child a {
    /*border-radius: 0 10px 0 0;*/
}

nav a:hover, .btn a:hover {
    /*background: rgba(15,15,15, 0.5);*/
    opacity: 1;
}

.icon-home {
    background: url("../assets/appbar.home.variant.png") -12px -14px;
}

.icon-record {
    background: url(../assets/appbar.cd.png) -6px -7px;
    background-size: 130%;
}

.icon-donate {
    background: url(../assets/appbar.paypal.png) -3px -4px;
    background-size: 120%;
    background-repeat: no-repeat;
}

.icon-contacts {
    background: url(../assets/appbar.email.minimal.png) -10px -10px;
    background-size: 145%;
}

.icon-facebook {
    background: url(../assets/appbar.social.facebook.variant.png) -9px -10px;
    background-size: 140%;
}

.sp-canvas {
    display: none;
}

/*
#27abe2 blue
#fce94e yellow
#e52420 red
#0d8c39 green
*/

a.cl_blue:hover{
    color: #27abe2;
}

a.cl_yellow:hover{
    color: #fce94e;
}

a.cl_red:hover{
    color: #e52420;
}

a.cl_green:hover{
    color: #0d8c39;
}

.bg_blue {
    animation: bg_blue 1s alternate infinite;
}
.bg_yellow {
    animation: bg_yellow 1s alternate infinite;
}
.bg_red {
    animation: bg_red 1s alternate infinite;
}
.bg_green {
    animation: bg_green 1s alternate infinite;
}

@keyframes bg_blue   {
    to {
        background: #27abe2;
    }
}

@keyframes bg_yellow {
    to {
        background: #fce94e;
    }
}

@keyframes bg_red {
    to {
        background: #e52420;
    }
}

@keyframes bg_green {
    to {
        background: #0d8c39;
    }
}

.center {
    text-align: center;
}

.inline {
    display: inline-block;
}


/* For phones: */
    
.start { 
    width: 400px;
    top: -800px;
    left: 220px;
    font-size: 40px;
    text-align: center;
}

.record {
    top: 270px;
    left: 180px;
    width: 400px;
    font-size: 40px;
}

.donate {
    top: 1200px;
    left: 430px;
    width: 400px;
    font-size: 40px;
}

.contacts {
    left: 1600px;
    top: 445px;
    width: 400px;
    transform: rotate(-90deg) translateY(2.5em);
    font-size: 40px;
}

.contacts .upside-down {
    font-size: 40px;
    transform: rotate(180deg) translateY(3em);
}

.thanks, .ops{
    width: 600px;
    font-size: 40px;
    top: 180px;
    display: block;
    position: relative;
    margin:auto;
}
    
    

/* For desktop: */
@media only screen and (min-width: 768px) {
    
    .start { 
        width: 800px;
        top: -250px;
        font-size: 50px;
        text-align: center;
        left: -40px;
    }

    .record {
        top: 780px;
        left: 180px;
        width: 800px;
        font-size: 50px;
   }

    .donate {
        top: 1800px;
        left: 200px;
        width: 800px;
        font-size: 50px;
    }

    .contacts {
        left: 1970px;
        top: 490px;
        width: 800px;
        transform: rotate(-90deg) translateY(2.5em);
        font-size: 50px;
    }

    .contacts .upside-down {
        font-size: 50px;
        transform: rotate(180deg) translateY(3em);
    }

    .thanks{
        width: 800px;
        font-size: 50px;
        top: 0px;
        display: block;
        position: relative;
        margin:auto;
    }
    
    .ops{
        width: 800px;
        font-size: 50px;
        top: 180px;
        display: block;
        position: relative;
        margin:auto;
    }
    
}
