* {
    box-sizing: border-box;
    font-family: 'Varela Round', sans-serif;
    }

    body {
    margin: 0;
    padding-top: 0px;
    font-family: Arial, sans-serif;
    }

    .container {
    position: relative;
    display: flex;
    }

    .side-menu {
    background-color: #f2f2f2;
    width: 25%;
    position: absolute;
    top: 0;
    left: 0;
    height: 100vh;
    overflow: hidden;
    display: none;
    transition: width 0.3s ease-in-out;
    z-index: 9;
    }

    


 

    .form-container {
    padding: 20px;
    }

    .form-container input,
    .form-container textarea {
    width: 100%;
    padding: 10px;
    margin-bottom: 10px;
    }

    .form-container button {
    background-color: #4CAF50;
    color: white;
    border: none;
    padding: 10px 20px;
    cursor: pointer;
    }

    .icon-image {
        max-width: 50%;
        padding-top: 10px;
    }

    /* Media queries for responsive design */
    @media screen and (max-width: 768px) {
    .container {
        flex-direction: column;
    }

    .side-menu {
        width: 100%;
        transition: none; /* Disable transition on mobile */
        z-index: 10;
    }

    .icon-image {
        max-width: 100%;
    }


    
    }











    /* The Modal (background) */
		.modal {
            display: none; /* Hidden by default */
            position: fixed; /* Stay in place */
            padding-top: 100px; /* Location of the box */
            left: 0;
            top: 0;
            width: 100%; /* Full width */
            height: 100%; /* Full height */
            overflow: auto; /* Enable scroll if needed */
            background-color: rgb(0,0,0); /* Fallback color */
            background-color: rgba(0,0,0,0.4); /* Black w/ opacity */
          }
          
          /* Modal Content */
          .modal-content {
            margin: auto;
            padding: 20px;
            width: 30%;
          }
          
          /* The Close Button */
          .close {
            color: #aaaaaa;
            float: right;
            font-size: 28px;
            font-weight: bold;
          }
          
          .close:hover,
          .close:focus {
            color: #000;
            text-decoration: none;
            cursor: pointer;
          }
  
          /**********/
  
          .player-select {
              background-color: red;
              width: 50%;
              height: 50%;
              position: absolute;
              left: 25%;
              top: 25%;
              z-index: 1000;
          }
  
          .hide-game {
              background-color: grey;
              width: 100%;
              height: 100%;
              position: absolute;
              left: 0px;
              top: 0px;
              z-index: 998;
              opacity: 0.7;
              
          }
  
          .game-menu {
              background-color: green;
              width: 40%;
              height: 100%;
              position: absolute;
              left: 0px;
              top: 0px;
              z-index: 999;
              display: none;
          }
  
          .menu-title{
              padding-top: 50px;
              
          }
  
          .showmenu{
              display: block;
          }
          
          @media only screen and (max-width: 479px) {	
              .modal-content {
              width: 80%;
              }
          }





        /****************************/


        		/* Default styles for the menu */
		.players_menu {
            list-style: none;
            margin: 0;
            padding: 0;
            overflow-x: scroll; /* Enable vertical scrolling on computers */
            max-width: 100%; /* Set a max height for the scrolling list */
            }
    
            .players_menu li {
                display: inline-block;
            padding: 10px;
            }
    
            .players_menu li a {
            text-decoration: none;
            color: #000;
            }
    
            .mobile-toggle {
                display: none;
            
            }
    
            /* Media query for mobile devices */
            @media (max-width: 768px) {
            /* Hide the desktop menu */
            .players_menu {
                display: none;
            }
    
            /* Show the mobile menu when the toggle button is clicked */
            .players_menu.show-mobile {
                display: block;
            }
    
            .players_menu li {
                display: block;
            }
    
            /* Styles for the mobile menu toggle button */
            .mobile-toggle {
                display: block;
                cursor: pointer;
                padding: 10px;
            }
            }



            /************************************/

            table {
                border-spacing: 1;
                border-collapse: collapse;
                background: white;
                border-radius: 6px;
                overflow: hidden;
                max-width: 800px;
                width: 100%;
                margin: 0 auto;
                position: relative;
                }
                table * {
                position: relative;
                }
                table td, table th {
                padding-left: 8px;
                }
                table thead tr {
                height: 60px;
                background: #FFED86;
                font-size: 16px;
                }
                table tbody tr {
                height: 48px;
                border-bottom: 1px solid #E3F1D5;
                }
                table tbody tr:last-child {
                border: 0;
                }
                table td, table th {
                text-align: left;
                }
                table td.l, table th.l {
                text-align: right;
                }
                table td.c, table th.c {
                text-align: center;
                }
                table td.r, table th.r {
                text-align: center;
                }






                .flash-message {
                    position: fixed;
                    bottom: 10px;
                    left: 5%;
                    /*transform: translateX(-50%);*/
                    background-color: #ff4444; /* Red background for error */
                    color: white;
                    padding: 10px 20px;
                    border-radius: 5px;
                    font-size: 12px;
                    opacity: 0;
                    transition: opacity 0.5s ease-in-out;
                    z-index: 10;
                    width: 90%;
                }
    
                .flash-message.show {
                    opacity: 1;
                }
    
                .flash-message.hidden {
                    opacity: 0;
                    pointer-events: none;
                }
    
    
                .menu-img, .refresh-img, .info-img, .card-skins-img, .pick-img {
                    transition: transform 0.1s ease;
                }
                
                .clicked {
                    transform: scale(0.9); /* Shrinks the image slightly */
                }

                