@import url('https://fonts.googleapis.com/css2?family=Google+Sans:wght@400;500;700&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Roboto:wght@400;500;700&display=swap');

@font-face {
    font-family: 'APTypeProText';
    src: url('downloads/fonts/APTypeProText-Bold.woff2');
    font-weight: bold;
    font-style: normal;
}

:root {

    /** CSS PRIMARY COLORS */
--clr-primary-a0: #6200ee;
--clr-primary-a10: #510eba;
--clr-primary-a20: #3f1288;
--clr-primary-a30: #2e1259;
--clr-primary-a40: #1c0e2e;
/** CSS ACCENT COLORS */
--clr-accent-a0: #00eeda;
--clr-accent-a10: #1ebaaa;
--clr-accent-a20: #22887d;
--clr-accent-a30: #1f5952;
--clr-accent-a40: #162e2b;
/** CSS SEMANTIC COLORS */
--clr-danger-a0: #b41c2b;
--clr-success-a0: #009f42;
--clr-warning-a0: #cc8800;
--clr-info-a0: #388cfa;
/** CSS NEUTRAL COLORS */
--clr-neutral-a0: #ffffff;
--clr-neutral-a10: #c6c6c6;
--clr-neutral-a20: #919191;
--clr-neutral-a30: #5e5e5e;
--clr-neutral-a40: #303030;
--clr-neutral-a50: #000000;


/* Define colors */
    --primary-text-color: #333333;
    --background-color: #ececec;

    /* Line Colours */
    --purple: #9900ff;
    --orange: #ff6200;
    --teal: #00ff77;
    --blue: #0043a8;
    --pink: #f50154;
    --light-blue: #0080ff;
}

body {
    padding: 2.5%;
    font-family: 'Google Sans', 'Roboto', 'Helvetica Neue', sans-serif;
    background-color: var(--background-color);
    color: var(--primary-text-color);
}

  footer {
    background-color: var(--clr-neutral-a10);
    padding: 3rem;
    border-radius: 1rem;
    margin-top: 1rem;
    text-align: center;
  }

  footer .box{
    background-color: var(--clr-neutral-a10);
  }
.nav {
    list-style: none;
    margin: 0;
    padding: 0;
    background-color: var(--clr-neutral-a0);
    border-radius: 20px;
    margin: 0 auto;
    width: 80%;
    text-align: center;
}

.nav li {
    display: inline-block;
    margin-right: 16px;
}

.nav a {
    display: inline-block;
    padding: 8px 16px;
    border-radius: 4px;
}

header {
    text-align: center;
    background-color: var(--clr-neutral-a20);
    color: var(--clr-neutral-a0);
    padding: 2%;
    border-radius: 12px;
    box-shadow: 0px 2px 4px -1px rgba(0, 0, 0, 0.2),
        0px 4px 5px 0px rgba(0, 0, 0, 0.14),
        0px 1px 10px 0px rgba(0, 0, 0, 0.12);
}

/* Grid Styles */
.grid-container {
    margin-top: 1rem;
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
}

/* Box Styles */
.box, .hero {
    display: flex;
    flex-direction: column;
    flex-grow: 1;
    padding: 30px;
    border-radius: 12px;
    box-shadow: 0px 2px 4px -1px rgba(0, 0, 0, 0.2),
        0px 4px 5px 0px rgba(0, 0, 0, 0.14),
        0px 1px 10px 0px rgba(0, 0, 0, 0.12);
}

.box, .hero {
    background-color: var(--clr-neutral-a0);
}

.box {
    width: calc(100% * (1/2) - 10px - 1px);
}

.hero {
    width: 100%;
}

@media (min-width: 1000px) {
  .box {
    width: calc(100% * (1/4) - 10px - 1px);
  }
  .hero{
    width: calc(100% * (1/2) - 10px - 1px);
  }
  .hero ~ .box {
    clear: left;
  }
}

 .box span{
    color: white;
    background-color: white;
    padding: .5rem;
    border-radius: .5rem;
}

.hideextra {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.line {
    width: 100%;    /* Makes the box fill the container's width */
    height: 1rem;   /* Makes the box fill the container's height */
    border-radius: 100px;
    background-color: var(--white);
}

.station {
    display: inline-block;
    width: 6rem;    /* Makes the box fill the container's width */
    height: 3rem;   /* Makes the box fill the container's height */
    border-radius: .5rem;
    background-color: var(--white);
    text-align: center;
}

.station h1 {
    position: relative;
    margin: 0;
    margin-top: .25rem;
}

.text-white {
    color: white;
}

.warning {
    color: white;
    background-color: var(--clr-warning-a0)!important;
}
.lightblue{
    color: white;
    background-color: var(--light-blue)!important;
}
.outline-lightblue{
    box-shadow:inset 0px 0px 0px 5px var(--light-blue)!important;
       
}

.purple{
    color: white;
    background-color: var(--purple)!important;
}

.orange{
    color: white;
    background-color: var(--orange)!important;
}

.teal{
    background-color: var(--teal)!important;
}

.blue{
    color: white;
    background-color: var(--blue)!important;
}

.pink{
    background-color: var(--pink)!important;
}

.good{
    color: #242424 !important;
    background-color: var(--teal)!important;

}

.bus-replace{
    background-color: var(--orange)!important;
}

.suspended{
    background-color: #333333 !important;

}

.input-field{
    padding: 10px;
    border-radius: 5px;
    border: 1px solid var(--clr-neutral-a10);
    width: 100%;
    font-size: 16px;
}
.btn{
    padding: 10px 20px;
    background-color: var(--clr-accent-a10);
    color: var(--clr-neutral-a0);
    border: none;
    border-radius: 5px;
    cursor: pointer;
}

/* LINK ANIMATION */
a {
    color: #6300EE;
    text-decoration: none;
}

a {
    background:
            linear-gradient(
                    to right,
                    rgb(255, 255, 255),
                    rgb(255, 255, 255)
            ),
            linear-gradient(
                    to right,
                    rgb(99, 0, 238),
                    rgb(99, 0, 238),
                    rgb(99, 0, 238)
            );
    background-size: 100% 3px, 0 3px;
    background-position: 100% 100%, 0 100%;
    background-repeat: no-repeat;
    transition: background-size 400ms;
}

a:hover {
    background-size: 0 3px, 100% 3px;
}

.dropdown {
    display: inline-block; /* Change from float: left to display: inline-block */
    position: relative;
  }
  
  .dropdown .dropbtn {
    font-size: 16px;
    border: none;
    outline: none;
    padding: 14px 16px;
    background-color: inherit;
    font-family: inherit;
    margin: 0;
    color: #6300EE;
  }
  
  .dropdown-content a {
    float: none;
    color: black;
    padding: 12px 16px;
    text-decoration: none;
    display: block;
    text-align: left;
  }
  
  .dropdown-content a:hover {
    background-color: #ddd;
  }
  
  .dropdown-content {
    background:
            linear-gradient(
                    to right,
                    rgb(255, 255, 255),
                    rgb(255, 255, 255)
            ),
            linear-gradient(
                    to right,
                    rgb(99, 0, 238),
                    rgb(99, 0, 238),
                    rgb(99, 0, 238)
            );
    background-size: 100% 3px, 0 3px;
    background-position: 100% 100%, 0 100%;
    background-repeat: no-repeat;
    transition: background-size 400ms;

    display: block; /* Change from display: none to display: block */
    position: absolute;
    background-color: #f9f9f9;
    min-width: 160px;
    box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.2);
    z-index: 1;
    overflow: hidden;
    height: 0; /* Set initial height to 0 */
    transition: height 0.3s ease; /* Add transition effect for height */
  }
  
  .dropdown:hover .dropdown-content {
    background-size: 0 3px, 100% 3px;
    height: 275px; /* Set the height to the desired value */
  }