/* ==========================================================================
   Base Styles
   ========================================================================== */
body, h1, h2, h3, h4, h5, h6, p, ul, ol, a, button, input, textarea, th, td {
  font-family: Roboto, sans-serif;
  margin: 0;
  padding: 0;
}

body {
  background-color: #ffffff;
}

/* ==========================================================================
   Typography
   ========================================================================== */
h1, h2, h3, h4, h5, h6 {
  color: #000000;
  font-weight: normal;
  padding: 10px;
}

p, li {
  color: #505f4f;
  font-size: 16px;
  line-height: 1.5;
  margin: 0;
  padding: 2px;
  margin-left: 10px;
}

/* ==========================================================================
   Layout Components
   ========================================================================== */
.flex-container {
  display: flex;
  flex-direction: column;
  margin-bottom: 80px;
  padding: 40px;
  border-radius: 10px;
}

.flex-container-wide {
  display: flex;
  justify-content: space-around;
  align-items: center;
  flex-wrap: wrap;
  gap: 5px;
  margin: 0 5px;
}

.flex-item {
  margin-bottom: 20px;
  flex-basis: calc(50% - 10px);
  border: 1px solid #ccc;
  box-shadow: 2px 2px 2px rgba(0, 0, 0, 0.3);
  transition: filter 0.3s ease-in-out;
}

.flex-item img {
  width: 100%;
  height: auto;
  border-radius: 10px;
}

/* Grid Layout */
.grid-container {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
  margin-bottom: 80px;
  padding: 20px;
  background-color: rgba(255, 255, 255, 0.1);
  border-radius: 10px;
}

.grid-item {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  border: 2px solid #027bfb;
  padding: 5px;
  border-radius: 3px;
  transition: transform 0.3s ease;
  margin: 5px;
}

.grid-item:hover {
  background-image: radial-gradient(circle, #80bcfb, transparent 80%);
  transform: scale(1.05);
}

.grid-item h2 {
  color: #027bfb;
}

.grid-item:hover h2 {
  color: black;
}

/* ==========================================================================
   Buttons & Interactive Elements
   ========================================================================== */
.btn {
  display: inline-block;
  padding: 12px 24px;
  font-size: 18px;
  color: black;
  background-color: rgba(253, 245, 51, 1);
  border: none;
  border-radius: 5px;
  text-decoration: none;
  transition: background-color 0.3s ease, color 0.3s ease;
  text-align: center;
  margin-top: 20px;
  align-self: center;
  cursor: pointer;
  font-weight: normal;
}

.button {
  display: inline-block;
  padding: 12px 24px;
  font-size: 16px;
  font-weight: bold;
  background-color: #027bfb;
  color: white;
  border: none;
  border-radius: 4px;
  cursor: pointer;
  transition: background-color 0.3s ease;
  text-decoration: none;
}

.button:hover {
  background-color: #ed452f;
}

/* ==========================================================================
   Navigation & Header Components
   ========================================================================== */
.dropdown-content {
  display: none;
  position: absolute;
  background-color: #ffffff;
  min-width: 200px;
  box-shadow: 0px 8px 16px rgba(0,0,0,0.2);
  z-index: 1;
  border-radius: 5px;
}

.dropdown-content a {
  color: black !important;
  padding: 12px 16px;
  text-decoration: none;
  display: block;
  text-align: left;
}

.dropdown-content a:hover {
  background-color: #fef8a4;
}

.dropdown:hover .dropdown-content {
  display: block;
}

.dropdown:hover .dropbtn {
  background-color: #0056b3 !important;
}

/* ==========================================================================
   Special Components
   ========================================================================== */
.blue-circle {
  width: 250px;
  height: 250px;
  background-color: #017bfb;
  border-radius: 50%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding: 20px;
  position: relative;
  overflow: hidden;
}

.blue-circle::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 200px;
  height: 200px;
  background: radial-gradient(circle, rgba(255,255,255,0.3) 0%, rgba(255,255,255,0) 70%);
  z-index: 1;
}

.ticker-container {
  position: relative;
  overflow: hidden;
  width: 100%;
  height: 20px;
  background-color: rgba(253, 245, 51, 0.5);
  display: flex;
  align-items: left;
  justify-content: left;
}

/* ==========================================================================
   Utility Classes
   ========================================================================== */
.center {
  display: flex;
  justify-content: center;
  margin-top: 1rem;
}

.fixed {
  position: fixed;
  top: 0;
  width: 100%;
  z-index: 999;
}

.special {
  background-color: rgba(253, 245, 51, 0.5);
  border: 0px solid black;
  text-align: center;
}

.special_white {
  background-color: rgba(255, 255, 255);
  border: 0px solid rgba(255, 255, 255);
  box-shadow: 0px 0px 0px rgba(255, 255, 255);
  text-align: center;
}

/* ==========================================================================
   Media Queries
   ========================================================================== */
@media screen and (max-width: 1200px) {
  .grid-item {
    flex: 1 1 calc(50% - 10px);
  }
}

@media screen and (max-width: 900px) {
  .flex-item {
    flex-basis: 100%;
  }
}

@media screen and (max-width: 768px) {
  .grid-item {
    flex: 1 1 calc(50% - 10px);
  }
}