body
{
    background-color: whitesmoke;
    width: 100vw;
    height: 100vh;
}

header
{
    background-image: linear-gradient(rgba(0,0,0,0.5), rgba(0,0,0,0.5));
    padding: 0 0 15px 0;
}

header ul
{
    background: none !important;
}


#reg
{
    width: 100%;
    height: 100%;
    background-image: url("images/background2.jpg");
    background-attachment: fixed;
    background-repeat: no-repeat;
    background-position: 100%;
    overflow-y: scroll;
    /* background-color: black; */
    display: inline-block;
}

#reg .container
{
    width: 50%;
    height: auto;
    /* overflow: scroll; */
    margin: 10% auto 0 auto;
    padding: 0 0 2% 0;
    border-radius: 10px;
    background-color: black;
    box-shadow: 0 0 10px white;
    border: 1px solid white;
}

#reg .container form
{
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;    
}

footer
{
    position: static;
    bottom: 0;
    background-color: transparent !important;
}

#reg .container form input
{
    width: 50%;
    height: 7vh;
    color: transparent;
    text-indent: 15px;
    font-size: 18px;
    color: white;
    margin: 0 0 15px 0;
    background-color: black;
}

#reg .container form input:focus
{
    background-color: white;
    color: black;
    box-shadow: none !important;
}

#reg .container form input::placeholder
{
    color: rgb(75, 71, 71);
}


#reg .container form label
{
    width: 50%;
    height: 7vh;
    margin: 0 0 10px;
    text-indent: 15px;
    font-size: 18px;
    display: flex;
    color: #ccc;
    font-family: 'roboto', sans-serif;
    align-items: center;
    border: 1px solid white;
}
#event
{
    display: none;
}

#event:checked ~ #events
{
    height: 370px;
    visibility: visible;
    transition: all 0.5s ease-in-out;
    border: 1px solid white;
}

form input:hover, label:hover
{
    box-shadow: 0 0 10px white !important;
    transition: 0.3s ease-in-out;
}

#events
{
    width: 50%;
    display: none;
    height: 0;
    /* visibility: hidden; */
    margin: 10px 0 0 0 !important;
    overflow: hidden;
    display: inline-block;
    margin: 0 auto !important;
    border: 1px solid transparent;
    transition: height 0.5s ease-in-out;
}

#events label
{
    width: 100% !important;
    height: 30px !important;
    margin: 0 auto;
    border: none !important;
}

#events label:hover
{
    box-shadow: none !important;
}

#events label span input:hover
{
    box-shadow: none !important;
}

#events label span input:focus
{
    box-shadow: none !important;
}

#events label p
{
    width: 80%;
}

#events label span
{
    width: 20% !important;
    display: flex;
    justify-content: center;
    align-items: center;
}

#events label span input[type^="checkbox"]
{
    width: 25px !important;
    height: 20px !important;
    margin: auto 0;
}

form button
{
    width: 50%;
    height: 7vh;
    margin: 15px 0;
    font-size: 21px;
    background-color: black;
    color: white;
}

form button:hover
{
    box-shadow: 0 0 10px white;
}

form h1
{
    font-size: 32px;
    margin: 20px 0;
    color: white;
    text-decoration: underline red;
}

footer p br
{
    display: none;
}

@media only screen and (min-width: 200px) and (max-width: 800px)
{
    #reg .container
    {
        width: 80%;
        margin-top: 20% !important;
    }   
    #reg .container form input, label, button
    {
        width: 80% !important;
        height: 40px;
    }

    #events label p
    {
        font-size: 12px;
    }

    #events
    {
        width: 80%;
    }
    
    #events label
    {
        width: 100% !important;
    }
    footer p
    {
        font-size: 13px !important;
    }
    footer p  br
    {
        display: block;
    }
}