﻿body {
	overflow-x: hidden;
}


#main {
	min-height: 100vh;
	overflow: hidden;
}


#sortable {
    list-style-type: none;
    display: inline-block;
    padding: 0;
    margin-left: auto;
    margin-right: auto;
    z-index: 5;
}

#sortable li {
        background-size: 400% 400%;
        border: none;
        cursor: pointer;
        margin: 0;
        padding: 0;
        float: left;
        width: 33%;
        height: 33%;
    }


.ljud_box {
	display: none;
    background: #FFED66;
    box-shadow: 0 3px 0 #FF5E5B;
    position: absolute;
    right: 16px;
    top: 60px;
    font-size: 20px;
    font-weight: 700;
    padding: 10px;
    z-index: 100;
    border-radius: 10px 0 10px 10px;

    
 }

.ljud_box:after  {
	bottom: 100%;
	left: 93.5%;
    border: solid transparent;
    content: " ";
    height: 0;
    width: 0;
    position: absolute;
    pointer-events: none;
}

.ljud_box:after {
	border-color: rgba(255, 237, 102, 0);
	border-bottom-color: #FFED66;
	border-width: 15px;
	margin-left: -15px;
}

.paper {
	transform: rotate(-3deg);
    position: absolute;
    margin-top: auto;
    top: 10%;
    left: 10%;
    width: 80%;
    line-height: 1.5em;
    background-image: -webkit-linear-gradient(rgba(0, 0, 0, 0.1) 1px, transparent 1px);
    background-image: -moz-linear-gradient(rgba(0, 0, 0, 0.1) 1px, transparent 1px);
    background-image: -ms-linear-gradient(rgba(0, 0, 0, 0.1) 1px, transparent 1px);
    background-size: 100% 1.5em;
    background-position: 0 1.2em;
    background-origin: content-box;
    background-color: rgba(255, 255, 244, 0.8);
    font-size: 140%;
    padding: 1.3em;
    box-shadow: 0px 0px 10px rgba(0, 0, 0, 0.3);
	z-index: 100;
}

.paper p {
	margin-bottom: 32px;
}

/* Buttons */
.btn {
  display: inline-block;
  background-color: #FFED66;
  padding: 15px 30px;
  border: none;
  border-radius: 30px;
  font-family: "Hind", sans-serif;
  font-size: 20px;
  text-decoration: none;
  color: #000;
  box-shadow: 0 3px 0 #FF5E5B;
  cursor: pointer;
  transition: all 100ms linear;
}
.btn:hover {
  -moz-transform: translateY(-4px);
  -o-transform: translateY(-4px);
  -ms-transform: translateY(-4px);
  -webkit-transform: translateY(-4px);
  transform: translateY(-4px);
  box-shadow: 0 7px 0 #FF5E5B;
}
.btn:focus, .btn:active {
  outline: 0;
}
.btn a {
	text-decoration: none;
	color: #000;
}

h1 {
	color: #FFED66 !important;
    text-transform: uppercase !important;
    padding-bottom: 23px;
    font-size: 70px !important;
    font-weight: 700 !important;
    text-shadow: -2px 3px 0 #000;
    margin-left: auto;
    margin-right: auto;
}   

.pussel {
	min-height: 97vh; 
}

.starta {
    min-width: 200px;
	margin-top: 50px !important;
 }
 
 .drag {
    min-width: 200px;
	display: inline-block;
    background-color: #FFED66;
    padding: 15px 30px;
    border: none;
    border-radius: 30px;
    font-family: "Hind", sans-serif;
    font-size: 20px;
    text-decoration: none;
    color: #000;
    box-shadow: 0 3px 0 #FF5E5B;
    cursor: pointer;
    transition: all 100ms linear;
 }
 
 .steps {
	 font-size: 50px;
	 padding: 10px;
 }
 
 #klar {
    position: absolute;
    display: none;
    top: 80%;
    left: 72%;
    color: #000;
    font-size: 20px;
    border: 1px solid rgba(0,0,0,0.5);
    background-color: rgba(255,255,255,0.95);
    border-radius: 100px 40px 110px 120px;
    width: 30%;
    z-index: 100;
 }
 
 
 /* Memory dropdown */
.memorydropdown {
  outline: 0;
  margin-top: 50px;
  min-width: 200px;
  display: inline-block;
  background-color: #FFED66;
  border-radius: 771px 455px 200px 426px/217px 623px 173px 655px !important;
  box-shadow: 0 3px 0 #FF5E5B;
  transition: all .5s ease;
  position: relative;
  font-size: 14px;
  color: #474747;
  height: 60px;
  text-align: left;
  font-family: "Hind", sans-serif;
  font-size: 20px;
  text-decoration: none;
  color: #000;
  text-align: center;
 }
.memorydropdown .select {
    cursor: pointer;
    display: block;
    padding: 15px;
	margin-left: 20px;
}
.memorydropdown .select > i {
    font-size: 13px;
    color: #888;
    cursor: pointer;
    float: right;
    line-height: 20px;
    padding-right: 30px;
    transition: all .6s;
}

.memorydropdown.active:hover,
.memorydropdown.active {
    border-radius: 5px 5px 0 0;
	background-color: #FFED66;
}
.memorydropdown.active .select > i {
    transform: rotate(-90deg)
}
.memorydropdown .memorydropdown-menu {
	position: absolute;
    background-color: #FFED66;
    width: 75%;
    right: 25px;
    top: -140px;
    border-radius: 5px 5px 0 0;
    overflow: hidden;
    display: none;
    max-height: 144px;
    overflow-y: auto;
    z-index: 9;
}
.memorydropdown .memorydropdown-menu li {
	padding: 10px;
    transition: all .6s;
    cursor: pointer;
    height: 47px;
 } 
    
.memorydropdown .memorydropdown-menu {
    padding: 0;
    list-style: none
}
.memorydropdown .memorydropdown-menu li:hover {
    background-color: #FF5E5B;
    color: #fff;
}
.memorydropdown .memorydropdown-menu li:active {
    background-color: #FF5E5B;
    color: #fff;
}

.memorydropdowntext {
    font-size: 12px;
    font-weight: 700;
    margin-bottom: -20px;
}

.star {
	background-image: url('star.png');
    background-size: contain;
    background-repeat: no-repeat;
    width: 36px;
    height: 30px;
    padding: 0 10px;
    margin: 0 3px;
    float: left;
}

@media only screen and (min-device-width: 300px) 
                   and (max-device-width: 640px) 
                   and (orientation: portrait) {


.memorydropdown {
	margin-top: 10px;
	width: 100%;
	z-index: 2;
}

.drag {
	min-width: 100% !important;
	margin-bottom: 10px;
	padding: 0;
}

.steps {
    font-size: 25px;
    padding: 3px;
}

.sortable {
	margin-top: 30px;
}

.starta {
    margin-top: 0px !important;
	min-width: 48% !important;
}

.pt-5 {
	padding-top: 0px !important;
}

 #klar {
    top: 52% !important;
	left: 0% !important;
    width: 95% !important;
    margin-left: 3% !important;
 }

}