@import url('https://fonts.googleapis.com/css2?family=Miniver&family=Poppins:ital,wght@0,300;0,400;0,700;1,300;1,400;1,500;1,900&family=Roboto:ital,wght@0,100;0,300;0,400;0,500;0,700;0,900;1,100;1,300;1,400;1,500;1,700;1,900&display=swap');

body{
    background-image: url(Images/IST1.png);
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    background-attachment: fixed;
    margin: 0;
    transition: background-image 1s, opacity 0.5s ease-in-out;
    opacity: 1;
}


#main_container{
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    height: 70vh;
}
#Title1{
    font-family: "Roboto", sans-serif;
    display: flex;
    justify-content: center;
    text-align: center;
    font-size: 1.5rem;
    color: white;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.6);
    
}
#timeZone{
    font-family: "Roboto", sans-serif;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    font-size: 2.5rem;
    font-weight: bold;
    color: white;
    opacity: 0;
    transition: opacity 1s ease-in-out;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.6);
}
#timeZone.show {
    opacity: 1;
}
#clock{
    font-family: "Roboto", sans-serif;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 4rem;
    font-weight: bold;
    text-align: center;
    color: white;
    backdrop-filter: blur(8px);
    width: 50%;
    height: 25%;
    border-radius: 25px;
    background-color: rgba(0, 0, 0, 0.4);
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.6);
}
#date_year{
    font-family: "Roboto", sans-serif;
    color: white;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    font-weight: bold;
    font-size: 2.6rem;
    backdrop-filter: blur(8px);
    width: 40%;
    height: 20%;
    border-radius: 24px;
    margin-top: 18px;
    background-color: rgba(0, 0, 0, 0.4);
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.6);
}
#regionSelector{
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    margin-top: 24px;
}
#citySelect {
    font-family: "Roboto", sans-serif;
    text-align: center;
    font-size: 2rem;
    font-weight: bold;
    background: none;
    background-color: rgba(0, 0, 0, 0.4);
    color: white;
    width: 100%;
    height: 135%;
    backdrop-filter: blur(8px);
    border: none;
    padding: 6px 12px;
    appearance: none;
    cursor: pointer;
    transition: all 0.3s ease-in-out;
    border-radius: 24px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.6);
}
#citySelect:hover {
    background-color: rgba(255, 255, 255, 0.2);
    color: #f1f1f1;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.6);
}
#citySelect:focus {
    outline: none;
    box-shadow: 0 0 5px rgba(255, 255, 255, 0.5);
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.6);
}
#citySelect option {
    background-color: #191919;
    color: white;
    font-size: 1.5rem;
}

@media screen and (max-width: 480px) {
    #clock{
        font-family: "Roboto", sans-serif;
        display: flex;
        justify-content: center;
        align-items: center;
        font-size: 3.2rem;
        font-weight: bold;
        text-align: center;
        color: white;
        backdrop-filter: blur(8px);
        width: 85%;
        height: 20%;
        border-radius: 25px;
        background-color: rgba(0, 0, 0, 0.4);
        text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.6);
    }
    #date_year{
        font-family: "Roboto", sans-serif;
        color: white;
        display: flex;
        justify-content: center;
        align-items: center;
        text-align: center;
        font-weight: bold;
        font-size: 2rem;
        backdrop-filter: blur(8px);
        width: 75%;
        height: 16%;
        border-radius: 24px;
        margin-top: 18px;
        background-color: rgba(0, 0, 0, 0.4);
        text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.6);
    }
    #citySelect {
        font-family: "Roboto", sans-serif;
        text-align: center;
        font-size: 1.5rem;
        font-weight: bold;
        background: none;
        background-color: rgba(0, 0, 0, 0.4);
        color: white;
        width: 85%;
        height: 135%;
        backdrop-filter: blur(8px);
        border: none;
        padding: 6px 12px;
        appearance: none;
        cursor: pointer;
        transition: all 0.3s ease-in-out;
        border-radius: 24px;
        text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.6);
    }
    #citySelect option {
        background-color: #2b2b2b;
        color: white;
        font-size: 1.2rem;
    }
    
}

@media screen and (max-width: 768px) {
    #clock{
        font-family: Arial, Helvetica, sans-serif;
        display: flex;
        justify-content: center;
        align-items: center;
        font-size: 3.2rem;
        font-weight: bold;
        text-align: center;
        color: white;
        backdrop-filter: blur(8px);
        width: 85%;
        height: 20%;
        border-radius: 25px;
        background-color: rgba(0, 0, 0, 0.4);
        text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.6);
    }
    #date_year{
        font-family: Arial, Helvetica, sans-serif;
        color: white;
        display: flex;
        justify-content: center;
        align-items: center;
        text-align: center;
        font-weight: bold;
        font-size: 2rem;
        backdrop-filter: blur(8px);
        width: 75%;
        height: 20%;
        border-radius: 24px;
        margin-top: 18px;
        background-color: rgba(0, 0, 0, 0.4);
        text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.6);
    }
}