.profile-wrapper {
    background-color: #f2ebff;
    box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2), 0 6px 20px 0 rgba(0, 0, 0, 0.19);
    padding: 2rem 3rem;
}

.profile-header {
    text-align: start;
    color: #4d4d4d;
    font-size: 2rem;
    font-family: eras-medium;
    /* display: flex;
    justify-content: space-between; */
}

.profile-info-wrapper {
    display: grid;
    grid-template-columns: 1fr 4fr;
    justify-items: start;
    padding: 0.5rem 1rem;
}
.profile-label {
    font-size: 1.2em;
}
.profile-item {
    font-size: 1.2em;
    padding-left: 1rem;
}

.profile-settings-buttons {
    height: 1em;
    display: inline-block;
    margin-left: .5rem;
}
.profile-settings-buttons img {
    height: 1rem;
    display: inline-block;
}

.ycn-level-flex-wrapper {
    display: flex;
    flex-direction: row;
    justify-content: space-around;
    margin: 1rem;
    flex-wrap: wrap;
}

.data-style {
    margin: 0 1rem;
    font-size: 1.1rem;
}

.permissions-wrapper {
    display: grid;
    grid-template-columns: 3fr 1fr;
    row-gap: .5rem;
    width: 30vw;
    width: 30dvw;
}

.permission-settings {
    display: flex;
    flex-direction: row;
    gap: 5rem;
}

/* for tablet (landscape) */
@media screen and (max-width: 1024px) {
    .permission-settings {
        flex-direction: column;
        gap: 1rem;
    }
    .permissions-wrapper {
        width: 65vw;
        width: 65dvw;
    }
}

/* for tablet (portrait) */
@media screen and (max-width: 850px) {
    .permissions-wrapper {
        width: 85vw;
        width: 85dvw;
        grid-template-columns: 4fr 1fr;
    }
}

/* for mobile */
@media screen and (width <=600px) {
    .profile-wrapper {
        padding: 1.5rem;
    }
    .profile-info-wrapper {
        grid-template-columns: 1fr;
        text-align: left;
        padding: .05rem .5rem;
    }
    .permissions-wrapper {
        grid-template-columns: 3fr 1fr;
    }
}
.login-container {
    font-weight: 300;
    max-width: 90%;
}
.login-form {
    width: 60%;
    margin: 1rem 0;
}

.login-title {
    font-size: 40px;
    margin: 20px;
}

label.login {
    font-size: 1.2rem;
}

input.login_form {
    padding: 5px 10px;
    margin: 5px 0px;
    display: inline-block;
    border: 1px solid;
    border-radius: 4px;
    box-sizing: border-box;
    text-align: left;
    font-size: 1.2rem;
    width: 100%;
    font-weight: 100;
    font-family: 'effra';
}

input.login_form::placeholder {
    text-align: left;
    font-size: 1.2rem;
}

input[type=submit].login_button {
    width: auto;
    background-color: #c5afef;
    padding: 10px 20px;
    margin: 0px;
    border: 1px solid;
    border-radius: 4px;
    cursor: pointer;
    font-size: 20px;
    color: white;color: white;
    font-family: 'soleil';
}

input[type=submit]:hover.login_button {
    background-color: #b6a1dd;
    border: 1px solid;
}


/* for smaller screens (landscape) */
@media screen and (max-width: 1200px) {
    .login-container {
        width: 80vw;
        width: 80dvw;
        margin: auto;
        max-width: none;
    }
    
}


/* for tablet (portrait) */
@media screen and (max-width: 850px) {
    .login-container {
        width: 60vw;
        width: 60dvw;
        margin: auto;
    }
    .login-form {
        width: 100%;
        margin: 0;
    }

    .login-title {
        margin: 0;
    }
}

/* for mobile */
@media screen and (max-width: 600px) {
    .login-container {
        width: 80vw;
        width: 80dvw;
    }
}
/*
#########################################################################################
########################## OLD STUFF USED BY ORIGINAL PAGE###############################
#########################################################################################
*/


@media (orientation: landscape) {
    .james_table_competition {
        border: 1px solid;
        border-collapse: collapse;
        width: 75%;
    }

    div.note_to_user {
        width: 40%;
        padding: 30px;
    }

    div.tba_form {
        width: 50%;
        padding: 30px;
    }

    div.ycn_form {
        width: 50%;
        padding: 30px;
    }

    div.profile_form {
        width: 50%;
        padding: 30px;
    }

    div.usadancenationals_form {
        width: 50%;
        padding: 30px;
    }

    div.competition_form {
        width: 50%;
        padding: 30px;
    }

    /* Add a black background color to the top navigation */
    /* .topnav {
        /* background-color: #f2ebff; */
    /* overflow: hidden;
    border: 1px solid black;
    border-radius: 5px;
    display: flex;
    justify-content: left; */
    /* } */
}

*/

/* Add a black background color to the top navigation */
/* .hamburger_topnav {
    background-color: #f2ebff;
    overflow: hidden;
    border: 1px solid black;
    border-radius: 5px;
    display: flex;
    justify-content: left;
    display: none;
} */

.usadancenationals_wide {
    display: block;
}

.usadancenationals_narrow {
    display: none;
}

table.james_table {
    border: 1px solid;
    border-collapse: collapse;
    margin-top: 50px;
    width: 75%;
}

table.james_table_profile_competitions {
    border: 1px solid;
    border-collapse: collapse;
    margin-top: 50px;
    width: 75%;
}

table.james_table_bulk_qual {
    border: 1px solid;
    border-collapse: collapse;
    margin-top: 50px;
    width: 75%;
}


@media (orientation: portrait) {
    .james_table_competition {
        border: 1px solid;
        border-collapse: collapse;
        width: 95%;
    }

    div.note_to_user {
        padding: 15px;
        margins: 15px;
    }

    div.tba_form {
        width: 75%;
        padding: 15px;
        margins: 15px;
    }

    div.ycn_form {
        width: 75%;
        padding: 15px;
        margins: 15px;
    }

    div.profile_form {
        width: 95%;
        padding-top: 15px;
        padding-bottom: 15px;
        margins: 15px;
    }

    div.usadancenationals_form {
        width: 75%;
        padding: 15px;
        margins: 15px;
    }

    div.competition_form {
        width: 75%;
        padding: 15px;
        margins: 15px;
    }

    /* Add a black background color to the top navigation */
    /* .hamburger_topnav {
        background-color: #f2ebff;
        overflow: hidden;
        border: 1px solid black;
        border-radius: 5px;
        display: flex;
                  justify-content: right;
        align-items: center;
    } */

    /* Style the links inside the navigation bar */
    /* .hamburger_topnav a {
        float: left;
        color: #000000;
        text-align: center;
        padding: 15px 16px;
        text-decoration: none;
        font-size: 20px;
        border: 1px solid #f2ebff;
        display: flex;
        justify-content: left;
        align-items: center;
    } */

    /* Change the color of links on hover */
    /* .hamburger_topnav a:hover {
        border: 1px solid black;
        border-radius: 5px;
        height: 100%;
    } */

    /* Add a black background color to the top navigation */
    /* .topnav {
        background-color: #f2ebff;
        overflow: hidden;
        border: 1px solid black;
        border-radius: 5px;
        display: none;
        justify-content: left;
    } */

    .usadancenationals_wide {
        display: none;
    }

    .usadancenationals_narrow {
        display: block;
    }

    table.james_table {
        border: 1px solid;
        border-collapse: collapse;
        margin-top: 50px;
        width: 95%;
    }

    table.james_table_profile_competitions {
        border: 1px solid;
        border-collapse: collapse;
        margin-top: 50px;
        width: 95%;
    }

    table.james_table_bulk_qual {
        border: 1px solid;
        border-collapse: collapse;
        margin-top: 50px;
        width: 95%;
    }
}


/* Style the links inside the navigation bar */
/* .topnav a {
    float: left;
    color: #000000;
    text-align: center;
    padding: 14px 16px;
    text-decoration: none;
    font-size: 17px;
    border: 1px solid #f2ebff;
    display: flex;
    justify-content: left;
    align-items: left;
}

Change the color of links on hover
.topnav a:hover {
    border: 1px solid black;
    border-radius: 5px;
}

Add a color to the active/current link
.topnav a.active {
    background-color: #D5BFFF;
    border: 1px solid black;
    border-radius: 5px;
} */

/* Style the links inside the navigation bar */
/* .topnav button {
    float: left;
    color: #000000;
    text-align: center;
    padding: 14px 16px;
    text-decoration: none;
    font-size: 17px;
    border: 1px solid #f2ebff;
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: #f2ebff;
    height: 51px;
} */

/* Change the color of links on hover */
/* .topnav button:hover {
    border: 1px solid black;
    border-radius: 5px;
} */

/* Add a color to the active/current link */
/* .topnav button.active {
    background-color: #D5BFFF;
    border: 1px solid black;
    border-radius: 5px;
} */

.navbar_logo {
    display: inline-block;
    width: auto;
    padding-left: 10px;
    padding-right: 20px;
}

/* .navbar_menu {
    display: flex;
    justify-content: left;
    align-items: center;
    width: 100%;
} */

table {
    vertical-align: center;
    text-align: center;
}

th,
td {
    padding-top: 2px;
    padding-bottom: 2px;
    padding-left: 3px;
    padding-right: 3px;
}

.main_title {
    font-size: 40px;
    margin: 20px;
}

/* .login_title {
    font-size: 40px;
    margin: 20px;
} */

.tba_title {
    font-size: 30px;
    margin: 0px;
}

.tba_subtitle {
    font-size: 20px;
    margin: 10px;
}

.ycn_title {
    font-size: 30px;
    margin: 0px;
}

.organizer_title {
    font-size: 30px;
    margin: 0px;
}


.competition_title {
    font-size: 30px;
    margin: 0px;
}

.profile_title {
    font-size: 30px;
    margin: 0px;
}

.search_title {
    font-size: 30px;
    margin: 20px;
}

.usadancenationals_title {
    font-size: 30px;
    margin: 20px;
}

.tba_form_label {
    font-size: 20px;
    margin: 0%;
    color: #536878;
}

input[type=text].tba_name,
select.tba_name {
    width: 100%;
    padding: 10px 20px;
    margin: 5px 0px;
    display: inline-block;
    border: 1px solid;
    border-radius: 4px;
    box-sizing: border-box;
    text-align: center;
    font-size: 20px;
}

input[type=submit].tba_submit {
    width: auto;
    background-color: #D5BFFF;
    color: black;
    padding: 10px 20px;
    margin: 0px;
    border: 1px solid;
    border-radius: 4px;
    cursor: pointer;
    font-size: 20px;
    /* color: #36454f */
    color: black;
}

input[type=submit]:hover.tba_submit {
    background-color: #C5AFEF;
    border: 1px solid;
}

input[type=text].competition_name {
    width: 100%;
    padding: 10px 20px;
    margin: 5px 0px;
    display: inline-block;
    border: 1px solid;
    border-radius: 4px;
    box-sizing: border-box;
    text-align: center;
    font-size: 20px;
}

select.competition_source_dropdown {
    width: 50%;
    padding: 10px 20px;
    margin: 5px 0px;
    display: inline-block;
    border: 1px solid;
    border-radius: 4px;
    box-sizing: border-box;
    text-align: center;
    font-size: 20px;
}

input[type=submit].competition_button {
    width: auto;
    background-color: #D5BFFF;
    color: black;
    padding: 10px 20px;
    margin: 0px;
    border: 1px solid;
    border-radius: 4px;
    cursor: pointer;
    font-size: 20px;
    /* color: #36454f */
    color: black;
}

input[type=submit]:hover.competition_button {
    background-color: #C5AFEF;
    border: 1px solid;
}

input[type=text].usadancenationals_name,
select.usadancenationals_name {
    width: 100%;
    padding: 10px 20px;
    margin: 5px 0px;
    display: inline-block;
    border: 1px solid;
    border-radius: 4px;
    box-sizing: border-box;
    text-align: center;
    font-size: 20px;
}

input[type=submit].usadancenationals_button {
    width: auto;
    background-color: #D5BFFF;
    color: black;
    padding: 10px 20px;
    margin: 0px;
    border: 1px solid;
    border-radius: 4px;
    cursor: pointer;
    font-size: 20px;
    /* color: #36454f */
    color: black;
}

input[type=submit]:hover.usadancenationals_button {
    background-color: #C5AFEF;
    border: 1px solid;
}

input[type=text].ycn_name,
select.ycn_role_dropdown {
    width: 100%;
    padding: 10px 20px;
    margin: 5px 0px;
    display: inline-block;
    border: 1px solid;
    border-radius: 4px;
    box-sizing: border-box;
    text-align: center;
    font-size: 20px;
}

textarea.ycn_bulk {
    width: 100%;
    padding: 10px 20px;
    margin: 5px 0px;
    display: inline-block;
    border: 1px solid;
    border-radius: 4px;
    box-sizing: border-box;
    text-align: center;
    font-size: 20px;
    resize: none;
}

input[type=submit].ycn_submit {
    width: auto;
    background-color: #D5BFFF;
    color: black;
    padding: 10px 20px;
    margin: 0px;
    border: 1px solid;
    border-radius: 4px;
    cursor: pointer;
    font-size: 20px;
    /* color: #36454f */
    color: black;
}

input.ycn_submit {
    width: 100%;
    padding: 10px 20px;
    margin: 5px 0px;
    display: inline-block;
    border: 1px solid;
    border-radius: 4px;
    box-sizing: border-box;
    text-align: center;
    font-size: 20px;
    width: 50%
}

/* input[type=submit].login_form {
    width: auto;
    background-color: #D5BFFF;
    color: black;
    padding: 10px 20px;
    margin: 0px;
    border: 1px solid;
    border-radius: 4px;
    cursor: pointer;
    font-size: 20px;
    color: #36454f
    color: black;
}

input[type=submit]:hover.login_form {
    background-color: #C5AFEF;
    border: 1px solid;
}

input.login_form {
    width: 100%;
    padding: 10px 20px;
    margin: 5px 0px;
    display: inline-block;
    border: 1px solid;
    border-radius: 4px;
    box-sizing: border-box;
    text-align: center;
    font-size: 20px;
    width: 50%
}

input[type=submit].login_button {
    width: auto;
    background-color: #D5BFFF;
    color: black;
    padding: 10px 20px;
    margin: 0px;
    border: 1px solid;
    border-radius: 4px;
    cursor: pointer;
    font-size: 20px;
    color: #36454f
    color: black;
}

input[type=submit]:hover.login_button {
    background-color: #C5AFEF;
    border: 1px solid;
} */

/* button.login_button {
    width: auto;
    background-color: #D5BFFF;
    color: black;
    padding: 10px 20px;
    margin: 0px;
    border: 1px solid;
    border-radius: 4px;
    cursor: pointer;
    font-size: 20px;
    color: #36454f
    color: black;
} */

/* button:hover.login_button {
    background-color: #C5AFEF;
    border: 1px solid;
} */

button.profile_buttons {
    width: 40%;
    background-color: #D5BFFF;
    color: black;
    padding: 10px 20px;
    margin: 0px;
    border: 1px solid;
    border-radius: 4px;
    cursor: pointer;
    font-size: 20px;
    /* color: #36454f */
    color: black;
}

input[type=submit]:hover.ycn_submit {
    background-color: #C5AFEF;
    border: 1px solid;
}

p.search_result_title {
    font-size: 25px;
    margin: 25px;
}

::placeholder {
    text-align: center;
    font-size: 15px;
}

table.james_table {
    border: 1px solid;
    border-collapse: collapse;
}

tr.james_tr {
    border: 1px solid;
}

tr.james_tr_usadancenationals {
    border: 1px solid;
}

/* tr:nth-child(even) {background-color: #e2dbef;} */
tr.james_tr:hover {
    /* background-color: #e0d6ef; */
}

th.james_th {
    border: 1px solid;
    padding: 10px 20px;
    background-color: #d6c8ef;
    font-weight: 800;
}

td.james_td {
    border: 1px solid;
    padding: 10px 20px;
    font-weight: 200;
}

div.container {
    cursor: pointer;
    padding: 8px 15px;
    float: right;
}

div.bar1,
div.bar2,
div.bar3 {
    width: 35px;
    height: 5px;
    background-color: #333;
    margin: 6px 0;
    border-radius: 2px;
}

.navbar_menu_item {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
}

a.mobile_div {
    float: left;
    color: #000000;
    text-align: center;
    padding: 14px 16px;
    text-decoration: none;
    font-size: 17px;
    border: 1px solid #f2ebff;
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
}

/* Change the color of links on hover */
a.mobile_div:hover {
    border: 1px solid black;
    border-radius: 5px;
}

/* Add a color to the active/current link */
a.mobile_div.active {
    background-color: #D5BFFF;
    border: 1px solid black;
    border-radius: 5px;
}

/* Style the links inside the navigation bar */
button.mobile_div {
    float: center;
    color: #000000;
    text-align: center;
    padding: 14px 16px;
    text-decoration: none;
    font-size: 17px;
    border: 1px solid #f2ebff;
    display: flex;
    justify-content: center;
    align-items: center;
    /* background-color: #f2ebff; */
    height: 51px;
}

/* Change the color of links on hover */
button.mobile_div:hover {
    border: 1px solid black;
    border-radius: 5px;
}

/* Add a color to the active/current link */
button.mobile_div.active {
    background-color: #D5BFFF;
    border: 1px solid black;
    border-radius: 5px;
}

.test_topnav {
    /* background-color: #f2ebff; */
    overflow: hidden;
    border: 1px solid black;
    border-radius: 5px;
    display: none;
}

select option[value=""] {
    display: none;
}

div.organizer_main_div {
    text-align: center;
}
/*
 * This is a manifest file that'll be compiled into application.css, which will include all the files
 * listed below.
 *
 * Any CSS (and SCSS, if configured) file within this directory, lib/assets/stylesheets, or any plugin's
 * vendor/assets/stylesheets directory can be referenced here using a relative path.
 *
 * You're free to add application-wide styles to this file and they'll appear at the bottom of the
 * compiled file so the styles you add here take precedence over styles defined in any other CSS
 * files in this directory. Styles in this file should be added after the last require_* statement.
 * It is generally better to create a new file per style scope.
 *


 */

@font-face {
    font-family: 'eras-medium';
    src: url(/assets/ERASMD-ef371a474f94fa407274525fdb2aeceb668428baf16bac58681f80e6c3d46f4f.TTF) format('truetype');
    font-weight: normal;
    font-style: normal; 
}
.eras-medium {
    font-family: eras-medium;
    font-weight: normal;
    font-style: normal;
}

.effra-bold {
    font-family: effra, sans-serif;
    font-weight: 700;
    font-style: normal;
}

.effra-light {
    font-family: effra, sans-serif;
    font-weight: 300;
    font-style: normal;
}

.effra-regular {
    font-family: effra, sans-serif;
    font-weight: 400;
    font-style: normal;
}

.effra-medium {
    font-family: effra, sans-serif;
    font-weight: 500;
    font-style: normal;
}

.gray4d {
    color: #4d4d4d;
}

.gray66 {
    color: #666666;
}

.text {
    display: inline-block;
}

.show-1024 {
    display: none;
}

html {
    font-family: effra, Tahoma, Geneva, Verdana, sans-serif;
}
body {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    min-height: 100dvh;
    margin: 0;
}
main {
    flex: 1;
    display: grid;
    grid-template-columns: 13rem auto 13rem;
    grid-template-rows: 4.5rem auto;
}
.mobile-navbar-border {
    display: none;
}
.main-content {
    grid-column-start: 2;
    margin-top: 2rem;
    margin-bottom: 2rem;
}

a {
    color: #5651a1;
}
a:visited {
    color: #5651a1;
}

p {
    margin: .5rem 0;
}

h1 {
    line-height: 1.5;
    margin-bottom: .5rem;
    margin-top: 0;
}

h2 {
    margin-bottom: .5rem;
}

h3 {
    margin-bottom: .5rem;
}

select {
    padding: 5px 5px;
}
input[type="submit"] {
    background: #bfacf7;
    border-radius: 999px;
    box-sizing: border-box;
    color: #FFFFFF;
    cursor: pointer;
    font-weight: 700;
    line-height: 24px;
    padding: 3px 15px;
    width: fit-content;
    word-break: break-word;
    border: 0;
    margin: 1rem 0;
}
[type="submit"] {
    background: #bfacf7;
    border-radius: 999px;
    box-sizing: border-box;
    color: #FFFFFF;
    cursor: pointer;
    font-weight: 700;
    line-height: 24px;
    padding: 3px 15px;
    width: fit-content;
    word-break: break-word;
    border: 0;
}

.logo-home-button {
    height: 60px;
    width: 12rem;
    padding: 0 1rem;
    margin-top: .7rem;
    grid-row-start: 1;
    grid-column-start: 1;
    z-index: 200;
}

.logo-home-button img {
    width: 10rem;;
    object-fit: contain;
    height: 100%;
}


.underlined-label {
    width: 100%;
    border-bottom: 1px solid #808080;
    font-family: eras-medium;
    text-align: left;
    color: #666666;
    font-size: 1.5rem;
}


.topnav {
    overflow: visible;
    display: flex;
    justify-content: space-between;
    font-size: 1.2em;
    padding-top: 8px;
}

/* Add a color to the active/current link */
.topnav a.active {
    color: #9c7ff7;
}

.navbar-left {
    display: flex;
    align-items: flex-start;
    max-width: 70vw;
    max-width: 70dvw;
}

.navbar_menu {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    border-bottom: 1px solid #808080;
    column-gap: 3rem;
    flex-wrap: wrap;
}

.navbar_menu a {
    color: #808080;
    padding: 14px 0;
    text-decoration: none;
    font-family: soleil, sans-serif;
    font-weight: 700;
    font-style: normal;
}

.signup-signin-link {
    text-align: center;
    text-decoration: none;
    border: none;
    background-color: #FFFFFF;
    height: 60px;
    font-family: effra, sans-serif;
    font-weight: 300;
    font-style: normal;
    font-size: 1.2rem;
    color: #5651a1;
    margin-right: .5em;
    margin-top: .7rem;
    align-content: center;
    justify-self: right;
}
.signup-signin-link form {
    display: inline-block;
}
/* This flexbox object is a row by default and column when mobile */
.flexbox {
    display: flex;
    flex-direction: row;
}

.header-link {
    font-size: 1.1rem;
    font-weight: bold;
    color: black;
    margin-top: 1rem;
}
.header-link:visited {
    color: black;
}

.welcome-text {
    font-size: 3em;
    /* color: #666666; */
    font-weight: 300;
    margin-top: 0;
}

.welcome-text form {
    display: inline-block;
}

button.login_button {
    width: auto;
    background-color: transparent;
    color: black;
    text-decoration: underline;
    text-decoration-thickness: 2px;
    padding: 10px 0;
    margin: 0px;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-size: 3rem;
    /* color: #36454f; */
    color: black;
    font-family: 'effra';
    font-weight: 300;
}


.home-grid-wrapper {
    display: grid;
    grid-template-columns: 1fr 2fr;
    grid-auto-rows: minmax(100px, 300px);
    max-width: 50rem;
    margin-top: 10vh;
    margin-top: 10dvh;
    margin-left: auto;
    margin-right: auto;
    justify-items: start;
    align-items: end;
}

.home-logo {
    grid-column-start: 1;
    grid-column-end: 2;
    max-width: 10rem;
}

.logo-text {
    grid-column-start: 2;
    grid-column-end: 3;
    font-family: montserrat-alternates, effra, sans-serif;
    font-weight: 600;
    font-style: normal;
    font-size: 10rem;
    color: #5651a1;
}
.welcome-text-block {    
    align-self: start;
    grid-column-start: 2;
    grid-column-end: 3;
    grid-row-start: 2;
    grid-row-end: 3;
    margin-left: 15px;
    margin-top: -1.5em;
    text-align: left;
}


footer {
    /* width: 100%;
    text-align: center;
    padding: 10px 0;
    background-attachment: scroll;
    background-position: 0% 0%;
    position: static;
    margin-top: auto;
    font-optical-sizing: auto;
    font-weight: 300;
    font-style: normal;
    color: #363538;
    font-size: 1em; */
    width: 100%;
    font-optical-sizing: auto;
    font-weight: 300;
    text-align: center;
}

.footer-text{
    margin-top: 0;
    margin-bottom: .4rem;
}
.hamburger_topnav {
    overflow: hidden;
    justify-content: left;
    display: none;
}

.navbar-mobile {
    align-items: center;
    height: 60px;
}

/* for smaller screens (landscape) */
@media screen and (max-width: 1200px) {

    .main-content {
        grid-column-start: 1;
        grid-column-end: 4;
        max-width: 90vw;
        max-width: 90dvw;
        margin-left: auto;
        margin-right: auto;
    }
    .topnav {
        grid-column-start: 2;
        grid-column-end: 4
    }
    .topnav form {
        display: none;
    }

    .signup-signin-link {
        display: none;
    }
    .tablet-margin {
        margin: 0 3rem;
    }

}

/* for tablet (landscape) */
@media screen and (max-width: 1024px) {
    main {
        grid-template-rows: auto auto;
    }
    .hide-1024 {
        display: none;
    }
    .show-1024 {
        display: block;
    }
}

/* for Evelyn's OCD */
@media screen and (max-width: 950px) {
    
    
}

/* for tablet (portrait) */
@media screen and (max-width: 850px) {
    main {
        grid-template-rows: 4.5rem auto;
        max-width: 100vw;
        max-width: 100dvw;
        grid-template-columns: auto;
    }
    .tablet-margin {
        margin: 0 1rem;
    }
    .mobile-navbar-border {
        display: block;
        grid-column-start: 1;
        grid-column-end: 4;
        border-bottom: 1px solid #808080;
        width: 100%;
        height: 0;
    }
    .topnav {
        grid-column-start: 1;
        grid-column-end: 4;
        grid-row-start: 1;
    }
    .navbar-mobile {
        display: flex; 
        justify-content: end;
        flex-direction:row;
        width: 100%;
        grid-column-start: 1;
    }
    .navbar-left {
        flex-direction: column;
    }

    .navbar_menu {
        display: flex;
        flex-direction: column;
        margin-left:0;
        overflow: hidden;
        margin-top: 10px;
        background: white;
        z-index: 100;
        box-shadow: 0 5px 15px rgb(0 0 0 / 7%);
        transition: max-height 0.4s ease;
        max-height: 0px;
        position: absolute;
        top:60px;
        flex-wrap: nowrap;
    }
    .navbar_menu.open {
        max-height: 1000px;
        border-top: 1px solid #808080;
        /* enough room for all links */
    }

    .navbar-left {
        width: 100%;
        justify-content: space-between;
        max-width: none;
    }

    /* Add a black background color to the top navigation */
    .hamburger_topnav {
        display: inline-block;
    }

    /* Style the links inside the navigation bar */
    .hamburger_topnav a {
        float: left;
        color: #000000;
        text-align: center;
        padding: 15px 16px;
        text-decoration: none;
        font-size: 20px;
        border: 1px solid #f2ebff;
        display: flex;
        justify-content: left;
        align-items: center;
    }

    /* Change the color of links on hover */
    .hamburger_topnav a:hover {
        border: 1px solid black;
        border-radius: 5px;
        height: 100%;
    }
    .home-grid-wrapper{
        grid-template-columns: 8rem 27rem;
        width: 560px;
    }

    .logo-text {
        font-size: 7rem;
    }

    .home-logo {
        max-width: 7rem;
    }
    .welcome-block-tablet {
        display: block;
        margin-top: -3rem;  
    }
    
    .flexbox {
        flex-direction: column;
    }
}

/* for mobile */
@media screen and (max-width: 600px) {
    body {
        margin: 0;
        /* font-size: .8em; */
    }
    .mobile-margin {
        margin: 0 1rem;
    }
    .home-grid-wrapper {
        grid-template-columns: 4rem auto;
        width: 330px;
        grid-auto-rows: 150px;
    }
    .logo-text {
        font-size: 4rem;
    }

    .home-logo {
        max-width: 4rem;
    }
    .welcome-text {
        font-size: 2rem;
    }
    .welcome-text-block {
        margin-left: 5px;
        margin-top: 0;
        grid-column-start: 1;
    }
    button.login_button {
        font-size:2rem;
    }
    .mobile-block {
        display: block;
    }
    .welcome-block-tablet {
        margin-top: -2rem;
        display: inline-block;
    }
}
