* {
    box-sizing: border-box;
}

html,
body {
    margin: 0;
    width: 100%;
    height: 100%;
}

body {
    font-family: Arial, Helvetica, sans-serif;
}

.page {
    width: 100%;
    height: 100vh;

    background-image: url("../images/background.jpg");
    background-size: cover;
    background-position: center;

    position: relative;
}

.weather-bar {
    position: absolute;

    bottom: 30px;
    left: 50%;

    transform: translateX(-50%);

    display: flex;
    align-items: center;
    justify-content: center;

    gap: 50px;

    padding: 15px 35px;

    color: white;

    background: rgba(0, 0, 0, 0.35);

    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 12px;

    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
}

.weather-item {
    display: flex;
    align-items: center;

    font-size: 1.4rem;
    white-space: nowrap;
}

.weather-icon {
    margin-right: 8px;
}

.weather-unit {
    margin-left: 3px;
    font-size: 0.9rem;
    opacity: 0.8;
}

.location {
    position: absolute;
    bottom: 125px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 12px 28px;
    color: white;
    font-size: 2rem;
    font-weight: 500;
    white-space: nowrap;
    background: rgba(0, 0, 0, 0.25);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 14px;
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.5);
}

.location-icon {
    margin-right: 12px;
}

@media (max-width: 600px) {
    .location {
        width: calc(100% - 30px);
        bottom: 115px;
        padding: 10px 15px;
        font-size: 1.4rem;
        white-space: normal;
        text-align: center;
    }

    .weather-bar {
        width: calc(100% - 30px);
        gap: 15px;
        padding: 12px 15px;
    }

    .weather-item {
        font-size: 1rem;
    }

    .weather-icon {
        margin-right: 4px;
    }
}
