@import url('https://fonts.googleapis.com/css2?family=Krub:wght@700&display=swap');

*{
    padding: 0;
    margin: 0;
    box-sizing: border-box;
    touch-action: manipulation;
}
body{
    background-image: url("../images/Confettis-background.png");
    background-color: #70358B;
    background-size: cover;
    font-family: "Krub";
    font-weight: 700;
}

.title-container {
    text-align: center;
}

.title-container img{
  width: 200px;
}

footer{
    display: flex;
    justify-content: space-between;
    padding:15px;
    position: relative;
}

.vertical-center {
    margin: 0;
    position: absolute;
    top: 50%;
    -ms-transform: translateY(-50%);
    transform: translateY(-50%);
}

footer .left-footer img{
    background: white;
    border-radius: 50%;
    box-shadow: 0px 2px 7px;
    width: 100px;
    height: 100px;
}
footer .middle-footer{
    font-size: 20px;
    color: white;
    width: 250px;
    position: relative;
}
footer .right-footer .more-info{
    border: 5px solid black;
    padding: 5px;
    border-radius: 30px;
    width: 150px;
    text-align: center;
    text-transform: uppercase;
    font-style: italic;
}
footer .right-footer .more-info a {
    color: black;
    text-decoration: none;
    font-size: 20px;
    font-weight: 600;
}

/* spinner */
pandor-spinner {
    width: 100%;
    display: block;
    margin: auto;
}

.container{
    display: flex;
    justify-content: center;
    align-items: center;
    background: #fff;
    box-shadow: 0px 0px 10px black;
    border-radius: 50%;
    z-index: 50;
    display: flex;
    position: relative;
    margin-left: 15px;
    margin-right: 15px;
}
@media screen and (min-width: 500px)
{
    body {
        background-size: contain;
    }
    .container {
        width: 500px;
        margin: auto;
    }
}
.container-button {
    border-radius: 50%;
    width: 20%;
    height: 20%;
    z-index: 10;
    display: flex;
    justify-content: center;
    align-items: center;
    border: 0;
    box-shadow: 0px 0px 12px black;
    position: absolute;
    background-color: white;
}

.container-button button {
    border-radius: 50%;
    width: 75%;
    height: 75%;
    z-index: 10;
    display: flex;
    justify-content: center;
    align-items: center;
    border: 0;
    box-shadow: 0px 0px 10px black;
    position: absolute;
    background-color: #fcc014;
    background-image: url("../images/Bouton-Play.png");
    background-size: contain;
    cursor: grab;
}
.container-button button:active {
    box-shadow: 0px 0px 5px black;
	position: absolute;
	top: 1em;
    left: 13px;
}

.container button img{
    width: 70px;
}

.container button#btn-start .container-btn{

    width: 80px;
    height: 80px;
    background-color: #93C022;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    box-shadow: 0px 0px 5px orange;
}
section.timer-place{
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: 20px;
    margin-bottom: 20px;
} 
section.question-place{
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: 20px;
    margin-bottom: 20px;
    font-size: 22px; 
    text-shadow: 0px 0px 21px black, 0px 0px 5px black;

}
section.timer-place .header-timer{
    border-left: 5px solid white;
    border-top: 5px solid white;
    border-right: 5px solid white;
    border-radius: 10px 10px 0px 0px;
    padding: 5px;
    max-width: 200px;
    margin: auto;
    text-align: center;
}
section.timer-place .header-timer p{
    color: #fff;
    font-size: 30px;
    text-transform: uppercase;
    font-weight: 700;
}
section.timer-place .count-container{
    background-color: #fff;
    text-align: center;
    width: 250px;
    border-radius: 30px;
    box-shadow: 0px 0px 5px black;
    padding: 10px;
}
 section.question-place .container-question{
    color: #FFF;
    text-align: center;
    width: 250px;
    box-shadow: 0px 0px 10px black, 2px 0 0 black, -2px 0 0 black, 0 2px 0 black, 0 -2px 0 black;
    padding: 10px;
    border-radius: 20px;
}
section.timer-place .count-container #defTimer{
     display: flex;
     justify-content: space-around;
   
}
section.timer-place .count-container #count{
    color: #70358B;
    border: 5px solid #70358B;
    border-radius: 10px;
    font-size: 30px;
    font-weight: bold;
    margin-bottom: 20px;
    width: 80%;
    margin: auto;
}
section.timer-place .count-container #defTimer button {
    padding: 10px 10px;
    margin-top: 20px;
    cursor: grab;
    font-family: "Krub";
}
div.arrow{
    position: absolute;
    right: 0px;
    -webkit-clip-path: polygon(50% 0%, 0% 100%, 100% 100%);
    clip-path: polygon(50% 0%, 0% 100%, 100% 100%);
    width: 25px;
    height: 25px;
    background: black;
    box-shadow: 0 .5em gray; 
    transform: rotate(-90deg);
    box-shadow: 5px 5px 5px white;
}
.start-btn{
    text-align: center;
	display: inline-block;
	margin:5px;
    font-weight: bold;
    padding: 10px 0 10px 10px ;
    -webkit-border-radius: 7px;
	-moz-border-radius: 7px;
	-o-border-radius: 7px;
	border-radius: 7px;
    box-shadow: 0 .2em gray; 
    cursor: grab;
    border: 1px solid black;

}
pandor-timer button:disabled{
    background-color: grey !important;
    box-shadow: 0 .2em black !important; 
    color: white !important;
    cursor: not-allowed !important;
}
.start-btn:active {
	box-shadow: none !important;
	position: relative !important;
	top: .2em !important;
}
#question{
    font-family: "Krub";
    
}

#overlay {
    position: fixed; /* Sit on top of the page content */
    display: none; /* Hidden by default */
    width: 100%; /* Full width (cover the whole page) */
    height: 100%; /* Full height (cover the whole page) */
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(0,0,0,0.5); /* Black background with opacity */
    z-index: 20000; /* Specify a stack order in case you're using a different order for other elements */
    cursor: pointer; /* Add a pointer on hover */
}

#overlay-text{
    position: absolute;
    top: 50%;
    left: 50%;
    font-size: 15px;
    color: black;
    transform: translate(-50%,-50%);
    -ms-transform: translate(-50%,-50%);

    background-color: #fff;
    text-align: center;
    width: 250px;
    border-radius: 30px;
    box-shadow: 0px 0px 5px black;
    padding: 10px;
}

/* Animation CSS */ 

.tracking-in-expand{animation:tracking-in-expand .7s cubic-bezier(.215,.61,.355,1.000) both}
.tracking-out-contract{animation:tracking-out-contract .7s cubic-bezier(.55,.085,.68,.53) both}
.bounce-in-top{animation:bounce-in-top 1.1s both}
.slide-out-blurred-top{animation:slide-out-blurred-top .45s cubic-bezier(.755,.05,.855,.06) both}

@keyframes tracking-in-expand{0%{letter-spacing:-.5em;opacity:0}40%{opacity:.6}100%{opacity:1}}
@keyframes tracking-out-contract{0%{opacity:1}50%{opacity:1}100%{letter-spacing:-.5em;opacity:0}}
 @keyframes bounce-in-top{0%{transform:translateY(-500px);animation-timing-function:ease-in;opacity:0}38%{transform:translateY(0);animation-timing-function:ease-out;opacity:1}55%{transform:translateY(-65px);animation-timing-function:ease-in}72%{transform:translateY(0);animation-timing-function:ease-out}81%{transform:translateY(-28px);animation-timing-function:ease-in}90%{transform:translateY(0);animation-timing-function:ease-out}95%{transform:translateY(-8px);animation-timing-function:ease-in}100%{transform:translateY(0);animation-timing-function:ease-out}}
 @keyframes slide-out-blurred-top{0%{transform:translateY(0) scaleY(1) scaleX(1);transform-origin:50% 0;filter:blur(0);opacity:1}100%{transform:translateY(-1000px) scaleY(2) scaleX(.2);transform-origin:50% 0;filter:blur(40px);opacity:0}}

