/*
dark purple
    background: -webkit-linear-gradient(315deg, rgb(91, 0, 184), black);    
    background: linear-gradient(135deg, rgb(91, 0, 184), black);  
*/

body {
    font-family: "Inconsolata";
    margin: 0;
    line-height: 1.65em;
    font-size: 18px;
    letter-spacing: normal;
    color: #222;
}

.slide {
    width: 100vw;
    min-height: 100vh;
    display: -webkit-box;
    display: -webkit-flex;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-pack: center;
    -webkit-justify-content: center;
    -ms-flex-pack: center;
    justify-content: center;
    -webkit-box-align: center;
    -webkit-align-items: center;
    -ms-flex-align: center;
    align-items: center;
    position: relative;
    overflow: hidden;
}

.slide-contents {
    max-width: 780px;
    border-radius: 15px;
    background: white;
    padding-left: 2em;
    padding-right: 2em;
    padding: 2.25em;
    margin-left: 1.25em;
    margin-right: 1.25em;
    margin-top: 6em;
    margin-bottom: 6em;
    margin-left: 3.25em;
    margin-right: 3.25em;
    overflow-x: hidden;
    position: relative;
}

a:link {
    color: #000000;
    text-decoration: underline;
}

a:visited {
    color: #000000;
    text-decoration: underline;
}

a:hover {
    color: #444444;
}

a:active {
    color: #0000FF;
}

.just-for-risd {
 /* display: none; */   
}

#final-crit {
    background: #FF9500;
    min-height: 40vh;


}
#final-crit .slide-contents {
}


.discussion {
    margin-top: 1.25em;
}

.discussion-links {
    margin-left: 1.25em;
}

.homework-assignment {
    margin: 1em;
    display: none;
}

.homework {
    margin-top: 1.5em;
}

#intro {
    margin-bottom: 0;
    background: white;
    background-image: -webkit-linear-gradient(bottom left, #1AD6FD, #1D62F0);
    background-image: linear-gradient( to top right, #1AD6FD, #1D62F0);
    background-position: center;
}

#intro .slide-contents {
    border-radius: 15px 15px 0 0;
    margin-top: 30vh;
    margin-bottom: 0;
}

#week1 {
    background-size: cover;
    background: url(http://33.media.tumblr.com/400f7cbcbea5dc780d0d7276a6add03d/tumblr_nuy0ycT0Ae1qav3uso4_r1_540.gif) no-repeat center center fixed;
    background-size: cover;
}

#camera {
    background-color: #00ADEE;
    background-color: #3fbfff;
    background-color: #4CD964;
}

#computerthinking {
    background: #FFEC5F;
    background-image: -webkit-gradient(linear, 0% 0%, 0% 100%, from(#FFEC5F), to(#FFCD02));
    background-image: -webkit-linear-gradient(0% 0%, 0% 100%, from(#FFEC5F), to(#FFCD02));
    background-image: linear-gradient(0% 0%, 0% 100%, from(#FFEC5F), to(#FFCD02));
    background: -webkit-linear-gradient(#FFEC5F, #FFCD02);
    background: linear-gradient(#FFEC5F, #FFCD02);
    /* Standard syntax */
    //background: url(../media/pacbleh.jpg) top center fixed;;
    //background-size: cover;
}

#programming-without-code {
    background-color: #3fbfff;
    background: url(../media/apple-mice-4.jpg) top center;
    ;
    background-size: 120%;
}

#smartphone-trends {
    background-image: -webkit-gradient(linear, 0% 0%, 0% 100%, from(#DBDDDE), to(#898C90));
    background-image: -webkit-linear-gradient(bottom left, #007AFF, #1D62F0);
    background-image: -webkit-linear-gradient(top left, #007AFF, #1D62F0);
    background-image: linear-gradient( to bottom right, #007AFF, #1D62F0);
}

#smartphone-trends::before {
    //background: url(../media/81SmN9TeCML._SL1500_.jpg) no-repeat top center;
    width: 100vw;
    height: 100vh;
}

#games {
    position: relative;
    background-color: #1AD6FD;
}

.games-text-wrap {
 z-index: 100;  
    position: relative;
    /*
    background: rgba(255,255,255,.8);
    border-radius: 20px;
    padding: 20px;
    */
}

.slide-contents {
        overflow: hidden;
}

#paint-canvas {
    width: 100%;
    position: absolute;
    left: 0;
    top: 0;
    z-index: 4;
    pointer-events: none;
        opacity: .8;

    overflow: hidden;
}

#silicon-valley {
    background: #FF3A2D;
}

#networks {
    background: -webkit-linear-gradient(315deg, rgb(91, 0, 184), black);
    background: linear-gradient(135deg, rgb(91, 0, 184), black);
}

#shitpic {
    background: url(../media/shitpic.jpg) center top;
    background-size: 50%;
}


/*
#shitpic .slide-contents{
box-shadow: -2px 2px 10px rgba(0,0,20,.15); 
}
*/

#unbundling {
    background-image: -webkit-linear-gradient(0deg, rgb(106, 195, 255) 7%, rgb(76, 175, 80) 100%);
    background-image: -webkit-linear-gradient(315deg, rgb(106, 195, 255) 7%, rgb(76, 175, 80) 100%);
    background-image: linear-gradient(135deg, rgb(106, 195, 255) 7%, rgb(76, 175, 80) 100%);
    background-image: -webkit-linear-gradient(left, rgb(106, 195, 255) 7%, rgb(76, 175, 80) 100%);
    background-image: -ms-linear-gradient(left, rgb(106, 195, 255) 7%, rgb(76, 175, 80) 100%);
}

#summer {
    /*transition: transform .2s ease-in-out, opacity .2s ease-in-out;*/
    background: url(../media/beach-320-blur.jpg) fixed;
    background-size: cover;
}

.summer-container {
    position: relative;
    width: 600px;
    height: 800px;
    max-height: 800px;
    background: transparent;
}

.summer-message {
    font-family: "Helvetica Neue";
    font-family: "Inconsolata";
    position: relative;
    padding: 10px 20px;
    background: #E5E5EA;
    border-radius: 25px;
    display: inline-block;
    line-height: 1.25em;
    z-index: 100;
    background: #2095FE;
    color: white;
    position: absolute;
    top: 15vh;
    left: 13vw;
    -webkit-transform: rotate(-2deg);
    -ms-transform: rotate(-2deg);
    transform: rotate(-2deg);
    /*box-shadow: -15px 15px 45px rgba(0,0,20,.75);*/
}

#summer a {
    color: white;
}

#summer img {
    position: absolute;
    box-shadow: -15px 15px 45px rgba(0, 0, 20, .75);
    ;
}

#towel {
    bottom: 20px;
    left: -100px;
    -webkit-transform: rotate(15deg);
    -ms-transform: rotate(-15deg);
    transform: rotate(15deg);
}

#amazon {
    top: 100px;
    right: -100px;
    -webkit-transform: rotate(5deg);
    -ms-transform: rotate(5deg);
    transform: rotate(5deg);
}

#amoolia {
    bottom: -150px;
    right: 0;
    -webkit-transform: rotate(-14deg);
    -ms-transform: rotate(-14deg);
    transform: rotate(-14deg);
    position: absolute;
}

#pack-wrapper {
    background: white;
    min-width: 50vw;
    max-width: 70vw;
    height: 100vh;
    min-height: 700px;
}

#speculative {
    background-color: #5856D6;
}

#starter-pack {
    background: url(../media/pushtype.gif) fixed;
    background-size: 180px;
    background-position: center;
    -webkit-box-pack: end;
    -webkit-justify-content: flex-end;
    -ms-flex-pack: end;
    justify-content: flex-end;
}

.push-time {
    content: '';
    min-width: 50vw;
    min-height: 100vh;
    height: 100%;
    background: url(../media/pushtype.gif) fixed;
    background-size: 180px;
    background-position: center;
}

#outro {
    background: white;
    //background-image: -webkit-linear-gradient(bottom left, #1AD6FD, #1D62F0);
    //background-image: linear-gradient( to top right, #1AD6FD, #1D62F0);
    background-position: center;
    //background: url(http://i.imgur.com/6ePBH.jpg);
    background-color: RGBA(87, 81, 217, 1);
    background-color: #aaa;
}

#outro .slide-contents {
    border-radius: 15px 15px 0 0;
    margin-top: 30vh;
    margin-bottom: 0;
}

#outro .card {
    background: url(../media/hypersnap3.jpg) no-repeat top center;
    background-size: cover;
    -webkit-transform: rotate(-17deg);
    -ms-transform: rotate(-17deg);
    transform: rotate(-17deg);
    width: 325px;
    height: 600px;
    border-radius: 10px;
    z-index: 1;
    position: absolute;
    right: 100px;
    bottom: -270px;
    top: -2
}


/* Bubbles */

.message-from {
    font-family: "Helvetica Neue";
    font-family: "Inconsolata";
    //font-size: 18px;
    position: relative;
    padding: 10px 20px;
    background: #E5E5EA;
    border-radius: 25px;
    color: black;
    display: inline-block;
    line-height: 1.25em;
}

.message-from:before {
    content: "";
    position: absolute;
    z-index: 1;
    bottom: -2px;
    left: -7px;
    height: 20px;
    border-left: 20px solid #E5E5EA;
    border-bottom-right-radius: 16px 14px;
    -webkit-transform: translate(0, -2px);
    -ms-transform: translate(0, -2px);
    transform: translate(0, -2px);
}

.message-from:after {
    content: "";
    position: absolute;
    z-index: 3;
    bottom: -2px;
    left: 4px;
    width: 26px;
    height: 20px;
    background: white;
    border-bottom-right-radius: 10px;
    -webkit-transform: translate(-30px, -2px);
    -ms-transform: translate(-30px, -2px);
    transform: translate(-30px, -2px);
}



/* fuck firefox svg rendering */

@-moz-document url-prefix() {
    .message-from {
        z-index: 2;
        border-bottom-left-radius: 0;
        left: -2px;
    }
    .message-from::after {
        display: none;
    }
    .message-from::before {
        content: "";
        background: url(../media/firefox-corner-fail.png);
        background-repeat: no-repeat;
        background-size: 50%;
        width: 68px;
        height: 48px;
        content: "";
        border: none;
        left: 0;
        transform: translate(-7px, 32px);
        z-index: 1;
    }
}

@media only screen and (max-width: 581px) {
    /* Styles */
    body {
        font-size: 16px;
        line-height: 1.4em;
    }
    .slide-contents {
        max-width: 780px;
        border-radius: 13px;
        background: white;
        padding: 1.5em;
        margin-top: 3em;
        margin-bottom: 3em;
        margin-left: 1em;
        margin-right: 1em;
    }
    #intro {
        background-attachment: fixed;
    }
    #intro .slide-contents {
        margin-top: 15vh;
        margin-bottom: 0;
        border-radius: 13px 13px 0 0;
    }
    ul li {
        margin-top: 1em;
    }
    .link-author {
        display: block;
    }
    #starter-pack {
        background: url(../media/pushtype.gif) top center;
        background-size: 125px;
        -webkit-box-pack: center;
        -webkit-justify-content: center;
        -ms-flex-pack: center;
        justify-content: center;
    }
    #pack-wrapper {
        width: 100%;
        background: transparent;
        position: relative;
        max-width: 100vw;
    }
    #summer img {
        width: 75%;
    }
    .summer-container {
        width: 100vw;
    }
    .summer-message {
        top: 40px;
        left: 10px;
    }
    #amazon {
        top: 150px;
        right: -50px;
    }
    #towel {
        bottom: -100px;
    }
    #amoolia {
        bottom: 0px;
        right: -50px;
    }
    #outro .slide-contents {
        position: relative;
        margin-top: 10vh;
        padding-bottom: 400px;
    }
}

.slide-title {
    position: relative;
}


/*
  background-image: -webkit-gradient(linear, 0% 0%, 0% 100%, from(#FF9500), to(#FF5E3A));

*/