@import url('https://fonts.googleapis.com/css2?family=Oswald&display=swap');
@keyframes rotate{
    100%{
        background-position: 15% 50%;
    }
}
/*===== Small Mobile =====*/
@media screen and (max-width: 630px){
    /*== Main ==*/
    * {
        margin: 0;
        padding: 0;
        box-sizing: border-box;
    }

    .content {
        background-image: url(media/backgroundjpg.jpg);
        animation: rotate 6s infinite alternate linear;
        background-size: cover;
        margin: 0px;
        padding: 0px;
        height: auto;
    } 
    
    .container {
        width: 80%;
        margin: 0 auto;
        font-family: 'Oswald', sans-serif;
    }
    
    .container-main {
        width: 90%;
        margin: 0 auto;
        padding: 50px 0;
        font-family: 'Oswald', sans-serif;
    }

    /*== Nav ==*/
    .navbar-nav {
        text-align: center;
    }
    
    .nav-item {
        border: 1px solid #919191;
    }
    
    .navbar-brand {
        height: 150px;
        width: 150px;
    }

    /*== Hero ==*/
    .hero {
        width: 100%;
        margin: 0 auto;
        background-color: white;
        box-shadow: 1px 0px 20px 1px rgba(22, 22, 22, 0.295);
        border-radius: 40px;
        overflow: hidden;
    }
    
    .hero a {
        text-decoration: none;
    }
    
    .hero .column {
        padding: 1.5rem;
    }
    
    .social-buttons {
        text-align: center;
    }
    
    .hero .column:first-child h1,
    .hero .column:first-child p,
    .hero .column:first-child h3,
    .hero .column:last-child h3 {
        padding: 1rem;
    }

    .hero .column:first-child h1 {
        text-align: center;
    }

    .hero .column:first-child p {
        font-size: 12px;
    }
    
    .hero .column:first-child a {
        padding: 1rem;
        font-size: 26px;
    }
    
    .hero .column:last-child {
        background: url(media/img2.jpg) center;
        background-size: cover;
        position: relative;
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: flex-start;
        gap: 15px; 
    }
    
    .link-button {
        display: inline-block;
        padding: 12px 30px;
        font-size: 16px;
        border: 2px solid #000;
        color: #000;
        border-radius: 50px;
        cursor: pointer;
        transition: all .65s;
        font-weight: 600;
        width: 150px;
        text-align: center;
        text-decoration: none;
    }
    
    .link-button:hover {
        opacity: 80%;
        background-color: #000;
        color: #fff;
    }
    
    .hero .column:last-child * {
        z-index: 1;
    }
    
    .hero .column:last-child h2 {
        font-weight: bold;
    }
    
    .hero .column:last-child::after {
        content: "";
        position: absolute;
        background: linear-gradient(90deg, #ffffff, #ffffff82, #ffffff65);
        inset: 0;
    }

    /*== Auto Update ==*/
    .auto-update {
        width: 100%;
        margin: 0 auto;
        background-color: rgba(255, 255, 255, 1);
        padding: 10px;
        box-shadow: 1px 0px 20px 1px rgba(22, 22, 22, 0.295);
        border-radius: 40px;
        overflow: hidden;
    }
    
    .auto-update h1 {
        text-align: center;
        padding: 1.25rem;
    }
    
    .event-update {
        padding: 0rem;
    }
    
    .event-update h2 {
        text-align: center;
    }
    
    .event-row {
        align-items: center;
        justify-content: center;
        max-width: 90%;
        margin: 1.5rem auto;
    }

    .event-col {
        text-align: center;
    }
    
    .event-row h3,
    .event-row p {
        padding: 0.5rem;
    }

    /*== Event Tables ==*/
    .events-display {
        border-collapse: collapse;
        margin: 0 auto;
        padding: 2rem 0;
        width: 100%;
        background-color: rgb(255, 255, 255);
        border-radius: .25rem;
    }
    
    .event-table {
        border-bottom: 1px solid #a8a8a8;
    }

    .event-table a,
    .event-table input {
        font-size: 0.5rem;
    }

    .event-table input {
        margin-top: .5rem;
    }
    
    .event-table-header {
        background-color: #0d6efd;
        color: #fff;
        height: auto;
        width: 100%;
        border-bottom: 1.4px solid #000;
        text-align: left;
        font-weight: bold;
    }
    
    .event-table-header td {
        font-size: 0.4rem;
        padding: .1rem .2rem;
    }
    
    .event-table td {
        font-size: 0.45rem;
        color: #000;
        padding: .05rem .15rem;
    }
    
    .pageheader {
        font-size: 1.5rem;
        color: #fff;
        text-shadow: 1px 2px #0d6efd;
    }
     
    .event-table td .btn:hover {
        opacity: 70%;
    }

    .row-header {
        display: flex;
        flex-direction: row;
        justify-content: space-between;
        align-items: center;
    }

    .row-header form { 
        font-size: 1rem;
    }

    .row-header form select {
        color: #000;
        background-color: white;
        padding: .5rem;
        border: none;
        opacity: .8;
    }

    .row-header form input {
        color: #000;
        background-color: white;
        padding: .5rem;
        border: none;
        opacity: .8;
    }

    .row-header button {
        font-size: 0.5rem;
        max-width: 150px;
    }

    .join-row i {
        color: #fff;
        font-size: 1rem;
    }

    .join-row button {
        font-size: 1.25rem;
    }

    .join-row {
        background-color: #fff;
        max-width: 20%;
    }

    .join-row #caret {
        color: #000;
        font-size: 1rem;
        background-color: #fff;
        padding-left: .5rem;
    }

    .join-row button {
        font-size: 1rem;
        padding: .45rem;
        color: #000;
        border: none;
        background-color: #fff;
    }


    /*== Registration ==*/
    .event-reg {
        width: 100%;
        margin: 0 auto;
        background-color: #fcfbfb;
        padding: 50px;
        box-shadow: 1px 0px 20px 1px rgb(22 22 22 / 30%);
        border-radius: 40px;
        overflow: hidden;
        padding: 1rem;
        position: relative;
    }

    .reg-confirm {
        width: 100%;
        margin: 0 auto;
        background-color: #fcfbfb;
        padding: 50px;
        box-shadow: 1px 0px 20px 1px rgb(22 22 22 / 30%);
        border-radius: 40px;
        overflow: hidden;
        padding: 1rem;
        position: relative;
    }

    .reg-confirm h2,
    .reg-confirm p {
        padding: 1rem;
        text-align: center;
    }

    .reg-confirm h2 {
        font-size: 1.85rem;
    }

    .reg-confirm p {
        font-size: 1.05rem;
    }

    .reg-confirm a {
        max-width: 30%;
        margin: 0 auto;
    }

    .event-info table {
        margin: 0 auto;
        width: 100%;
    }

    .event-info tbody .webkit p,
    .event-info tbody .webkit ul {
        text-align: left;
        font-size: 14px;
    }

    .event-info table,
    .event-info tr,
    .event-info td {
        text-align: center;
        border-bottom: 1px solid #c5c5c5;
        padding: 1rem;
    }

    .event-info thead {
        font-size: 1.25rem;
    }

    .event-info tbody {
        font-size: 1.05rem;
    }

    .event-info th {
        text-align: center;
        padding: 1rem;
    }

    .modal {
        display: none;
        position: fixed;
        z-index: 1;
        left: 0;
        top: 0;
        width: 100%;
        height: 100%;
        overflow: auto;
        background-color: rgba(0,0,0,0.4);
      }
      
      .modal-content {
        background-image: url(media/backgroundjpg.jpg);
        margin: 15% auto;
        padding: 20px;
        border: 1px solid #888;
        width: 90%;
        text-align: center;
      }

      .modal-content-2 {
        background-image: url(media/backgroundjpg.jpg);
        margin: 15% auto;
        padding: 20px;
        border: 1px solid #888;
        width: 90%;
      }

      .modal-content p,
      .modal-content label {
        color: #fff;
      }

      .modal-form {
        width: 90%;
        margin: 0 auto;
        text-align: center;
      }
      
      .close,
      .checkTeams {
        color: #fff;
        float: right;
        font-size: 38px;
        font-weight: bold;
        text-align: right;
      }
      
      .close:hover,
      .close:focus {
        color: black;
        text-decoration: none;
        cursor: pointer;
      }

    .form-rank {
        color: dimgray;
        margin-top: 5px;
        border: none;
        border-radius: 5px;
    }

    .reg-link {
        margin-top: 10px;
    }

    .reg-link a {
        color: #fff;
        text-decoration: underline;
    }

    /*== Profile ==*/
    .profile-card {
        display: flex;
        flex-direction: column;
        width: 100%; 
    }

    .table-profile {
        box-sizing: border-box;
        width: 100%;
        margin-bottom: 1rem;
        color: #000;
        border-collapse: collapse;
    }

    .table-profile thead,
    .table-profile tbody,
    .table-profile tr {
        border: 1px solid #dee2e6;
    }

    /*== Login & Signup ==*/
    .signup-form {
        height: auto;
        width: 90%;
        margin: 0 auto;
        background-color: white;
        padding: 30px;
        box-shadow: 1px 0px 20px 1px rgba(22, 22, 22, 0.295);
    }

    /*== Admin Forms ==*/
    .search-users {
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: flex-start;
        height: auto;
        width: 90%;
        margin: 0 auto;
        background-color: white;
        padding: 50px;
        box-shadow: 1px 0px 20px 1px rgba(22, 22, 22, 0.295);
    }
    
    .search-users h2 {
        padding: 1.25rem;
    }
    
    .search-users p {
        padding: 0.85rem;
    }
    
    .searchbar {
        display: flex;
        flex-direction: row;
        justify-content: center;
        align-items: center;
    }
    
    .search-users input,
    .search-users button {
        padding: 0.65rem;
    }
    
    .searchbar button {
        background-color: #007bff;
        color: #fff;
        border-radius: 0px 50px 50px 0px;
        border: 1px solid #007bff;
    }

    .btn-filter {
        background-color: #007bff;
        color: #fff;
        border-radius: 50px;
        border: 1px solid #007bff;
    }
    
    .search-users input {
        background-color: #fff;
        border-radius: 50px 0px 0px 50px;
        border: 1px solid #000;
        text-align: center;
    }
    
    .search-users input[type="search"]::placeholder {
        color: #bbb;
    }
    
    .search-users button[type="submit"]:hover {
        opacity: 1;
    }
    
    .search-users .table-search {
        padding: 0.85rem;
    }
    
    .search-users thead {
        background-color: #e4e4e4;
        color: #000;
    }
    
    .radio-btn-row {
        list-style: none;
    }
    
    .radio-btn-wrapper {
        display: inline-block;
    }
    
    .radio-btn-wrapper input[type="radio"] {
        opacity: 0.01;
        z-index: 100;
    }
    
    .radio-btn-wrapper label {
        color: #fff;
        background-color: #0c6fd9;
        border-color: #0c6fd9;
        padding: 5px;
        outline: none;
        border-radius: .25rem;
        cursor: pointer;
    }
    
    .radio-btn-wrapper input:checked + label {
        color: #fff;
        background-color: #0e4c8f;
        border-color: #0e4c8f;
        outline: none;
        border-radius: .25rem;
    }

    .signup-form-form label {
        text-align: left;
        width: 100%;
        display: block;
        padding: 0.65rem 0.85rem;
        font-size: 1rem;
    }

    .count {
        color: #fff;
    }

    /*== Footer ==*/
    .footerBox {
        min-height: 200px;
        width: 100%;
        background: #111111;
        color: white;
        padding: 20px 0;
    }
    
    .footerBox p {
        color: white;
    }
    
    .footerBox i {
        color: #fff;
        margin-right: 10px;
    }
    
    .footerBox a {
        color: var(--white);
        font-family: var(--fontStyle);
        margin-bottom: 1rem;
    }
    
    .footer {
        background-color: #191919;
        height: auto;
        width: 100%;
        color: #fff;
        display: flex;
        flex-direction: row;
        align-items: center;
        justify-content: center;
    }
    
    .footer h1 {
        font-size: 15px;
        padding-top: 30px;
        text-align: center;
    }

}

/*===== Mobile =====*/
@media screen and (min-width: 630px) and (max-width: 820px){

    /*== Main ==*/
    * {
        margin: 0;
        padding: 0;
        box-sizing: border-box;
    }

    .content {
        background-image: url(media/backgroundjpg.jpg);
        animation: rotate 6s infinite alternate linear;
        background-size: cover;
        margin: 0px;
        padding: 0px;
        height: auto;
    } 
    
    .container {
        width: 80%;
        margin: 0 auto;
        font-family: 'Oswald', sans-serif;
    }
    
    .container-main {
        width: 90%;
        margin: 0 auto;
        padding: 50px 0;
        font-family: 'Oswald', sans-serif;
    }

    /*== Nav ==*/
    .navbar-nav {
        text-align: center;
    }
    
    .nav-item {
        border: 1px solid #919191;
    }
    
    .navbar-brand {
        height: 150px;
        width: 150px;
    }

    /*== Hero ==*/
    .hero {
        width: 100%;
        margin: 0 auto;
        background-color: white;
        box-shadow: 1px 0px 20px 1px rgba(22, 22, 22, 0.295);
        border-radius: 40px;
        overflow: hidden;
    }
    
    .hero a {
        text-decoration: none;
    }
    
    .hero .column {
        padding: 1.5rem;
    }
    
    .social-buttons {
        text-align: center;
    }
    
    .hero .column:first-child h1,
    .hero .column:first-child p,
    .hero .column:first-child h3,
    .hero .column:last-child h3 {
        padding: 1rem;
    }

    .hero .column:first-child h1 {
        text-align: center;
    }

    .hero .column:first-child p {
        font-size: 12px;
    }
    
    .hero .column:first-child a {
        padding: 1rem;
        font-size: 26px;
    }
    
    .hero .column:last-child {
        background: url(media/img2.jpg) center;
        background-size: cover;
        position: relative;
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: flex-start;
        gap: 15px; 
    }
    
    .link-button {
        display: inline-block;
        padding: 12px 30px;
        font-size: 16px;
        border: 2px solid #000;
        color: #000;
        border-radius: 50px;
        cursor: pointer;
        transition: all .65s;
        font-weight: 600;
        width: 150px;
        text-align: center;
        text-decoration: none;
    }
    
    .link-button:hover {
        opacity: 80%;
        background-color: #000;
        color: #fff;
    }
    
    .hero .column:last-child * {
        z-index: 1;
    }
    
    .hero .column:last-child h2 {
        font-weight: bold;
    }
    
    .hero .column:last-child::after {
        content: "";
        position: absolute;
        background: linear-gradient(90deg, #ffffff, #ffffff82, #ffffff65);
        inset: 0;
    }

    /*== Auto Update ==*/
    .auto-update {
        width: 100%;
        margin: 0 auto;
        background-color: rgba(255, 255, 255, 1);
        padding: 10px;
        box-shadow: 1px 0px 20px 1px rgba(22, 22, 22, 0.295);
        border-radius: 40px;
        overflow: hidden;
    }
    
    .auto-update h1 {
        text-align: center;
        padding: 1.25rem;
    }
    
    .event-update {
        padding: 0rem;
    }
    
    .event-update h2 {
        text-align: center;
    }
    
    .event-row {
        align-items: center;
        justify-content: center;
        max-width: 90%;
        margin: 1.5rem auto;
    }

    .event-col {
        text-align: center;
    }
    
    .event-row h3,
    .event-row p {
        padding: 0.5rem;
    }

    /*== Event Tables ==*/
    .events-display {
        border-collapse: collapse;
        margin: 0 auto;
        padding: 2rem 0;
        width: 100%;
        background-color: rgb(255, 255, 255);
        border-radius: .25rem;
    }
    
    .event-table {
        border-bottom: 1px solid #a8a8a8;
    }

    .event-table a,
    .event-table input {
        font-size: 0.5rem;
    }

    .event-table input {
        margin-top: .5rem;
    }
    
    .event-table-header {
        background-color: #0d6efd;
        color: #fff;
        height: auto;
        width: 100%;
        border-bottom: 1.4px solid #000;
        text-align: left;
        font-weight: bold;
    }
    
    .event-table-header td {
        font-size: .8rem;
        padding: .2rem .3rem;
    }
    
    .event-table td {
        font-size: 0.75rem;
        color: #000;
        padding: .40rem .60rem;
    }
    
    .pageheader {
        font-size: 1.5rem;
        color: #fff;
        text-shadow: 1px 2px #0d6efd;
    }
     
    .event-table td .btn:hover {
        opacity: 70%;
    }

    .row-header {
        display: flex;
        flex-direction: row;
        justify-content: space-between;
        align-items: center;
    }

    .row-header form { 
        font-size: 1rem;
    }

    .row-header form select {
        color: #000;
        background-color: white;
        padding: .5rem;
        border: none;
        opacity: .8;
    }

    .row-header form input {
        color: #000;
        background-color: white;
        padding: .5rem;
        border: none;
        opacity: .8;
    }

    .join-row i {
        color: #fff;
        font-size: 1rem;
    }

    .join-row button {
        font-size: 1.25rem;
    }

    .join-row {
        background-color: #fff;
        max-width: 20%;
    }

    .join-row #caret {
        color: #000;
        font-size: 1rem;
        background-color: #fff;
        padding-left: .5rem;
    }

    .join-row button {
        font-size: 1rem;
        padding: .45rem;
        color: #000;
        border: none;
        background-color: #fff;
    }


    /*== Registration ==*/
    .event-reg {
        width: 100%;
        margin: 0 auto;
        background-color: #fcfbfb;
        padding: 50px;
        box-shadow: 1px 0px 20px 1px rgb(22 22 22 / 30%);
        border-radius: 40px;
        overflow: hidden;
        padding: 1rem;
        position: relative;
    }

    .reg-confirm {
        width: 100%;
        margin: 0 auto;
        background-color: #fcfbfb;
        padding: 50px;
        box-shadow: 1px 0px 20px 1px rgb(22 22 22 / 30%);
        border-radius: 40px;
        overflow: hidden;
        padding: 1rem;
        position: relative;
    }

    .reg-confirm h2,
    .reg-confirm p {
        padding: 1rem;
        text-align: center;
    }

    .reg-confirm h2 {
        font-size: 1.85rem;
    }

    .reg-confirm p {
        font-size: 1.05rem;
    }

    .reg-confirm a {
        max-width: 30%;
        margin: 0 auto;
    }

    .event-info table {
        margin: 0 auto;
        width: 100%;
    }

    .event-info tbody .webkit p,
    .event-info tbody .webkit ul {
        text-align: left;
        font-size: 14px;
    }

    .event-info table,
    .event-info tr,
    .event-info td {
        text-align: center;
        border-bottom: 1px solid #c5c5c5;
        padding: 1rem;
    }

    .event-info thead {
        font-size: 1.25rem;
    }

    .event-info tbody {
        font-size: 1.05rem;
    }

    .event-info th {
        text-align: center;
        padding: 1rem;
    }

    .modal {
        display: none;
        position: fixed;
        z-index: 1;
        left: 0;
        top: 0;
        width: 100%;
        height: 100%;
        overflow: auto;
        background-color: rgba(0,0,0,0.4);
      }
      
      .modal-content {
        background-image: url(media/backgroundjpg.jpg);
        margin: 15% auto;
        padding: 20px;
        border: 1px solid #888;
        width: 90%;
        text-align: center;
      }

      .modal-content-2 {
        background-image: url(media/backgroundjpg.jpg);
        margin: 15% auto;
        padding: 20px;
        border: 1px solid #888;
        width: 90%;
      }

      .modal-content p,
      .modal-content label {
        color: #fff;
      }

      .modal-form {
        width: 90%;
        margin: 0 auto;
        text-align: center;
      }
      
      .close,
      .checkTeams {
        color: #fff;
        float: right;
        font-size: 38px;
        font-weight: bold;
        text-align: right;
      }
      
      .close:hover,
      .close:focus {
        color: black;
        text-decoration: none;
        cursor: pointer;
      }

    .form-rank {
        color: dimgray;
        margin-top: 5px;
        border: none;
        border-radius: 5px;
    }

    .reg-link {
        margin-top: 10px;
    }

    .reg-link a {
        color: #fff;
        text-decoration: underline;
    }

    /*== Profile ==*/
    .profile-card {
        display: flex;
        flex-direction: column;
        width: 100%; 
    }

    .table-profile {
        box-sizing: border-box;
        width: 100%;
        margin-bottom: 1rem;
        color: #000;
        border-collapse: collapse;
    }

    .table-profile thead,
    .table-profile tbody,
    .table-profile tr {
        border: 1px solid #dee2e6;
    }

    /*== Login & Signup ==*/
    .signup-form {
        height: auto;
        width: 90%;
        margin: 0 auto;
        background-color: white;
        padding: 30px;
        box-shadow: 1px 0px 20px 1px rgba(22, 22, 22, 0.295);
    }

    /*== Admin Forms ==*/
    .search-users {
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: flex-start;
        height: auto;
        width: 90%;
        margin: 0 auto;
        background-color: white;
        padding: 50px;
        box-shadow: 1px 0px 20px 1px rgba(22, 22, 22, 0.295);
    }
    
    .search-users h2 {
        padding: 1.25rem;
    }
    
    .search-users p {
        padding: 0.85rem;
    }
    
    .searchbar {
        display: flex;
        flex-direction: row;
        justify-content: center;
        align-items: center;
    }
    
    .search-users input,
    .search-users button {
        padding: 0.65rem;
    }
    
    .searchbar button {
        background-color: #007bff;
        color: #fff;
        border-radius: 0px 50px 50px 0px;
        border: 1px solid #007bff;
    }

    .btn-filter {
        background-color: #007bff;
        color: #fff;
        border-radius: 50px;
        border: 1px solid #007bff;
    }
    
    .search-users input {
        background-color: #fff;
        border-radius: 50px 0px 0px 50px;
        border: 1px solid #000;
        text-align: center;
    }
    
    .search-users input[type="search"]::placeholder {
        color: #bbb;
    }
    
    .search-users button[type="submit"]:hover {
        opacity: 1;
    }
    
    .search-users .table-search {
        padding: 0.85rem;
    }
    
    .search-users thead {
        background-color: #e4e4e4;
        color: #000;
    }
    
    .radio-btn-row {
        list-style: none;
    }
    
    .radio-btn-wrapper {
        display: inline-block;
    }
    
    .radio-btn-wrapper input[type="radio"] {
        opacity: 0.01;
        z-index: 100;
    }
    
    .radio-btn-wrapper label {
        color: #fff;
        background-color: #0c6fd9;
        border-color: #0c6fd9;
        padding: 5px;
        outline: none;
        border-radius: .25rem;
        cursor: pointer;
    }
    
    .radio-btn-wrapper input:checked + label {
        color: #fff;
        background-color: #0e4c8f;
        border-color: #0e4c8f;
        outline: none;
        border-radius: .25rem;
    }

    .signup-form-form label {
        text-align: left;
        width: 100%;
        display: block;
        padding: 0.65rem 0.85rem;
        font-size: 1rem;
    }

    .count {
        color: #fff;
    }

    /*== Footer ==*/
    .footerBox {
        min-height: 200px;
        width: 100%;
        background: #111111;
        color: white;
        padding: 20px 0;
    }
    
    .footerBox p {
        color: white;
    }
    
    .footerBox i {
        color: #fff;
        margin-right: 10px;
    }
    
    .footerBox a {
        color: var(--white);
        font-family: var(--fontStyle);
        margin-bottom: 1rem;
    }
    
    .footer {
        background-color: #191919;
        height: auto;
        width: 100%;
        color: #fff;
        display: flex;
        flex-direction: row;
        align-items: center;
        justify-content: center;
    }
    
    .footer h1 {
        font-size: 15px;
        padding-top: 30px;
        text-align: center;
    }

}

/*===== Tablet, Medium & Small device =====*/
@media screen and (min-width: 820px) and (max-width: 992px) {

    .signup-form {
        height: auto;
        width: 90%;
        margin: 0 auto;
        background-color: white;
    }

    /*== Main ==*/
    * {
        margin: 0;
        padding: 0;
        box-sizing: border-box;
    }

    .content {
        background-image: url(media/backgroundjpg.jpg);
        animation: rotate 6s infinite alternate linear;
        background-size: cover;
        margin: 0px;
        padding: 0px;
        height: auto;
    } 
    
    .container {
        width: 80%;
        margin: 0 auto;
        font-family: 'Oswald', sans-serif;
    }
    
    .container-main {
        width: 90%;
        margin: 0 auto;
        padding: 50px 0;
        font-family: 'Oswald', sans-serif;
    }

    /*== Nav ==*/
    .navbar-nav {
        text-align: center;
    }
    
    .nav-item {
        border: 1px solid #919191;
    }
    
    .navbar-brand {
        height: 150px;
        width: 150px;
    }

    /*== Hero ==*/
    .hero {
        width: 100%;
        margin: 0 auto;
        background-color: white;
        padding: 50px;
        box-shadow: 1px 0px 20px 1px rgba(22, 22, 22, 0.295);
        border-radius: 40px;
        overflow: hidden;
        display: grid;
        grid-template-columns: 50% 50%;
    }
    
    .hero a {
        text-decoration: none;
    }
    
    .hero .column {
        padding: 1.5rem;
    }
    
    .social-buttons {
        text-align: center;
    }
    
    .hero .column:first-child h1,
    .hero .column:first-child p,
    .hero .column:first-child h3,
    .hero .column:last-child h3 {
        padding: 1rem;
    }
    
    .hero .column:first-child a {
        padding: 1rem;
        font-size: 26px;
    }
    
    .hero .column:last-child {
        background: url(media/img2.jpg) center;
        background-size: cover;
        position: relative;
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: flex-start;
        gap: 15px; 
    }
    
    .link-button {
        display: inline-block;
        padding: 12px 30px;
        font-size: 16px;
        border: 2px solid #000;
        color: #000;
        border-radius: 50px;
        cursor: pointer;
        transition: all .65s;
        font-weight: 600;
        width: 150px;
        text-align: center;
        text-decoration: none;
    }
    
    .link-button:hover {
        opacity: 80%;
        background-color: #000;
        color: #fff;
    }
    
    .hero .column:last-child * {
        z-index: 1;
    }
    
    .hero .column:last-child h2 {
        font-weight: bold;
    }
    
    .hero .column:last-child::after {
        content: "";
        position: absolute;
        background: linear-gradient(90deg, #ffffff, #ffffff82, #ffffff65);
        inset: 0;
    }

    /*== Auto Update ==*/
    .auto-update {
        width: 100%;
        margin: 0 auto;
        background-color: rgba(255, 255, 255, 1);
        padding: 50px;
        box-shadow: 1px 0px 20px 1px rgba(22, 22, 22, 0.295);
        border-radius: 40px;
        overflow: hidden;
    }
    
    .auto-update h1 {
        text-align: center;
        padding: 1.25rem;
    }
    
    .event-update {
        padding: 1.25rem;
    }
    
    .event-update h2 {
        text-align: center;
    }
    
    .event-row {
        display: grid;
        grid-template-columns: 70% 30%;
        align-items: center;
        justify-content: center;
        max-width: 90%;
        margin: 1.5rem auto;
    }
    
    .event-row h3,
    .event-row p {
        padding: 0.5rem;
    }

    /*== Event Tables ==*/
    .events-display {
        border-collapse: collapse;
        margin: 0 auto;
        padding: 2rem 0;
        width: 100%;
        background-color: rgb(255, 255, 255);
        border-radius: .25rem;
    }
    
    .event-table {
        border-bottom: 1px solid #a8a8a8;
    }
    
    .event-table-header {
        background-color: #0d6efd;
        color: #fff;
        height: auto;
        width: 100%;
        border-bottom: 1.4px solid #000;
        text-align: left;
        font-weight: bold;
    }

    .event-table input {
        margin-top: .5rem;
    }
    
    .event-table-header td {
        padding: .30rem .50rem;
    }
    
    .event-table td {
        font-size: 1rem;
        color: #000;
        padding: .30rem .50rem;
    }
    
    .pageheader {
        font-size: 2.5rem;
        color: #fff;
        text-shadow: 1px 2px #0d6efd;
    }
     
    .event-table td .btn:hover {
        opacity: 70%;
    }

    .row-header {
        display: flex;
        flex-direction: row;
        justify-content: space-between;
        align-items: center;
    }

    .row-header form { 
        font-size: 1.55rem;
    }

    .row-header form select {
        color: #000;
        background-color: white;
        padding: .5rem;
        border: none;
        opacity: .8;
    }

    .row-header form input {
        color: #000;
        background-color: white;
        padding: .5rem;
        border: none;
        opacity: .8;
    }

    .join-row {
        background-color: #fff;
    }

    .join-row #caret {
        color: #000;
        font-size: 1rem;
        background-color: #fff;
        padding-left: .5rem;
    }

    .join-row button {
        font-size: 1.25rem;
        padding: .45rem;
        color: #000;
        border: none;
        background-color: #fff;
    }


    /*== Registration ==*/
    .event-reg {
        width: 100%;
        margin: 0 auto;
        background-color: #fcfbfb;
        padding: 50px;
        box-shadow: 1px 0px 20px 1px rgb(22 22 22 / 30%);
        border-radius: 40px;
        overflow: hidden;
        padding: 1rem;
        position: relative;
    }

    .reg-confirm {
        width: 100%;
        margin: 0 auto;
        background-color: #fcfbfb;
        padding: 50px;
        box-shadow: 1px 0px 20px 1px rgb(22 22 22 / 30%);
        border-radius: 40px;
        overflow: hidden;
        padding: 1rem;
        position: relative;
    }

    .reg-confirm h2,
    .reg-confirm p {
        padding: 1rem;
        text-align: center;
    }

    .reg-confirm h2 {
        font-size: 2.25rem;
    }

    .reg-confirm p {
        font-size: 1.25rem;
    }

    .reg-confirm a {
        max-width: 30%;
        margin: 0 auto;
    }

    .event-info table {
        margin: 0 auto;
        width: 100%;
    }

    .event-info tbody .webkit p,
    .event-info tbody .webkit ul {
        text-align: left;
        font-size: 16px;
    }
    .event-info table,
    .event-info tr,
    .event-info td {
        text-align: center;
        border-bottom: 1px solid #c5c5c5;
        padding: 1rem;
    }

    .event-info thead {
        font-size: 1.25rem;
    }

    .event-info tbody {
        font-size: 1.05rem;
    }

    .event-info th {
        text-align: center;
        padding: 1rem;
    }

    .modal {
        display: none;
        position: fixed;
        z-index: 1;
        left: 0;
        top: 0;
        width: 100%;
        height: 100%;
        overflow: auto;
        background-color: rgba(0,0,0,0.4);
      }
      
      .modal-content {
        background-image: url(media/backgroundjpg.jpg);
        margin: 15% auto;
        padding: 20px;
        border: 1px solid #888;
        width: 80%;
        text-align: center;
      }

      .modal-content-2 {
        background-image: url(media/backgroundjpg.jpg);
        margin: 15% auto;
        padding: 20px;
        border: 1px solid #888;
        width: 80%;
      }

      .modal-content p,
      .modal-content label {
        color: #fff;
      }

      .modal-form {
        width: 70%;
        margin: 0 auto;
        text-align: center;
      }
      
      .close,
      .checkTeams {
        color: #fff;
        float: right;
        font-size: 38px;
        font-weight: bold;
        text-align: right;
      }
      
      .close:hover,
      .close:focus {
        color: black;
        text-decoration: none;
        cursor: pointer;
      }

    .form-rank {
        color: dimgray;
        margin-top: 5px;
        border: none;
        border-radius: 5px;
    }

    .reg-link {
        margin-top: 10px;
    }

    .reg-link a {
        color: #fff;
        text-decoration: underline;
    }

    /*== Profile ==*/
    .profile-card {
        display: flex;
        flex-direction: column;
        width: 70%; 
    }

    .table-profile {
        box-sizing: border-box;
        width: 100%;
        margin-bottom: 1rem;
        color: #000;
        border-collapse: collapse;
    }

    .table-profile thead,
    .table-profile tbody,
    .table-profile tr {
        border: 1px solid #dee2e6;
    }

    /*== Login & Signup ==*/
    .signup-form {
        height: auto;
        width: 90%;
        margin: 0 auto;
        background-color: white;
        padding: 50px;
        box-shadow: 1px 0px 20px 1px rgba(22, 22, 22, 0.295);
    }

    /*== Admin Forms ==*/
    .search-users {
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: flex-start;
        height: auto;
        width: 90%;
        margin: 0 auto;
        background-color: white;
        padding: 50px;
        box-shadow: 1px 0px 20px 1px rgba(22, 22, 22, 0.295);
    }
    
    .search-users h2 {
        padding: 1.25rem;
    }
    
    .search-users p {
        padding: 0.85rem;
    }
    
    .searchbar {
        display: flex;
        flex-direction: row;
        justify-content: center;
        align-items: center;
    }
    
    .search-users input,
    .search-users button {
        padding: 0.65rem;
    }
    
    .searchbar button {
        background-color: #007bff;
        color: #fff;
        border-radius: 0px 50px 50px 0px;
        border: 1px solid #007bff;
    }
    
    .btn-filter {
        background-color: #007bff;
        color: #fff;
        border-radius: 50px;
        border: 1px solid #007bff;
    }

    .search-users input {
        background-color: #fff;
        border-radius: 50px 0px 0px 50px;
        border: 1px solid #000;
        text-align: center;
    }
    
    .search-users input[type="search"]::placeholder {
        color: #bbb;
    }
    
    .search-users button[type="submit"]:hover {
        opacity: 1;
    }
    
    .search-users .table-search {
        padding: 0.85rem;
    }
    
    .search-users thead {
        background-color: #e4e4e4;
        color: #000;
    }
    
    .radio-btn-row {
        list-style: none;
    }
    
    .radio-btn-wrapper {
        display: inline-block;
    }
    
    .radio-btn-wrapper input[type="radio"] {
        opacity: 0.01;
        z-index: 100;
    }
    
    .radio-btn-wrapper label {
        color: #fff;
        background-color: #0c6fd9;
        border-color: #0c6fd9;
        padding: 5px;
        outline: none;
        border-radius: .25rem;
        cursor: pointer;
    }
    
    .radio-btn-wrapper input:checked + label {
        color: #fff;
        background-color: #0e4c8f;
        border-color: #0e4c8f;
        outline: none;
        border-radius: .25rem;
    }

    .signup-form-form label {
        text-align: left;
        width: 100%;
        display: block;
        padding: 0.65rem 0.85rem;
        font-size: 1.25rem;
    }

    .count {
        color: #fff;
    }

    /*== Footer ==*/
    .footerBox {
        min-height: 200px;
        width: 100%;
        background: #111111;
        color: white;
        padding: 20px 0;
    }
    
    .footerBox p {
        color: white;
    }
    
    .footerBox i {
        color: #fff;
        margin-right: 10px;
    }
    
    .footerBox a {
        color: var(--white);
        font-family: var(--fontStyle);
        margin-bottom: 1rem;
    }
    
    .footer {
        background-color: #191919;
        height: auto;
        width: 100%;
        color: #fff;
        display: flex;
        flex-direction: row;
        align-items: center;
        justify-content: center;
    }
    
    .footer h1 {
        font-size: 15px;
        padding-top: 30px;
        text-align: center;
    }

}

/*===== Smaller Laptops & Desktop =====*/
@media screen and (min-width: 992px) and (max-width: 1250px) {

    .nav-item {
        border: none;
    }

    /*== Main ==*/
    * {
        margin: 0;
        padding: 0;
        box-sizing: border-box;
    }

    .content {
        background-image: url(media/backgroundjpg.jpg);
        animation: rotate 6s infinite alternate linear;
        background-size: cover;
        margin: 0px;
        padding: 0px;
        height: auto;
    } 
    
    .container {
        width: 80%;
        margin: 0 auto;
        font-family: 'Oswald', sans-serif;
    }
    
    .container-main {
        width: 90%;
        margin: 0 auto;
        padding: 50px 0;
        font-family: 'Oswald', sans-serif;
    }

    /*== Nav ==*/
    .navbar-nav {
        text-align: center;
    }
    
    .nav-item {
        border: none;
        font-size: 20px;
        padding-left: 1.25rem;
        color: #000;
    }

    .nav-item:hover {
        color: #000;
        text-decoration: underline;
    }
    
    .navbar-brand {
        height: 150px;
        width: 150px;
    }

    /*== Hero ==*/
    .hero {
        width: 100%;
        margin: 0 auto;
        background-color: white;
        padding: 50px;
        box-shadow: 1px 0px 20px 1px rgba(22, 22, 22, 0.295);
        border-radius: 40px;
        overflow: hidden;
        display: grid;
        grid-template-columns: 50% 50%;
    }
    
    .hero a {
        text-decoration: none;
    }
    
    .hero .column {
        padding: 1.5rem;
    }
    
    .social-buttons {
        text-align: center;
    }
    
    .hero .column:first-child h1,
    .hero .column:first-child p,
    .hero .column:first-child h3,
    .hero .column:last-child h3 {
        padding: 1rem;
    }
    
    .hero .column:first-child a {
        padding: 1rem;
        font-size: 26px;
    }
    
    .hero .column:last-child {
        background: url(media/img2.jpg) center;
        background-size: cover;
        position: relative;
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: flex-start;
        gap: 15px; 
    }
    
    .link-button {
        display: inline-block;
        padding: 12px 30px;
        font-size: 16px;
        border: 2px solid #000;
        color: #000;
        border-radius: 50px;
        cursor: pointer;
        transition: all .65s;
        font-weight: 600;
        width: 150px;
        text-align: center;
        text-decoration: none;
    }
    
    .link-button:hover {
        opacity: 80%;
        background-color: #000;
        color: #fff;
    }
    
    .hero .column:last-child * {
        z-index: 1;
    }
    
    .hero .column:last-child h2 {
        font-weight: bold;
    }
    
    .hero .column:last-child::after {
        content: "";
        position: absolute;
        background: linear-gradient(90deg, #ffffff, #ffffff82, #ffffff65);
        inset: 0;
    }

    /*== Auto Update ==*/
    .auto-update {
        width: 100%;
        margin: 0 auto;
        background-color: rgba(255, 255, 255, 1);
        padding: 50px;
        box-shadow: 1px 0px 20px 1px rgba(22, 22, 22, 0.295);
        border-radius: 40px;
        overflow: hidden;
    }
    
    .auto-update h1 {
        text-align: center;
        padding: 1.25rem;
    }
    
    .event-update {
        padding: 1.25rem;
    }
    
    .event-update h2 {
        text-align: center;
    }
    
    .event-row {
        display: grid;
        grid-template-columns: 50% 50%;
        align-items: center;
        justify-content: center;
        max-width: 90%;
        margin: 1.5rem auto;
        text-align: center;
        height: auto;
    }

    .event-col-2 {
        background-image: url(media/graphic.png);
        background-size: cover;
        height: 100%;
        width: 100%;
        background-position: center;
    }

    .event-row h3 {
        font-size: 1.65rem;
    }

    .event-row p {
        font-size: 1.25rem;
    }
    
    .event-row h3,
    .event-row p {
        padding: 0.5rem;
    }

    /*== Event Tables ==*/
    .events-display {
        border-collapse: collapse;
        margin: 0 auto;
        padding: 2rem 0;
        width: 100%;
        background-color: rgb(255, 255, 255);
        border-radius: .25rem;
    }
    
    .event-table {
        border-bottom: 1px solid #a8a8a8;
    }

    .event-table input {
        margin-top: .5rem;
    }
    
    .event-table-header {
        background-color: #0d6efd;
        color: #fff;
        height: auto;
        width: 100%;
        border-bottom: 1.4px solid #000;
        text-align: left;
        font-weight: bold;
    }
    
    .event-table-header td {
        padding: .40rem .60rem;
    }
    
    .event-table td {
        font-size: 1.15rem;
        color: #000;
        padding: .50rem .70rem;
    }
    
    .pageheader {
        font-size: 3.5rem;
        color: #fff;
        text-shadow: 1px 2px #0d6efd;
    }
     
    .event-table td .btn:hover {
        opacity: 70%;
    }

    .row-header {
        display: flex;
        flex-direction: row;
        justify-content: space-between;
        align-items: center;
    }

    .row-header form { 
        font-size: 1.55rem;
    }

    .row-header form select {
        color: #000;
        background-color: white;
        padding: .5rem;
        border: none;
        opacity: .8;
    }

    .row-header form input {
        color: #000;
        background-color: white;
        padding: .5rem;
        border: none;
        opacity: .8;
    }

    .join-row {
        background-color: #fff;
    }

    .join-row #caret {
        color: #000;
        font-size: 1rem;
        background-color: #fff;
        padding-left: .5rem;
    }

    .join-row button {
        font-size: 1.25rem;
        padding: .45rem;
        color: #000;
        border: none;
        background-color: #fff;
    }

    /*== Registration ==*/
    .event-reg {
        width: 100%;
        margin: 0 auto;
        background-color: #fcfbfb;
        padding: 50px;
        box-shadow: 1px 0px 20px 1px rgb(22 22 22 / 30%);
        border-radius: 40px;
        overflow: hidden;
        padding: 1rem;
        position: relative;
        display: grid;
        grid-template-columns: 55% 45%;
    }

    .reg-confirm {
        width: 100%;
        margin: 0 auto;
        background-color: #fcfbfb;
        padding: 50px;
        box-shadow: 1px 0px 20px 1px rgb(22 22 22 / 30%);
        border-radius: 40px;
        overflow: hidden;
        padding: 1rem;
        position: relative;
    }

    .reg-confirm h2,
    .reg-confirm p {
        padding: 1rem;
        text-align: center;
    }

    .reg-confirm h2 {
        font-size: 2.25rem;
    }

    .reg-confirm p {
        font-size: 1.25rem;
    }

    .reg-confirm a {
        max-width: 30%;
        margin: 0 auto;
    }

    .event-info table {
        margin: 0 auto;
        width: 90%;
    }

    .event-info tbody .webkit p,
    .event-info tbody .webkit ul {
        text-align: left;
        font-size: 16px;
    }

    .event-info table,
    .event-info tr,
    .event-info td {
        text-align: center;
        border-bottom: 1px solid #c5c5c5;
        padding: 1rem;
    }

    .event-info thead {
        font-size: 1.25rem;
    }

    .event-info tbody {
        font-size: 1.05rem;
    }

    .event-info th {
        text-align: center;
        padding: 1rem;
    }

    .grid-image {
        background-image: url(media/beachvolleyball.jpg);
        height: 100%;
        width: 100%;
        background-size: cover;
        background-position: center;
        border-radius: 50px;
    }

    .modal {
        display: none;
        position: fixed;
        z-index: 1;
        left: 0;
        top: 0;
        width: 100%;
        height: 100%;
        overflow: auto;
        background-color: rgba(0,0,0,0.4);
      }
      
      .modal-content {
        background-image: url(media/backgroundjpg.jpg);
        margin: 15% auto;
        padding: 20px;
        border: 1px solid #888;
        width: 40%;
        text-align: center;
      }

      .modal-content-2 {
        background-image: url(media/backgroundjpg.jpg);
        margin: 15% auto;
        padding: 20px;
        border: 1px solid #888;
        width: 80%;
      }

      .modal-content p,
      .modal-content label {
        color: #fff;
      }

      .modal-form {
        width: 340px;
        margin: 0 auto;
        text-align: center;
      }
      
      .close,
      .checkTeams {
        color: #fff;
        float: right;
        font-size: 38px;
        font-weight: bold;
        text-align: right;
      }
      
      .close:hover,
      .close:focus {
        color: black;
        text-decoration: none;
        cursor: pointer;
      }

    .form-rank {
        color: dimgray;
        margin-top: 5px;
        border: none;
        border-radius: 5px;
    }

    .reg-link {
        margin-top: 10px;
    }

    .reg-link a {
        color: #fff;
        text-decoration: underline;
    }

    /*== Profile ==*/
    .profile-card {
        display: flex;
        flex-direction: column;
        width: 70%; 
    }

    .table-profile {
        box-sizing: border-box;
        width: 100%;
        margin-bottom: 1rem;
        color: #000;
        border-collapse: collapse;
    }

    .table-profile thead,
    .table-profile tbody,
    .table-profile tr {
        border: 1px solid #dee2e6;
    }

    /*== Login & Signup ==*/
    .signup-form {
        height: auto;
        width: 90%;
        margin: 0 auto;
        background-color: white;
        padding: 50px;
        box-shadow: 1px 0px 20px 1px rgba(22, 22, 22, 0.295);
    }

    /*== Admin Forms ==*/
    .search-users {
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: flex-start;
        height: auto;
        width: 90%;
        margin: 0 auto;
        background-color: white;
        padding: 50px;
        box-shadow: 1px 0px 20px 1px rgba(22, 22, 22, 0.295);
    }
    
    .search-users h2 {
        padding: 1.25rem;
    }
    
    .search-users p {
        padding: 0.85rem;
    }
    
    .searchbar {
        display: flex;
        flex-direction: row;
        justify-content: center;
        align-items: center;
    }
    
    .search-users input,
    .search-users button {
        padding: 0.65rem;
    }
    
    .searchbar button {
        background-color: #007bff;
        color: #fff;
        border-radius: 0px 50px 50px 0px;
        border: 1px solid #007bff;
    }

    .btn-filter {
        background-color: #007bff;
        color: #fff;
        border-radius: 50px;
        border: 1px solid #007bff;
    }
    
    .search-users input {
        background-color: #fff;
        border-radius: 50px 0px 0px 50px;
        border: 1px solid #000;
        text-align: center;
    }
    
    .search-users input[type="search"]::placeholder {
        color: #bbb;
    }
    
    .search-users button[type="submit"]:hover {
        opacity: 1;
    }
    
    .search-users .table-search {
        padding: 0.85rem;
    }
    
    .search-users thead {
        background-color: #e4e4e4;
        color: #000;
    }
    
    .radio-btn-row {
        list-style: none;
    }
    
    .radio-btn-wrapper {
        display: inline-block;
    }

    .radio-btn-wrapper input[type="radio"] {
        opacity: 0.01;
        z-index: 100;
    }
    
    .radio-btn-wrapper label {
        color: #fff;
        background-color: #007bff;
        border-color: #007bff;
        padding: 5px;
        outline: none;
        border-radius: .25rem;
        cursor: pointer;
    }
    
    .radio-btn-wrapper input:checked + label {
        color: #fff;
        background-color: #0e4c8f;
        border-color: #0e4c8f;
        outline: none;
        border-radius: .25rem;
    }

    .signup-form-form label {
        text-align: left;
        width: 100%;
        display: block;
        padding: 0.65rem 0.85rem;
        font-size: 1.25rem;
    }

    .count {
        color: #fff;
    }

    /*== Footer ==*/
    .footerBox {
        min-height: 200px;
        width: 100%;
        background: #111111;
        color: white;
        padding: 20px 0;
    }
    
    .footerBox p {
        color: white;
    }
    
    .footerBox i {
        color: #fff;
        margin-right: 10px;
    }
    
    .footerBox a {
        color: var(--white);
        font-family: var(--fontStyle);
        margin-bottom: 1rem;
    }
    
    .footer {
        background-color: #191919;
        height: auto;
        width: 100%;
        color: #fff;
        display: flex;
        flex-direction: row;
        align-items: center;
        justify-content: center;
    }
    
    .footer h1 {
        font-size: 15px;
        padding-top: 30px;
        text-align: center;
    }

}

/*===== Larger Laptops & Desktop =====*/
@media screen and (min-width: 1250px){

    /*== Main ==*/
    * {
        margin: 0;
        padding: 0;
        box-sizing: border-box;
    }

    .content {
        background-image: url(media/backgroundjpg.jpg);
        animation: rotate 6s infinite alternate linear;
        background-size: cover;
        margin: 0px;
        padding: 0px;
        height: auto;
    } 
    
    .container {
        width: 80%;
        margin: 0 auto;
        font-family: 'Oswald', sans-serif;
    }
    
    .container-main {
        width: 80%;
        margin: 0 auto;
        padding: 50px 0;
        font-family: 'Oswald', sans-serif;
    }

    /*== Nav ==*/
    .navbar-nav {
        text-align: center;
    }
    
    .nav-item {
        border: none;
        font-size: 20px;
        padding-left: 1.25rem;
    }
    
    .nav-item:hover {
        color: #000;
        text-decoration: underline;
    }

    .navbar-brand {
        height: 150px;
        width: 150px;
    }

    /*== Hero ==*/
    .hero {
        width: 100%;
        margin: 0 auto;
        background-color: white;
        padding: 50px;
        box-shadow: 1px 0px 20px 1px rgba(22, 22, 22, 0.295);
        border-radius: 40px;
        overflow: hidden;
        display: grid;
        grid-template-columns: 50% 50%;
    }
    
    .hero a {
        text-decoration: none;
    }
    
    .hero .column {
        padding: 1.5rem;
    }
    
    .social-buttons {
        text-align: center;
    }
    
    .hero .column:first-child h1,
    .hero .column:first-child p,
    .hero .column:first-child h3,
    .hero .column:last-child h3 {
        padding: 1rem;
    }
    
    .hero .column:first-child a {
        padding: 1rem;
        font-size: 26px;
    }
    
    .hero .column:last-child {
        background: url(media/img2.jpg) center;
        background-size: cover;
        position: relative;
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: flex-start;
        gap: 15px; 
    }
    
    .link-button {
        display: inline-block;
        padding: 12px 30px;
        font-size: 16px;
        border: 2px solid #000;
        color: #000;
        border-radius: 50px;
        cursor: pointer;
        transition: all .65s;
        font-weight: 600;
        width: 150px;
        text-align: center;
        text-decoration: none;
    }
    
    .link-button:hover {
        opacity: 80%;
        background-color: #000;
        color: #fff;
    }
    
    .hero .column:last-child * {
        z-index: 1;
    }
    
    .hero .column:last-child h2 {
        font-weight: bold;
    }
    
    .hero .column:last-child::after {
        content: "";
        position: absolute;
        background: linear-gradient(90deg, #ffffff, #ffffff82, #ffffff65);
        inset: 0;
    }

    /*== Auto Update ==*/
    .auto-update {
        width: 100%;
        margin: 0 auto;
        background-color: rgba(255, 255, 255, 1);
        padding: 50px;
        box-shadow: 1px 0px 20px 1px rgba(22, 22, 22, 0.295);
        border-radius: 40px;
        overflow: hidden;
    }
    
    .auto-update h1 {
        text-align: center;
        padding: 1.25rem;
    }
    
    .event-update {
        padding: 1.25rem;
    }
    
    .event-update h2 {
        text-align: center;
    }
    
    .event-row {
        display: grid;
        grid-template-columns: 70% 30%;
        align-items: center;
        justify-content: center;
        max-width: 90%;
        margin: 1.5rem auto;
    }
    
    .event-row h3,
    .event-row p {
        padding: 0.5rem;
    }

    /*== Event Tables ==*/
    .events-display {
        border-collapse: collapse;
        margin: 0 auto;
        padding: 2rem 0;
        width: 100%;
        background-color: rgb(255, 255, 255);
        border-radius: .25rem;
    }
    
    .event-table {
        border-bottom: 1px solid #a8a8a8;
    }

    .event-table input {
        margin-top: .5rem;
    }
    
    .event-table-header {
        background-color: #0d6efd;
        color: #fff;
        height: auto;
        width: 100%;
        border-bottom: 1.4px solid #000;
        text-align: left;
        font-weight: bold;
    }
    
    .event-table-header td {
        padding: .40rem .60rem;
    }
    
    .event-table td {
        font-size: 1.25rem;
        color: #000;
        padding: .70rem .90rem;
    }
    
    .pageheader {
        font-size: 3.5rem;
        color: #fff;
        text-shadow: 1px 2px #0d6efd;
    }
     
    .event-table td .btn:hover {
        opacity: 70%;
    }

    .row-header {
        display: flex;
        flex-direction: row;
        justify-content: space-between;
        align-items: center;
    }

    .row-header form { 
        font-size: 1.55rem;
    }

    .row-header form select {
        color: #000;
        background-color: white;
        padding: .5rem;
        border: none;
        opacity: .8;
    }

    .row-header form input {
        color: #000;
        background-color: white;
        padding: .5rem;
        border: none;
        opacity: .8;
    }

    .join-row {
        background-color: #fff;
    }

    .join-row #caret {
        color: #000;
        font-size: 1rem;
        background-color: #fff;
        padding-left: .5rem;
    }

    .join-row button {
        font-size: 1.25rem;
        padding: .45rem;
        color: #000;
        border: none;
        background-color: #fff;
    }

    /*== Registration ==*/
    
    .event-reg {
        width: 100%;
        margin: 0 auto;
        background-color: #fcfbfb;
        padding: 50px;
        box-shadow: 1px 0px 20px 1px rgb(22 22 22 / 30%);
        border-radius: 40px;
        overflow: hidden;
        padding: 1rem;
        position: relative;
        display: grid;
        grid-template-columns: 55% 45%;
    }

    .reg-confirm {
        width: 100%;
        margin: 0 auto;
        background-color: #fcfbfb;
        padding: 50px;
        box-shadow: 1px 0px 20px 1px rgb(22 22 22 / 30%);
        border-radius: 40px;
        overflow: hidden;
        padding: 1rem;
        position: relative;
    }

    .reg-confirm h2,
    .reg-confirm p {
        padding: 1rem;
        text-align: center;
    }

    .reg-confirm h2 {
        font-size: 2.25rem;
    }

    .reg-confirm p {
        font-size: 1.25rem;
    }

    .reg-confirm a {
        max-width: 30%;
        margin: 0 auto;
    }

    .event-info table {
        margin: 0 auto;
        width: 90%;
    }

    .event-info tbody .webkit p,
    .event-info tbody .webkit ul {
        text-align: left;
        font-size: 17px;
    }

    .event-info table,
    .event-info tr,
    .event-info td {
        text-align: center;
        border-bottom: 1px solid #c5c5c5;
        padding: 1rem;
    }

    .event-info thead {
        font-size: 1.25rem;
    }

    .event-info tbody {
        font-size: 1.05rem;
    }

    .event-info th {
        text-align: center;
        padding: 1rem;
    }

    .grid-image {
        background-image: url(media/beachvolleyball.jpg);
        height: 100%;
        width: 100%;
        background-size: cover;
        background-position: center;
        border-radius: 50px;
    }

    .modal {
        display: none;
        position: fixed;
        z-index: 1;
        left: 0;
        top: 0;
        width: 100%;
        height: 100%;
        overflow: auto;
        background-color: rgba(0,0,0,0.4);
      }
      
      .modal-content {
        background-image: url(media/backgroundjpg.jpg);
        margin: 15% auto;
        padding: 20px;
        border: 1px solid #888;
        width: 40%;
        text-align: center;
      }

      .modal-content-2 {
        background-image: url(media/backgroundjpg.jpg);
        margin: 15% auto;
        padding: 20px;
        border: 1px solid #888;
        width: 80%;
      }

      .modal-content p,
      .modal-content label {
        color: #fff;
      }

      .modal-form {
        width: 340px;
        margin: 0 auto;
        text-align: center;
      }
      
      .close,
      .checkTeams {
        color: #fff;
        float: right;
        font-size: 38px;
        font-weight: bold;
        text-align: right;
      }
      
      .close:hover,
      .close:focus {
        color: black;
        text-decoration: none;
        cursor: pointer;
      }

    .form-rank {
        color: dimgray;
        margin-top: 5px;
        border: none;
        border-radius: 5px;
    }

    .reg-link {
        margin-top: 10px;
    }

    .reg-link a {
        color: #fff;
        text-decoration: underline;
    }
    /*== Profile ==*/
    .profile-card {
        display: flex;
        flex-direction: column;
        width: 70%; 
    }

    .table-profile {
        box-sizing: border-box;
        width: 100%;
        margin-bottom: 1rem;
        color: #000;
        border-collapse: collapse;
    }

    .table-profile thead,
    .table-profile tbody,
    .table-profile tr {
        border: 1px solid #dee2e6;
    }

    /*== Login & Signup ==*/
    .signup-form {
        height: auto;
        width: 90%;
        margin: 0 auto;
        background-color: white;
        padding: 50px;
        box-shadow: 1px 0px 20px 1px rgba(22, 22, 22, 0.295);
    }

    /*== Admin Forms ==*/
    .search-users {
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: flex-start;
        height: auto;
        width: 90%;
        margin: 0 auto;
        background-color: white;
        padding: 50px;
        box-shadow: 1px 0px 20px 1px rgba(22, 22, 22, 0.295);
    }
    
    .search-users h2 {
        padding: 1.25rem;
    }
    
    .search-users p {
        padding: 0.85rem;
    }
    
    .searchbar {
        display: flex;
        flex-direction: row;
        justify-content: center;
        align-items: center;
    }
    
    .search-users input,
    .search-users button {
        padding: 0.65rem;
    }
    
    .searchbar button {
        background-color: #007bff;
        color: #fff;
        border-radius: 0px 50px 50px 0px;
        border: 1px solid #007bff;
    }

    .btn-filter {
        background-color: #007bff;
        color: #fff;
        border-radius: 50px;
        border: 1px solid #007bff;
    }
    
    .search-users input {
        background-color: #fff;
        border-radius: 50px 0px 0px 50px;
        border: 1px solid #000;
        text-align: center;
    }
    
    .search-users input[type="search"]::placeholder {
        color: #bbb;
    }
    
    .search-users button[type="submit"]:hover {
        opacity: 1;
    }
    
    .search-users .table-search {
        padding: 0.85rem;
    }
    
    .search-users thead {
        background-color: #e4e4e4;
        color: #000;
    }
    
    .radio-btn-row {
        list-style: none;
    }
    
    .radio-btn-wrapper {
        display: inline-block;
    }

    .radio-btn-wrapper input[type="radio"] {
        opacity: 0.01;
        z-index: 100;
    }
    
    .radio-btn-wrapper label {
        color: #fff;
        background-color: #0c6fd9;
        border-color: #0c6fd9;
        padding: 5px;
        outline: none;
        border-radius: .25rem;
        cursor: pointer;
    }
    
    .radio-btn-wrapper input:checked + label {
        color: #fff;
        background-color: #0e4c8f;
        border-color: #0e4c8f;
        outline: none;
        border-radius: .25rem;
    }

    .signup-form-form label {
        text-align: left;
        width: 100%;
        display: block;
        padding: 0.65rem 0.85rem;
        font-size: 1.25rem;
    }

    .count {
        color: #fff;
    }

    /*== Footer ==*/
    .footerBox {
        min-height: 200px;
        width: 100%;
        background: #111111;
        color: white;
        padding: 20px 0;
    }
    
    .footerBox p {
        color: white;
    }
    
    .footerBox i {
        color: #fff;
        margin-right: 10px;
    }
    
    .footerBox a {
        color: var(--white);
        font-family: var(--fontStyle);
    }
    
    .footer {
        background-color: #191919;
        height: auto;
        width: 100%;
        color: #fff;
        display: flex;
        flex-direction: row;
        align-items: center;
        justify-content: center;
    }
    
    .footer h1 {
        font-size: 15px;
        padding-top: 30px;
        text-align: center;
    }
}

