*{
    overflow: hidden;
    font-family: 'Poppins', sans-serif;
    box-sizing: border-box;
}

#title{
    font-size: 3rem;
    animation: color-change 1s infinite ease-in-out, entryAnim 1.5s 1 ease-out;
    font-weight: 650;
}

html, body{
    height: 100%;
    width: 100%;
    margin-top: 0;
    margin-bottom: 0;
    margin-left: 0;
    margin-right: 0;
}

#dealer-cards, #dealer-cards-msg, #dealer-sum, #dealer-sum-msg{
    margin-left: 0;
    color: rgb(160, 0, 0);
}

p{
    animation: entryAnim 1.5s 1 ease-out;
    font-size: 1.3rem;
    margin: 0;
    display: inline-block;
    margin-left: 10px;
    margin-right: 10px;
    overflow: visible;
}

@keyframes entryAnim{
    0%{opacity: 0}
    1%{transform: translateY(-10px)}
    100%{opacity: 1}
}

button{
    overflow: visible;
}

.big-container{
    background-color: black; 
    display: flex;
    min-height: 100%;
    min-width: 100%;
    justify-content: center;
    align-items: center;
}

:root{
    --main-radius: 10px;
    font-size: 2.5vh;
}

.title-container{
    display: flex;
    justify-content: center;
    position: absolute;
    min-width: 75%;
    min-height: 80%;
    background: linear-gradient(to right, rgb(255, 0, 179), rgb(110, 0, 138));
    border-radius: var(--main-radius);
}

.border-for-gradient{
    position: absolute;
    display: flex;
    justify-content: center;
    background-color: black;
    height: 99%;
    width: 99%;
    align-self: center;
    border-radius: var(--main-radius);
}

#title-holder{
    display: flex;
    align-items: center;
    height: 15%;
    margin-top: 5%;
    margin-bottom: 5%;
}

.main-text{
    overflow: visible;
    text-align: center;
    position: absolute;
    font-weight: 500;
    margin-top: 10%;
    height: 65%;
    min-width: 50%;
    align-self: center;
    background: none;
    color:rgb(124, 0, 114)
}

#message{
    font-style: italic;
    color:rgb(255, 0, 179);
}

#draw{
    transition: font-size .3s;
    font-size: 1em;
    font-weight: 550;
    border: solid 2px rgb(255, 94, 0);
    border-radius: 3px;
    background: none;
    color: rgb(255, 94, 0);
}

#stick{
    transition: font-size .3s;
    font-size: 1em;
    font-weight: 550;
    border: solid 2px rgb(0, 252, 21);
    border-radius: 3px;
    background: none;
    color: rgb(0, 252, 21);
}

#start{
    transition: font-size .3s;
    font-size: 1.2em;
    font-weight: 550;
    border: solid 2px rgb(255, 0, 179);
    box-shadow: 0px 0px 3px red;
    border-radius: 3px;
    background: none;
    color: rgb(255, 0, 179);
}

#reset{
    transition: font-size .3s;
    font-size: 1em;
    font-weight: 550;
    border: solid 2px red;
    border-radius: 3px;
    background: none;
    color: red;
}

#start:hover{
    font-size: 1.3em;
}

#draw:hover{
    font-size: 1.1em;
}

#stick:hover{
    font-size: 1.1em;
}

#reset:hover{
    font-size: 1.1em;
}

#start:active{
    transform: translateY(5px);
}

#draw:active{
    transform: translateY(5px);
}

#stick:active{
    transform: translateY(5px);
}

#reset:active{
    transform: translateY(5px);
}

@keyframes color-change{
    0%{color: purple}
    50%{color: rgb(255, 0, 255)}
    100%{color: purple;}
}

@keyframes glow{
    50%{text-shadow: 0px 0px 3px purple;}
}


@media all and (max-width: 414px){
    p{
        font-size: 20px;
    }
    button{
        font-size: 20px;
    }
    #title{
        font-size: 45px;
    }
    #start:hover{
        font-size: 1.2em;
    }
    
    #draw:hover{
        font-size: 1em;
    }
    
    #stick:hover{
        font-size: 1em;
    }
    
    #reset:hover{
        font-size: 1em;
    }
}
