@import url('https://fonts.googleapis.com/css2?family=Roboto+Slab:wght@300;400;500&display=swap');

body{margin: 0; padding: 0;
    font-family: 'Roboto Slab', serif;

    overflow: hidden;

    user-select: none;
    -moz-user-select: none;
    -khtml-user-select: none;
    -webkit-user-select: none;
    -o-user-select: none;

	background: linear-gradient(-45deg, #ee7752, #e73c7e, #23a6d5, #23d5ab);
	background-size: 400% 400%;
	animation: gradient 30s ease infinite;
	height: 100vh;
}

@keyframes gradient {
	0% {
		background-position: 0% 50%;
	}
	50% {
		background-position: 100% 50%;
	}
	100% {
		background-position: 0% 50%;
	}
}


.pat{
    position: absolute;
    top: 0;
    left: 0;
    z-index: -3;
    height: 100%;
    width: 100%;
}

.cont{
    position: fixed;
    bottom: -20rem;
    left: 50%;
    transform: translateX(-50%);
    height: auto;
    border-radius: 2.9rem;
    background-color: #ffffff33;
    color: rgba(0,0,0,0.8);
    backdrop-filter: blur(10px);
    background-blend-mode: overlay;
    box-shadow: 0 10px 15px rgb(0 0 0 / 20%);
    transition-duration: 1000ms;
    display:flex;
    flex-wrap: wrap;
    width: min-content;
}

#restartcont{
    bottom: -15rem;
}
#cont{
    bottom: -22rem;
}
#startcont{
    bottom: 3rem;
}


.NameContainer{
    height: 5rem;
    width: 26rem;
    margin: 1rem 1rem 0rem 1rem;

    border-radius: 2rem 2rem 1rem 1rem;
    background-color: #ffffff51;
    box-shadow: 0 10px 15px rgb(0 0 0 / 20%);
    backdrop-filter: blur(30px);
    background-blend-mode: overlay;
    max-width: calc(100vw - 7rem);
    display: flex;
    flex-direction: column;
}
.EnterNameSpan{
    height: 2rem;
    margin: auto;
    line-height: 2rem;
    font-size: min(3vw, 1rem)
}
.NameInput{
    height: 3rem;
    margin: 0.2rem;
    border-radius: 0.8rem ;
    border: 0;
    background-color: white;
    font-size: 2rem;
    border: none;
    outline: none;
    text-align: center;
}

.selectionContainer{
    height: 4rem;
    margin: 1rem 1rem 0rem 1rem;
    background-color: #ffffff51;
    box-shadow: 0 10px 15px rgb(0 0 0 / 20%);
    backdrop-filter: blur(30px);
    background-blend-mode: overlay;
    border-radius: 1rem;
    overflow: hidden;
}
.selectBar{
    position: absolute;
    top: 0;
    height: 4rem;
    width: 50%;
    background-color: #ffffff;
    z-index: -1;
    transition-duration: 200ms;
    border-radius: 0 1rem 1rem 0;
}
.numbOfQuestions{
    position: absolute;
    top: 0;
    height: 4rem;
    width: 100%;
    z-index: -1;
    left: 0;
    text-align: center;
    line-height: 4rem;
    font-size: 1.3rem;
}
.inp{
    margin: 0;
    width: 26rem;
    max-width: calc(100vw - 7rem);
    height: 4rem;
    cursor: ew-resize;
    opacity: 0%;
}

.topper{
    position: fixed;
    left: 50%;
    transform: translateX(-50%);
    top: -10rem;
    height: auto;
    width: auto;
    border-radius: 2rem;
    background-color: #ffffff33;
    box-shadow: 0 10px 15px rgb(0 0 0 / 20%);
    backdrop-filter: blur(10px);
    background-blend-mode: overlay;
    box-shadow: 0 10px 15px rgb(0 0 0 / 20%);
    transition-duration: 1000ms;
}
.progb{
    margin: 1rem;
    background-color: #ffffff51;
    padding: 0.5rem;
    border-radius: 999px;
    box-shadow: 0 10px 15px rgb(0 0 0 / 20%);
    width: 26rem;
    max-width: calc(100vw - 7rem);
    color: rgba(0,0,0,0.8);
    backdrop-filter: blur(30px);
    background-blend-mode: overlay;
    font-size: 1rem;
    font-weight: 450;
    text-align: center;
}

.question{
    position: absolute;
    top: 0;
    height: calc(100% - 12rem);
    width: calc(100% - 6rem);
    margin-left: 3rem;
    margin: 0 3rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    z-index: -1;
    transform: scale(1);
    transition-duration: 1000ms;
}
.sp{
    color: white;
    font-size: min(5vw, 3rem);
    font-weight: 450;
    text-align: center;
    text-shadow: 0 0 10px rgb(0, 0, 0);
}
.htxt{
    color: black;
    font-size: min(4vw, 1.5rem);
    margin-top: 1rem;
    font-weight: 350;
    text-align: center;
    text-shadow: 0 0 6px rgb(255, 255, 255);
}

.bhand{
    margin: 1rem;
    width: 18rem;
    height: 4rem;
    max-width: calc(100vw - 7rem);
}
.butn {
    height: 4rem;
    background-color: #ffffff51;
    box-shadow: 0 10px 15px rgb(0 0 0 / 20%);
    backdrop-filter: blur(30px);
    background-blend-mode: overlay;
    transition-duration: 200ms;
    display: flex;
    justify-content: center;
    align-items: center;
}
.spb{
    color: rgba(0,0,0,0.8);
    font-size: 1.5rem;
    font-weight: 500;
    text-align: center;
}
.bhand:hover .butn{
    cursor: pointer;
    transform: scale(1.05);
}
.bhand:active .butn{
    cursor: pointer;
    transform: scale(0.9);
}
    
.a{
    border-radius: 2rem 1rem 0.75rem 1rem;
}
.b{
    border-radius: 1rem 2rem 1rem 0.75rem;
}
.c{
    border-radius: 1rem 0.75rem 1rem 2rem;
}
.d{
    border-radius: 0.75rem  1rem 2rem 1rem;
}
.s{
    border-radius: 1rem 1rem 2rem 2rem;
}
.r{
    border-radius: 2rem;
}

#a{
    margin: 1rem 0.5rem 0rem 1rem;
}
#b{
    margin: 1rem 1rem 0rem 0.5rem;
}
#e{
    margin: 1rem 0.5rem 1rem 1rem;
}
#c{
    margin: 1rem 0.5rem 1rem 0.5rem;
}
#start, #restart{
    width: 26rem;
}

.bigr{
    width: 39rem;
}
@media screen and (max-width: 43rem) {

    .bhand{
        width: 32rem;
    }
    .bigr{
        width: min-content;
    }
    .a{
        border-radius: 2rem 2rem 1rem 1rem;
    }
    .b{
        border-radius: 1rem;
    }
    .c{
        border-radius: 1rem;
    }
    .d{
        border-radius: 1rem 1rem 2rem 2rem;
    }

    
    #a{
        margin: 1rem 1rem 0rem 1rem;
    }
    #b{
        margin: 1rem 1rem 0rem 1rem;
    }
    #e{
        margin: 1rem 1rem 0rem 1rem;
    }
    #c{
        margin: 1rem 1rem 1rem 1rem;
    }
    
}
