* {
    margin: 0;
    padding: 0;
    font-family: sans-serif, system-ui;
    box-sizing: border-box;
}

body {
    height: 100vh;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

#bgVideo {
    position: fixed;
    right: 0;
    bottom: 0;
    min-width: 100%;
    min-height: 100%;
    z-index: -1;
    object-fit: contain;
    transition: opacity 2s ease;
}

#bgVideo.fade-out {
    opacity: 0;
}

.app-main {
    width: 50vh;
    background: rgba(0, 8, 5, 0.3);
    padding: 20px;
    text-align: center;
    border-radius: 5px;
}

.app-main > * {
    margin-bottom: 20px;
}

#inputBox {
    width: 100%;
    background-color: rgba(255, 255, 255, 0.6);
    border: none;
    outline: none;
    color: rgb(78, 14, 14);
    font-weight: bold;
    font-style: italic;
    padding: 20px;
    text-align: center;
    border-radius: 5px;
}

.weatherBody {
    display: none;
    width: 100%;
    height: 50vh;
    line-height: 2rem;
    background-color: rgba(255, 255, 255, 0.6);
    border: none;
    outline: none;
    color: rgb(78, 14, 14);
    font-style: italic;
    padding: 20px;
    text-align: center;
    border-radius: 5px;
}

.locationDetail {
    font-weight: bold;
}

.weatherStatus {
    padding: 20px;
}

.temp {
    font-size: 50pt;
    font-weight: 700;
    margin: 20px 0;
    text-shadow: 3px 5px rgba(0, 0, 0, 0.3);
}

.min-max,
.weather {
    font-size: 12pt;
    font-weight: 600;
}

.image img {
    width: 100px;
    height: 100px;
    object-fit: contain;
    margin-top: 20px;
}

@media (max-width: 768px) {
    .app-main {
        width: 90%;
        padding: 10px;
    }

    .temp {
        font-size: 30pt;
    }

    .min-max,
    .weather {
        font-size: 10pt;
    }

    #inputBox {
        padding: 15px;
    }
}
