@media screen and (max-width: 950px) {
    *,*::before, *::after {
        float: none;
        display: inline-flex;
        align-items: center;
        justify-items: center;
        font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    }
    .toptitle {
        font-size: 2rem;
    }
    title {
        display: none;
    }
    script {
        display: none;
    }
    body {
        display: inline-flex;
        width: 100%;
        align-items: center;
        justify-content: center;
    }
    .page-container {
        width: 80%;
        justify-self: center;
    }
} 

@media screen and (min-width: 950px) {
    .toptitle {
        font-size: 3rem;
    }
}

*, *::before, *::after {
    box-sizing: border-box;
    justify-content: center;
    align-items: center;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    font-size: medium;
}

title {
    display: none;
}

script {
    display: none;
}

body {
    display: grid;
    background-color: rgb(50, 50, 50);
}

h1 {
    font-size: 1.8rem;
    justify-self: center;
    color: antiquewhite;
}

.header {
    display: inline-flex;
    margin: 10px;
    margin-left: 20px;
    margin-bottom: 20px;
}

.toptitle {
    margin-left: 20px;
    font-weight: 600;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    color: antiquewhite;
}

.page-container {
    display: grid;
    background-color: rgb(55, 55, 55);
    /* box-shadow: 0px 3px 2px 1px rgb(26, 26, 26); */
    padding: 100px;
    padding-top: 20px;
    padding-bottom: 20px;
    border-radius: 10px;
    border: 2px solid antiquewhite;
}

.input-group {
    margin: 10px;
    display: inline-flex;
    background-color: rgb(70, 70, 70);
    padding: 10px;
    border-radius: 10px;
    border: 1px solid rgb(150, 150, 150);
}

input {
    border: none;
    box-shadow: 0px 1px 1px 1px rgba(0, 0, 0, 0.6) inset;
    border-radius: 8px;
    padding: 5px;
}

label {
    color: antiquewhite;
}

input[type=submit] {
    background-color: rgb(245,245,245);
    border: none;
    color: rgb(50, 50, 50);
    width: 25%;
    font-weight: 500;
    justify-self: center;
    padding: 2px;
    padding-bottom: 4px;
    border-radius: 10px;
    margin: 5px;
    box-shadow: 0px 5px 0px 0px rgb(210,210,210);
}

input[type=submit]:hover {
    background-color: rgb(210,210,210);
    box-shadow: 0px 5px 0px 0px rgb(165,165,165);
}

input[type=submit]:active {
    transform: translateY(1.5px);
    box-shadow: 0px 3.5px 0px 0px rgb(165,165,165);
}

.login-message {
    justify-self: center;
    align-self: center;
    display: none;
}

footer {
    width: 100%;
    display: inline-flex;
    justify-content: center;
    position: fixed;
    bottom: 0;
}

.register {
    justify-self: center;
    color: rgb(77, 129, 187);
}

.register:hover {
    cursor: pointer;
    text-decoration: underline;
    text-decoration-color: rgba(90, 148, 214, .65);
}

.forgot {
    justify-self: center;
    color: rgb(189, 60, 60);
}

.forgot:hover {
    cursor: pointer;
    text-decoration: underline;
    text-decoration-color: rgba(189, 60, 60, .65);
}