body {
    margin: 0;
    padding: 0;
}

.footer {
    margin-top: 20px;
    text-align: center;
    background-color: #343a40;
    color: #fff;
    width: 100%;
    padding: 10px;
    border: none;
}

.footer p {
    display: inline;
}

.logo {
    margin-top: 20px;
    width: 100%;
    text-align: center;
}

.logo img {
    width: 100%;
    max-width: 700px;
}

.container {
    min-height: 100vh;
}

/* styles for home page */

.motto {
    margin-top: 3rem;
    text-align: center;
    color: #6c757d;
    width: 90%;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.home__button_wrapper {
    margin-top: 10px;
    text-align: center;
}

.motto p {
    font-size: 1.3rem;
}

/* styles for register page */

.register__form__wrapper {
    text-align: center;
    max-width: 600px;
    width: 100%;
    border-radius: 15px;
    margin-left: auto;
    margin-right: auto;
    margin-top: 30px;
    background-color: #f8f9fa;
}

.register__form__wrapper input[type="text"] {
    max-width: 300px;
    width: 100%;
    height: 40px;
}

.register__form__wrapper input[type="email"] {
    max-width: 300px;
    width: 100%;
    height: 40px;
}

.register__form__wrapper input[type="password"] {
    max-width: 300px;
    width: 100%;
    height: 40px;
}

.register__form__wrapper select {
    max-width: 300px;
    width: 100%;
    height: 40px;
}

.register__form__wrapper textarea {
    margin-top: 20px;
    max-width: 300px;
    width: 100%;
    height: 200px;
    resize: none;
}

.register__form__wrapper label {
    width: 300px;
    text-align: left;
    margin-top: 20px;
}

.register__form__wrapper h2 {
    text-align: center;
    margin-top: 10px;
    color: #5a5a5a;
    font-weight: bold;
    font-size: 2.7rem;
}

.register__form__button__wrapper {
    text-align: center;
    margin-top: 20px;
    margin-bottom: 20px;
}

/** Styles for login page**/

.login__form__wrapper {
    text-align: center;
    max-width: 600px;
    width: 100%;
    border-radius: 15px;
    margin-left: auto;
    margin-right: auto;
    margin-top: 30px;
    background-color: #f8f9fa;
}

.login__form__wrapper input[type="text"] {
    max-width: 300px;
    width: 100%;
    height: 40px;
}

.login__form__wrapper input[type="email"] {
    max-width: 300px;
    width: 100%;
    height: 40px;
}

.login__form__wrapper input[type="password"] {
    max-width: 300px;
    width: 100%;
    height: 40px;
}

.login__form__wrapper select {
    max-width: 300px;
    width: 100%;
    height: 40px;
}

.login__form__wrapper textarea {
    margin-top: 20px;
    max-width: 300px;
    width: 100%;
    height: 200px;
    resize: none;
}

.login__form__wrapper label {
    width: 300px;
    text-align: left;
    margin-top: 20px;
}

.login__form__wrapper h2 {
    text-align: center;
    margin-top: 10px;
    color: #5a5a5a;
    font-weight: bold;
    font-size: 2.7rem;
}

.login__form__button__wrapper {
    text-align: center;
    margin-top: 20px;
    margin-bottom: 20px;
}

/** classes for studies selection page */
.studies__wrapper {
    width: 100%;
    margin-right: auto;
    margin-left: auto;
    max-height: 65vh;
    overflow-y: scroll;
    margin-top: 40px;
    text-align: center;
}

.studies__form {
    margin-left: auto;
    margin-right: auto;
    margin-top: 40px;
    width: 100%;
    text-align: center;
}

.studies__form label {
    font-weight: bold;
    font-size: 2rem;
}

/** styles for dashboard */

.dashboard {
    min-height: 100vh;
    text-align: justify;
}

.dashboard__panel {
    border-radius: 5px;
    border: 2px solid #bababa;
    padding: 15px;
    margin-top: 15px;
    text-align: center;
    min-height: 800px;
}

.dashboard__panel h3 {
    color: #858585;
    font-weight: bold;
}

.dashboard__panel h4 {
    color: #858585;
    font-size: 1.2rem;
}

.dashboard__panel p {
    text-align: left;
    padding: 20px;
}

.dashboard__panel ul {
    text-align: left;
}

.dashboard__panel button {
    margin: 30px;
}

.dashboard__panel form {
    margin-left: auto;
    margin-right: auto;
    text-align: center;
}

.dashboard__panel form button {
    margin: 0;
}

.dashboard__panel form label {
    width: 100%;
    text-align: left;
}

.dashboard__panel h5 {
    width: 100%;
    text-align: left;
}

.dashboard__panel table {
    text-align: left;
}

.dashboard__panel .red {
    background-color: red;
    color: white;
    text-align: center;
}

.dashboard__panel .green {
    background-color: green;
    color: white;
    text-align: center;
}

/** styles for questionnaire and self questionnaire */

.questions {
    margin-top: 20px;
    min-height: 100vh;
}

.question {
    display: block;
    text-align: center;
    margin-top: 1rem;
    margin-bottom: 1rem;
    padding: 1rem;
}

.question p {
    color: #7e7e7e;
    font-size: 20px;
    text-align: left;
}

.question-control {
    display: inline-block;
    margin: 0 20px;
}

.questions .agree {
    display: inline-block;
    color: #6ee0b7;
}

.questions .zero,
.question .ten {
    display: inline-block;
}

.questions .container {
    display: inline-block;
}

.questions .disagree {
    display: inline-block;
    color: #e06e83;
}

.question input[type="radio"] {
    width: 30px;
    height: 30px;
    margin-right: 8px;
    cursor: pointer;
    font-size: 17px;
    transform: translateY(20%);
}

.question input[type="radio"]:checked::before {
    content: "";
    display: inline-block;
    width: 30px;
    height: 30px;
    background-color: #d4d4d4;
    border-radius: 50%;
    z-index: 9;
}

.question input[type="radio"].light-red:checked::before {
    background-color: #e38fa0;
}

.question input[type="radio"].light-green:checked::before {
    background-color: #8fd9bd;
}

.question input[type="radio"].red:checked::before {
    background-color: #e06e83;
}

.question input[type="radio"].black:checked::before {
    background-color: #000;
}

.question input[type="radio"].green:checked::before {
    background-color: #6ee0b7;
}

.questions__button-wrapper {
    margin-top: 30px;
    text-align: center;
}

.question .textarea-input label {
    margin-top: 30px;
    width: 100%;
    max-width: 700px;
    color: #7e7e7e;
    font-size: 25px;
    text-align: left;
}

.question .textarea-input textarea {
    width: 100%;
    max-width: 700px;
    height: 300px;
    margin-bottom: 30px;
}

@media (max-width: 600px) {
    .disagree,
    .agree {
        width: 100%;
        text-align: center;
    }
}

/** styles for questionnaire */
.questionnaire__registration {
    min-height: 100vh;
}

.questionnaire__registration h3 {
    margin-top: 30px;
    margin-bottom: 30px;
    color: #7e7e7e;
    font-size: 25px;
    text-align: center;
}

.questionnaire__registration form {
    text-align: center;
}

.questionnaire__registration .form-group {
    width: 100%;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
    text-align: left;
}
