.navbar {
    margin-bottom: 0;
}

.home-hero  {    
    width: 100%;
    height: 45em;
}

.intro {
    margin-top: 120px;
    padding-left: 75px;
}

.btn-primary {
    text-transform: uppercase;
}

.home-hero .call-to-action {
    margin-top: 30px;
    padding-left: 75px;
}

.home-hero .intro h1,
.home-hero .intro p {
    font-family: 'Roboto Condensed', sans-serif;
    font-size: 2.611em;
}

.block-text h2 {
    margin-top: 10px;
}

p {
    font-size: 1.111em;
    line-height: 1.400em;
}

.home-hook {
    padding-top: 20px;
    padding-bottom: 20px;
    text-align: center;
}

.home-hook p {
    font-size: 2.111em;
}

.home,
.home-hook {
    background-color: #FAFAFA;
}

.home {
    padding-top: 20px;
    padding-bottom: 20px;
}

.home .row {
    height: 300px;
}

.block-text {
    position: relative;
    bottom: -80px;
    opacity: 0;
}

.home-hook, 
.block-text h2 {
    color: #333333;
}

.home-hook {
    font-weight: bold;
}

.block-text p,
.block-secret p {
    color: #6a6a6a;
}

.appears .block-text {
    bottom: 0;
    opacity: 1;
    transition: all 2s ease-in-out;
}

.center {
    padding-left: 125px;
}

/*----------------------------------------------------------------------------*/
/* Boards                                                                     */
/*----------------------------------------------------------------------------*/
.board {
    width: 370px;
    height: 195px;
}

.board p {
    font-size: 1em;
}

.discussion,
.spreadsheet,
.method,
.mailer {
    font-size: 0.778em;
    opacity: 0;
}

.board.method input[name="code"] {
    width: 35px;
    border: none;
}

.appears .discussion, 
.appears .spreadsheet,
.appears .method,
.appears .mailer {
    opacity: 1;
    transition: all 4s ease-in-out;
}

.discussion > div,
.method > div {
    margin-top: 10px;
    width: 350px;
    height: 160px;
    padding: 20px;
    background-color: #fff;
    border-radius: 5px;
    box-shadow: 0 2px 3px 0 rgba(0,0,0,.075);
}

.discussion {
    color: #6a6a6a;
}

.glyphicon-time {
    color: #A7C1ED;
}

.glyphicon-piggy-bank {
    color: #C3C1EC;
}

.glyphicon-header,
.glyphicon-star,
.glyphicon-tree-conifer,
.glyphicon-tent {
    color: #D8C1EC;
}

 .home-tooltip {
    cursor: help;
}

.spreadsheet {
    margin-top: 10px;
    width: 480px;
    height: 150px;
    overflow-x: scroll;
}

.spreadsheet table {
    width: 600px;
    height: 100%;
    background-color: #fff;
}

.spreadsheet thead tr  {
    border-bottom: 1px solid #F3F3F3;
    background-color: #FAF8F9;
    color: #B1B5B6;
}

.spreadsheet tr th {
    font-weight: normal;
}

.spreadsheet tr th,
.spreadsheet tr td {
    padding-left: 5px;
    padding-right: 5px;
    border-right: 1px dashed #F3F3F3;
}

.spreadsheet tr td {
    height: 20px;
}

.spreadsheet tbody {
    height: 70%;
}

.spreadsheet .project {
    display: block;
    height: 7px;
    border: 1px solid;
    border-radius: 4px;
}

.spreadsheet .project.begin {
    border-color: #F9C1EB;
    background-color: #F9C1EB;
}

.spreadsheet .project.two.begin {
    border-color: #A7C1ED;
    background-color: #A7C1ED;
}

.spreadsheet .project.dev {
    border-color: #D8C1EC;
    background-color: #D8C1EC;
}

.spreadsheet .project.recette {
    border-color: #C3C1EC;
    background-color: #C3C1EC;
}

.method p {
    margin: 0;
}

.method .line {
    padding-left: 40px;
}

.method .line:nth-child(5n) {
    margin-top: 5px;
}

.method .identifier {
    color: #A7C1ED;
}

.method .name {
    color: #C3C1EC;
}

.method .comment {
    color: #6a6a6a;
    opacity: 0.4;
}

.method .variable {
    color: #F9C1EB;
}

.method .string {
    color: #D8C1EC;
}

.block4 .col-md-6.reports {
    padding-top: 25px;
    padding-left: 35px;
}

.mailer table {
    width: 480px;
    height: 150px;
    font-size: 14px;
    background-color: #fff;
    border-radius: 5px;
    box-shadow: 0 2px 3px 0 rgba(0,0,0,.075);
}

.mailer table thead tr {
    background-color: #FAF8F9;
    border-bottom: 1px solid #F3F3F3;
    color: #B1B5B6;
}

.mailer table thead tr th {
    padding: 0 5px;
    border-right: 1px dashed #F3F3F3;
    font-weight: normal;
}

.mailer table tbody {
    background-color: #fff;
}

.mailer table tbody tr.not-readed {
    font-weight: bold;
}

.mailer table tbody tr td {
    padding: 0 5px;
    color: #C3C1EC;
}

.block1 .col-md-6,
.block3 .col-md-6 {
    padding-right: 72px;
}

.block2 .col-md-6,
.block4 .col-md-6 {
    padding-left: 72px;
}

.block2 .col-md-6.estimation {
    padding-top: 5px;
    padding-left: 35px;
}

.block3 .col-md-6 .method {
    padding-top: 10px;
}

.block-crypted {
    padding-left: 60px;
    padding-right: 60px;
}

.wrong-code {
    animation-name: shake-little;
    animation-duration: 100ms;
    animation-iteration-count: 2;
    animation-timing-function: ease-in-out;
    animation-delay: 0s;
}

.key {
    border-radius: initial;
}

@keyframes shake-little {
    0% {
        transform: translate(0px, 0px) rotate(0deg);
    }
    2% {
        transform: translate(0px, 0px) rotate(-0.5deg);
    }
    4% {
        transform: translate(-1px, 0px) rotate(-0.5deg);
    }
    6% {
        transform: translate(0px, -1px) rotate(-0.5deg);
    }
    8% {
        transform: translate(0px, 0px) rotate(-0.5deg);
    }
    10% {
        transform: translate(-1px, 0px) rotate(-0.5deg);
    }
    12% {
        transform: translate(-1px, 0px) rotate(-0.5deg);
    }
    14% {
        transform: translate(0px, 0px) rotate(-0.5deg);
    }
    16% {
        transform: translate(0px, 0px) rotate(-0.5deg);
    }
    18% {
        transform: translate(0px, -1px) rotate(-0.5deg);
    }
    20% {
        transform: translate(0px, 0px) rotate(-0.5deg);
    }
    22% {
        transform: translate(-1px, 0px) rotate(-0.5deg);
    }
    24% {0
        transform: translate(0px, 0px) rotate(-0.5deg);
    }
    26% {
        transform: translate(-1px, -1px) rotate(-0.5deg);
    }
    28% {
        transform: translate(-1px, -1px) rotate(-0.5deg);
    }
    30% {
        transform: translate(0px, 0px) rotate(-0.5deg);
    }
    32% {
        transform: translate(-1px, 0px) rotate(-0.5deg);
    }
    34% {
        transform: translate(0px, -1px) rotate(-0.5deg);
    }
    36% {
        transform: translate(0px, -1px) rotate(-0.5deg);
    }
    38% {
        transform: translate(-1px, -1px) rotate(-0.5deg);
    }
    40% {
        transform: translate(-1px, -1px) rotate(-0.5deg);
    }
    42% {
        transform: translate(-1px, 0px) rotate(-0.5deg);
    }
    44% {
        transform: translate(-1px, 0px) rotate(-0.5deg);
    }
    46% {
        transform: translate(0px, -1px) rotate(-0.5deg);
    }
    48% {
        transform: translate(0px, 0px) rotate(-0.5deg);
    }
    50% {
        transform: translate(-1px, -1px) rotate(-0.5deg);
    }
    52% {
        transform: translate(0px, 0px) rotate(-0.5deg);
    }
    54% {
        transform: translate(0px, 0px) rotate(-0.5deg);
    }
    56% {
        transform: translate(-1px, -1px) rotate(-0.5deg);
    }
    58% {
        transform: translate(-1px, -1px) rotate(-0.5deg);
    }
    60% {
        transform: translate(-1px, -1px) rotate(-0.5deg);
    }
    62% {
        transform: translate(-1px, -1px) rotate(-0.5deg);
    }
    64% {
        transform: translate(-1px, 0px) rotate(-0.5deg);
    }
    66% {
        transform: translate(0px, -1px) rotate(-0.5deg);
    }
    68% {
        transform: translate(0px, -1px) rotate(-0.5deg);
    }
    70% {
        transform: translate(0px, -1px) rotate(-0.5deg);
    }
    72% {
        transform: translate(-1px, 0px) rotate(-0.5deg);
    }
    74% {
        transform: translate(0px, -1px) rotate(-0.5deg);
    }
    76% {
        transform: translate(0px, 0px) rotate(-0.5deg);
    }
    78% {
        transform: translate(-1px, -1px) rotate(-0.5deg);
    }
    80% {
        transform: translate(-1px, 0px) rotate(-0.5deg);
    }
    82% {
        transform: translate(0px, -1px) rotate(-0.5deg);
    }
    84% {
        transform: translate(0px, 0px) rotate(-0.5deg);
    }
    86% {
        transform: translate(0px, 0px) rotate(-0.5deg);
    }
    88% {
        transform: translate(0px, 0px) rotate(-0.5deg);
    }
    90% {
        transform: translate(-1px, 0px) rotate(-0.5deg);
    }
    92% {
        transform: translate(0px, 0px) rotate(-0.5deg);
    }
    94% {
        transform: translate(0px, -1px) rotate(-0.5deg);
    }
    96% {
        transform: translate(0px, 0px) rotate(-0.5deg);
    }
    98% {
        transform: translate(0px, 0px) rotate(-0.5deg);
    }
}

@font-face {
    font-family: 'Norse Code Regular';
    font-style: normal;
    font-weight: normal;
    src: local('Norse Code Regular'), url('fonts/norskode.woff') format('woff');
}

.home-code {
    font-family:'Norse Code Regular';
    text-align: justify;
}

@media all and (min-device-width: 480px) and (max-device-width: 1279px) {
    .center {
        padding-left: 195px;
    }
    .home .row {
        height: 380px;
    }
    .block1 .col-md-6, .block3 .col-md-6 {
        padding-right: 15px;
    }
    .block2 .col-md-6, .block4 .col-md-6 {
        padding-left: 15px;
    }
    .board {
        height: 185px;
    }
    .discussion {
        margin-bottom: 30px;
    }
    .spreadsheet {
        width: 100%;
    }
    .mailer table {
        width: 600px;
    }
    .block-crypted {
        margin-top: 100px;
        padding-left: 0;
        padding-right: 0;
    }
    .method > div,
    .block3 .col-md-6 .method {
        margin-top: 0;
    }
    .block3 .col-md-6 .method {
        padding-top: 60px;
    }
    .block3 .col-md-6 {
        padding-bottom: 80px;
    }
    .block2 .col-md-6.estimation {
        padding-bottom: 60px;
        padding-left: 9%;
        padding-top: 0;
    }
    .block4 .col-md-6.reports {
        margin-bottom: 75px;
        margin-top: 60px;
        padding-left: 9%;
    }
    .block2,
    .block4 {
        display: flex;
        flex-flow: column;
    }
    .block2 .spreadsheet,
    .block4 .mailer {
        margin-bottom: 10px;
        order: 1;
    }
    .block2 .block-text,
    .block4 .block-text {
        order: 1;
    }
    footer .container .row:first-child {
        padding-left: 0;
    }
}

@media all and (min-device-width: 320px) and (max-device-width: 480px) {
    p {
        line-height: 1.42857em;
    }
    .home {
        padding-top: 0;
    }
    .home-hero .intro {
        margin-top: 80px;
        padding-left: 23px;
    }
    .home-hero .intro h1,
    .home-hero .intro p {
        font-size: 2.9em;
    }
    .home-hero .call-to-action {
        margin-top: 10px;
        padding-left: 23px;
    }
    .home .row {
        height: 1%;
    }
    p {
        line-height: 1.5em;
    }
    .home-hook {
        margin-top: 25px;
    }
    .home-hook p {
        font-size: 20px;
    }
    .home-image video {
        margin: 10px 0;
        max-width: 280px;
    }
    .home-image-third {
        display: none;
    }
    .secret .home-secret {
        top: 0;
        left: 0;
    }
    .secret img {
        max-width: 290px;
    }
    .secret form {
        top: -120px;
    }
    .secret form input {
        width: 160px;
        height: 25px;
        font-size: 1.8em;
    }
    .board {
        width: auto;
    }
    .board.discussion,
    .board.spreadsheet,
    .board.mailer {
        font-size: 14px;
    }
    .board.method {
        font-size: 12px;
    }
    .board.method > div {
        padding: 15px;
    }
    .block-text h2 {
        font-size: 2.5em;
    }
    .block-text p {
        font-size: 1.8em;
    }
    .block1 .col-md-6,
    .block3 .col-md-6 {
        padding-right: 15px;
    }
    .block2 .col-md-6,
    .block4 .col-md-6 {
        padding-left: 15px;
    }
    .center {
        padding-left: 15px;
    }
    .discussion > div,
    .method > div,
    .spreadsheet,
    .mailer {
        width: auto;
    }
    .method > div,
    .mailer {
        height: auto;
    }
    .block2,
    .block4 {
        display: flex;
        flex-flow: column;
    }
    .block2 .spreadsheet,
    .block4 .mailer {
        margin-bottom: 10px;
        order: 1;
    }
    .block2 .block-text,
    .block4 .block-text {
        order: 1;
    }
    .mailer > div {
        overflow-x: scroll
    }
    .block2 .col-md-6.estimation,
    .block4 .col-md-6.reports {
        padding-left: 15px;
    }
    .block-crypted {
        margin-top: 30px;
        padding-left: 0;
        padding-right: 0;
    }
}