@font-face {
    font-family: Bariol;
    src: url("../fonts/Bariol_Regular.ttf") format("truetype");
}

@font-face {
    font-family: Bariol-Bold;
    font-weight: bold;
    src: url("../fonts/Bariol_Bold.ttf") format("truetype");
}

html {
    height: 100%;
}
body {
    padding: 0;
    margin: 0;
    height: 100%;
    background: url(../images/background.jpg) center center no-repeat fixed;
    background-size: cover;
    font-family: "Open Sans", sans-serif;
    font-size: 1rem;
    /*overflow: hidden;*/
}

.audio {
    display: none;
}

#logo-container {
    position: relative;
    display: inline-block;
    margin: 5px 0 5px 10%;
    max-width: 140px;
    width: 100%;
    float: left;

}

#logo-container img {
    max-width: 80%;
    height: auto;
!important;
}

.menu-navbar {
    position: relative;
    float: right;
    margin: 30px 10% 30px 0;

}

.menu-navbar .menu-button {
    background-color: transparent;
    border-radius: 36px;
    border: 1px solid #ffffff;
    cursor: pointer;
    color: #ffffff;
    font-family: "Open Sans", sans-serif;
    font-size: 20px;
    padding: 7px 33px;
    text-decoration: none;
    line-height: 1;
    vertical-align: middle;
}

.menu-button:hover {
    background-color: rgba(0, 114, 188, 0.8);
}

.menu-button:active {
    position: relative;
    top: 1px;
}

.menu-container {
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 114, 188, 0.4);
    z-index: 100
}

.menu {
    border-radius: 20px;
    padding: 20px;
    background: url(../images/menu.jpg) no-repeat center top;
    background-size: cover;
    font-family:"Open Sans", sans-serif;
    font-weight: 600;
    color: #EB2290;
    font-size: calc(1rem + 1vmin);
    position: absolute;
    margin: auto;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    height: 40%;
    width: 30%;
    box-sizing: border-box;
    text-align: center;
    z-index: 2000;

}

.menu ul {
    padding: 0;
    list-style-type: none;
}

.menu li {
    padding: 10px
}

.menu li a {
    cursor: pointer;
    padding: 5px;
}

.menu li a:hover {
    border: 2px dashed #0072bc;
    border-radius: 10px;
    outline: none;

}

.menu-button:focus {
    outline: none;
}
.cum-joci{
    font-size: 40px;
    color:white;
    right: 0;
    top: 0;
    left: 0;
    text-align: center;
    position: absolute;
    display: inline-block;
}

.formular-container {
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 114, 188, 0.4);
    z-index: 100
}

.formular {
    border-radius: 20px;
    padding: 20px;
    background: url(../images/menu.jpg) no-repeat center top;
    background-size: cover;
    font-family: "Open Sans", sans-serif;
    color: #EB2290;
    font-size: calc(1rem + 1vmin);
    position: absolute;
    margin: auto;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    height: 40%;
    width: 30%;
    box-sizing: border-box;
    text-align: center;
    z-index: 99;
    min-height: 400px;

}

.formular h2 {
    font-weight: bold;
    margin-bottom: 5px;
    color: #EB2290;

}

.formular h4 {
    margin: 0;
    color: #0072bc;
}

.formular-container .formular form input {
    width: 80%;
    display: block;
    border: none;
    border-bottom: 2px dashed #1668b2;
    background-color: transparent;
    font-family: "Open Sans", sans-serif;
    color: #1668b2;
    margin: 20px auto;
    font-size: 15px;
}

.formular-container .formular form input:focus {
    outline: none;
}

.formular-container .formular button {
    margin: 0 auto;
    background-color: transparent;
    -moz-border-radius: 36px;
    -webkit-border-radius: 36px;
    border-radius: 36px;
    border: 1px dashed #1668b2;
    display: inline-block;
    cursor: pointer;
    color: #1668b2;
    font-family: "Open Sans", sans-serif;
    font-size: 20px;
    padding: 7px 33px;
    text-decoration: none;
}
.formular-container .formular button:focus {
 outline: none;
}

.primul-borcan-container {
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 114, 188, 0.4);
    z-index: 100
}

.primul-borcan {
    border-radius: 20px;
    padding: 0 20px;
    background: url(../images/menu.jpg) no-repeat center top;
    background-size: cover;
    font-family: "Open Sans", sans-serif;
    color: #EB2290;
    font-size: calc(1rem + 1vmin);
    position: absolute;
    margin: auto;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    height: 40%;
    width: 30%;
    box-sizing: border-box;
    text-align: center;
    z-index: 99;

}


.primul-borcan h2 {
    font-weight: bold;
    margin-bottom: 2%;
    color: #EB2290;

}

.primul-borcan h5 {
    margin: 5px;
    color: #0072bc;
}

.primul-borcan-container .primul-borcan img {
    margin: 10px;
    height: 60px;
    width: auto;
}

.primul-borcan button {

    display: inherit;
    margin: 0 auto;
    background-color: #eb2291;
    -moz-border-radius: 42px;
    -webkit-border-radius: 42px;
    border-radius: 42px;
    border: none;
    cursor: pointer;
    font-family: "Open Sans", sans-serif;
    padding: 9px 41px;
    text-decoration: none;
    font-size:1rem;
    box-shadow: 3px 3px 1px rgba(0, 0, 0, 0.15);
    color: #fff;
    font-weight: bold;
    text-shadow: 0 0 10px rgba(0, 0, 0, 0.5);
    /*width: 80%;*/
    /*max-width: 250px;*/

}
.primul-borcan-container .primul-borcan img {
    margin: 10px;
    height: 60px;
    width: auto;
}
.shuffle-container {
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 114, 188, 0.4);
    z-index: 100
}

.shuffle {
    border-radius: 20px;
    padding: 35px;
    background: url(../images/menu.jpg) no-repeat center top;
    background-size: cover;
    font-family: "Open Sans", sans-serif;
    color: #EB2290;
    font-size: calc(1em + 1vmin);
    position: absolute;
    margin: auto;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    height: 40%;
    width: 30%;
    box-sizing: border-box;
    text-align: center;
    z-index: 99;

}
.shuffle button {
    top:0;
    left:0;
    display: inherit;
    margin: 0 auto;
    background-color: #eb2291;
    -moz-border-radius: 42px;
    -webkit-border-radius: 42px;
    border-radius: 42px;
    border: none;
    cursor: pointer;
    font-family: "Open Sans", sans-serif;
    padding: 9px 41px;
    text-decoration: none;
    font-size:1rem;
    box-shadow: 3px 3px 1px rgba(0, 0, 0, 0.15);
    color: #fff;
    font-weight: bold;
    text-shadow: 0 0 10px rgba(0, 0, 0, 0.5);
    /*width: 80%;*/
    /*max-width: 250px;*/
}

.shuffle .myButton:hover {
    background-color: #eb469c;
}

.shuffle .myButton:active {
    position: relative;
    top: 1px;
}
.shuffle .myButton:focus {
   outline: none;
}
.shuffle h4 {
    color: #0072bc;
}

.volume {
    position: absolute;
    top: 15px;
    left: 30px;
    opacity: 0.8;
    width: 30px;
    height: 30px;
    z-index: 10001;
    color: #0072bc;
}

.premii-container {
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 114, 188, 0.85);
    z-index: 100
}

.premii-div {
    width: 100%;
    padding-top: 50px;
}
.premii {
    color: white;
    border-radius: 20px;
    font-family: "Open Sans", sans-serif;
    font-size: calc(0.753rem + 1vmin);
    position: absolute;
    margin: auto;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    height: 80%;
    width: 60%;
    box-sizing: border-box;
    text-align: center;
    z-index: 99;

}

.premii .button-premii1 {
    float:left;
    display: inherit;
    background-color: #fff;
    -moz-border-radius: 42px;
    -webkit-border-radius: 42px;
    border-radius: 42px;
    border: none;
    font-family: "Open Sans", sans-serif;
    padding: 20px 15px;
    text-decoration: none;
    box-shadow: 3px 3px 1px rgba(0, 0, 0, 0.4);
    color: #EB2290;;
    font-weight: bold;

}

.premii .button-premii2 {
    margin: 20px auto auto 200px;
    float: left;
    display: inherit;

    background-color: #fff;
    -moz-border-radius: 42px;
    -webkit-border-radius: 42px;
    border-radius: 42px;
    border: none;
    font-family: "Open Sans", sans-serif;
    padding: 7px 30px;
    text-decoration: none;
    box-shadow: 3px 3px 1px rgba(0, 0, 0, 0.4);
    color: #EB2290;;
    font-weight: bold;
}
.clear{clear:both;}

.premii .button-premii3 {
    float: right;
    display: inherit;
    margin: 20px 200px auto auto;
    background-color: #fff;
    -moz-border-radius: 42px;
    -webkit-border-radius: 42px;
    border-radius: 42px;
    border: none;
    font-family:"Open Sans", sans-serif;
    padding: 20px 15px;
    text-decoration: none;
    box-shadow: 3px 3px 1px rgba(0, 0, 0, 0.4);
    color: #EB2290;;
    font-weight: bold;

}

.premii .button-premii4 {
    float: right;
    display: inherit;
    background-color: #fff;
    -moz-border-radius: 42px;
    -webkit-border-radius: 42px;
    border-radius: 42px;
    border: none;
    font-family:"Open Sans", sans-serif;
    padding:20px 15px;
    text-decoration: none;
    box-shadow: 3px 3px 1px rgba(0, 0, 0, 0.4);
    color: #EB2290;;
    font-weight: bold;

}

.premii h1 {
    font-size: 3rem;
}

.premii h2 {
    font-size: calc(1.2rem + 1vmin);


}

.premii img {
    max-width: 20%;
    height: auto;
!important;
}

.regulament-container {
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 114, 188, 0.4);
    z-index: 100
}

.regulament {
    border-radius: 20px;
    background: url(../images/menu.jpg) no-repeat center top;
    background-size: cover;
    font-family:"Open Sans", sans-serif;
    color: #EB2290;
    font-size: 18px;
    position: absolute;
    margin: auto;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    height: 40%;
    width: 30%;
    box-sizing: border-box;
    text-align: center;
    z-index: 99;

}

.regulament .content {
    border-radius: 20px;
    overflow: scroll;
    height: 90%;
    width: 90%;
    padding: 5%;
    background: rgba(255, 255, 255, 0.2);
    line-height: 1.3;
}

.regulament .content a {
    font-weight: 600;
    color: #EB2290;
}

.after-formular-container {
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 114, 188, 0.4);
    z-index: 100
}

.after-formular {
    border-radius: 20px;
    padding: 0 20px;
    background: url(../images/menu.jpg) no-repeat center top;
    background-size: cover;
    font-family:"Open Sans", sans-serif;
    color: #EB2290;
    font-size: calc(1rem + 1vmin);
    position: absolute;
    margin: auto;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    height: 40%;
    width: 30%;
    box-sizing: border-box;
    text-align: center;
    z-index: 99;

}

.after-formular-container h3 {
    color: #0072bc;
    margin-top: 15%;
}

.fa-stack {
    margin: 5px;
}

.share-buttons span:hover {
    cursor: pointer;
}

#continua-jocul {
    margin: 0 auto;
    background-color: #eb2291;
    -moz-border-radius: 42px;
    -webkit-border-radius: 42px;
    border-radius: 42px;
    border: none;
    cursor: pointer;
    font-family:"Open Sans", sans-serif;
    padding: 9px 41px;
    text-decoration: none;
    font-size: calc(0.55rem + 1vmin);
    box-shadow: 3px 3px 1px rgba(0, 0, 0, 0.15);
    color: #fff;
    font-weight: bold;
    text-shadow: 0 0 10px rgba(0, 0, 0, 0.5);

}

#continua-jocul:hover {
    background-color: #eb469c;
}

#continua-jocul:active {
    position: relative;
    top: 1px;
}

.close {
    position: absolute;
    top: 10px;
    right: 27px;
    opacity: 0.3;
    width: 30px;
    height: 30px;
    z-index: 10001;
    color: #EB2290;
    cursor: pointer;
}

.close:hover {
    opacity: 0.8;
}

.hide {
    display: none;
}

.castigatori-container {
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 114, 188, 0.4);
    z-index: 100
}

.castigatori {
    border-radius: 20px;
    padding: 0 30px;
    background: url(../images/menu.jpg) no-repeat center top;
    background-size: cover;
    color: #EB2290;
    font-size: calc(1rem + 1vmin);
    position: absolute;
    margin: auto;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    height: 60%;
    width: 40%;
    box-sizing: border-box;
    text-align: center;
    z-index: 99;

}

.castigatori .block-border .title {
    font-size: 2rem;
    margin: 20px;
    font-family:"Open Sans", sans-serif;

}

.castigatori .week-image img {
    height: 85px;
    width: auto;
}

.castigatori .week-message {
    margin: 50px 0 40px;
}

#week-nr {
    color: #0072bc;
}

.castigatori ul.winners-tab {
    padding-left: 0;
    text-align: center;
    font-family:"Open Sans", sans-serif;
    font-size: 20px;
}

.castigatori ul.winners-tab li {
    display: inline-block;
    width: 15%;
}

.castigatori ul.winners-tab li.active {
    border-bottom: 2px dashed white;
}

.castigatori ul.winners-tab li:hover {
    border-bottom: 2px dashed white;
    cursor: pointer;
}

.castigatori .winner-tab-content {
    height: 250px;
    overflow-y: scroll;
}

.castigatori ul.winners-list {
    padding-left: 0;
    list-style: none;
    font-size: 16px;
}

.castigatori ul.winners-list li {
    width: 48%;
    display: inline-block;
    text-align: center;
}

.castigatori .week-nr img {
    height: 22px;
}

.castigatori .arrow-left {
    position: absolute;
    top: 180px;
    left: 30px;
    cursor: pointer;
    z-index: 9001;
}

.castigatori .arrow-left img {
    width: 20px;
}

.castigatori .arrow-right {
    position: absolute;
    top: 180px;
    right: 30px;
    cursor: pointer;
    z-index: 9001;
}

.castigatori .arrow-right img {
    width: 20px;
}

/*Tutorial*/

.tutorial-container {
    position: absolute;
    top:0;
    left:0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 114, 188, 0.4);
    z-index: 100;

}

.tutorial-container .tutorial-block {
    position: absolute;
    height: 566px;
    width: 600px;
    margin-left: -300px;
    margin-top: -283px;
    left: 50%;
    top: 50%;
    border-radius: 20px;
}

.tutorial-container .tutorial-block video {
    z-index: 100;
    width: 100%;
}

.tutorial-block button {
    display: inherit;
    background-color: #eb2291;
    -moz-border-radius: 42px;
    -webkit-border-radius: 42px;
    border-radius: 42px;
    border: none;
    cursor: pointer;
    font-family:"Open Sans", sans-serif;
    padding: 9px 41px;
    text-decoration: none;
    font-size: calc(0.65rem + 1vmin);
    box-shadow: 3px 3px 1px rgba(0, 0, 0, 0.15);
    color: #fff;
    font-weight: bold;
    text-shadow: 0 0 10px rgba(0, 0, 0, 0.5);
    bottom: 101px;
    position: absolute;
    left: 50%;
    margin: 0 auto 0 -79px;
}

.tutorial-block .myButton:hover {
    background-color: #eb469c;
}

/*End tutorial*/

.ui-container {
    margin: 20px auto 0 auto;
}

.ui {
    -webkit-transform: scale(1);
    height: 70px;
    width: 500px;
    background: rgba(255, 255, 255, 0.5);
    border: 1px solid rgba(255, 255, 255, 0.15);
    margin: 0 auto 20px auto;
    position: relative;
    border-radius: 20px;
    font-weight: bold;
    color: white;
}

#score {
    margin: 3% 20px;
    display: inline-block;
    font-size: 2rem;

}

#borcan {
    margin: 0;
    float: right;
    height: 70px;
    font-size: 2rem;
    line-height: 70px;
}

#borcan img {
    position: relative;
    height: auto;
    width: 38px;
    display: inline-block;
    bottom: 10px;
    vertical-align: text-top;
    padding: 0 10px;
}

.footer {
    text-align: center;
    font-size: 12px;
    color: #000;
}

.footer a {
    color: #000;
}

.message {
    position: absolute;
    margin: auto;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    height: 50%;
    width: 100%;
    padding: 40px 0;
    box-sizing: border-box;
    text-align: center;
    z-index: 99;
}

.message ul,
.message li {;
}

.message img {
    margin: 35px 0;
    width: 40%;

}

.message button {
    display: inherit;
    margin: 0 auto;
    background-color: #eb2291;
    -moz-border-radius: 42px;
    -webkit-border-radius: 42px;
    border-radius: 42px;
    border: none;
    cursor: pointer;
    font-family: "Open Sans", sans-serif;
    padding: 9px 41px;
    text-decoration: none;
    font-size:1rem;
    box-shadow: 3px 3px 1px rgba(0, 0, 0, 0.15);
    color: #fff;
    font-weight: bold;
    text-shadow: 0 0 10px rgba(0, 0, 0, 0.5);
    /*width: 80%;*/
    /*max-width: 250px;*/
}

.message .myButton:hover {
    background-color: #eb469c;
}

.message .myButton:active {
    position: relative;
    top: 1px;
}
.message h1 {
    margin-top: 40px;
    color:white;
}

#game {
    height: 500px;
    width: 500px;
    background: rgba(255, 255, 255, 0.5);
    border: 1px solid rgba(255, 255, 255, 0.15);
    margin: 20px auto;
    position: relative;
    border-radius: 20px
}

#game video {
    width: 100%;
    height: auto;
}

#game .row {
    position: absolute;
    cursor: pointer;
    -webkit-transform: scale(0.7);
    background-size: contain;
    overflow: hidden;
    /*background: url(../images/gradient.png);*/
    background-position: center;
    background-repeat: no-repeat;

}

#game .row.glow {
    z-index: 99;
    border-radius: 30px;
    box-shadow: 0px 10px 20px 20px rgba(255, 255, 255, 1);

}

.shake {
    animation: spaceboots 1s ease-in-out;
    -moz-transform: none;
    -webkit-transform: none;
    -o-transform: none;
    -ms-transform: none;
    transform: none;

}

@-webkit-keyframes spaceboots {
    0% { -webkit-transform: translate(2px, 2px) rotate(2deg); }

}

/*RED*/
#game .row.type-1 {
    background-image: url("../images/caisa.svg");

}

/*ORANGE*/
#game .row.type-2 {
    background-image: url("../images/capsuna.svg");
}

/*BLUE*/
#game .row.type-3 {
    background-image: url("../images/coacaza.svg");
}

/*green*/
#game .row.type-4 {
    background-image: url("../images/domnita.svg");
}

/*PURPLE*/
#game .row.type-5 {
    background-image: url("../images/visine.svg");
}

/*BLACK*/
#game .row.type-6 {
    background-image: url("../images/zmeura.svg");
}

#loader-wrapper {
    z-index: 11000;
}

#loader-wrapper .loader-section {
    background: #1668b2;
}

#loader-box {

    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: #1398e7;
    -webkit-background-size: initial;
    -moz-background-size: initial;
    -o-background-size: initial;
    background-size: initial;
    z-index: 11000;
}

#loader-box .loader-message {
    color: white;
    font-size: 18px;
    position: absolute;
    top: 50%;
    left: 50%;
    width: 250px;
    height: 50px;
    margin-left: -125px;
    margin-top: -75px;
    text-align: center;
}

#loader-box #loader-space {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 250px;
    height: 50px;
    margin-left: -100px;
    margin-top: -25px;
    background: transparent;
}

#loader-box #loader-space img {
    display: inline-block;
    height: 100%;
    width: auto;
}

#loader-box #loader-space .loader-rect {
    position: absolute;
    right: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background: #1398e7;
    opacity: 0.8;
}

/* Smartphones (portrait and landscape) ----------- */
@media only screen and (min-device-width: 320px) and (max-device-width: 480px) {
    /* Styles */
    .message img {
        width: 100%;
    }
}
@media only screen and (max-width: 1596px) {
    .premii .button-premii2 {
        margin: 20px auto auto 100px;
    }

    .premii .button-premii3 {
        margin: 20px 100px auto auto;

    }
}
/* Smartphones (portrait) ----------- */
@media only screen and (max-width: 768px) {
    /* Styles */
    body {
        background: url(../images/background-mobile.jpg) center center no-repeat fixed;
        background-size: cover;
    }

    .regulament {
        height: 50%;
        width: 90%;

    }
    .premii-container {
        overflow: auto;
    }
    .tutorial-container .tutorial-block {
        top: 0;
        width: 300px;
        left: 50%;
        margin-left: -150px;
        height: auto;
        margin-top: 150px;
    }

    .tutorial-container .tutorial-block button {
        bottom: 20px;
    }
    .premii img {
         max-width: 40%;
        height: auto;
    }
    .premii .button-premii1{
        float: none;
    }
    .premii .button-premii2{
        float: none;
        margin:15px auto;

    }
    .premii .button-premii3{
        float: none;
        margin:15px auto;


    }
    .premii .button-premii4{
        margin:15px auto;

        float: none;
    }
    .premii h1 {
        font-size:1.5rem;
    }
    .premii h2 {
        font-size:1rem;
    }
    .premii-div{
        padding:0;
    }
    .message h1 {
        font-size:20px;
    }
    .cum-joci{
        font-size: 20px;

    }

    .formular {
        height: 70%;
        width: 90%;

    }
    .shuffle{
        height: 40%;
        width: 90%;
    }
}

@media only screen and (max-width: 320px) {
    /* Styles */
    .message img {
        width: 100%;

    }
}

@media only screen and (min-device-width: 1450px)  {

    /* Styles */
    #game {
        height: 600px;
        width: 600px;
    }
    .ui {
        width: 600px
    }
}

/* iPads (portrait and landscape) ----------- */
@media only screen and (min-device-width: 768px) and (max-device-width: 1024px) {

    /* Styles */
    #game {
        height: 758px;
        width: 758px;
    }

    .menu {
        padding: 100px 20px;
        width: 60%;
        font-size: 2rem;
    }

    #logo-container {
        float: none;
    }

    .ui {
        width: 758px
    }
    .premii {
        height: 60%;
        width: 80%;
    }
    .message img {
        margin: 35px 0;
        width:100%;
    }
    .message button{
        font-size:2rem;
    }


}

/* iPads (portrait) ----------- */
@media only screen and (min-device-width: 768px) and (max-device-width: 1024px) and (orientation: portrait) {
    /* Styles */
    #game {
        height: 758px;
        width: 758px;
    }

    .menu {
        padding: 100px 20px;
        width: 60%;
        font-size: 2rem;
    }

    .primul-borcan {
        height: 50%;
        width: 90%;
    }

    .primul-borcan-container .primul-borcan img {
        margin: 10px;
        height: 50px;
        width: auto;
    }
    .formular {
        height: 50%;
        width: 90%;

    }

    .castigatori {
        height: 70%;
        width: 90%;

    }
    .shuffle{
        height: 40%;
        width: 90%;
    }
}

/* iPhone 4 ----------- */

@media only screen and (min-device-width: 320px) and (max-device-width: 480px) and (orientation: portrait) and (-webkit-min-device-pixel-ratio: 2) {
    /* Styles */
    #logo-container {
        float: none;
    }

    #game {
        height: 310px;
        width: 310px;
        margin: 10px auto;
    }

    .menu {
        padding: 5px 20px;

        width: 90%;

    }

    .primul-borcan {
        height: 50%;
        width: 90%;
    }

    .primul-borcan-container .primul-borcan img {
        margin: 10px;
        height: 50px;
        width: auto;
    }
    .formular {
        height: 70%;
        width: 90%;

    }

    .castigatori {
        height: 70%;
        width: 90%;

    }

    .ui {
        height: 50px;
        width: 310px;
        margin: 0 auto 10px auto;
    }

    #score {
        margin: 4% 20px;
        display: inline-block;
        font-size: calc(0.75rem + 1vmin);
    }

    #borcan {
        line-height: 50px;
        font-size: calc(0.75rem + 1vmin);
    }

    #borcan img {
        width: 30px;

    }
    .shuffle{
        height: 40%;
        width: 90%;
    }

}

/* iPhone 5 ----------- */

@media only screen and (min-device-width: 320px) and (max-device-height: 568px) and (orientation: portrait) and (-webkit-device-pixel-ratio: 2) {
    /* Styles */
    #logo-container {
        float: none;
        max-width: 100px;
    }

    .message {
        padding: 0 0 40px 0;
    }
    .message img {
        margin: 0 0 35px 0;
    }
    .menu-navbar {
        margin: 15px 10% 15px 0;
    }

    .tutorial-container .tutorial-block {
        margin-top: 100px;
    }

    #game {
        height: 310px;
        width: 310px;
        margin: 10px auto;
    }
    #continua-jocul {
        margin: 5px 20px;
    }
    .menu {
        padding: 5px 20px;
        width: 90%;
        height: 50%;
    }


    .primul-borcan {
        height: 80%;
        width: 90%;
    }

    .primul-borcan-container .primul-borcan img {
        margin: 10px;
        height: 50px;
        width: auto;
    }

    .after-formular {
        height: 70%;
        width: 90%;
    }

    .formular {
        height: 70%;
        width: 90%;

    }

    .ui {
        height: 50px;
        width: 310px;
        margin: 0 auto 10px auto;
    }

    .castigatori {
        height: 70%;
        width: 95%;

    }
    #score {

        margin: 5% 20px;
        display: inline-block;
        font-size: calc(1rem + 1vmin);
    }

    .ui-container {
        margin: 0 auto 0 auto;
    }

    .castigatori .arrow-left {
        position: absolute;
        top: 130px;
        left: 3px;
        cursor: pointer;
        z-index: 9001;
    }

    .castigatori .arrow-right {
        position: absolute;
        top: 130px;
        right: 3px;
        cursor: pointer;
        z-index: 9001;
    }

    #borcan {
        line-height: 50px;
        font-size: calc(1rem + 1vmin);
    }

    #borcan img {
        width: 30px;

    }

    .shuffle{
        height: 40%;
        width: 90%;
    }
    .premii {
        height: 90%;
    }
}

/* iPhone 6 ----------- */

@media only screen and (min-device-width: 375px) and (max-device-height: 667px) and (orientation: portrait) and (-webkit-device-pixel-ratio: 2) {
    /* /* Styles */
    #logo-container {
        float: none;
        max-width: 100px;
    }

    .message {
        padding: 0 0 40px 0;
    }
    .message img {
        margin: 0 0 35px 0;
    }
    .menu-navbar {
        margin: 15px 10% 15px 0;
    }

    .tutorial-container .tutorial-block {
        margin-top: 100px;
    }

    #game {
        height: 365px;
        width: 365px;
        margin: 10px auto;
    }

    .menu {
        padding: 5px 20px;
        width: 90%;

    }

    .primul-borcan {
        height: 50%;
        width: 90%;
    }

    .primul-borcan-container .primul-borcan img {
        margin: 10px;
        height: 50px;
        width: auto;
    }

    .after-formular {
        width: 90%;
    }

    .formular {
        height: 70%;
        width: 90%;

    }

    .ui-container {
        margin: 10px auto;
    }

    .ui {
        height: 50px;
        width: 365px;
        margin: 0 auto 10px auto;
    }

    .castigatori {
        height: 70%;
        width: 90%;

    }

    #score {
        margin: 4% 20px;
        display: inline-block;
        font-size: calc(1rem + 1vmin);
    }

    .castigatori .arrow-left {
        position: absolute;
        top: 160px;
        left: 10px;
        cursor: pointer;
        z-index: 9001;
    }

    .castigatori .arrow-right {
        position: absolute;
        top: 162px;
        right: 10px;
        cursor: pointer;
        z-index: 9001;
    }

    #borcan {
        line-height: 50px;
        font-size: calc(1rem + 1vmin);
    }

    #borcan img {
        width: 30px;

    }

    .shuffle{
        height: 40%;
        width: 90%;
    }
}

/* iPhone 6+ ----------- */

@media only screen and (min-device-width: 414px) and (max-device-height: 736px) and (orientation: portrait) and (-webkit-device-pixel-ratio: 2) {
    /* Styles */
    #logo-container {
        float: none;
        max-width: 100px;
    }

    .message {
        padding: 0 0 40px 0;
    }
    .message img {
        margin: 0 0 35px 0;
    }
    .menu-navbar {
        margin: 15px 10% 15px 0;
    }

    .tutorial-container .tutorial-block {
        margin-top: 100px;
    }
    #game {
        height: 404px;
        width: 404px;
        margin: 10px auto;
    }

    .menu {
        padding: 5px 20px;

        width: 90%;;

    }

    .primul-borcan {
        height: 50%;
        width: 90%;
    }

    .primul-borcan-container .primul-borcan img {
        margin: 10px;
        height: 50px;
        width: auto;
    }

    .formular {
        height: 70%;
        width: 90%;

    }

    .after-formular {
        height: 50%;
        width: 90%;
    }

    .ui {
        height: 50px;
        width: 404px;
        margin: 0 auto 10px auto;
    }

    .castigatori {
        height: 70%;
        width: 90%;

    }

    #score {
        margin: 4% 20px;
        display: inline-block;
        font-size: calc(1rem + 1vmin);
    }

    .castigatori .arrow-left {
        position: absolute;
        top: 180px;
        left: 20px;
        cursor: pointer;
        z-index: 9001;
    }

    .castigatori .arrow-right {
        position: absolute;
        top: 182px;
        right: 20px;
        cursor: pointer;
        z-index: 9001;
    }
    #borcan {
        line-height: 50px;
        font-size: calc(1rem + 1vmin);
    }

    #borcan img {
        width: 30px;

    }

    .shuffle{
        height: 40%;
        width: 90%;
    }

}

/* Samsung Galaxy S3 ----------- */

@media only screen and (min-device-width: 320px) and (max-device-height: 640px) and (orientation: portrait) and (-webkit-device-pixel-ratio: 2) {
    /* Styles */
    #logo-container {
        float: none;
        max-width: 100px;
    }

    .message {
        padding: 0 0 40px 0;
    }
    .message img {
        margin: 0 0 35px 0;
    }
    .menu-navbar {
        margin: 15px 10% 15px 0;
    }

    .tutorial-container .tutorial-block {
        margin-top: 100px;
    }

    #game {
        height: 310px;
        width: 310px;
        margin: 10px auto;
    }

    .menu {
        padding: 5px 20px;

        width: 90%;

    }

    .primul-borcan {
        height: 50%;
        width: 90%;
    }

    .primul-borcan-container .primul-borcan img {
        margin: 10px;
        height: 50px;
        width: auto;
    }

    .formular {
        height: 70%;
        width: 90%;

    }

    .after-formular {
        height: 50%;
        width: 90%;
    }

    .ui {
        height: 50px;
        width: 310px;
        margin: 0 auto 10px auto;
    }

    .castigatori {
        height: 70%;
        width: 90%;

    }

    #score {
        margin: 4% 20px;
        display: inline-block;
        font-size: calc(1rem + 1vmin);
    }

    #borcan {
        line-height: 50px;
        font-size: calc(1rem + 1vmin);
    }

    #borcan img {
        width: 30px;

    }
    .shuffle{
        height: 40%;
        width: 90%;
    }
}

/* Samsung Galaxy S4 ----------- */

@media only screen and (min-device-width: 320px) and (max-device-height: 640px) and (orientation: portrait) and (-webkit-device-pixel-ratio: 3) {
    /* Styles */
    #logo-container {
        float: none;
        max-width: 100px;
    }

    .message {
        padding: 0 0 40px 0;
    }
    .message img {
        margin: 0 0 35px 0;
    }
    .menu-navbar {
        margin: 15px 10% 15px 0;
    }

    .tutorial-container .tutorial-block {
        margin-top: 100px;
    }

    #game {
        height: 310px;
        width: 310px;
        margin: 10px auto;
    }

    .message img {
        width: 100%;

    }

    .menu {
        padding: 5px 20px;

        width: 90%;

    }

    .primul-borcan {
        height: 50%;
        width: 90%;
    }

    .primul-borcan-container .primul-borcan img {
        margin: 10px;
        height: 50px;
        width: auto;
    }

    .formular {
        height: 70%;
        width: 90%;

    }

    .after-formular {
        height: 50%;
        width: 90%;
    }

    .ui {
        height: 50px;
        width: 310px;
        margin: 0 auto 10px auto;
    }

    .castigatori {
        height: 70%;
        width: 90%;

    }

    #score {
        margin: 4% 20px;
        display: inline-block;
        font-size: calc(1rem + 1vmin);
    }

    #borcan {
        line-height: 50px;
        font-size: calc(1rem + 1vmin);
    }

    #borcan img {
        width: 30px;

    }
    .shuffle{
        height: 40%;
        width: 90%;
    }
}

/* Samsung Galaxy S5 ----------- */

@media only screen and (min-device-width: 360px) and (max-device-height: 640px) and (orientation: portrait) and (-webkit-device-pixel-ratio: 3) {
    /* Styles */
    #logo-container {
        float: none;
        max-width: 100px;
    }

    .message {
        padding: 0 0 40px 0;
    }
    .message img {
        margin: 0 0 35px 0;
    }
    .menu-navbar {
        margin: 15px 10% 15px 0;
    }

    .tutorial-container .tutorial-block {
        margin-top: 100px;
    }

    #game {
        height: 350px;
        width: 350px;
        margin: 10px auto;
    }

    .message img {
        width: 100%;

    }

    .menu {
        padding: 5px 20px;

        width: 90%;

    }

    .primul-borcan {
        height: 50%;
        width: 90%;
    }

    .primul-borcan-container .primul-borcan img {
        margin: 10px;
        height: 50px;
        width: auto;
    }
    .formular {
        height: 70%;
        width: 90%;

    }

    .after-formular {
        height: 50%;
        width: 90%;
    }

    .ui {
        height: 50px;
        width: 350px;
        margin: 0 auto 10px auto;
    }

    .castigatori {
        height: 70%;
        width: 90%;

    }

    #score {
        margin: 4% 20px;
        display: inline-block;
        font-size: calc(1rem + 1vmin);
    }

    #borcan {
        line-height: 50px;
        font-size: calc(1rem + 1vmin);
    }

    #borcan img {
        width: 30px;

    }

    .shuffle{
        height: 40%;
        width: 90%;
    }
}
