﻿#canves #score-panel, html,
body {
    margin: 0;
    padding: 0;
}

html,
body {
    width: 100%;
    height: 100%;
}

*,
*:before,
*:after {
    box-sizing: border-box;
}

body {
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: hidden;
    background-color: antiquewhite;
}

#canves {
    width: 395px;
    height: 240px;
    display: flex;
    padding: 0;
    justify-content: center;
    align-items: flex-end;
    position: relative;
}

    #canves #score-panel {
        width: 180px;
        height: 53px;
        position: absolute;
        top: 0px;
        left: 50%;
        transform: translateX(-50%);
        font-size: 23px;
        text-align: center;
    }

        #canves #score-panel li {
            list-style: none;
            display: inline-block;
        }

            #canves #score-panel li:last-child {
                font-family: "Coda", cursive;
                display: block;
                font-size: 7px;
                line-height: 1;
            }

.restart {
    cursor: pointer;
    position: absolute;
    bottom: -60px;
    left: 50%;
    font-size: 21px;
    transform: translateX(-50%);
}

.tower {
    width: 115px;
    height: 117px;
    border-bottom: 5px solid crimson;
    border-radius: 7px;
    position: relative;
    text-align: center;
    padding: 0;
    margin: 0 25px 0 0;
    display: flex;
    flex-direction: column-reverse;
    align-items: center;
    cursor: pointer;
}

    .tower#tower-3 {
        margin: 0;
    }

    .tower:before {
        width: 4px;
        height: 116px;
        content: "";
        display: block;
        background: crimson;
        position: absolute;
        bottom: -2px;
        left: calc(50% - 2px);
        z-index: 10;
        border-radius: 30px;
    }

.disk {
    list-style: none;
    height: 16px;
    display: block;
    border-radius: 9px;
    font-size: 0;
    z-index: 20;
}

    .disk.hold {
        position: absolute;
        top: -50px;
        left: 50%;
        transform: translateX(-50%);
    }

.swal2-overlay {
    background-color: white;
}

.disk-1 {
    width: 17.5px;
    background-color: darkorange;
}

.disk-2 {
    width: 35px;
    background-color: cadetblue;
}

.disk-3 {
    width: 52.5px;
    background-color: #3f51b5;
}

.disk-4 {
    width: 70px;
    background-color: hotpink;
}

.disk-5 {
    width: 87.5px;
    background-color: green;
}

.disk-6 {
    width: 105px;
    background-color: #ffc107;
}

.disk-7 {
    width: 122.5px;
    background-color: brown;
}

.btn {
    margin-left: 129%;
    margin-bottom: 420px;
    width: 83px;
    height: 36px;
    font-size: 18px;
    font-family: cursive;
    cursor: pointer;
    color: white;
    background-color: rgb(139, 195, 74);
    border: 0;
    border-radius: 5px;
}

@media screen and (max-width: 1000px) {
    #canves {
        width: 340px;
        height: 240px;
        display: flex;
        padding: 0;
        justify-content: center;
        align-items: flex-end;
        position: relative;
    }
}
