@import "@fontsource-variable/inter";

:root {
  --boston-blue: #367BCA; /* Boston Blue */
  --orange: #FE7743; /* Orange */
  --boston-yellow: #DFBC1E; /* Boston Yellow */
  --success-color: #28a745; /* Green */
  --error-color: #dc3545; /* Red */
  --med-color: #355C96; /* Boston Med Blue */
  --dark-color: #1D356D; /* Boston Dark Blue */
  --text-color: #333;
  --background-light: #F8F8F8; /* Boston White */
}

/* NAV Bar code */
body {
    font-family: 'Inter Variable', sans-serif;
    background-color: var(--background-light);
    padding: 20px;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.navigation {
    display: flex;
    align-content: center;
    justify-content: center;
    padding: 10px;
}

.navbar {
  display: flex;
  list-style-type: none;
  width: 685px;
  justify-content:space-evenly;
  margin: 0;
  padding: 0;
  overflow: hidden;
  background-color: var(--dark-color);
  font-family: 'Inter Variable', sans-serif;
}

.navbar li {
  float: left;
}

.navbar li a {
  display: block;
  color: white;
  text-align: center;
  padding: 14px 16px;
  text-decoration: none;
  font-size: 1.4em;
}

.navbar li a:hover {
  background-color: var(--orange);
}

.yearsbar {
  list-style-type: none;
  margin: 0;
  padding: 10px;
  width: 200px;
  height: 215px; /* Set the height of the box */
  background-color: var(--med-color);
}

.years a {
  display: block;
  color: white;
  align-items: center;
  padding: 8px 16px;
  text-decoration: none;
  font-size: 1.4em;
}

/* Related to Year Nav Bar */
.years:hover {
  text-decoration: underline;
  color: white;
}

.yearsnav {
  float: left;
  width: 25%;
}

.yearsresult {
  float: right;
  width: 70%;
}

.generalresult {
    width: 95%; /* Set the width of the box */
    height: 680px; /* Set the height of the box */
    background-color: var(--boston-blue);
    padding: 20px;
    color: white;
}

.top10 {
  float: left;
  width: 35%;
}

.overlayresult {
  float: right;
  width: 65%;
}

/* Handle Top 10 Images */
#top10_students { 
    width: 100%;
}

#top10_violations { 
    width: 100%;
}

.schoolresult {
    width: 95%; /* Set the width of the box */
    height: 700px; /* Set the height of the box */
    background-color: var(--boston-yellow);
    padding: 20px;
}

.dropdown {
  float: left;
  position: relative;
}

/* Style the dropdown button */
.dropbtn {
  background-color: #DFBC1E;
  color: white;
  padding: 16px;
  font-size: 16px;
  border: none;
  cursor: pointer;
}

/* Dropdown content */
.dropdown-content {
  display: none;
  position: absolute;
  background-color: #f9f9f9;
  min-width: 200px;
  max-height: calc(6 * 1.5em); /* Adjust 1.5em based on your option's line-height/font-size */
  overflow-y: auto;
  box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.2);
}

/* Links inside dropdown content */
.dropdown-content a {
  color: black;
  padding: 12px 16px;
  text-decoration: none;
  display: block;
}

/* Change color of dropdown links on hover */
.dropdown-content a:hover {
  background-color: #f1f1f1
}

/* Show the dropdown content on hover */
.dropdown:hover .dropdown-content {
  display: block;
}

/* Change background color of dropdown button on hover */
.dropdown:hover .dropbtn {
  background-color: #ccb031;
}

.form {
  display: flex;
  margin-left: 30px;
  align-items: baseline;
}

#violationImage {
  width: 70%;
}


/* Footer styles */


  footer {
    background-color: #1e3a5f;
    color: white;
    padding: 30px 20px;
    margin-top: auto;
  }

  .footer-content {
    max-width: 1200px;
    margin: 0 auto;
    text-align: center;
  }

  .footer-nav {
    list-style: none;
    padding: 0;
    margin: 0 0 20px 0;
    display: flex;
    justify-content: center;
    gap: 40px;
    flex-wrap: wrap;
  }

  .footer-nav li {
    display: inline;
  }

  .footer-nav a {
    color: white;
    text-decoration: none;
    font-size: 16px;
    transition: color 0.3s;
  }

  .footer-nav a:hover {
    color: #ffd966;
  }

  .footer-text {
    color: #ccc;
    font-size: 14px;
    margin-top: 20px;
  }

  .footer-divider {
    width: 100%;
    height: 1px;
    background-color: #2d5a8f;
    margin: 20px 0;
  }

  
h1 {
  color: var(--dark-color);
  color: #1D356D;
  font-size: 45px;
  margin-bottom: 20px;
  font-weight: bold;
  border-bottom: 5px solid #367BCA;
  padding-bottom: 8px;
}

p {
  font-size: 16px;
  margin-bottom: 15px;
  color: black;
  line-height: 1.7;
}

.footer_dup{
  margin-top: 65px;
}

