/* -------------------------------Анимация------------------------------- */
.puzzle, .draggable, .youWin {
    opacity: 0;
    transition: 1s;
    animation: show 2s 1;
    animation-fill-mode: forwards;
}
.miniImg {
    opacity: 0;
    transition: 1s;
    animation: show 3s 1;
    animation-fill-mode: forwards;
    animation-delay: 1s;
}
.buttonHelp {
    opacity: 0;
    transition: 1s;
    animation: show 3s 1;
    animation-fill-mode: forwards;
    animation-delay: 2s;
}
@keyframes show{
    0%{ opacity:0; }
    100% { opacity:1; }
}
/* --------------------------------------------------------------------------- */
#canvas {
    position: absolute;
    background-size: 100%;
    opacity: 0;
    transition: 1s;
    animation: show 2s 1;
    animation-fill-mode: forwards;
}
.game {
    position: relative;
    background: linear-gradient(20deg, #cfecd0, #a0cea7, #9ec0db);
}
.timer {
    position: absolute;
    top: 10px;
    left: 1160px;
    margin: auto;
    user-select: none;
    pointer-events: none;
}
.timerForm--input {
    font-size: 20pt;
    letter-spacing: 5px;
    font-family: Snell Roundhand, cursive;
    padding: 0 20px;
    width: 150px;
    border: none;
    border-radius: 15px;
    background: linear-gradient(45deg, #1533dda4, #ca7e97, #e2d985);
    color: white;
}
.hello {
    position: absolute;
    top: 20px;
    left: 485px;
    font-size: 30pt;
    font-weight: bold;
    font-family: Snell Roundhand, cursive;
    letter-spacing: 1px;
    color: rgb(175, 57, 159);
    user-select: none;
    pointer-events: none;
}
.puzzle {
    position: absolute;
    width: 700px;
    height: 400px;
    top: 105px;
    left: 360px;
    background-color: ivory;
    user-select: none;
}
.baseImage {
    position: absolute;
    width: 100%;
    height: 100%;
    opacity: 0;
    user-select: none;
    pointer-events: none;
}
.miniImg {
    position: absolute;
    border: 7px outset rgb(181, 144, 202);
    width: 355px;
    height: 200px;
    top: 0px;
    left: 530px;
    user-select: none;
    pointer-events: none;
}
.miniImg--img {
    width: 100%;
    height: 100%;
}
.draggable {
    background-size: 700px 400px;
    transition: width 2s;
    width: 140px;
    height: 100px;
}
.droppable {
    width: 140px;
    height: 100px;
}
.buttonStartDiv {
    position: absolute;
    left: 740px;
    top: 550px;
}
.buttonStart {
    font-size: 14pt;
    width: 250px;
    height: 45px;
    cursor: pointer;
    font-family: Snell Roundhand, cursive;
    letter-spacing: 3px;
    border-radius: 20px;
    font-weight: bold;
    background: linear-gradient(45deg, #1533dda4, #ca7e97, #e2d985);
    color: honeydew;
}
.button {
    transition: box-shadow 300ms ease-in-out, color 300ms ease-in-out;
}
.button:hover {
    color: ivory;
    outline: 0;
    box-shadow: 0 0 40px 40px #be11a2 inset;
}
.buttonHelpDiv {
    position: absolute;
    left: 610px;
    top: 670px;
}
.buttonHelp {
    font-size: 14pt;
    width: 200px;
    height: 40px;
    cursor: pointer;
    font-family: Snell Roundhand, cursive;
    letter-spacing: 2px;
    border-radius: 20px;
    font-weight: bold;
    background: linear-gradient(45deg, #1533dda4, #ca7e97, #e2d985);
    color: honeydew;
}
.buttonNextImgDiv {
    position: absolute;
    left: 435px;
    top: 550px;
}
.buttonNextImg {
    font-size: 14pt;
    width: 270px;
    height: 45px;
    cursor: pointer;
    font-family: Snell Roundhand, cursive;
    letter-spacing: 3px;
    border-radius: 20px;
    font-weight: bold;
    background: linear-gradient(45deg, #1533dda4, #ca7e97, #e2d985);
    color: honeydew;
}
.puzzled {
    position: absolute;
    top: 0;
    left: 0;
    width: 100px;
    height: 100px;
}
.youWin {
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    margin: auto;
    font-size: 30pt;
    font-weight: bold;
    width: 350px;
    height: 180px;
    text-align: center;
    border-radius: 10px;
    padding: 15px 30px;
    font-family: Snell Roundhand, cursive;
    background: linear-gradient(45deg, #1533dda4, #ca7e97, #e2d985);
    color: honeydew;
    letter-spacing: 5px;
}
.buttonWinDiv {
    position: absolute;
    right: 0;
    left: 0;
    top: 130px;
}
.buttonWin {
    font-size: 16pt;
    font-weight: bold;
    padding: 10px;
    cursor: pointer;
    font-family: Snell Roundhand, cursive;
    background: linear-gradient(45deg, #1533dda4, #ca7e97, #e2d985);
    color: honeydew;
    letter-spacing: 2px;
    border-radius: 7px;
}
.buttonLoadDiv {
    position: absolute;
    left: 530px;
    top: 615px;
}
.buttonLoadStyle {
    width: 370px;
    height: 45px;
    font-size: 14pt;
    font-weight: bold;
    letter-spacing: 3px;
    font-family: Snell Roundhand, cursive;
    background: linear-gradient(45deg, #1533dda4, #ca7e97, #e2d985);
    border-radius: 20px;
    color: honeydew;
    cursor: pointer;
}
.buttonLoad[type="file"] {
    display: none;
}
.developer {
    position: absolute;
    font-size: 17px;
    font-family: cursive;
    letter-spacing: 1px;
    background-color: #666666;
    -webkit-background-clip: text;
    -moz-background-clip: text;
    background-clip: text;
    color: transparent;
    text-shadow: rgba(255,255,255,0.5) 0px 3px 3px;
    user-select: none;
}
.part--1 {
    position: absolute;
    background-position: 0 0;
    top: 0;
    left: 0;
}
.part--2 {
    position: absolute;
    background-position: -140px 0;
    top: 0;
    left: 20%;
}
.part--3 {
    position: absolute;
    background-position: -280px 0;
    top: 0;
    left: 40%;
}
.part--4 {
    position: absolute;
    background-position: -420px 0;
    top: 0;
    left: 60%;
}
.part--5 {
    position: absolute;
    background-position: -560px 0;
    top: 0;
    left: 80%;
}
.part--6 {
    position: absolute;
    background-position: 0 -100px;
    top: 25%;
    left: 0;
}
.part--7 {
    position: absolute;
    background-position: -140px -100px;
    top: 25%;
    left: 20%;
}
.part--8 {
    position: absolute;
    background-position: -280px -100px;
    top: 25%;
    left: 40%;
}
.part--9 {
    position: absolute;
    background-position: -420px -100px;
    top: 25%;
    left: 60%;
}
.part--10 {
    position: absolute;
    background-position: -560px -100px;
    top: 25%;
    left: 80%;
}
.part--11 {
    position: absolute;
    background-position: 0 -200px;
    top: 50%;
    left: 0;
}
.part--12 {
    position: absolute;
    background-position: -140px -200px;
    top: 50%;
    left: 20%;
}
.part--13 {
    position: absolute;
    background-position: -280px -200px;
    top: 50%;
    left: 40%;
}
.part--14 {
    position: absolute;
    background-position: -420px -200px;
    top: 50%;
    left: 60%;
}
.part--15 {
    position: absolute;
    background-position: -560px -200px;
    top: 50%;
    left: 80%;
}
.part--16 {
    position: absolute;
    background-position: 0 -300px;
    top: 75%;
    left: 0;
}
.part--17 {
    position: absolute;
    background-position: -140px -300px;
    top: 75%;
    left: 20%;
}
.part--18 {
    position: absolute;
    background-position: -280px -300px;
    top: 75%;
    left: 40%;
}
.part--19 {
    position: absolute;
    background-position: -420px -300px;
    top: 75%;
    left: 60%;
}
.part--20 {
    position: absolute;
    background-position: -560px -300px;
    top: 75%;
    left: 80%;
}
