@media (max-width: 850px)
{
    .idea {
        bottom: 90px;
        left: calc(50% - 310px);
    }
    .edit {
        bottom: 170px;
        left: calc(50% + 210px);
    }
    .text{
        height: calc(100vh - 260px);
    }
    .text.novalider{
        height: calc(100vh - 260px);
    }
    .text.noidea{
        height: calc(100vh - 200px);
    }
}
@media (max-width: 680px)
{
    body{
        font-size: 1.1rem;
        padding: 75px 10px 0 10px;
    }
    h1 {
        font-size: 1.8rem;
    }
    h1 {
        font-size: 1.4rem;
    }
    .tiny {
        font-size: 0.9rem !important;
    }
    .prev {
        bottom: 20px;
        left: calc(50% - 200px);
        zoom: 0.8;
    }
    .next {
        bottom: 20px;
        left: calc(50% + 100px);
        zoom: 0.8;
    }
    .idea {
        bottom: 100px;
        left: calc(50% - 240px);
        zoom: 0.8;
    }
    .edit {
        bottom: 170px;
        left: calc(50% + 150px);
        zoom: 0.8;
    }
    .valider {
        bottom: 60px;
        left: calc(50% - 70px);
        zoom: 0.8;
    }
    .sound_control {
        bottom: 20px;
        zoom: 0.7;
    }
    #player_image{
        width: 10vw;
    }
    .text{
        font-size: 1.1rem;
        height: calc(100vh - 250px);
    }
    .text.novalider{
        height: calc(100vh - 240px);
    }
    .text.noidea{
        height: calc(100vh - 190px);
    }
    textarea {
        max-height: calc(100vh - 21rem) !important;
        font-size: 1.1rem !important;
    }
    .modal {
        font-size: 1.25rem;
    }
    .bloc {
        font-size:1.1rem;
    }
    .navigation {
        font-size: 2.2rem;
    }
    .slogan {
        display: block;
        top: calc(45% - 125px);
        left: calc(50% - 100px);
        text-align: center;
    }
    .slogan img {
        width: 200px;
    }
    .theme > div.img > img {
        width: 70px;
    }
    .modal .modal-content {
        padding: 5px;
    }
    .sidenav > li > a {
        font-size: 1.2rem;
    }
}
@media (max-width: 390px) {
    .idea {
        bottom: 120px;
        left: calc(50% - 210px);
        zoom: 0.8;
    }
    .edit {
        bottom: 170px;
        left: calc(50% + 120px);
        zoom: 0.8;
    }
    .text.novalider{
        height: calc(100vh - 260px);
    }
    .text.noidea{
        height: calc(100vh - 190px);
    }
}
@media (max-width: 320px)
{
    body{
        font-size: 1rem;
        padding: 75px 0 0 5px;
    }
    h1 {
        font-size: 1.4rem;
    }
    h1 {
        font-size: 1.2rem;
    }
    .tiny {
        font-size: 0.8rem !important;
    }
    .prev {
        bottom: 20px;
        left: calc(50% - 170px);
        zoom: 0.7;
    }
    .next {
        bottom: 20px;
        left: calc(50% + 70px);
        zoom: 0.7;
    }
    .idea {
        bottom: 100px;
        left: calc(50% - 190px);
        zoom: 0.7;
    }
    .edit {
        bottom: 160px;
        left: calc(50% + 120px);
        zoom: 0.7;
    }
    .valider {
        bottom: 60px;
        left: calc(50% - 70px);
        zoom: 0.65;
    }
    .sound_control {
        bottom: 20px;
        zoom: 0.5;
    }
    .text{
        font-size: 0.8rem;
        height: calc(100vh - 230px);
    }
    .text.novalider{
        height: calc(100vh - 230px);
    }
    .text.noidea{
        height: calc(100vh - 170px);
    }
    textarea {
        max-height: calc(100vh - 21rem) !important;
        font-size: 1rem !important;
    }
    .modal {
        font-size: 1.1rem;
    }
    .bloc {
        font-size:1rem;
    }
    .navigation {
        font-size: 1.6rem;
    }
    .slogan {
        font-size: 2rem;
        top: calc(50% - 200px);
        left: calc(50% - 100px);
    }
    .slogan img {
        width: 200px;
    }
    .theme > div.img >img {
        width: 60px;
    }
    .modal .modal-content {
        padding: 2px;
    }
    .sidenav > li > a {
        font-size: 1.1rem;
    }
}

@media (max-width: 354px)
{
    .navigation {
        font-size: 1.8rem;
    }
}

@media (min-height:600px) and (orientation: portrait)
{
    video#video-bg{
        top: 60px;
        height: 600px;
    }
}