@import url('https://fonts.googleapis.com/css2?family=Bellota:wght@400;700&display=swap');
.book-by-change {
    margin: 0 auto;
    width: 300px;
    /*height: 400px;*/
    /*border: 1px solid black;*/
    position: relative;
}

.top-half {
    position: relative;
    width: 100%;
    margin-top: 20px;
}

.bottom-half {
    width: 100%;
    position: relative;
    height: 150px;
}


/*-----  REZALT  -----*/

.line {
    margin: 10px auto;
    width: 40%;
    height: 6px;
    background: rgba(0, 0, 0, 0.3);
    /*background: repeating-linear-gradient(90deg, #000, #000 40%, rgba(0, 0, 0, 0.3) 40%, rgba(0, 0, 0, 0.3) 60%);*/
}


/*----  COIN  -----*/

.coin-left {
    margin-top: 0;
    margin-left: 40px;
}

.coin-center {
    margin: 0 auto;
}

.coin-right {
    margin-top: 0;
    margin-left: 240px;
}

.coin {
    background: -webkit-linear-gradient(to top, rgba(0, 0, 0, 0.9), rgba(0, 0, 0, 0.1));
    /* Safari 5.1 - 6.0 */
    background: -o-linear-gradient(to top, rgba(0, 0, 0, 0.9), rgba(0, 0, 0, 0.1));
    /* Opera 11.1-12.0 */
    background: -moz-linear-gradient(to top, rgba(0, 0, 0, 0.9), rgba(0, 0, 0, 0.1));
    /* Firefox 3.6-15 */
    background: linear-gradient(to top, rgba(0, 0, 0, 0.9), rgba(0, 0, 0, 0.1));
    /* Стандартный синтаксис */
    width: 10px;
    height: 50px;
    background-color: white;
    position: absolute;
    top: 5px;
    left: 0;
    right: 0;
    bottom: 0;
    -moz-transform: rotateY(90deg);
    -webkit-transform: rotateY(90deg);
    transform: rotateY(90deg);
    /*-webkit-animation: rotate 1s infinite linear;
  -moz-animation: rotate 1s infinite linear;*/
    /*animation: rotate 10s infinite linear;*/
    transform-style: preserve-3d;
}


/*.coin:hover {
	animation: rotate 1s infinite linear;
}*/

.coin .front,
.coin .front-backside {
    position: absolute;
    width: 50px;
    height: 50px;
    overflow: hidden;
    background: url(../img/dotted.png) 100% 100% no-repeat;
    -webkit-background-size: cover;
    background-size: cover;
    border-radius: 50%;
    text-align: center;
    color: black;
    backface-visibility: hidden;
    right: -15px;
    transform: rotateY(-90deg);
}

.coin .back,
.coin .back-backside {
    position: absolute;
    width: 50px;
    height: 50px;
    overflow: hidden;
    background: url(../img/solid.png) 100% 100% no-repeat;
    -webkit-background-size: cover;
    background-size: cover;
    border-radius: 50%;
    text-align: center;
    color: black;
    backface-visibility: hidden;
    left: -15px;
    transform: rotateY(90deg);
}

.coin .front-backside {
    /* Safari 5.1 - 6.0 */
    background: -webkit-linear-gradient(bottom, rgba(0, 0, 0, 0.9), rgba(0, 0, 0, 0.1));
    background: -o-linear-gradient(bottom, rgba(0, 0, 0, 0.9), rgba(0, 0, 0, 0.1));
    background: white linear-gradient(to top, rgba(0, 0, 0, 0.9), rgba(0, 0, 0, 0.1));
    /* Opera 11.1-12.0  /* Firefox 3.6-15 */
    /* Стандартный синтаксис */
    right: -16px;
    transform: rotateY(90deg);
}

.coin .back-backside {
    background: -webkit-linear-gradient(to top, rgba(0, 0, 0, 0.9), rgba(0, 0, 0, 0.1));
    /* Safari 5.1 - 6.0 */
    background: -o-linear-gradient(to top, rgba(0, 0, 0, 0.9), rgba(0, 0, 0, 0.1));
    /* Opera 11.1-12.0 */
    background: -moz-linear-gradient(to top, rgba(0, 0, 0, 0.9), rgba(0, 0, 0, 0.1));
    /* Firefox 3.6-15 */
    background: white linear-gradient(to top, rgba(0, 0, 0, 0.9), rgba(0, 0, 0, 0.1));
    /* Стандартный синтаксис */
    left: -16px;
    transform: rotateY(90deg);
}

@-webkit-keyframes rotate {
    100% {
        -webkit-transform: rotateY(450deg);
    }
}

@-moz-keyframes rotate {
    100% {
        -moz-transform: rotateY(450deg);
    }
}

@keyframes rotate {
    100% {
        transform: rotateY(450deg);
    }
}


/* BUTTONS */

button.start-button {
    position: relative;
    padding: 10px 20px;
    border-radius: 10px;
    background-color: #8bab32;
    border: 0;
    font-size: 14px;
    font-weight: 700;
    color: white;
    cursor: pointer;
    left: 50%;
    transform: translateX(-50%);
    top: 70px;
}

div.start-info-box {
    font-family: 'Bellota', cursive;
    border: 2px solid #000;
    border-radius: 10px;
    margin: 0 5px;
    padding: 0 5px;
    font-size: 1em;
}

div.start-info-box ol li {
    margin: 0 0 0 15px;
}

div.result {
    font-family: 'Bellota', cursive;
    border-right: 1px solid #ccc;
    border-left: 1px solid #ccc;
    margin: 0 5px;
    padding: 0 5px;
    font-size: 1.2em;
}

div.origin {
    position: relative;
    display: block;
    margin: 10px auto;
    font-family: "Josefin Sans", sans-serif;
    width: 270px;
    font-weight: 300;
    font-size: 0.7em;
    text-align: right;
}

div.origin span {
    display: block;
    font-family: 'Bellota', cursive;
    font-weight: 700;
    font-size: 1.2em;
    text-align: center;
}

div.result h2 {
    text-align: center;
}