* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: Arial, sans-serif;
    background-color: #4677f6;
    height: 100vh;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

.container {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-between;
    position: relative;
    width: 360px;
    height: 460px;
    border-radius: 2px;
    padding-top: 7px;
    margin: auto;
    background-color: #ffffff;
}

header {
    display: flex;
    justify-content: space-between; 
    align-items: center;           
    width: 100%;                   
    padding: 18px 19px; 
}

header img {
    filter: invert(69%) sepia(0%) saturate(0%) hue-rotate(180deg) brightness(90%) contrast(85%);
    width: 16px;
    height: 16px;
    cursor: pointer; 
}

header img:hover {
  filter: invert(0%) sepia(0%) saturate(0%) hue-rotate(0deg) brightness(0%) contrast(100%);
}

header p {
    font-size: 14px;
    color: black;
    font-weight: bold;
    text-align: center;
    flex: 1;
}

footer {
    display: flex;
    flex-direction: column;
    padding: 20px;
}

.word {
    font-size: 10px;
    font-weight: bold;
    margin-bottom: 17px;
    display: flex;
    align-items: flex-start; 
    padding-left: 17px; 
}

.lists {
    display: flex;
    flex-direction: column;
    gap: -2px;
    padding-left: 17px;
}

.list {
    display: flex;
    flex-direction: row;
    margin-bottom: 12px;
}

.list1 {
    display: flex;
    flex-direction: row;
    gap: 18px;
    margin-bottom: 3px;
    padding-bottom: 5px;
}

.text {
    display: flex;
    flex-direction: column;
    position: relative;
    bottom: 5px;
    gap: 4px;
}

.text p {
    color: #bfbfbf;
    font-size: 9px;
    font-weight: 400;
}

.text span {
    color: black;
    font-size: 11px;
    font-weight: 500;
}

.direction-icon {
    width: 15px;
    height: 15px;
}

.image-2 {
  position: relative;   
  width: 325px;
  height: 70px;
  left: 10px;
  margin-top: 10px;     
}

.street {
  width: 100%;
  height: 100%;
  border-top-left-radius: 3px;
  border-bottom-left-radius: 3px;
  z-index: 1;
  display: block;
  margin-top: -10px;
}

.marker-icon {
  position: absolute;
  width: 20px;
  height: 20px;
  z-index: 2;
  left: 4px;
  top: 38px; 
}

.overlay {
    position: absolute; 
    top: 115px;          
    left: 50%;
    transform: translateX(-50%);
    width: 375px;
    height: 110px;
    padding: 24px;
    border-radius: 4px;
    box-shadow: 0 8px 12px rgba(0, 0, 0, 0.35);
    background-image: linear-gradient(
        rgba(106, 143, 237, 0.7),
        rgba(106, 143, 237, 0.7)
    ), url(./img/map.png);
    background-size: cover;
    background-position: center;
    z-index: 10; 
}
.first {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: flex-start;
    color: #ffffff;
    font-size: 11px;
    font-weight: bold;
    gap: 20px;
    margin-bottom: 6px;
}

.line {
    flex: 1;                      
    height: 1px;                  
    background-color: #ffffff;    
    position: relative;           
}

.car-icon {
    position: absolute;
    top: 17%;                     
    left: 40%;                    
    transform: translate(-50%, -50%);
    width: 16px;
    height: 16px;
}

.line {
    flex: 1;
    height: 2px;
    background: linear-gradient(
        to right,
        rgba(255, 255, 255, 1) 0%,     /* solid white */
        rgba(255, 255, 255, 1) 30%,    /* stays solid white until 40% */
        rgba(255, 255, 255, 0.6) 30%,  /* start fading after 40% */
        rgba(255, 255, 255, 0.6) 100%  /* faded white till the end */
    );
    position: relative;
    border-radius: 5px;
}

.line::before,
.line::after {
    content: '';
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #fff; 
}

.line::before {
    left: -4px;
}

.line::after {
    right: -4px;
}

.second {
    display: flex;
    flex-direction: row;
    color: #ffffff;
    font-size: 10px;
    gap: 55px;
    font-weight: bold;
}

.box {
    position: absolute; 
    top: 210px;        
    left: 55%;
    width: 100px;
    height: 32px;
    background-color: #4677f6;
    border-radius: 5px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 3px;
    z-index: 11;
    cursor: pointer;
}

.location-icon {
    width: 13px;
    height: 13px;
}

.box p {
    color: #ffffff;
    font-size: 10px;
    font-weight: bold;
}

