@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@400;700&display=swap');


        nav {
            position: relative;
        }
        .menu {
            list-style: none;
            padding: 0;
            margin: 0;
            display: flex;
            flex-wrap: wrap;
            justify-content: space-between;
        }
        .menu li {
            margin: 5px 0;
        }
        .menu a {
            text-decoration: none;
            color: #3b3f42;
            padding: 10px 15px;
            border-radius: 3px;
            transition: background-color 0.3s ease;
        }
        .menu a:hover {
            background-color: #e7f3ff;
        }
        .burger {
            display: none;
            flex-direction: column;
            cursor: pointer;
        }
        .burger div {
            width: 25px;
            height: 3px;
            background-color: #333;
            margin: 5px 0;
        }

.container_welcome {
            display: grid;
            grid-template-columns: 1fr 1fr;
            grid-template-rows: auto auto auto;
            gap: 5px;
        }
        .comments {
            grid-column: 1 / span 1;
            grid-row: 1 / span 1;
        }
        .ranking {
            grid-column: 2 / span 1;
            grid-row: 1 / span 1;
        }
        .kassa {
            grid-column: 1 / span 2;
            grid-row: 2 / span 1;
        }
        .punktisysteem {
            grid-column: 1 / span 2;
            grid-row: 3 / span 1;
        }

.small {
                font-size: 9px;
                padding: 5px;
            }
/* General styles */
body {
    font-family: 'Montserrat', Arial, sans-serif;
    margin: 0;
    padding: 0;
    background-color: #ffffff;
    color: #333;
    line-height: 1.1;

    background-image: url('images/background.jpg');
    background-repeat: no-repeat;
    background-size: cover; /* This ensures the image covers the entire background */
    background-attachment: fixed; /* This makes the background image fixed when scrolling */
    background-position: center; /* This centers the background image */

}

.content {
    font-family: 'Montserrat', Arial, sans-serif;
    margin: 0;
    padding: 0;
    background-color: #333;
    color: #333;
    line-height: 1.1;
}

.container {

    max-width: 95%;
    margin: 10px auto;
    padding: 10px;
    background-color: #fff;
   // background-color: transparent;
    border-radius: 5px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
}

/* Navigation styles */
nav {
    margin-bottom: 20px;
    position: relative;
}

.menu {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
}

.menu li {
    margin: 5px 0;
}

.menu a {
    text-decoration: none;
    color: #3b3f42;
    padding: 10px 15px;
    border-radius: 3px;
    transition: background-color 0.3s ease;
}

.menu a:hover {
    text-decoration: underline;
    background-color: #ffffff;
}

.burger {
    display: none;
    flex-direction: column;
    cursor: pointer;
}

.burger div {
    width: 25px;
    height: 3px;
    background-color: #333;
    margin: 5px 0;
}

/* Floating logo styles */

.logo {
    position: absolute;
    top: 5px;
    right: 10px;   /* ✅ this moves it to the right */
    width: 110px;
    height: 110px;
    background: url('images/logo.png') no-repeat center center;
    background-size: contain;
}


/* Content styles */
.content {
    padding: 5px;
    background-color: #fff;
    border-radius: 1px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
}

/* Table styles */
table {
    width: 100%;
    border-collapse: collapse;
    margin-bottom: 20px;
}

th, td {
    border: 0px solid #dddddd;
    text-align: left;
    padding: 8px;
}

th {
    background-color: #f2f2f2;
}

tr:nth-child(even) {
    background-color: #f9f9f9;
}
form {
            margin-bottom: 20px;
        }
        input[type="number"] {
            width: 50px;
        }
        input[type="submit"] {
            padding: 5px 15px;
            background-color: #646664;
            color: white;
            border: none;
            border-radius: 5px;
            cursor: pointer;
        }
.team-img {
    width: 42px;
    height: 28px;
    vertical-align: middle;
    margin-right: 5px;
}

/* Additional component styles */
.playoff-container {
    padding: 10px;
    background-color: #fff;
    border: 1px solid #ddd;
}

.match {
    margin-bottom: 10px;
    padding: 10px;
    border: 1px solid #ccc;
    border-radius: 4px;
}

.team {
    display: flex;
    justify-content: space-between;
}

.dashboard-header {
    background-color: #007bff;
    color: #fff;
}

/* Predictions specific styles */
.predictions-table {
    width: 100%;
    border-collapse: collapse;
    margin-bottom: 20px;
    overflow-x: auto; /* Ensure table is scrollable horizontally */
    display: block;
}


.predictions-table input[type="number"] {
    margin: 2px;
}

.predictions-table th, .predictions-table td {
    border: 1px solid #dddddd;
    text-align: left;
    padding: 8px;
    white-space: pre-line; /* Prevent line breaks in table cells */
}

.predictions-table th {
    background-color: #f2f2f2;
}

.predictions-table tr:nth-child(even) {
    background-color: #f9f9f9;
}

.predictions-table tr:nth-child(odd) {
    background-color: #ffffff;
}

.prediction {
    padding: 10px;
    margin-bottom: 10px;
    border: 1px solid #ccc;
    border-radius: 4px;
}


.user-links {
    display: inline;
    margin: 0;
    padding: 0;
    text-decoration: none;
    color: #3b3f42;
}

.user-links:hover {
    text-decoration: underline;
}
        .user-links a:hover {
            text-decoration: underline;
        }

	.user-links a:active {
  		text-decoration: bold;
	}

        .table-wrapper {
            width: 100%;
            overflow-x: auto;
        }

/* Responsive styles */
       
.highlight-column {
    background-color: #ffffcc;
}

.points {
    font-weight: bold;
    color: red;
}

@media (max-width: 568px) {


.user-links {
        font-size: 11px;   /* smaller on mobile */
        gap: 4px;
    }

.user-links a::after {
    content: "|";
    margin-left: 6px;
}

.user-links a:last-child::after {
    content: "";
}

.menu {
                display: none;
                flex-direction: column;
                width: 60%;
                background-color: #fff;
                position: absolute;
                top: 100%;
                left: 0;
                box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
            }
            .menu.show {
                display: flex;
            }
            .burger {
                display: flex;
            }




    .menu a {
        display: block;
        text-align: center;
    }

    header {
        height: 5vh;
    }

    footer {
        height: 15vh;
    }

    
.logo {
        top: 5px;
        right: 10px;   /* ✅ keep it right on mobile */
        width: 75px;
        height: 75px;
    }


    .container {
        padding: 3px;
    }

    .content {
        padding: 3px;
font-size: 12px;
	
    }
    .team-img {
        width: 15px;
        height: 7px;
        vertical-align: middle;
        margin-right: 2px;
    }
 table, th, td {
                font-size: 11px;
                padding: 2px;
            }
            table {
                display: block;
                overflow-x: auto;
                width: 100%;
            }
            thead {
               text-align: center;
            }
            tr {
                margin-bottom: 5px;
                border: 1px solid #dddddd;
            }
            th, td {

                text-align: left;
            }
      
	form {
            margin-bottom: 10px;
        }
        
input[type="number"] {
        width: 60px;              /* big enough for 2–3 digits */
        height: 45px;             /* finger-friendly */
        font-size: 18px;          /* easy to read */
        text-align: center;       /* clean look */
        border-radius: 6px;
        border: 1px solid #ccc;
        -moz-appearance: textfield;
    }

    /* remove arrows (cleaner on mobile) */
    input[type="number"]::-webkit-outer-spin-button,
    input[type="number"]::-webkit-inner-spin-button {
        -webkit-appearance: none;
        margin: 0;
    }

        input[type="submit"] {
            padding: 5px 5px;
            background-color: #646664;
            color: white;
            border: none;
            border-radius: 2px;
            cursor: pointer;
   	    font-size: 11px; /* Adjust the size as needed */
        }
}
