body {
    background-color: #a00000; /*790202*/
    background-image: url(K9BoxingLogo.png);
    background-repeat: no-repeat;
    background-position: center top;
    background-size: 200px 200px;
    padding-top: 140px;
    font-family: 'Georgia', serif;
    color: #d4af37;
}

nav,
footer {
    background-color: #1a1a1a;
    border: 2px solid #d4af37;
}

nav ul li a:link,
nav ul li a:visited {
    color: #ffffff;
}

nav ul li a:focus,
nav ul li a:hover,
nav ul li a:active {
    color: rgb(255, 255, 255);
}

nav ul {
    padding: 0;
    list-style-type: none;
    display: flex;
    justify-content: center;
}

nav ul li {
    font-size: .65em;
    text-transform: uppercase;
    letter-spacing: .2em;
}

nav ul li a {
    display: inline-block;
    /* Ensures the padding affects the entire button area */
    font-size: 1.2em;
    /* Increase the font size */
    padding: 0.5em 2.5em;
    /* Increase padding for more button-like appearance */
    border: 2px solid #d4af37;
    /* Thicker border to make it stand out */
    border-radius: 10px;
    /* Rounds the corners more */
    background-color: #2c69ef;
    /* Adds a background color */
    color: #ffffff;
    /* Ensures the text is readable on the new background */
    text-transform: uppercase;
    /* Keeps text uppercase */
    letter-spacing: 0.15em;
    /* Space out the letters */
    transition: all 0.3s ease;
}

nav ul li a:hover {
    background-color: #fffc01;
    /* Change background on hover */
    color: #2c69ef;
    /* Keep text color on hover */
    box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.3);
    /* Adds a shadow for depth */
    transform: scale(1.05);
}

h1 {
    text-align: center;
    color: rgb(255, 255, 255);
    font-size: 4em;
    font-family: fantasy;
    text-shadow: 2px 2px 5px rgba(0, 0, 0, 0.7);
    filter: drop-shadow(0 0 20px yellow);
    transition: filter 0.5s ease;
}

h1:hover {
    filter: drop-shadow(0 0 30px yellow);
}

p {
    color: rgb(255, 255, 255);
    font-size: 1.5em;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.5);
    text-align: center;
}

dt {
    font-weight: bold;
    color: rgb#000000;
}

ul li {
    color: #000000;
    text-align: left;
}

legend {
    color: #ffffff;
    font-size: 1.12em;
}

form {
    color: #ffffff;
    font-size: 1.12em;
    background-color: rgba(0, 0, 0, 0.5);
}

h2 {
    color: #ffffff;
    text-shadow: 2px 2px 5px rgba(0, 0, 0, 0.7);
}

b {
    color: #2c69ef;
}

dd {
    color: #000000;
}

em {
    color: rgb(255, 255, 255);
}

ul {
    text-align: center;
    color: white;
}

table {
    margin-left: auto;
    margin-right: auto;
}

form div {
    margin-bottom: 10px;
    /* Adds space between form elements */
}

form label {
    display: block;
    /* Ensures that each label is on its own line */
    margin-bottom: 2px;
    /* Adds a small space between label and input */
}

form input, form select, form textarea {
    border: 2px solid #d4af37; /* Gold border for input elements */
    border-radius: 5px; /* Slight rounding */
    padding: 10px;
    background-color: #2a2a2a; /* Darker background for inputs */
    color: #ffffff; /* White text */
}

form input:focus, form select:focus, form textarea:focus {
    border-color: #fffc01; /* Bright yellow on focus */
}

fieldset {
    border-color: #2c69ef;
    /* Change this to your desired color */
    border-width: 10px;
    /* Optional: Adjust the border width */
    border-style: solid;
    /* Optional: Ensure the border is solid */
    padding: 10px 30px;
    /* Optional: Adds some padding inside the fieldset */
    border-radius: 10px;
    /* Optional: Adds rounded corners */
}

.form-content {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-start;
}

.form-content div {
    flex: 1 1 45%;
    /* Allows form fields to take up space and wrap */
    margin-bottom: 10px;
    /* Adds space between form fields */
}

.form-image {
    max-width: 100px;
    /* Adjust the size of the image */
    height: auto;
    /* Maintain aspect ratio */
    align-self: flex-start;
    /* Align the image at the top of the fieldset */
    margin-left: auto;
    /* Push the image to the right */
    border-radius: 10px;
    /* Optional: adds a rounded border to the image */
}

.team-k9-tab:hover {
    background-color: #000000;
    color: #ff0000;
}

.glow-logo {
    box-shadow: 0 0 20px 10px #fffc01;
    background-size: 220px 220px; /* Slightly increase the size of the logo */
    transition: all 0.5s ease;
}

.social-links {
    position: absolute;
    top: 10px;
    right: 10px;
    display: flex;
    gap: 10px;
}

.social-links a {
    text-decoration: none;
}

.social-icon {
    width: 40px;
    height: 40px;
    transition: transform 0.3s ease;
}

/* Resizing specifically for Instagram and X logos */
.instagram-icon {
    width: 70px; /* Adjust to your preferred size */
    height: 40px; /* Adjust to your preferred size */
}

.x-icon {
    width: 50px; /* Adjust to your preferred size */
    height: 40px; /* Adjust to your preferred size */
}

.social-icon:hover {
    transform: scale(1.2); /* Enlarge the icon on hover */
}

.social-links a:first-child {
    margin-right: -7px; /* Adjust the value as needed */
}

/* Initial state for fade-in elements */
.fade-in {
    opacity: 0;
    transform: translateY(20px); /* Optional: slight slide-up effect */
    transition: opacity 0.5s ease-out, transform 0.5s ease-out;
}

/* When element becomes visible */
.visible {
    opacity: 1;
    transform: translateY(0); /* Reset any transform */
}

footer {
    padding: 20px;
    text-align: center;
    font-size: 0.8em;
}

html {
    scroll-behavior: smooth; /* Enable smooth scrolling */
}

.video-container {
    display: flex;
    justify-content: center;
    margin: 20px 0;
}

footer {
    padding: 20px;
    text-align: center;
    font-size: 0.8em;
    background-color: #1a1a1a; /* Same as your nav/footer */
    color: #d4af37; /* Gold text */
}

iframe {
    border: none; /* Remove default iframe border */
    border-radius: 10px; /* Optional: Add rounded corners */
}

form input[type="submit"]:hover,
form input[type="reset"]:hover {
    background-color: #fffc01; /* Change background color on hover */
    color: #2c69ef; /* Change text color on hover */
    transform: scale(1.1); /* Slightly enlarge the button on hover */
    box-shadow: 0px 4px 15px rgba(0, 0, 0, 0.4); /* Add a shadow for depth */
    transition: all 0.3s ease; /* Smooth transition for hover */
}