* {
    box-sizing: border-box;
}

body {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    text-align: center;
    /* background-image: linear-gradient(45deg, #c2c2c2 25%, #e6e6e6 25%, #e6e6e6 50%, #c2c2c2 50%, #c2c2c2 75%, #e6e6e6 75%, #e6e6e6 100%); */
    background-image: url(../../assets/gimg/ludo-wallpaper2.jpg);
    /* background-size: 56.57px 56.57px; */
    background-repeat: no-repeat;
    object-fit: cover;
    background-size: cover;
    background-position: center;
}


h1 {
    width: 200vh;
    font-size: 6vh;
    font-family: 'Titillium Web', sans-serif;
    font-weight: bold;
    background-color: rgba(255, 255, 255, 0.6);


    text-shadow: 0 1px 0 hsl(174, 5%, 80%),
        0 2px 0 hsl(174, 5%, 75%),
        0 3px 0 hsl(174, 5%, 70%),
        0 4px 0 hsl(174, 5%, 66%),
        0 5px 0 hsl(174, 5%, 64%),
        0 6px 0 hsl(174, 5%, 62%),
        0 7px 0 hsl(174, 5%, 61%),
        0 8px 0 hsl(174, 5%, 60%),

        0 0 5px rgba(0, 0, 0, .05),
        0 1px 3px rgba(0, 0, 0, .2),
        0 3px 5px rgba(0, 0, 0, .2),
        0 5px 10px rgba(0, 0, 0, .2),
        0 10px 10px rgba(0, 0, 0, .2),
        0 20px 20px rgba(0, 0, 0, .3);
}

.contain {
    display: flex;
    gap: 10vh;
    align-items: center;
}

.main-container {
    height: auto;
    width: auto;
    border: 3px solid black;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    background-color: #EEEEEE;
}

.homeA {
    height: 30vh;
    width: 30vh;
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: #FF1818;
}

.col {
    height: 30vh;
    width: 18vh;
    border: 1px solid black;
    display: flex;
}

.col>img {
    position: absolute;
    height: 6vh;
    width: 6vh;
    margin: 1% 0 0 1.5%;
}

.col-two>img {
    position: absolute;
    height: 6vh;
    width: 6vh;
    margin: 1%;
    transform: rotate(180deg);
}

.row-one>img {
    position: absolute;
    height: 6vh;
    width: 6vh;
    margin: 1.7% 0 0 1%;
    transform: rotate(90deg);
}

.row-two>img {
    position: absolute;
    height: 6vh;
    width: 6vh;
    margin-top: 1%;
    margin-left: 1%;
    transform: rotate(-90deg);
}

.col-one,
.col-two,
.col-third {
    display: flex;
    justify-content: center;
    align-items: center;
}

i {
    font-size: 4vh;
}

.first {
    width: 6vh;
    border: 1px solid black;
}

.col-one {
    height: 5vh;
    width: auto;
    border: 1px solid black;
}

.winyellow {
    width: 6vh;
    border: 1px solid black;
    background-color: #F6F54D;
}

.wingreen {
    width: 6vh;
    border: 1px solid black;
    background-color: #019267;
}

.col-two {
    height: 5vh;
    width: auto;
    border: 1px solid black;
}

.second {
    width: 6vh;
    border: 1px solid black;
}

.col-third {
    height: 5vh;
    width: auto;
    border: 1px solid black;
}

.sizing {
    display: flex;
}

.homeB {
    height: 30vh;
    width: 30vh;
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: #F6F54D;
}

.row {
    height: 18vh;
    width: 30vh;
    border: 1px solid black;
    display: flex;
    flex-direction: column;
}

.row-one,
.row-two,
.row-third {
    display: flex;
    justify-content: center;
    align-items: center;
}

.four {
    height: 6vh;
    width: auto;
    border: 1px solid black;
    display: flex;
}

.row-one {
    height: 6h;
    width: 5vh;
    border: 1px solid black;
}

.winred {
    height: 6vh;
    width: auto;
    background-color: #FF1818;
    border: 1px solid black;
    display: flex;
}

.winblue {
    height: 6vh;
    width: auto;
    background-color: #516BEB;
    border: 1px solid black;
    display: flex;
}

.row-two {
    height: 6vh;
    width: 5vh;
    border: 1px solid black;
}

.six {
    height: 6vh;
    width: auto;
    border: 1px solid black;
    display: flex;
}

.row-third {
    height: 6vh;
    width: 5vh;
    border: 1px solid black;
}

.winnerBox {
    height: 18vh;
    width: 18vh;
    background-color: antiquewhite;
    border-top: 9vh solid #F6F54D;
    border-bottom: 9vh solid #019267;
    border-left: 9vh solid #FF1818;
    border-right: 9vh solid #516BEB;
    display: flex;
    justify-content: center;
    align-items: center;
}

.winnerBox>i {
    position: absolute;
    color: white;
    font-size: 5vh;
    background-color: black;
    border-radius: 5px;
    padding: 5px;
}

.homeC {
    height: 30vh;
    width: 30vh;
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: #019267;
}

.homeD {
    height: 30vh;
    width: 30vh;
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: #516BEB;
}

.circle {
    height: 25vh;
    width: 25vh;
    background-color: burlywood;
    border-radius: 100%;
    padding: 1vh;
    display: flex;
    justify-content: center;
    flex-direction: row;
    align-items: center;
}

.innercircle {
    height: 5vh;
    width: 5vh;
    margin: 3vh;
    display: flex;
    justify-content: center;
    align-items: center;
    background-image: url("https://i.postimg.cc/wjSQg5n2/alien.jpg");
    background-repeat: round;
    border: 1px solid black;
}

button {
    position: absolute;
    width: 4vh;
    height: 4vh;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 3vh;
    cursor: pointer;
    font-family: 'Titillium Web', sans-serif;
    border: none;
    color: white;
    border-radius: 100%;
}

.btnzoom {
    animation: 0.5s linear btnzoom;
    animation-iteration-count: infinite;
}

@keyframes btnzoom {
    0% {
        height: 4vh;
        width: 4vh;
    }

    50% {
        height: 4.5vh;
        width: 4.5vh;
    }

    100% {
        height: 4vh;
        width: 4vh;
    }
}

.red1 {
    animation: 0.5s linear red1;
    animation-iteration-count: 1;
}

@keyframes red1 {
    0% {
        height: 4vh;
        width: 4vh;
    }

    100% {
        height: 4vh;
        width: 4vh;
    }
}

#roll {
    height: 8vh;
    width: 20vh;
    font-size: 3vh;
    cursor: pointer;
    border-radius: 5px;
    background-color: black;
    color: white;
}

.red {
    background-color: #B20600;
}

.yellow {
    background-color: #FFD124;
}

.blue {
    background-color: blue;
}

.green {
    background-color: green;
}

.cp-text {
    color: rgba(0, 0, 0, .7);
    text-shadow: 0 1px rgba(255, 255, 255, 0.1);
}

.zoom {
    animation: 0.5s linear zoom;
    animation-iteration-count: infinite;
}

@keyframes zoom {
    0% {
        height: 25vh;
        width: 25vh;
    }

    50% {
        height: 27vh;
        width: 27vh;
    }

    100% {
        height: 25vh;
        width: 25vh;
    }
}

.control-dice {
    height: 33vh;
    width: 30vh;
    padding: 2vh;
    border-radius: 5px;
    background-color: #1C658C;
    border: 1px solid black;
}

.diceImage {
    height: 25vh;
    width: 25vh;
    margin-bottom: 2vh;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: xx-large;
    font-family: 'Titillium Web', sans-serif;
    background-color: white;
    border-radius: 5px;
    background-size: contain;
    border: 5px solid red;
}


input[value="Start Game"] {
    background-color: green !important;
}

input[value="yellow's turn"] {
    background-color: yellow !important;
    color: black !important;
}

input[value="blue's turn"] {
    background-color: blue !important;
    /* color: black !important; */
}

input[value="green's turn"] {
    background-color: rgb(57, 141, 57) !important;
    /* color: black !important; */
}

input[value="red's turn"] {
    background-color: red !important;
    /* color: black !important; */
}

/* new button */


#roll {
    font-family: "Helvetica", "Arial", sans-serif;
    display: inline-block;
    font-size: 1em;
    padding: 1em 2em;
    margin-top: 100px;
    margin-bottom: 60px;
    -webkit-appearance: none;
    appearance: none;
    background-color: #ff0081;
    color: #fff;
    border-radius: 4px;
    border: none;
    cursor: pointer;
    position: relative;
    transition: transform ease-in 0.1s, box-shadow ease-in 0.25s;
    box-shadow: 0 2px 25px rgba(255, 0, 130, 0.5);
}

#roll:focus {
    outline: 0;
}

#roll:before,
#roll:after {
    position: absolute;
    content: "";
    display: block;
    width: 140%;
    height: 100%;
    left: -20%;
    z-index: -1000;
    transition: all ease-in-out 0.5s;
    background-repeat: no-repeat;
}

#roll:before {
    display: none;
    top: -75%;
    background-image: radial-gradient(circle, #ff0081 20%, transparent 20%), radial-gradient(circle, transparent 20%, #ff0081 20%, transparent 30%), radial-gradient(circle, #ff0081 20%, transparent 20%), radial-gradient(circle, #ff0081 20%, transparent 20%), radial-gradient(circle, transparent 10%, #ff0081 15%, transparent 20%), radial-gradient(circle, #ff0081 20%, transparent 20%), radial-gradient(circle, #ff0081 20%, transparent 20%), radial-gradient(circle, #ff0081 20%, transparent 20%), radial-gradient(circle, #ff0081 20%, transparent 20%);
    background-size: 10% 10%, 20% 20%, 15% 15%, 20% 20%, 18% 18%, 10% 10%, 15% 15%, 10% 10%, 18% 18%;
}

#roll:after {
    display: none;
    bottom: -75%;
    background-image: radial-gradient(circle, #ff0081 20%, transparent 20%), radial-gradient(circle, #ff0081 20%, transparent 20%), radial-gradient(circle, transparent 10%, #ff0081 15%, transparent 20%), radial-gradient(circle, #ff0081 20%, transparent 20%), radial-gradient(circle, #ff0081 20%, transparent 20%), radial-gradient(circle, #ff0081 20%, transparent 20%), radial-gradient(circle, #ff0081 20%, transparent 20%);
    background-size: 15% 15%, 20% 20%, 18% 18%, 20% 20%, 15% 15%, 10% 10%, 20% 20%;
}

#roll:active {
    transform: scale(0.9);
    background-color: #e60074;
    box-shadow: 0 2px 25px rgba(255, 0, 130, 0.2);
}

#roll.animate:before {
    display: block;
    animation: topBubbles ease-in-out 0.75s forwards;
}

#roll.animate:after {
    display: block;
    animation: bottomBubbles ease-in-out 0.75s forwards;
}

@keyframes topBubbles {
    0% {
        background-position: 5% 90%, 10% 90%, 10% 90%, 15% 90%, 25% 90%, 25% 90%, 40% 90%, 55% 90%, 70% 90%;
    }

    50% {
        background-position: 0% 80%, 0% 20%, 10% 40%, 20% 0%, 30% 30%, 22% 50%, 50% 50%, 65% 20%, 90% 30%;
    }

    100% {
        background-position: 0% 70%, 0% 10%, 10% 30%, 20% -10%, 30% 20%, 22% 40%, 50% 40%, 65% 10%, 90% 20%;
        background-size: 0% 0%, 0% 0%, 0% 0%, 0% 0%, 0% 0%, 0% 0%;
    }
}

@keyframes bottomBubbles {
    0% {
        background-position: 10% -10%, 30% 10%, 55% -10%, 70% -10%, 85% -10%, 70% -10%, 70% 0%;
    }

    50% {
        background-position: 0% 80%, 20% 80%, 45% 60%, 60% 100%, 75% 70%, 95% 60%, 105% 0%;
    }

    100% {
        background-position: 0% 90%, 20% 90%, 45% 70%, 60% 110%, 75% 80%, 95% 70%, 110% 10%;
        background-size: 0% 0%, 0% 0%, 0% 0%, 0% 0%, 0% 0%, 0% 0%;
    }
}

@media screen and (max-width:480px) and (min-width:360px) {
    .contain {
        flex-direction: column;
    }

    h1 {
        width: 100%;
        font-size: 2vh;
        padding-bottom: 20px;
    }
}