* {
    box-sizing: border-box;
}

html {
    min-height: 100%;
}

body {
    margin: 0;
    /* min-height: 100%; */
    /* height: 100vh; */

    /* overflow-y: hidden; */
    font-family: 'Roboto';

    display: flex;
    flex-direction: column;
    align-items: stretch;
    align-content: stretch;
    color: #333;
    box-sizing: border-box;

    background-color: #f5f5f5;

    position: relative;
}

nav {
    z-index: 100;
    background: #242424!important;
    border-bottom: 2px solid #fc531d;
    position: fixed;
    width: 100%;
    padding: 10px 40px;
    font-size: 0.75rem;

    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
}
nav a {
    text-decoration: none;
    color: #ccc;
    transition: color 0.3s ease;
    display: flex;
    flex-direction: row;
    align-items: center;
}
nav a:hover {
    color: #fff;
}
nav a img {
    max-height: 42px;
    margin-right: 10px;
}

nav #nav_right {
    display: flex;
    align-items: center;
    color: #888;
}
nav #nav_right a {
    margin-left: 15px;
    cursor: pointer;
    display: flex;
    flex-direction: row;
    align-items: center;
}
nav #nav_right a i {
    font-size: 1.5rem;
    margin-right: 5px;
}
nav #nav_right #nav_register {
    padding: 10px 15px;
    background-color: #fc531d;
    color: white;
    border-radius: 3px;
    transition: background-color 0.3s ease;
}
nav #nav_right #nav_register:hover {
    background-color: #d30;
}
nav #nav_right input[type="submit"] {
    cursor: pointer;
    border: none;
    background-color: transparent;
    color: #ccc;
    transition: color 0.3s ease;
    padding: 0;
    border: none;
    margin-left: 10px;
    font-size: inherit;
    outline: none;
}
nav #nav_right input[type="submit"]:hover {
    color: #fff;
}

main {
    flex-grow: 1;
}

footer {
    z-index: 100;
    background: #242424!important;
    width: 100%;
    padding: 20px 40px;
    font-size: 0.75rem;
    color: #ddd;

    display: flex;
    flex-direction: row;
    justify-content: space-evenly;
    align-items: center;
}
footer a {
    text-decoration: none;
    color: #ccc;
    transition: color 0.3s ease;
}
footer a:hover {
    color: #fff;
}

#adult_consent {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 1000;
    background-color: rgba( 0, 0, 0, 0.75 );
    opacity: 0;
    transition: opacity 0.5s ease;
}
#adult_consent_modal {
    display: none;
    position: absolute;
    top: 50%;
    left: 50%;
    width: 500px;
    max-width: 90%;
    border-radius: 5px;
    transform: translate(-50%,-50%);
    padding: 40px 40px;
    background-color: #fff;
    box-shadow: 0 5px 15px rgba(0,0,0,.5);
    text-align: center;
}
#adult_consent_modal h4 {
    margin-top: 0;
}
#adult_consent_modal a {
    color: inherit;
}
#adult_consent_modal .button {
    margin-top: 20px;
    display: inline-block;
    padding: 10px 15px;
    background-color: #fc531d;
    color: white;
    border-radius: 3px;
    transition: background-color 0.3s ease;
    cursor: pointer;
}
#adult_consent_modal .button:hover {
    background-color: #d30;
}

@media only screen and (max-width: 600px) {
    nav { padding-left: 20px; padding-right: 20px; }
    nav #nav_right #nav_register { display: none; }
}
