@import url('https://fonts.googleapis.com/css?family=Lato:400,900');

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Roboto', sans-serif;
    font-size: 20px;
    display: flex;
    color: white;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.page-wrap {
    position: relative;
    background-color: #292b31;
    object-fit: cover;
    width: 100%;
    height: 100vh;
}

.header {
    margin: 0;
    padding: 0;
}

h2 {
    display: flex;
    align-items: center;
    justify-content: center;
    color: #7b8172;
    transition: all .8s cubic-bezier(0, 0, .23, 1);
    text-decoration: none;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-image: linear-gradient(90deg, #7b8172, #425339 50%, #7b8172 0);
    background-size: 200% 100%;
    background-position: 100%;
    font-size: 1.9rem;
    font-weight: 600;
    letter-spacing: 3px;
    position: absolute;
    width: 100%;
    height: 95px;
    flex-wrap: wrap;
    text-align: center;
}

h2:hover {
    background-position: 0;
    color: #2f432c;
    width: 100%;
    text-align: center;
}

.wrapper {
    position: absolute;
    top: 55%;
    left: 50%;
    transform: translate(-50%, -50%);
    padding: 20px;
    width: 640px;
    height: 644px;
    box-shadow: 25px 25px 75px #161a19,
    10px 10px 70px #161a19,
    inset 5px 5px 10px #161a19,
    inset 5px 5px 20px #161a19,
    inset -5px -5px 15px rgba(0, 0, 0, 0.75);
    backdrop-filter: blur(25px) saturate(148%);
    -webkit-backdrop-filter: blur(25px) saturate(148%);
    background-color: #435047;
    border-radius: 2px;
    border: 1px solid #161a19;
}

#particle-canvas {
    width: 100%; /* dots*/
    height: 500px;
}

.instructions-box {
    position: absolute;
    width: 300px;
    padding: 20px;
    left: 100%;
    top: 0;
    animation: wipe-in-left;
    animation-duration: 2s;
    animation-fill-mode: both;
    backdrop-filter: blur(16px) saturate(180%);
    -webkit-backdrop-filter: blur(16px) saturate(180%);
    background-color: rgba(17, 25, 40, 0.75);
    border: 1px solid rgba(255, 255, 255, 0.125);
    cursor: pointer;
}

[transition-style="out:circle:top-right"] {
    animation: 2.5s cubic-bezier(.25, 1, .30, 1) circle-out-top-right both;
}

.instructions-button {
    display: flex;
    position: absolute;
    justify-content: center;
    align-items: center;
    background-color: rgba(222, 214, 214, 0.86);
    right: 5%;
    top: 30px;
    border-radius: 60px;
    cursor: pointer;
    z-index: 10;
}

.instructions-button:hover {
    box-shadow: -3px -1px 3px #0e577e, 3px 3px 5px #ffff01;
}

.instructions-close-button {
    top: 30px;
    background-color: rgba(222, 214, 214, 0.86);
    height: 25px;
    width: 25px;
    border-radius: 60px;
}

.instructions-close-button:hover {
    box-shadow: -3px -1px 3px 3px #0e577e, 3px 3px 5px #0e577e;
}
.instructions ul {
    list-style-type: disc;
    margin: 0;
    padding: 0;
    font-size: 14px;
}

.instructions ul li {
     margin: 10px 0;
     padding-left: 20px;
}

.instructions-header {
    display: flex;
    justify-content: space-between;
}

.press {
    text-align: center;
    font-size: 18px;
    display: block;
    margin-bottom: 210px;
}

.btn {
    display: flex;
    position: relative;
    align-items: center;
    margin: 5px 140px;
    justify-content: center;
    grid-row: 1 / span 2;
    grid-column: 1 / span 2;
    font-weight: 8;
    letter-spacing: 1px;
    text-shadow: 1px 0 5px;
    min-height: 1.8em;
    min-width: 1.8em;
    border-radius: 1.7em;
    background: no-repeat center/100% url("./images/2.jpg");
    font-size: 10rem;
    cursor: pointer;
    box-shadow: 5px 10px 45px #f5ce0d,
    inset -5px -5px 15px #f5ce0d;
    backdrop-filter: blur(20px) saturate(148%);
    -webkit-backdrop-filter: blur(25px) saturate(148%);
    z-index: 1;
}

.btn:hover {
    cursor: pointer;
    border-color: #c08b19;
}


.conditions {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.countdown-container {
    position: relative;
}

.countdown-svg {
    position: absolute;
    width: 2.0em;
    height: 2.0em;
}

.countdown-circle {
    fill: none;
    stroke: #263532;
    stroke-width: 2;
    stroke-linecap: round;
    transform: rotate(-90deg);
    transform-origin: center;
    transition: stroke-dashoffset 1s linear;
}

.countdown-text {
    /*display: none;*/
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 13px;
    opacity: 0.3;
}

#score {
    display: flex;
    align-items: center;
    justify-content: left;
}

.hidden {
    display: none;
}

.random-box {
    width: 590px;
    height: 35px;
}

.random-quote {
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    margin-top: 20px;
}


.hidden {
    display: none;
}

.answers {
    position: absolute;
    font-size: 1rem;
    align-items: center;
}

#nextButton {
    position: absolute;
    display: flex;
    align-items: center;
    right: -80px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 2rem;
    padding: 16px;
    background-color: #292b31;
    border: none;
    cursor: pointer;
    height: 236px;
    border-radius: 5px;
    width: 52px;
    color: #ffffff;
}

#nextButton:hover {
    background-color: #1a3a1a;
}

.title {
    display: flex;
    align-items: center;
    height: 45px;
    flex-direction: row;
    transition: 0.5s ease;
    user-select: none;
    margin-top: 20px;
    font-size: 1rem;
    background-color: #292b31;
    border-radius: 5px;
    cursor: pointer;
    margin-left: 10px;
    width: 490px;
    box-shadow: -3px -1px 3px #ffffff, 3px 3px 5px #ceced1;
    color: #ffffff;
    justify-content: center;
}

.title:hover {
    cursor: pointer;
    box-shadow: 4px 2px 5px #ffffff;
    border-color: #fff;
}

.correct {
    background-color: #1a3a1a;
}

.incorrect {
    background-color: #811010;
}


@media screen and (max-width: 576px) {
    .wrapper{
        width: 360px;
        height: 564px;
        left: 50%;
    }
    h2{
        left: 1%;
    }
    .conditions{
        left: -10%;
    }
    .instructions-button{
        right: 8%;
        top: 15px;
    }

    .random-box{
        width: 300px;
        height: 30px;
    }

    .random-quote{
        font-size: 14px;
        margin-top: 1px;
    }

    .answers{
        font-size: 0.5rem;
    }

    .title{
        height: 30px;
        width: 220px;
    }

    #nextButton{
        right: -45px;
        top: 60%;
        width: 34px;
        height: 156px;
        font-size: 1rem;
    }
}

@media screen and (min-width: 577px) and (max-width: 768px) {
    .wrapper{
        width: 330px;
        height: 564px;
        left: 50%;
    }
    h2{
        left: 14%;
    }
    .random-box{
        width: 400px;
        height: 30px;
    }
    .random-quote{
        font-size: 14px;
        margin-top: 1px;
    }
    .answers{
        font-size: 0.5rem;
    }
    .title{
        height: 30px;
        width: 320px;
    }
    #nextButton{
        right: -55px;
        top: 60%;
        width: 40px;
        height: 186px;
        font-size: 1rem;
    }
}


@media screen and (min-width: 769px) and (max-width: 991px) {
    .wrapper{
        left: 50%;
    }
}

@media screen and (min-width: 992px) and (max-width: 1199px) {

}

@media screen and (min-width: 1200px) {

}

