* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica', sans-serif;
}

span {
    display: block;
}

nav {
    position: fixed;
    color: rgb(192, 192, 192);
    z-index: 1;
    display: flex;
    justify-content: space-between;
    width: 100vw;
    padding: 3em 5em;
}

ul {
    display: flex;
}

li {
    list-style-type: none;
    padding: 0 2em;
}

button {
    background: red;
    padding: 0.1em 3em;
    border-radius: 5px;
    border: none;
    color: white;
    transition: background 1s, color 1s, transform 0.5s;
    cursor: pointer;
}

button:hover {
    background: white;
    color: black;
    transform: scale(1.2)
}

h1 {
    color: white;
    font-size: 7em;
    font-weight: lighter;
    position: absolute;
    top: 30%;
    z-index: 1;
}

.first {
    padding: 0 5em;
    background: #1a1a1a;
    height: 100vh;
    width: 100vw;
    position: relative;
    overflow: hidden;
}

a {
    cursor: hover;
    color: white;
    text-decoration: none;
    transition: color 1s, transform 1s;
}

a:hover {
    color: red;
    transform: scale(1.1)
}

.box,.chair,.next {
    position: absolute;
}

.chair {
    top: 50%;
    left: 73%;
}

.chair>img {
    width: 400px;
}
.box {
    top: 5%;
    left: 50%;
}

.box>img {
    width: 730px;
}

.next {
    top: 90%;
    left: 50%;
    animation-name: bounce;
    animation-iteration-count: infinite;
    animation-duration: 1s;
}

@keyframes bounce {
    0%, 100% {
        transform: translateY(0)
    }
    50% {
        transform: translateY(5px)
    }
}

.next>img {
    width: 30px;
}

.behind {
    bottom: 80%;
    top: -30em;
    left: -30em;
    mix-blend-mode: multiply;
}

.behind>img {
    width: 1500px;
}

.under {
    top: 60%;
    left: 30%;
    mix-blend-mode: overlay;
}

#page2 {
    width: 100vw;
    height: 100vh;
    padding:3em 15em;
}

h2 {
    font-size: 60px;
    padding-bottom: 0.5em;
    color: #383838;
}

p {
    font-size: 30px;
    padding-bottom: 1em;
    color: #5f5f5f;
}

#inthebox {
    width: 100vw;
    height: 100%;
    background: rebeccapurple;
    padding: 3em 15em;
}

#users {
    display: flex;
    font-size: 50px;
    font-weight: 900;
    color: rebeccapurple;
    stroke: black;
    align-items: center;
    justify-content: left;
    -webkit-text-stroke: 2px white;
    -webkit-text-fill-color: rebeccapurple;
}

#counter {
    padding-right: 1em;
    font-size: 90px;
}



@media screen and (max-width: 500px) {
    h1 {
        font-size: 3em;
        top: 25%;
    }
    span {
        display: inline;
    }

    .box {
        top: 35%;
        left: -35%;
    }

    nav>ul {
        display: none;
    }

    nav {
        padding: 2em;
    }

    .box>img {
        width: 680px;
    }

    .behind,.under,.chair {
        display: none;
    }

    .next>img {
        width: 50px;
        left: 0;
    }

    #page2{
        height: 100%;
        padding: 3em;
    }

    h2 {
        font-size: 3em;
    }

    p {
        font-size: 1.2em;
    }

    #inthebox {
        padding: 3em;
    }

    #inthebox>h2 {
        font-size: 2em;
        color: white;
    }

    #users,#counter {
        font-size: 1.5em;
        -webkit-text-stroke: 0px black;
        -webkit-text-fill-color: white;
        letter-spacing: 0.1em;
    }


    #counter {
        padding-right: 0.3em;
        font-size: 2em;
    }
}