@font-face { font-family: League Spartan; src: url('../fonts/LeagueSpartan-VariableFont_wght.ttf'); }
@font-face { font-family: Lexend Exa; src: url('../fonts/Lexend-VariableFont_wght.ttf'); } 

#map {
    height: 100%;
    margin-top: -85px;
  }
 
.map-container {
    height: 80%;
}
  
body, header{
    margin: 0px;
    padding: 0px;
    font-family: League Spartan;
}

body {
    overflow: hidden;
}

header{
    display: flex;
    justify-content: space-around;
    align-items: center;
    background-color: rgb(5, 5, 5);
    color: white;
    height: 80px;
    position: fixed;
    z-index: 1;
    width: 100%;
    margin-top: -80px;
}

#logo{
    height:60%;
}

#logo-inner {
    height: 70px;
}

.op-redirect-link  {
    background-color: black;
    color: white;
    border: none;
    border-radius: 30px;
    width: 200px;
    transition: 0.3s
  }

.op-redirect-link:hover {
    background-color: rgb(198, 198, 198);
    opacity: 0.5;
    color: black;
  }

.header-text{
    font-family: "League Spartan";
    font-optical-sizing: auto;
    font-size: 20px;
    text-align: center;
  }

header ul{
    display: flex;
    list-style: none;
    gap: 50px;
} 

a {
    color:white;
    font-family: Lexend Exa;
    font-size: 16px;
    text-decoration: none;
}

.menu-items {
    display: flex;
    align-items: center;
}

.menu-items a {
    margin-right: 20px;
}

.hamburger-lines {
    display: none;
}

.checkbox {
    display: none;
}

#container {
    display: flex;
    margin-top: 80px;
}

#map {
    flex: 1;
    height: 100vh;
    display: flex;
    flex-direction: column;
}

.sidebar{
    height: 100%;
    width: 0;
    position: fixed;
    z-index: 1;
    top: 0;
    left: 0;
    overflow-x: hidden;
    transition: 0.5s;
    padding-top: 0px;
    margin-top: 80px;
}

.sidebar a{
    padding: 8px 8px 100px 32px;
    text-decoration: none;
    font-size: 25px;
    display: block;
    transition: 0.3s;
}
  
.sidebar a:hover {
    color: #f1f1f1;
}

#search{
    height: 25%;
}

.textbox{
    border-color: rgba(173, 173, 173, 1);
    border-style: solid;
    border-width: 1px;
    border-radius: 10px;
    background-color: rgba(255, 255, 255, 1);
    font-family: Lexend Exa;
    font-size: 15px;
    font-weight: 400;
    width: 350px;
    height: 32px;
    display: flex;
    padding: 9px 14px;
    position: absolute;
    align-items: center;
}

#departure{
    margin: 40px 20px;
    gap: 8px;
    top: 0px;
    left: 0px;
}

#arrival{
    margin: 40px 20px;
    gap: 8px;
    top: 60px;
    left: 0px;
}

.btn-interchange{
    margin: 80px 410px;
}

.btn-search{
    margin: -30px 300px;
    color: rgba(255, 255, 255, 1);
    font-size: 10px;
    font-family: Lexend Exa;
    font-weight: 400;
    text-decoration: none;
    width: 100px;
    height: 40px;
    border-radius: 50px;
    background-color: rgba(0, 0, 0, 1);
}

.sidebar-btn {
    width: 40px;
    height: 40px;
    margin: 15px 20px 10px 10px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 99;
    position: fixed;
    background-color: white;
    border-radius: 10px;
}

.icon {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease-in-out;

}

#btnControl {
    display: none;
}

#map-placeholder{
    height: 0vh;
    transition: margin-left .5s;
    padding: 5px;
    width: 100%;
    display: flex;
    flex-direction: row;
    justify-content: space-between;
}

.map-size {
    height: 50%;
    width: 80%;
}

/* -------------------------- RESULT -----------------------------*/

.result-label{
    margin: 20px;
    font-family: Lexend Exa;
    font-weight: 400;
}

#result{
    font-size: 12px;
    font-family: Lexend Exa;
    font-weight: 400;
    display: flex;
    flex-direction: column;
    overflow-y: scroll;
    max-height: 440px;
}

.result-section{
    box-shadow: inset 3px 4px 5px #f5f4f4;
    padding: 10px 5px;
    font-size: 12px;
    font-family: Lexend Exa;
    font-weight: 400;
    overflow-y: hidden ;
    display: grid;
    height: 500px;
}

#distance-time-stations{
    display: block;
    flex-direction: row;
}

.distance-time-fare-container {
    display: flex;
    flex-direction: row;
}

/*---------------  STATIONS INFORMATION ---------------- */

#distance-time{
    width: 280px;
    margin: 20px 20px;
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 20px;
}

#distance{
    font-size: 30px;
    font-style: SemiBold;
    text-align: left;
    font-family: Lexend Exa;
    font-weight: 600;
}

#time{
    font-size: 15px;
    font-style: SemiBold;
    text-align: left;
    font-family: "League Spartan";
}


#time-icon, #distance-icon{
    width: 20px;
    height: 20px;
    margin: -10px;
    align-items: center;
}


#stations{
    width: 265px;
    display: flex;
    padding: 0 16px;
    margin: -5px 5px;
    box-shadow: 0px 2px 4px 0px rgba(0, 0, 0, 0.10000000149011612) ;
    align-items: flex-start;
    border-radius: 30px;
    flex-direction: column;
    justify-content: center;
    background-color: rgba(255, 255, 255, 1);
}

.station-frame{
    gap: 12px;
    width: 200px;
    display: flex;
    align-items: center;
    flex-shrink: 0;
}

.line-color{
    width: 18px;
    height: 60px;
}

.station-name{
    gap: 10px;
    width: 190px;
    display: flex;
    padding: 15px 0;
    align-items: flex-start;
    padding-right: 15px 0;
}

.departure-label, .arrival-label{
    color: rgb(0, 0, 0);
    width: 190px;
    font-size: 13px;
    text-align: left;
    font-family: "Lexend Exa";
    font-weight: 400;
}

.train-line{
    margin: 0px 5px 0px;
}

/*---------------  FARE INFORMATION ---------------- */
#fare{
    display: flex;
    flex-direction: row;
    margin: -10px;

}
.fare-frame{
    gap: 3px;
    display: flex;
    align-items: flex-end;
    flex-direction: column;
    justify-content: center;
}

.fare-label{
    width: 100px;
    height: 40px;
    display: flex;
    overflow: hidden;
    position: relative;
    color: rgb(0, 0, 0);
    font-size: 30px;
    font-style: SemiBold;
    text-align: left;
    font-family: "Lexend Exa";
    font-weight: 600;
    justify-content: flex-end;
}

#fare .row1{
    display: flex;
    flex-direction: column; 
    position: relative;
    align-items: flex-end;
}

.StoredValueLabel{
    color: rgb(0, 0, 0);
    width: auto;
    height: auto;
    font-size: 9px;
    font-style: Regular;
    text-align: left;
    font-family: "League Spartan";
    font-weight: 400;
}

.beep, .single-journey{
    color: rgba(0, 0, 0, 1);
    border: none;
    font-size: 10px;
    font-style: Regular;
    text-align: center;
    font-family: Lexend Exa;
    padding: 1px 1px;
    overflow: hidden;
    border-radius: 21px;   
}

.beep{
    height: 25px;
    width: 110px;
    background-color: rgba(133, 138, 134, 1);
    transition: background-color 0.3s;
}

.beep:focus,
.beep:hover {
    background-color: rgb(87, 70, 195);
}

.single-journey{
    height: 25px;
    width: 110px;
    background-color: rgba(133, 138, 134, 1);
}

.single-journey:focus,
.single-journey:hover {
    background-color:  rgba(28, 194, 73, 1);
}

.fare-options{
    display: flex;
    flex-direction: column;
    margin-left: 5px;
    margin-top: 40px;
    row-gap: 10px;
    justify-content:right;
}

/** ---------------- TRANSFER TRAIN INFORMATION ---------------- */
.transfer-container {
    font-family: Lexend Exa;
    display: flex;
    flex-direction: column;
    border-radius: 30px;
    width: 320px;
    box-shadow: 0px 2px 4px 0px rgba(0, 0, 0, 0.10000000149011612) ;
    padding: 10px;
    margin: 20px;
    margin-left: 50px;
}

.current-station, .destination-station {
    display: flex;
    flex-direction: row;
    align-items: center;
    padding: 10px;
}

.transfer-title {
    font-size: 20px;
    text-align: center;
    margin: 0px;
}

.current-station {
    padding-top: 0px;
}

.img-station {
    margin-bottom: -4px;
    padding-right: 10px;
    padding: 10px;
}

.directions-container {
    display: flex;
    flex-direction: row;
    padding: -4px;
    padding-left: 20px;
    color: #555;
    text-align: center;
}

.directions-container-dir {
    text-align: center;
    padding: 10px;
}

/* width */
::-webkit-scrollbar {
    width: 10px;
  }
  
  /* Track */
  ::-webkit-scrollbar-track {
    background: #f1f1f1; 
  }
   
  /* Handle */
  ::-webkit-scrollbar-thumb {
    background: #888; 
  }
  
  /* Handle on hover */
  ::-webkit-scrollbar-thumb:hover {
    background: #555; 
  }