body {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family:'Gill Sans', 'Gill Sans MT', Calibri, 'Trebuchet MS', sans-serif;
    background: #e3f2fd;
}

.box {
    position: fixed;
    top: -60px;
    left: 0;
    width: 150%;
    height: 120%;
    z-index: -1;
    overflow: hidden;
}
.logo h1{
    font-size: 42px;
}

.box video {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.container {
    position: relative;
    padding: 20px;
    color: #2b2b2e;
    z-index: 1;
}

.container .tem{
    display: flex;
    justify-content: space-between;
    flex-direction: row-reverse;
    margin-bottom: -240px;
}

header {
    background: linear-gradient(135deg, #007bff, #0056b3);
    color: #ffffff;
    padding: 20px 0;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

.header-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.header-link {
    display: flex;
    gap: 20px;
    margin-bottom: 20px;
    flex-wrap: wrap;
}

.header-link a {
    color: #ffffff;
    text-decoration: none;
    font-size: 16px;
    font-weight: bold;
    transition: color 0.3s, transform 0.2s;
    position: relative;
}

.header-link a:hover {
    color: #ffcc00;
    transform: scale(1.1);
}

.header-link a::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background: #ffcc00;
    transition: width 0.3s;
}

.header-link a:hover::after {
    width: 100%;
}

.search-box {
    display: flex;
    align-items: center;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 12px;
    padding: 10px 20px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
    gap: 10px;
    width: 100%;
    max-width: 500px;
    backdrop-filter: blur(10px);
}

.search-box i {
    color: #ffcc00;
    font-size: 24px;
}

.search-box input {
    flex: 1;
    padding: 10px;
    border: none;
    outline: none;
    border-radius: 8px;
    font-size: 14px;
    color: #2b2b2e;
    background: rgba(255, 255, 255, 0.7);
    box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.1);
}

.search-box input::placeholder {
    color: #6c757d;
}

.search-box button {
    background: #ffcc00;
    border: none;
    padding: 10px 20px;
    border-radius: 8px;
    font-size: 14px;
    font-weight: bold;
    color: #0056b3;
    cursor: pointer;
    transition: background-color 0.3s, transform 0.2s;
}

.search-box button:hover {
    background: #ffdd33;
    transform: translateY(-2px);
}

.location-container {
    text-align: center;
    margin-top: 20px;
}

.location-container .city {
    font-size: 32px;
    font-weight: bold;
    color: #343a40;
}

.location-container .country {
    font-size: 18px;
    color: #6c757d;
    margin-bottom: 10px;
}

.location-container .temp {
    font-size: 36px;
    font-weight: bold;
    color: #007bff;
}
.location-container i{
    color: #e62a09;
}

.tim2 {
    background: hsla(0, 0%, 99%, 0.849);
    padding: 20px;
    max-width: 400px;
    width: 100%;
    text-align: center;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(24, 116, 221, 0.63);
    margin: 20px auto;
}

.logo {
    font-size: 24px;
    font-weight: bold;
    color: #ffffff;
    margin-bottom: 10px;
    padding: 20px;
    border-radius: 22px;
    margin-bottom: -230px;
}

.tim2 .time {
    font-size: 28px;
    font-weight: bold;
    color: #495057;
    margin-bottom: 5px;
}

.tim2 .date {
    font-size: 16px;
    color: #868e96;
    margin-bottom: 20px;
}

.tim2 .col-3 {
    display: flex;
    justify-content: space-between;
    gap: 10px;
    margin-top: 20px;
}

.tim2 .col {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background: #f1f3f5;
    border-radius: 8px;
    padding: 15px;
    width: 100%;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.tim2 .col img {
    width: 40px;
    margin-bottom: 10px;
}

.humidity{
    font-size: 18px;
    font-weight: bold;
    color: #3c434a;
}
.wind{
    font-size: 18px;
    color: #3c434a;
    font-weight: bold;
}

.pp {
    font-weight: bold;
    font-size: 14px;
    color: #868e96;
}

.future-forecast {
    display: flex;
    justify-content: center;
    gap: 15px;
    padding: 20px;
    border-radius: 12px;
    margin-top: 48px;
    /* background: rgba(0, 0, 0, 0.2); */
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.4);
    
}

.future-forecast .today,
.future-forecast .weather-forecast-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    background: rgba(255, 255, 255, 0.753);
    border-radius: 12px;
    padding: 15px 10px;
    min-width: 120px;
    text-align: center;
    color: #048aff;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.4);
    transition: transform 0.3s ease;
}

.future-forecast .today:hover,
.future-forecast .weather-forecast-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.5);
}

.future-forecast .day {
    font-size: 16px;
    font-weight: bold;
    margin-bottom: 5px;
}

.future-forecast .temp {
    font-size: 14px;
    margin: 5px 0;
}

.future-forecast .w-icon {
    width: 50px;
    height: 50px;
    margin-bottom: 10px;
}


.weather-forecast {
    display: flex;
    gap: 10px;
    overflow-x: auto;
}

.weather-forecast-item {
    flex: 0 0 120px;
    text-align: center;
    border-radius: 10px;
    padding: 10px;
    background-color: rgba(255, 255, 255, 0.1);
}


footer {
    background: #007bff; 
    color: #ffffff;
    padding: 20px 0;
    text-align: center;
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.footer-links {
    margin-bottom: 10px;
}

.footer-links a {
    color: #ffffff;
    text-decoration: none;
    margin: 0 15px;
    font-size: 14px;
    transition: color 0.3s;
}

.footer-links a:hover {
    color: #ffcc00; 
}

.footer-info p {
    font-size: 12px;
    margin: 5px 0;
}

footer strong {
    color: #ffcc00; 
}


@media (max-width: 730px) {
    .footer-links a {
        display: block;
        margin: 10px 0;
    }
}


@media only screen and (max-width: 730px) {
    .container {
        padding: 44px;
        justify-content: center;
        font-size: 20px;
        margin-right: 30px;
        flex-direction: column-reverse;
        padding-left: 32px ;
    }
    .tem{
        flex-direction: column;
        justify-content: center;
    }
    
    .search-box{
        justify-content: center;
        margin-left: 333px;
    }
    .future-forecast {
        justify-content: flex-start;
        overflow-x: scroll;
        font-size: 33px;
        flex-direction: column;
    }
    .weather-forecast{
        flex-direction: column;
    }

    .date-container .time {
        font-size: 24px;
    }

    .date-container .date {
        font-size: 14px;
    }
    .today{
        text-align: center;
    }
   
}
@media (max-width: 730px) {
    .tim2{
        max-width: 300px;
    }
    .col-3 {
        display: flex;
        flex-direction: column;
        gap: 15px;
        align-items: center;
        margin: 10px 0;
    }

    .col {
        width: 100%;
        max-width:200px;
        text-align: center;
        padding: 10px;
        box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
    }

    .col img {
        max-width: 60px;
        margin-bottom: 10px;
    }

    .humidty,
    .wind {
        font-size: 16px;
    }

    .pp {
        font-size: 12px;
        color: #6c757d;
    }
}
@media (max-width: 730px) {
    header {
        padding: 10px 0;
    }

    .header-container {
        flex-direction: column;
        text-align: center;
        gap: 15px;
    }

    .header-link {
        display: flex;
        flex-wrap: wrap;
        justify-content: center;
        gap: 10px;
    }

    .header-link a {
        font-size: 14px;
        padding: 8px 12px;
        display: block;
    }

    .search-box {
        width: 100%;
        max-width: 300px;
        margin: 0 auto;
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 10px;
    }

    .search-box input {
        width: 100%;
        font-size: 14px;
        padding: 8px;
    }

    .search-box button {
        width: 100%;
        padding: 10px;
        font-size: 14px;
    }

    .search-box i {
        font-size: 18px;
    }
}