@import url('https://fonts.googleapis.com/css2?family=Baloo+2:wght@400..800&display=swap');

/* General Reset */


* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

/* Body Styling */
body {
    background-color: #F4F6FF; /* Soft light blue background */
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: "Baloo 2", sans-serif;
}

/* Container Styling */
.container {
    width: 100%;
    max-width: 800px;
    background-color: #243642; /* Dark navy background */
    color: white;
    border-radius: 25px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.35);
}

/* Grid Wrapper for Image and Content */
.wrapper {
    display: grid;
    grid-template-columns: 3fr 4fr;
    /* grid-gap: 1rem; */
}

/* Image Section */
.img_section {
    border-radius: 25px;
    background-image: url(bg.jpg); /* Replace with actual image */
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover; /* Ensure the image covers the section */
    position: relative;
    transform: scale(1.03) perspective(200px);
}

/* Gradient Overlay */
.img_section::before {
    content: "";
    position: absolute;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(92, 107, 192, 0.7) 10%, rgba(13, 71, 161, 0.7) 100%);
    z-index: -1;
    border-radius: 25px;
}

/* Default Info Section */
.default_info {
    padding: 1.5rem;
    text-align: center;
}

.default_info img {
    width: 80%;
    object-fit: cover;
    margin: 0 auto;
}

.default_info h2 {
    font-size: 3rem;
    color: #ffffff; /* White text for heading */
}

.default_info h3 {
    font-size: 1.3rem;
    color: #fff; /* Soft lavender color for subheading */
    text-transform: capitalize;
}

.weather_temp {
    font-size: 4rem;
    font-weight: 800;
    color: #FFB300; /* Golden yellow for temperature */
}

/* Content Section Styling */
.content_section {
    padding: 1.5em;
    background-color: #243642; /* Darker gray-blue for content section */
    border-radius: 25px;
}

/* Form Styling */
.content_section form {
    margin: 1.5rem 0;
    position: relative;
}

.content_section form input {
    width: 84%;
    outline: none;
    background: transparent;
    border: 1px solid #5b7885;
    border-radius: 5px;
    padding: 0.7rem 1rem;
    font-family: inherit;
    color: #ffffff;
    font-size: 1rem;
}

.content_section form button {
    position: absolute;
    top: 0;
    right: 0;
    border-top-right-radius: 5px;
    border-bottom-right-radius: 5px;
    padding: 1rem 0.7rem;
    font-family: inherit;
    font-size: 0.8rem;
    outline: none;
    border: none;
    color: #ffffff;
    font-weight: bold;
    background-color: #3d97dc; /* Soft blue-gray button */
    cursor: pointer;
}

/* Day Info Section Styling */
.day_info .content {
    display: flex;
    justify-content: space-between;
    padding: 0.4rem 0;
}

.day_info .content .title {
    font-weight: 600;
    color: #fff; /* Soft lavender for titles */
}

.list_content ul {
    display: flex;
    justify-content: space-between;
    align-items: center;
    list-style-type: none;
    margin: 3rem 0;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.35);
}

.list_content ul li {
    padding: 0.5rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    border-radius: 1rem;
    transition: all 0.3s ease-in;
}

.list_content ul li:hover {
    transform: scale(1.1);
    background-color: #ffffff;
    color: #232931; /* Dark text for hover state */
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.35);
    cursor: pointer;
}

.list_content ul li img {
    width: 50%;
    object-fit: cover;
}

/* Fade In Animation */
.icons {
    opacity: 0; /* Initial state */
}

.icons.fadeIn {
    animation: fadeIn 0.3s forwards;
    animation-delay: 0.5s;
}

@keyframes fadeIn {
    from {
        opacity: 0; /* Start with invisible */
    }
    to {
        opacity: 1; /* End fully visible */
    }
}
