* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: "Segoe UI", sans-serif;
    background: linear-gradient(135deg, #3b82f6, #06b6d4);
    min-height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 30px;
}

#background-video {
    position: fixed;
    inset: 0;

    width: 100%;
    height: 100%;

    object-fit: cover;

    z-index: -2;
}

.background-overlay {
    position: fixed;
    inset: 0;

    background: rgba(0, 0, 0, 0.35);

    z-index: -1;
}

.container {
    width: 100%;
    max-width: 650px;

    background: rgba(255, 255, 255, .18);
    backdrop-filter: blur(20px);

    border-radius: 25px;
    padding: 40px;

    box-shadow: 0 20px 50px rgba(0,0,0,.3);

    color: white;

    border: 1px solid rgba(255,255,255,.25);
}

h1 {
    text-align: center;
    margin-bottom: 35px;
    font-size: 34px;
    font-weight: 600;
}

.search-engine {
    display: flex;
    gap: 12px;
    margin-bottom: 40px;
}

.search-input {
    flex: 1;
    padding: 15px;

    border: none;
    border-radius: 50px;

    background: rgba(255, 255, 255, .25);

    color: white;
    font-size: 16px;
}

.search-input::placeholder {
    color: white;
}

.search-input:focus {
    outline: none;
    background: rgba(255,255,255,.35);
    box-shadow: 0 0 15px rgba(255,255,255,.25);
}

.search-button {
    padding: 15px 30px;

    border: none;

    border-radius: 50px;

    background: white;

    color: #2196f3;

    font-weight: bold;

    cursor: pointer;

    transition: .3s;
}

.search-button:hover {
    transform: translateY(-3px);
    background: #f2f2f2;
    box-shadow: 0 10px 20px rgba(0,0,0,.2);
}

#date-time {
    margin-bottom: 20px;
    font-size: 18px;
    opacity: 0.9;
}

.weather-info {
    text-align: center;
}


.weather-details h2 {
    font-size: 38px;
    margin-bottom: 20px;
}

.temp {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
}

#weather-icon {
    width: 90px;
    animation: float 3s ease-in-out infinite;
}

.temperature {
    font-size: 72px;
    font-weight: bold;
}

.degree {
    font-size: 40px;
    position: relative;
    top: -18px;
}

#description {
    font-size: 22px;
    margin-top: 10px;
    text-transform: capitalize;
}

.stats {
    display: flex;
    justify-content: center;
    gap: 40px;
    margin-top: 35px;
}

.stats p {
    background: rgba(255, 255, 255, .2);
    padding: 15px 25px;
    border-radius: 15px;
    font-size: 17px;
}

.weather-forecast {
    display: flex;
    justify-content: space-evenly;
    margin-top: 30px;
}

.weather-forecast-icon {
    width: 60px;
    margin-bottom: 25px;
    display: block;
    margin: 0 auto;
}

.weather-forecast-date {
    font-size: 16px;
    line-height: 20px;
    margin-bottom: 10px;
    margin: 0 auto;
}

.weather-forecast-day {
    width: 80px;
    padding: 15px;

    background: rgba(255,255,255,.12);

    border-radius: 18px;

    text-align: center;

    transition: .3s ease; /*we want to have smooth transition*/
}

.weather-forecast-day:hover {
    transform: translateY(-6px);
    background: rgba(255,255,255,.2);
    font-size: 21px;
}
    
    
    

footer {
    margin-top: 45px;
    text-align: center;
    font-size: 14px;
}

footer a {
    color: white;
    text-decoration: none;
}

footer a:hover {
    text-decoration: underline;
}


