*{
    box-sizing: border-box;
    margin: 0px;
    padding: 0px;
}

.back-img{
    background-image: url(https://worldwildschooling.com/wp-content/uploads/2024/08/12-Beautiful-Places-for-Winter-Landscapes-in-the-World-Banff-National-Park-Canada_%C2%A9-Christian-Petrone_Shutterstock_1925535119.jpg);
    background-size: cover;
    height: 100vh;
}

.main-container{
     background-color:white;
  height: 600px;
  width: 1000px;
   margin-left: auto;
      margin-right: auto;
     position: relative;
     top: 200px;
     border-radius: 15px;
  box-shadow: 0 0 10px rgb(0,0,0,0.2);
}

.color-one{
    background-color: rgb(195, 255, 230);
    background-image: url(https://www.app.com.pk/wp-content/uploads/2025/03/Partly-Cloudy-weather-forecast-for-Sindh1.webp);
    background-size: cover;
}

.color-two{
    background-color: rgb(255, 255, 255);
}
.para-one{
    font-size: x-large;
}
input {
      padding: 10px;
      font-size: 16px;
      width: 200px;
      width: 250px;
    }
    button {
      padding: 10px 20px;
      font-size: 16px;
      margin-left: 10px;
      cursor: pointer;
    }
    .result {
      margin-top: 30px;
    }
    img {
      width: 470px;
      margin-top: 15px;
      position: relative;
      bottom: 20px;
    }
 .check-btn{
    background-color: rgb(8, 68, 235);
    color: white;
    font-weight: 800;
    padding-left: 15px;
    padding-right: 15px;
    padding-top: 10px;
    padding-bottom: 10px;
    border: none;
 }
  .check-btn:hover{
    background-color: rgb(79, 79, 231);
  }
 h2{
    color: black;
    text-decoration: underline;
 }
 span{
    color: blue;
    font-size: medium;
 }
 .para-two{
    font-weight: 600;
    font-size: xx-large;
 }

/* For laptops (between 1024px and 1440px) */
@media screen and (max-width: 1440px) {
    .main-container {
    width: 90%;
    height: auto;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    gap: 20px; /* thora spacing between boxes */
    padding: 20px;
  }

  .color-one,
  .color-two {
    width: 45%;
    height: 300px;
    display: block; /* make sure they are not hidden */
  }
}

/* For tablets and smaller laptops (768px to 1024px) */
@media screen and (max-width: 1024px) {
    .main-container {
        width: 95%;
        flex-direction: column;
        height: auto;
    }
    .color-one, .color-two {
        width: 100%;
        height: 300px;
    }
}

/* For mobile phones (less than 768px) */
@media screen and (max-width: 768px) {
    .main-container {
        width: 95%;
        flex-direction: column;
        top: 100px;
        height: auto;
    }
    .color-one, .color-two {
        width: 100%;
        height: 250px;
    }
}