.aux-event-container {
    /* width: 100%;
    overflow-x: auto; */
    display: flex;
    gap: 5rem;
}

.aux-event-container input:not([type="submit"]), 
.aux-event-container textarea {
    padding: .5rem;
    width: 100%;
    box-sizing: border-box;
}

.aux-event-container textarea {
    height: 10rem;
}

.create-event-but {
    width: fit-content;
}

.scoreboard-fixed-columns {
    table-layout: fixed;
}

.aux-event-container table {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.9rem;
    border-left: none;
    border-right: none;
    border: none;
}

.aux-event-container th,
.aux-event-container td {
    padding: 1em;
    text-align: center;
    border-left: none;
    border-right: none;
}

.aux-event-container thead {
    /* background-color: #f2edff; */
    background-color: #f0edff;
    position: sticky;
    top: 0;
    z-index: 1;
}

.aux-event-container tr:nth-child(even) {
    background-color: #f7f6fd;
}

/* for tablet (landscape) */
@media screen and (width <=1400px) {
    .aux-event-container {
        display: block;
    }
}

/* for tablet (portrait) */
@media screen and (max-width: 850px) {
    .aux-event-container input:not([type="submit"]),
    .aux-event-container textarea ,
    .create-event-but{
        width: 100%
    }
}

/* for mobile */
@media screen and (width <=600px) {
    .aux-event-container {
        table-layout: auto;
    }

    .aux-event-container th,
    .aux-event-container td {
        padding: 1em .5rem;
    }
}
.comp-grid {
    display: grid;
    grid-gap: 5rem;
    gap: 5rem;
    grid-template-areas: "sidebar main other";
    grid-template-columns: minmax(0, 25dvw) minmax(0, 2.5fr) minmax(0, 20dvw);
    padding-left: 1rem;
    padding-right: 1rem;
    padding-top: 3rem;
}

.section-info{
    margin-left: 1rem;
}

.workshop-container {
    display: flex;
    flex-direction: row;
    width: 100%;
    justify-content: space-between;
    padding-top: 1em;
    padding-right: 1em;
    box-sizing: border-box;
    gap: 3rem;
}

.workshop-table{
    table-layout: fixed;
    width: 100%;
}

.workshop-table tr{
    padding-top:10px;
    padding-bottom: 10px;
}

.comp-button-container{
    width: fit-content;
}

.other{
    margin-top: 4em;
}

.sticky-menu{
    position: sticky;
    top: 8em;
    height: fit-content;
}

.side-menu {
    right: 0px;
    justify-self: end;
}


.side-menu-list li {
    color: gray;
    text-decoration: none;
    margin-bottom: 3em
}

.side-menu-list a {
    color: gray;
    text-decoration: none;
    font-weight: bold;
    font-size: 1.5em;
}
.side-menu-list li {
    list-style: none
}
.main {
    display: inline-block;
}

li {
    width: fit-content;
}

.side-menu-list li a {
    padding-right: 0px;
    transition: 0.5s;
}

.side-menu-list li a::before {
    content: "\00ab";
    position:relative;
    opacity: 0;
    top: 0;
    right: -20px;
    transition: 0.5s;
}



.side-menu-list li a:hover {
    padding-right: 25px;
}

.side-menu-list li:hover a::before {
    opacity: 1;
    right: 0px;
}



@media screen and (width > 1024px) {
    
}

@media screen and (width <=1250px) {
    
}

/* for tablet (landscape) */
@media screen and (width <=1024px) {
    .comp-grid {
        grid-template-areas: "sidebar main other";
        grid-template-columns: minmax(0, 4dvw) minmax(0, 2.5fr) minmax(0, 10dvw);
    }
    .other {
        margin-top: 2em;;
    }
    .side-menu-list {
        display: none;
    }
    .comp-button-container{
        position: absolute;
        top: 0;
        right: 50px;
        width: 200px;
    }
    /* .gradient-button {
        position: sticky;
        top: 0;
    } */
    .workshops h3 {
        font-size: 1.4em;
    }
}

/* for tablet (portrait) */
@media screen and (width <=850px) {
    .comp-grid {
            padding: 0;
            display: flex;
            flex-direction: column-reverse;
            gap: 1em;
        }
    
        .comp-button-container {
            /* position: fixed;
            top: 4rem;
            right: 0;
            left: -10px;
            width: 100dvw;
            height: 50px; */
            width: 100%;
            position: relative;
            box-sizing: content-box;
            right: 0;
        }
    
        .other {
            margin: 0;
        }
    
        .sticky-menu {
            top: 4rem;
        }
    
        .gradient-button {
            height: 70px;
            font-size: 1.2em;
            align-items: center;
        }
}

@media screen and (width <=750px) {
    
}

/* for mobile */
@media screen and (width <=600px) {
    .workshop-container {
        flex-direction: column;
    }
    .workshop-button {
        width: 100%;
        margin-bottom: 1em;
    }
}
.scoreboard-table-wrapper {
    width: 100%;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
}

.scoreboard-fixed-columns {
    table-layout: fixed;
}

.scoreboard-table-wrapper table {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.9rem;
    border-left: none;
    border-right: none;
    border: none;
}

.scoreboard-table-wrapper th, 
.scoreboard-table-wrapper td {
    padding: 1em;
    text-align: center;
    white-space: nowrap;
    border-left: none;
    border-right: none;
}

.scoreboard-table-wrapper thead {
    /* background-color: #f2edff; */
    background-color: #f0edff;
    position: sticky;
    top: 0;
    z-index: 1;
}
.scoreboard-table-wrapper tr:nth-child(even) {
    background-color: #f7f6fd;
}

/* for mobile */
@media screen and (width <=600px) {
    .scoreboard-fixed-columns {
        table-layout: auto;
    }

    .scoreboard-table-wrapper th,
    .scoreboard-table-wrapper td {
        padding: 1em .5rem;
    }
}
.event-container {
    background-color: #FFFFFF;
    border: 1px solid rgb(214, 214, 214);
    border-radius: .5rem;
    box-sizing: border-box;
    color: #111827;
    font-size: 1rem;
    font-weight: 600;
    padding: 2rem 2.5rem;
    text-decoration: none #D1D5DB solid;
    text-decoration-thickness: auto;
    box-shadow: 0 2px 3px 0 rgba(27, 5, 42, 0.233);
    cursor: default;
}

.deck-captain-container {
    margin: 2rem;
}

.judge-form-final {
    display: flex;
    gap: 2rem;
    margin: 1rem;
    align-items: center;
}

.status-label {
    font-size: 2rem;
    font-weight: bold;
    margin: 0;
}

.event-label {
    font-size: 25px;
    margin: 0;
}

#current-event {
    scroll-margin-top: 4rem;
}
.current-event {
    border-left: 10px solid #b1e1b1;
    margin-bottom: 5px;
}
.next-event {
    border-left: 10px solid #fca5a5;
    margin-bottom: 5px;
    scroll-padding-top: 70px;
}
.other-event {
    /* border: 1px solid black; */
    margin-bottom: 5px;
    /* font-family: Segoe UI; */
}
.num-icon, .num-icon-small {
    display: inline-block;
    width: 70px;    
    background-color: #FFFFFF;
    border: 1px solid rgb(213, 209, 219);
    border-radius: .5rem;
    box-sizing: border-box;
    color: #111827;
    font-family: "Inter var", ui-sans-serif, system-ui, -apple-system, system-ui, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans", sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji";
    font-size: 1rem;
    font-weight: 600;
    line-height: 1.25rem;
    padding: .5rem;
    text-align: center;
    text-decoration: none #D1D5DB solid;
    text-decoration-thickness: auto;
    box-shadow: 0 1px 2px 0 rgba(108, 24, 164, 0.233);
    cursor: default;
    white-space: nowrap;
}

.num-icon-small {
    width: 50px;
}




/* for mobile */
@media screen and (width <=600px) {
.event-label {
    font-size: 1.4rem;
}
}
/*
 * 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.
 *


 */

html {
  font-family: "Plus Jakarta Sans", sans-serif;
  scroll-behavior: smooth;
  scroll-margin-top: 8rem;
}

h2 {
  font-size: 1.7rem;
  margin-bottom: .3em;
}

h3 {
  margin-bottom: .5rem;
}

h4 {
  font-size: 1.5rem;
}

h5 {
  font-size: 1rem;
  margin: .5rem 0;
}

.scroll-top{
  scroll-margin-top: 8rem;
}

select {
  padding: 5px 5px;
}

[type="submit"] {
  background: #9989cb;
  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;
}

a:link {
  color: rgb(48, 117, 177);
  /* Or your desired default link color */
}


a:visited {
  /* color: rgb(115, 48, 177); */
  color: rgb(48, 117, 177);
}

.page-margin {
  margin: 10dvh 10dvw;
}

.main-content {
  margin: 6rem 10rem 3rem 10rem;
}

/* Lock the top navigation bar to the top of the page */
.topnav {
  background-color: #ffffff;
  overflow: hidden;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.25);
  /* Added drop shadow */

}

/* Style the links inside the navigation bar */
.topnav a {
  float: left;
  text-align: center;
  padding: 18px 16px;
  text-decoration: none;
  font-size: 22px;
  display: flex;
  justify-content: center;
  align-items: center;
}

/* Change the color of links on hover */
.topnav a:hover {}

/* Add a color to the active/current link */
.topnav a.active {
  background-color: #f2ebff;
}

.center {
  margin: auto;
}

.fit-content{
  width: fit-content;
}


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

#navbar_menu {
  display: flex;
  flex-direction: row;
  justify-content: center;
  align-items: center;
  float: left;
}

.imgbanner {
  margin-top: 4rem;
  width: 100%;
  height: 25dvh;
  object-fit: cover;
  box-shadow: 0 1px 3px 0 rgba(23, 6, 35, 0.233);
}

.hi-user {
  float: right;
  margin-top: 1.3em;
  margin-right: 2em;
}

.hi-user-mobile {
  display: none;
}

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

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

.deck-captain-button {
  border: 1px solid rgb(213, 209, 219);
  border-radius: .5rem;
  box-sizing: border-box;
  color: #111827;
  font-family: "Inter var", ui-sans-serif, system-ui, -apple-system, system-ui, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans", sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji";
  font-size: 1rem;
  font-weight: 600;
  line-height: 1.25rem;
  padding: .5rem 1rem;
  text-align: center;
  text-decoration: none #D1D5DB solid;
  text-decoration-thickness: auto;
  box-shadow: 0 1px 2px 0 rgba(12, 2, 18, 0.233);
  cursor: pointer;
  user-select: none;
  -webkit-user-select: none;
  touch-action: manipulation;
  white-space: nowrap;
  width: 80px;
}

.red-button {
  background-color: #fca5a5;
}

.green-button {
  background-color: #b1e1b1;
}



.plus-jakarta-sans {
  font-family: "Plus Jakarta Sans", sans-serif;
  font-optical-sizing: auto;
  font-weight: bold;
  font-style: normal;
  color: #363538;
}

.plus-jakarta-sans a {
  color: #363538;
}

.subtext {
  font-family: "Plus Jakarta Sans", sans-serif;
  font-optical-sizing: auto;
  font-weight: 300;
  font-style: normal;
  color: #363538;
  font-size: 2em;
  margin: 1em;
}

footer {
  left: 0;
  width: 100%;
  text-align: center;
  padding: 10px 0;
  margin: 0;
  box-shadow: 0 -4px 12px rgba(0, 0, 0, 0.25);
  background-attachment: scroll;
  background-position: 0% 0%;
  position: static;
  margin-top: auto;
  font-family: "Plus Jakarta Sans", sans-serif;
  font-optical-sizing: auto;
  font-weight: 300;
  font-style: normal;
  color: #363538;
  font-size: 1em;
}

body {
  height: 100%;
  min-height: 100vh;
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
  margin: 0;
}


#error_explanation h2 {
  font-size: 1.5em;
  margin-top: 0em;
  color: #494257;
}

#error_explanation ul {
  margin-top: .3em;
}

.error {
  color: rgb(222, 11, 11);
}

.alert {
  /* display: none; */
  display:block;
  position: absolute;
  top: 500px;
}

.background {
  /* background-color: #f6f4f9; */
  width: 100%;
  height: 100%;
  position: absolute;
  top: 0px;
  left: 0px;
  z-index: -1;
}

.centerPanel {
  background-color: white;
  padding: 4em 8dvw;
  border-radius: 25px;
  /* border: 1px solid #363538; */
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.25);
  font-size: 1.2em
}

.stackedPanel {
  margin-top: 1em;
}

.centerPanelFlex {
  display: flex;
  flex-direction: row;
}

.panelSmall {
  padding: 2em 5dvw;
}

.panelLabel {
  width: 20dvw;
  padding-right: .5rem;
}

.loginText {
  margin: 1em 5em .3em 0;
  font-size: 3.3em;
}

.signupText {
  margin: 1em 3em .3em 0;
  font-size: 3.3em;
}
.important-text {
  font-size: 1.5em;
}

.form {
  margin: 1.5em 0 1.5em 3em;
}
.form-web-margin{
  margin: 0 2dvw;
}

.field_with_errors {
  display: inline;
}


.field {
  border-radius: 10px;
  outline: none;
  font-size: 1em;
}

.inputField {
  border: 2px solid #363538;
  margin-bottom: 1em;
  margin-top: .5em;
  padding: .8em 1em;
  width: 100%;
  box-sizing: border-box;
}

.fieldSmall {
  font-size: .8em;
}

.field_with_errors .inputField {
  border-color: rgb(222, 11, 11);
  border: 1.5px solid rgb(222, 11, 11);
  /* outline: double;
  outline-color: #ffbbbb; */
}

.field_with_errors label {
  font-style: italic;
  /* color: rgb(185, 11, 11); */
}

.field_with_errors input:focus {
  border: 1px solid #7447dc;
  outline: double;
  outline-color: #cfbbff;
}

input:focus {
  border: 1px solid #7447dc;
  /* border: 1px solid #646368; */
  outline: double;
  outline-color: #cfbbff;
}


.fullWidth {
  width: 100%;
}

.submitButton {
  border: 1px solid #77649e;
  border-radius: 40px;
  cursor: pointer;
  font-size: 1em;
  font-weight: bold;
  color: white;
  padding: .3em 1em;
  background: #9685bd;
  margin: .5em 0;
}

/* CSS */
.gradient-button {
  background-image: linear-gradient(-180deg, #664f8d 0%, #544476 100%);
  border-radius: .5rem;
  box-sizing: border-box;
  color: #FFFFFF;
  display: flex;
  font-size: 16px;
  font-family: "Inter var", ui-sans-serif, system-ui, -apple-system, system-ui, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans", sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji";
  font-weight: 600;
  justify-content: center;
  padding: 1rem 1.75rem;
  text-decoration: none;
  text-align: center;
  width: 100%;
  border: 0;
  cursor: pointer;
  user-select: none;
  -webkit-user-select: none;
  touch-action: manipulation;
}

.gradient-button:hover {
  background-image: linear-gradient(-180deg, #5d4881 0%, #50416e 100%);
}

.gradient-button:link {
  color: #FFFFFF;
}

.gradient-button:visited {
  color: #FFFFFF;
}

@media (min-width: 768px) {
  .gradient-button {
    padding: 1rem 2rem;
  }
}


.casualButton {
  background-color: #FFFFFF;
  border: 1px solid rgb(213, 209, 219);
  border-radius: .5rem;
  box-sizing: border-box;
  color: #111827;
  font-family: "Inter var", ui-sans-serif, system-ui, -apple-system, system-ui, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans", sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji";
  font-size: 1rem;
  font-weight: 600;
  line-height: 1.25rem;
  padding: .5rem 1rem;
  text-align: center;
  text-decoration: none #D1D5DB solid;
  text-decoration-thickness: auto;
  box-shadow: 0 1px 2px 0 rgba(108, 24, 164, 0.233);
  cursor: pointer;
  user-select: none;
  -webkit-user-select: none;
  touch-action: manipulation;
  white-space: nowrap;
  width: 100%;
}

.casualButton:hover {
  background-color: rgb(249, 250, 251);
}

.casualButton:focus {
  outline: 2px solid transparent;
  outline-offset: 2px;
}

.casualButton:focus-visible {
  box-shadow: none;
}

.casualButtonRed {
  background-color: #ffdada;
  box-shadow: 0 1px 2px 0 rgba(164, 24, 24, 0.233);
  border: 1px solid rgb(219, 209, 209);
}
.casualButtonRed:hover {
  background-color: #f8d2d2;
}


.bold {
  font-weight: bold;
}

.text-normal {
  font-weight: normal;
}

.text-center {
  text-align: center;
}

.block {
  display: block;
}

.no-underline {
  text-decoration: none;
}

.blackish {
  /* color: #363538; */
  /*old blackish color */
  color: #494257;
}

.homeTitle {
  font-size: 12em;
  margin: 20px;
  margin-top: 25vh;
  color: #494257;
}

.homepage-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.registration-container {
  display: flex;
  justify-content: center;
  align-items: center;
  padding-top: 5rem;
  padding-bottom: 5rem;
  text-align: center;
}

.registrar-container {
  display: flex;
  justify-content: center;
  align-items: center;
  padding-top: 5rem;
  padding-bottom: 5rem;
  text-align: center;
}

.registrar-menu-container {
  display: flex;
  justify-content: center;
  align-items: center;
  padding-top: 5rem;
  padding-bottom: 5rem;
  text-align: center;
}

.chair-container {
  display: flex;
  justify-content: center;
  align-items: center;
  padding-top: 5rem;
  padding-bottom: 5rem;
  text-align: center;
}

.emcee-container {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  /* padding-top: 5rem;
  padding-bottom: 5rem; */
  text-align: center;
}

.judge-container {
  display: flex;
  justify-content: center;
  align-items: center;
  padding-bottom: 3rem;
  text-align: center;
}

.results-container {
  display: flex;
  justify-content: center;
  align-items: center;
  padding-top: 5rem;
  padding-bottom: 5rem;
  text-align: center;
}

.admin-container {
  display: flex;
  justify-content: center;
  align-items: center;
  padding-top: 5rem;
  padding-bottom: 5rem;
  text-align: center;
}

.profile-container {
  display: flex;
  justify-content: center;
  align-items: center;
  padding-top: 5rem;
  padding-bottom: 5rem;
  text-align: center;
}

.main-competition-container {
  display: flex;
  justify-content: left;
  align-items: left;
  padding-bottom: 5rem;
  text-align: left;
}

.competition-list-container {
  display: flex;
  justify-content: center;
  align-items: center;
  padding-top: 5rem;
  padding-bottom: 5rem;
  text-align: center;
}


.login-button {
  font-family: "Plus Jakarta Sans", sans-serif;
  font-optical-sizing: auto;
  font-weight: 600;
  font-style: normal;
  font-size: 1.5em;
  color: #ffffff;
  background-color: #6e5699;
  border: none;
  padding: 10px 30px;
  border-radius: 10px;
  cursor: pointer;
  transition: background-color 0.3s, transform 0.2s;
}

.login-button:hover {
  background-color: #363538;
  transform: scale(1.05);
}

.register-submit-btn {
  font-family: "Plus Jakarta Sans", sans-serif;
  font-optical-sizing: auto;
  font-weight: 500;
  font-style: normal;
  color: #ffffff;
  background-color: #646368;
  border: none;
  padding: 10px 30px;
  border-radius: 10px;
  cursor: pointer;
  transition: background-color 0.3s, transform 0.2s;
}

button.register-submit-btn:hover {
  background-color: #363538;
  transform: scale(1.05);
}

#mobileNavbar {
  display: none;
}
.tablet-portrait-show {
  display: none;
}

/* for runtime */
.judge-button {
  background-color: #fff;
  border-radius: 10px;
  cursor: pointer;
  padding: 10px;
  font-size: 2em;
  width: 100%;
  height: 100%;
  box-shadow: 0 1px 2px 0 rgba(108, 24, 164, 0.233);
  border: 1px solid black;
  box-sizing: border-box;
}

.judge-button:hover {
  background-color: #ccc;
}

.judge-button-form {
  display: inline-block;
}

.flex-row {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  width: 90dvw;
  margin-left: auto;
  margin-right: auto;
}

.box {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
  width: 80dvw;
}

.box>* {
  padding: 5px;
}

.unclickable-button {
  background-color: #d7d3db;
  cursor: default;
}

.unclickable-button:hover {
  cursor: default;
  background-color: #d7d3db;
}

@media screen and (width > 1024px) {
  #navbar_menu {
    display: flex;
  }
}

@media screen and (width <=1250px) {
  .comp-page-container {
      font-size: .9em;
  }
  .gradient-button{
    padding: .8rem .5rem;
  }
}

/* for tablet (landscape) */
@media screen and (width <=1024px) {
  .main-content {
    margin: 6rem 5rem 3rem 5rem;
  }
  .homeTitle {
    font-size: 10em;
    margin-top: 17vh;
  }
  .comp-page-container {
    font-size: 1em;
  }
    .tablet-flex-column {
      flex-direction: column;
    }
    .fixed-mobile-button {
      width: 100%;
      margin: 1em 0;
    }

  .form-web-margin {
    margin: 0;
  }

  .centerPanel {
    font-size: 1em;
  }

  .loginText {
    margin: 1em 5em .3em 0;
    font-size: 3em;
  }

  .signupText {
    margin: 1em 4em .3em 0;
    font-size: 3em;
  }
    .fieldSmall {
      font-size: 1em;
    }
}

/* for tablet (portrait) */
@media screen and (width <=850px) {
  h3 {
    font-size: 2em;
  }
  .tablet-portrait-hide {
    display: none;
  }
  .tablet-portrait-show {
    display: inherit;
  }
  .page-margin {
    margin: 5dvh 0;
  }
  .centerPanel {
    margin: auto;
    max-width: 70%;
    /* max-height: 60dvh; */
    padding: 2em 10%;
    box-shadow: none;
  }
  .panelLabel{
    width: 100%;
    margin-bottom: 0;
  }

  .centerPanelFlex {
    flex-direction: column;
  }
  .panelSmall {
    padding: 0 8dvw;
  }

  .loginText {
    margin: .5em 5em .3em 0;
  }

  .signupText {
    margin: .5em 5em .3em 0;
  }

  .form {
    margin: 0;
  }

  .main-competition-content {
    padding: 0 3em;
  }
}

/* for mobile */
@media screen and (width <=600px) {
  .main-content {
    margin: 5rem 2rem 3rem 2rem;
  }
  .mobile-hide {
    display: none;
  }
  .homeTitle {
    font-size: 6em;
    margin-top: 23dvh;
  }
  .page-margin {
    margin: 2dvh 0;
  }

  .mobile-margin {
    margin-top: 4em;
  }
  

  

  .subtext {
    font-size: 1.5em;
    margin: 1em;
    margin-top: .2em;
  }

  #navbar_menu {
    max-height: 0;
    flex-direction: column;
    overflow: hidden;
    transition: max-height .5s;
  }

  .topnav {
    display: flex;
    flex-direction: column;
  }

  .hi-user {
    display: none;
  }

  .hi-user-mobile {
    float: right;
    margin-top: 1.3em;
    margin-right: 1em;
    display: block;
  }

  .hamburgerFillings {
    width: 100%;
  }

  .topborder {
    border-top: .5px solid #c2c1c5;
  }

  .signupText {
    margin-right: 0;
  }

  #mobileNavbar {
    display: block;
    width: 100%;
    height: 100%;
  }

  .hamburger {
    cursor: pointer;
    float: right;
    margin-top: .8em;
    margin-right: .8em;
    display: block;
  }

  .bar {
    width: 35px;
    height: 5px;
    background-color: #333;
    margin: 6px 0;
    border-radius: 2px;
  }
}

.event-style-column {
  box-sizing: border-box;
}

.style-button {
  background-color: #fff;
  padding: 10px;
  margin: 10px 0;
  border-radius: 5px;
  cursor: pointer;
}

.dance-button {
  background-color: #fff;
  border-radius: 5px;
  cursor: pointer;
}





.menuItem {}

@media screen and (orientation: portrait) {
  .registration-content {
    width: 90vw;
  }

  .registrar-content {
    width: 90vw;
  }

  .dance-button {
    padding: 15px;
    margin: 5px 0;
    width: 80vw;
    margin-left: auto;
    margin-right: auto;
    display: block;
  }
}

@media screen and (orientation: landscape) {
  .registration-content {
    width: 60vw;
  }

  .registrar-content {
    width: 60vw;
  }

  .event-styles-container {
    display: flex;
    gap: 30px;
    justify-content: center;
    width: 100%;
  }


  .selected-dances-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    width: 100%;
  }

  .event-style-column {
    width: 20%;
  }

  .style-button:hover {
    background-color: #ccc;
  }

  .dance-button {
    padding: 10px;
    margin: 5px 0;
  }

  .dance-button:hover {
    background-color: #ccc;
  }
}

/**
 * Disable smooth scrolling when users have prefers-reduced-motion enabled
 */
@media screen and (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
}
