/*
Click nbfs://nbhost/SystemFileSystem/Templates/Licenses/license-default.txt to change this license
Click nbfs://nbhost/SystemFileSystem/Templates/ClientSide/css.css to edit this template
*/
/* 
    Created on : 16 Sept 2023, 23:46:02
    Author     : Rabel
*/

/* Style for the navigation menu */
nav {
    background-color: white; /* Background color of the navigation bar */
    text-align: right; /* Align the text to the right */
    padding: 0px 0; /* Add padding to the top and bottom */
    display: flex; /* Use flexbox for centering vertically */
    align-items: center; /* Center items vertically within the navbar */
    box-shadow: 0px 5px 5px rgba(0, 0, 0, 0.2); /* Add a shadow below the menu */
    border-radius: 6px; /* Add rounded corners to the button */
    position: fixed; /* Make the menu fixed */
    top: 0; /* Stick it to the top of the viewport */
    width: 100%; /* Cover the entire width of the viewport */
    z-index: 1000; /* Ensure it's above other elements */
}

/* Add top margin to the body content to slide it under the menu */
body {
    margin-top: 70px; /* Adjust this value as needed for spacing */
}


/* Style for the logo */
.logo {
    max-width: 100px; /* Limit the maximum width of the logo */
    vertical-align: middle; /* Align the logo vertically in the navbar */
    margin-right: 20px; /* Add some spacing to the right of the logo */
    float: left; /* Align the logo to the left */
}

nav ul {
    list-style-type: none; /* Remove bullet points from the list */
    margin: 0;
    padding: 0;
    width: 100%; /* Cover the entire width of the screen */
}

nav li {
    display: inline; /* Display list items horizontally */
    margin-right: 20px; /* Add some spacing between menu items */
}

nav a {
    text-decoration: none; /* Remove underlines from links */
    color: #ff9999; /* Text color of the links */
    font-weight: bold; /* Make the text bold */
    font-size: 22px; /* Set the font size to 14 pixels */
}

nav a:hover {
    color: lightblue; /* Change the text color on hover */
}

/* Style for the "Enter competition" button */
.enter-competition-button {
    background-color: #009999; /* Background color of the button */
    color: white; /* Text color of the button */
    padding: 10px 10px; /* Add padding to the button */
    border-radius: 4px; /* Add rounded corners to the button */
    margin-right: 20px; /* Add some spacing to the right of the button */
}

/* Style for the footer */
footer {
    background-color: #ff9999; /* Background color of the footer */
    color: white; /* Text color of the footer */
    text-align: center; /* Center align the text within the footer */
    padding: 80px 0; /* Add padding to the top and bottom of the footer */
}

/* Style for the h3 headers within the footer */
footer h3 {
    font-size: 18px; /* Set the font size */
    color: white; /* Set the text color */
    font-weight: bold; /* Make the text bold */
    margin-top: 10px; /* Add some top margin */
    margin-bottom: 10px; /* Add some bottom margin */
    align-content: center;
}


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

/* Style for the form container */
form {
    max-width: 90%;
    margin: auto;
    padding: 20px;
    background-color: whitesmoke; /* Whitesmoke background */
    border-radius: 10px;
}

/* Style for form labels */
label {
    font-weight: bold;
    color: #ff9999; /* Pink text color */
}

/* Style for input fields and textareas */
input[type="text"],
input[type="tel"],
input[type="email"],
input[type="password"],
textarea {
    width: 65%; /* Set the width to 65% of the container */
    padding: 10px;
    margin-bottom: 10px;
    border: 1px solid #ff9999; /* Pink border */
    border-radius: 5px;
    background-color: white;
    color: #333; /* Dark text color */
}

/* Style for radio buttons and checkboxes */
input[type="radio"],
input[type="checkbox"] {
    margin-right: 5px;
}

/* Style for submit button */
input[type="submit"] {
    background-color: #ff9999; /* Pink background */
    color: white;
    padding: 10px 20px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
}

/* Hover effect for submit button */
input[type="submit"]:hover {
    background-color: #ff6666; /* Lighter pink on hover */
}

/* Additional styling for form elements can be added here */
.BabyCompetition {
    max-width: 95%;
    margin: 0 auto;
    padding: 20px;
    background-color: #ff9999; /* Light blue background */
    border-radius: 10px;
    margin-bottom: 20px;
}

/* Style for table rows */
tr:nth-child(even) {
    background-color: lightblue;
}

tr:nth-child(odd) {
    background-color: white;
}

/* Style for table cells (td) within the row */
td {
    padding: 10px; /* Padding around cell content */
    border: 1px solid #ccc; /* Border around cells */
    /* Add more CSS properties as needed */
}

/* Define hover effect for better user experience */
tr:hover {
    background-color: #ddd; /* Background color on hover for the entire row */
}

/* Style for the table cells (td) within the row on hover */
tr:hover td {
    background-color: transparent; /* Clear background color on hover for cells */
}


