*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}
:root{
    --main-color:#19666c;
    --color1:#AFB63E;
    --color2: #1A2024;
    --color3:#AFB63E;
    --back-color:#f2f2f2;
    --boring-back: #ffffff;
    --dark-back: #1A2024;
    --light-text: #ffffff;
    --button: #AFB83E;
}
/* Base styles */{"path":"/tauri/D/xampp/htdocs/baseball/BaseballSurvivor/styles.css"}
body {
  font-family: 'Segoe UI', Arial, sans-serif;
  font-size: 16px;
  line-height: 1.6;
  color: #222;
  background: var(--boring-back);
}

/* Container */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 2rem 1rem;
}
/* Header & Navigation */
header {
  background-color: var(--dark-back);
  /*box-shadow: 0 2px 8px rgba(0,0,0,0.03);*/
  padding: 1rem 0;

  display: flex;	 
  align-items: center; 
  justify-content: space-between; 
  flex-wrap: wrap;
}/*
nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
nav ul {
  list-style: none;
  display: flex;
  gap: 1.5rem;
}
nav a {
  text-decoration: none;
  color: #333;
  font-weight: 500;
  transition: color 0.2s;
}
nav a:hover {
  color: #007bff;
}
/* Main Content */
main {
  background: var(--boring-color);
  flex: 1 0 auto;
  padding: 2rem;
  box-shadow: 0 2px 8px rgba(0,0,0,0.04);
}
/* Headings */
h1, h2, h3, h4, h5, h6 {
  font-family:Poppins, Tahoma, sans-serif;
  font-weight: 700;
  margin-bottom: 1rem;
  color: var(--color1);
}
h1 {
  font-size: 2.5rem;
  margin-bottom: 1.5rem;
  font-family: "Sigmar One";
}
h2 {
  font-size: 2rem;
  margin-bottom: 1.2rem;
}
/* Buttons */
.btn {
  display: inline-block;
  padding: 0.6rem 1.2rem;
  background: var(--color3);
  color: var(--light-text);
  border: none;
  border-radius: 4px;
  font-size: 1rem;
  cursor: pointer;
  transition: background 0.2s;
  text-decoration: none;
}
.btn:hover {
  background: var(--color2);
}
img{
  max-width: 100%;
  height: auto;
  display: block;
}
/* Footer */
footer {
  text-align: center;
  padding: 1rem 0;
  background-color:  var(--color2);
  color:var(--light-text);
  font-size: 0.95rem;
  margin:0;
  margin-top: 1rem;
  display:flex;
  justify-content: space-between;
}
footer a{color:var(--light-text);}
/* standard styles */
.center{text-align: center;}
.errclass{font-style: italic; color:#E58429;}
#toolbar{display:flex; justify-content: space-around;background-color: var(--back-color); padding:1rem; border-radius: 1rem;}
.greybox{/*background-color: #eff7fc; */margin:0; padding:20px;}

/*layout styles */
.flex-container{display:flex; justify-content: space-around; margin-top:2rem; padding: 2rem;}
.flex-child{background-color: #f2f2f2; border-radius: 3rem; padding:2rem;}
#twocols{display:grid; grid-template-columns: 3fr 2fr;  min-height: 300px; }

.wavy-bottom {
    position: relative;
    padding-bottom: 20px;
}

.wavy-bottom::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 20px;
    background-repeat: repeat-x;
    background-position: 0 bottom;
    background-image: 
        radial-gradient(50px 20px at 0% 100%, transparent 49px, white 50px),
        radial-gradient(50px 20px at 100% 100%, transparent 49px, white 50px);
    background-size: 50px 20px;
}
.companyname{ font-family: "Sigmar One"; margin:0; padding:0; text-align: center;  color: var(--color1);}
.maintitle{font-size: 2.5rem;}

/* MENU */
/* Reset and base styles */
nav {
  position: relative;
}

.menu {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  background-color: #333;
}

.item {
  position: relative;
}

.item a {
  display: block;
  padding: 15px 20px;
  text-decoration: none;
  color: white;
  transition: background-color 0.3s ease;
}

.item a:hover {
  background-color: #555;
}

/* Submenu styles */
.submenu {
  list-style: none;
  margin: 0;
  padding: 0;
  position: absolute;
  top: 100%;
  left: 0;
  background-color: #444;
  min-width: 200px;
  box-shadow: 0 2px 10px rgba(0,0,0,0.3);
  opacity: 0;
  visibility: hidden;
  transform: translateY(-10px);
  transition: all 0.3s ease;
  z-index: 1000;
}

.has-submenu:hover .submenu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.subitem a {
  padding: 12px 20px;
  border-bottom: 1px solid #555;
  color: #ddd;
}

.subitem a:hover {
  background-color: #666;
  color: white;
}

.subitem:last-child a {
  border-bottom: none;
}

/* Mobile hamburger menu */
.menu-toggle {
  display: none;
  background: #333;
  color: white;
  border: none;
  padding: 15px 20px;
  cursor: pointer;
  font-size: 18px;
}

/* Mobile styles */
@media screen and (max-width: 768px) {
  .menu-toggle {
    display: block;
  }
  
  .menu {
    display: none;
    flex-direction: column;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background-color: #333;
    box-shadow: 0 2px 10px rgba(0,0,0,0.3);
    z-index: 999;
  }
  
  .menu.active {
    display: flex;
  }
  
  .item {
    width: 100%;
  }
  
  .submenu {
    position: static;
    opacity: 1;
    visibility: visible;
    transform: none;
    box-shadow: none;
    background-color: #555;
    display: none;
  }
  
  .has-submenu.active .submenu {
    display: block;
  }
  
  .has-submenu > a::after {
    content: " ▼";
    float: right;
    transition: transform 0.3s ease;
  }
  
  .has-submenu.active > a::after {
    transform: rotate(180deg);
  }
  
  .subitem a {
    padding-left: 40px;
    background-color: #555;
  }
}

