body{
    font-family: 'Inconsolata', monospace;
    background-color: #001014;
    background-image: url("globe.jpg");
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
    color: #293e4a;
    margin: 0;
    padding: 0;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
}

.container{
    max-width: 600px;
    width: 90%;
    background-color: rgba(252, 239, 225, 0.7);
    padding: 40px 40px 20px 40px;
    box-shadow: rgba(0, 0, 0, 0.35) 0px 5px 15px;
    border-radius: 10px;
    max-height: 85vh;
    overflow-y: auto;
}

.city {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin: 10px 0;
    padding: 20px 0;
    border-bottom: 1px dashed rgb(0, 0, 0, 0.3);
    font-weight: 300;
}

.city:last-child{
    border: none;
}

.time{
    font-size: 48px;
    font-weight: bold;
    font-weight: 400;
}

.time small{
    font-size: 24px;
    vertical-align: middle;
    line-height: 36px;
    font-weight: 200;
}

.date{
    opacity: 0.8;
}

select {
    display: block;
    width: 100%;
    padding: 10px;
    border-radius: 4px;
    font-size: 18px;
    color: #293e4a;
    border-color: #293e4a;
    background-color: rgba(252, 239, 225);}

select:focus-visible {
    outline-width: 0;
}

h1{
    font-size: 46px;
    font-weight: 100;
    letter-spacing: 25px;
    text-align: center;
    margin-left: 25px;
    text-decoration: none;
}


h2{
    margin: 0 0 5px;
    font-size: 28px;
    font-weight: 500;
}

footer{
    text-align: center;
    font-size: 10px;
    color: rgb(0, 0, 0, 0.5);
    padding: 20px 10px 10px 10px;

}

  a {
    text-decoration: none;
    color: #031015;
 }

  a :hover {
     text-decoration: underline;}

.all-cities {
    text-align: center;
    margin: 10px;
    padding: 10px;
    color: rgb(0, 0, 0, 0.5);
    cursor: pointer;
}

@media (max-width: 768px) {
    .container {
        width: 95%;
        padding: 30px 25px 15px 25px;
        max-height: 90vh;
    }
    
    h1 {
        font-size: 36px;
        letter-spacing: 15px;
        margin-left: 15px;
    }
    
    h2 {
        font-size: 24px;
    }
    
    .time {
        font-size: 40px;
    }
    
    .time small {
        font-size: 20px;
    }
    
    select {
        font-size: 16px;
        padding: 12px;
    }
}

@media (max-width: 480px) {
    body {
        padding: 10px;
    }
    
    .container {
        width: 100%;
        padding: 20px 15px 10px 15px;
        max-height: 95vh;
        border-radius: 8px;
    }
    
    h1 {
        font-size: 30px;
        letter-spacing: 8px;
        margin-left: 8px;
        margin-bottom: 20px;
    }
    
    .city {
        flex-direction: row;
        align-items: flex-start;
        padding: 15px 0;
        gap: 10px;
    }
    
    h2 {
        font-size: 20px;
        margin-bottom: 5px;
    }
    
    .time {
        font-size: 25px;
        align-self: flex-end;
    }
    
    .time small {
        font-size: 16px;
        line-height: 24px;
    }
    
    .date {
        font-size: 14px;
    }
    
    select {
        font-size: 16px;
        padding: 15px;
        margin-bottom: 20px;
    }
}

/* Extra small screens */
@media (max-width: 320px) {
    .container {
        padding: 15px 10px 10px 10px;
    }
    
    h1 {
        font-size: 20px;
        letter-spacing: 4px;
        margin-left: 4px;
    }
    
    .time {
        font-size: 28px;
    }
    
    h2 {
        font-size: 18px;
    }
}
