* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: sans-serif;
    overflow: hidden;
}

.background-video {
    position: fixed;
    top: 0;
    left: 0;
    min-width: 100%;
    min-height: 100%;
    width: auto;
    height: auto;
    z-index: -1;
}

.app-wrap {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    width: 400px;
    height: 530px;
    border-radius: 30px;
    background: linear-gradient(to bottom, rgba(0, 0, 0, 0.3), rgba(0, 0, 0, 0.6));
    position: relative;
    overflow: hidden;
    margin: auto; /* Добавлено для центрирования по горизонтали */
    margin-top: 50px; /* Добавлено для центрирования по вертикали */
}


header {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 50px 15px 15px;
}

header input {
    width: 100%;
    max-width: 280px;
    padding: 10px 15px;
    border: none;
    outline: none;
    background-color: rgba(18, 18, 18, 0.4);
    border-radius: 18px;
    border-bottom: 3px solid rgb(204, 95, 6);
    font-size: 20px;
    font-weight: 300;
    transition: 0.2s ease-out;
    color: #eee;
}

header input:focus {
    background-color: rgba(18, 18, 18, 0.8);
}

main {
    flex: 1 1 100%;
    padding: 25px 25px 50px;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.location .city {
    color: #eee;
    font-size: 32px;
    font-weight: 500;
    margin-bottom: 5px;
}

.location .date {
    color: #eee;
    font-size: 16px;
}

.current .temp {
    color: #eee;
    font-size: 102px;
    font-weight: 900;
    margin: 30px 0;
    text-shadow: 2px 8px rgba(0, 0, 0, 0.5);
}

.current .temp span {
    font-weight: 200;
}

.current .weather {
    color: #eee;
    font-size: 32px;
    font-weight: 700;
    font-style: italic; /* Исправлено: убрано дублирование font-size */
    margin-bottom: 15px;
    text-shadow: 0 3px rgba(0, 0, 0, 0.4);
}

.current .hi-low {
    color: #eee;
    font-size: 24px;
    font-weight: 500;
    text-shadow: 0 3px rgba(0, 0, 0, 0.4);
}
