

@import url("https://fonts.googleapis.com/css2?family=Poppins:wght@400;500;600&family=Ruda:wght@400;600;700&display=swap");

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
    /* background-image: url("https://i.pinimg.com/originals/a3/9f/12/a39f126ec96716640c3bbe8f06d3e801.gif"); */
    background: linear-gradient(5deg, grey , rgb(96, 190, 221));
    background-size: cover;

    font-family: "Poppins", sans-serif;
    display: flex;
    /* flex-direction: column; */
    align-items: center;
    justify-content: center;
    margin: 0;
    height: 100vh;
  }

.container {
  max-width: 800px;
  width: 100%;
  background-color: #4c76774b;
  color: #fff;
  border-radius: 25px;
  box-shadow: 0 15px 15px rgba(0, 0, 0, 0.26);
}

.wrapper {
  display: grid;
  /* grid-template-columns: 3fr 4fr; */
  /* grid-gap: 1rem; */
}

 .img_section {
  border-radius: 25px;
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
  /* position: relative; */
  transform: scale(1.00) perspective(200px);
} 
.img_section::before {
    content: "";
    position: absolute;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #2a3e4654 10%, #29404e42 100%);
    opacity: 0.5;
    z-index: -1;
    border-radius: 25px;
  }
  
  .default_info {
    padding: 1.5rem;
    text-align: center;
  }
  
  .default_info img {
    width: 80%;
    margin: 0 auto;
  }
  
  .default_info h2 {
    font-size: 3rem;
  }
  
  .default_info h3 {
    font-size: 1.3rem;
    text-transform: capitalize;
  }
  
  .weather_temp {
    font-size: 4rem;
    font-weight: 800;
  }

  .content_section {
    padding: 1.5rem;
  }
  
  .content_section form {
    margin: 1.5rem 0;
    position: relative;
  }
  
  .content_section form input {
    width: 84%;
    outline: none;
    background: transparent;
    border: 1px solid #b1dcf1;
    border-radius: 5px;
    padding: 0.7rem 1rem;
    font-family: inherit;
    color: #0c0c0b;
    font-size: 1.5rem;
  }
  
  .content_section form button {
    position: absolute;
    top: 0;
    right: 0;
    border-top-right-radius: 8px;
    border-bottom-right-radius: 8px;
    padding: 1rem 0.7rem;
    font-family: inherit;
    font-size: 1.2rem;
    outline: none;
    border: none;
    background: #0c0c0c;
    color: #fff;
    cursor: pointer;
  }
   
  .day_info .content {
    display: flex;
    justify-content: space-between;
    padding: 0.4rem 0;
  }
  
  .day_info .content .title {
    font-weight: 600;
  }
  
  .list_content ul {
    display: flex;
    justify-content: space-between;
    align-items: center;
    list-style-type: none;
    margin: 3rem 0rem;
    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.1s ease-in;
  }
  
  .list_content ul li:hover {
    transform: scale(1.1);
    background-color: #6cdfdf;
    color: #0e1111;
    box-shadow: 0 5px 15px rgba(43, 255, 0, 0.616);
    cursor: pointer;
  }
  
  .list_content ul li img {
/*     width: 50%; */
    object-fit: cover;
	  height:40px;
	  width:20px;
  }
  
  
  .icons.fadeIn {
    animation: 0.5s fadeIn forwards;
    animation-delay: 0.7s;
  }
  
  @keyframes fadeIn {
    to {
      transition: all 0.5s ease-in;
      opacity: 1;
    }
  }
   .in{
    background: transparent;
   }

/* Base styles apply to all screen sizes */

/* Mobile Phones (up to 767px) */
@media (max-width: 767px) {
  .container {
    width: 90%;
    margin: 1rem;
  }

  .wrapper {
    grid-template-columns: 1fr;
    grid-gap: 0.5rem;
  }

  .img_section {
    height: auto;
    border-radius: 15px;
  }

  .default_info h2 {
    font-size: 2.5rem;
  }

  .default_info h3 {
    font-size: 1rem;
  }

  .weather_temp {
    font-size: 2.5rem;
  }

  .content_section form input {
    width: 70%;
    font-size: 1rem;
    padding: 0.6rem;
  }

  .content_section form button {
    padding: 0.8rem;
    font-size: 1rem;
  }

  .day_info .content {
    flex-direction: column;
    text-align: center;
  }

  .list_content ul {
    flex-direction: column;
  }

  .list_content ul li {
    width: 80%;
    margin: 1rem 0;
  }

  .list_content ul li img {
    width: 40%;
  }
}

/* Tablets (768px to 1024px) */
@media (min-width: 768px) and (max-width: 1024px) {
  .container {
    width: 95%;
  }

  .wrapper {
    grid-template-columns: 1fr 1fr;
    grid-gap: 1rem;
  }

  .default_info h2 {
    font-size: 2.8rem;
  }

  .default_info h3 {
    font-size: 1.2rem;
  }

  .weather_temp {
    font-size: 3.5rem;
  }

  .content_section form input {
    width: 75%;
    font-size: 1.2rem;
    padding: 0.8rem;
  }

  .content_section form button {
    padding: 0.9rem;
    font-size: 1.1rem;
  }

  .day_info .content {
    flex-direction: row;
    text-align: left;
  }

  .list_content ul {
    flex-wrap: wrap;
  }

  .list_content ul li {
    flex: 1 1 48%;
    margin: 1rem 0;
  }

  .list_content ul li img {
    width: 50%;
  }
}

/* Desktops (1025px and above) */
@media (min-width: 1025px) {
  .container {
    max-width: 1000px;
  }

  .wrapper {
    grid-template-columns: 3fr 5fr;
    grid-gap: 2rem;
  }

  .img_section {
    height: 100%;
  }

  .default_info h2 {
    font-size: 3.2rem;
  }

  .default_info h3 {
    font-size: 1.5rem;
  }

  .weather_temp {
    font-size: 4.2rem;
  }

  .content_section form input {
    width: 80%;
    font-size: 1.4rem;
    padding: 0.9rem;
  }

  .content_section form button {
    padding: 1rem;
    font-size: 1.2rem;
  }

  .list_content ul {
    justify-content: space-between;
  }

  .list_content ul li {
    flex: 1 1 auto;
  }

  .list_content ul li img {
    width: 60%;
  }
}


/* Screen Sizes 767px to 576px */
@media (max-width: 767px) and (min-width: 576px) {
  .container {
    width: 90%;
    margin: 1rem;
  }

  .wrapper {
    grid-template-columns: 1fr;
    grid-gap: 0.5rem;
  }

  .img_section {
    height: auto;
    border-radius: 15px;
  }

  .default_info h2 {
    font-size: 2.2rem;
  }

  .default_info h3 {
    font-size: 1rem;
  }

  .weather_temp {
    font-size: 2.5rem;
  }

  .content_section form input {
    width: 65%;
    font-size: 1rem;
    padding: 0.6rem;
  }

  .content_section form button {
    padding: 0.7rem;
    font-size: 1rem;
  }

  .day_info .content {
    flex-direction: column;
    text-align: center;
  }

  .list_content ul {
    flex-direction: column;
  }

  .list_content ul li {
    width: 80%;
    margin: 1rem 0;
  }

  .list_content ul li img {
    width: 35%;
  }
}

/* Screen Sizes 575px to 400px */
@media (max-width: 575px) and (min-width: 400px) {
  .container {
    width: 85%;
  }

  .default_info h2 {
    font-size: 1.8rem;
  }

  .weather_temp {
    font-size: 2rem;
  }

  .content_section form input {
    width: 70%;
    padding: 0.6rem;
    font-size: 0.9rem;
  }

  .content_section form button {
    padding: 0.7rem;
    font-size: 0.9rem;
  }

  .list_content ul li img {
    width: 30%;
  }
}

/* Screen Sizes 399px to 300px */
@media (max-width: 399px) and (min-width: 300px) {
  .container {
    width: 80%;
  }

  .default_info h2 {
    font-size: 1.6rem;
  }

  .weather_temp {
    font-size: 1.8rem;
  }

  .content_section form input {
    width: 65%;
    padding: 0.5rem;
    font-size: 0.8rem;
  }

  .content_section form button {
    padding: 0.6rem;
    font-size: 0.8rem;
  }

  .list_content ul li img {
    width: 25%;
  }

  .list_content ul li {
    padding: 0.4rem;
  }
}

/* Screen Sizes 299px to 200px */
@media (max-width: 299px) and (min-width: 200px) {
  .container {
    width: 90%;
  }

  .default_info h2 {
    font-size: 1.4rem;
  }

  .weather_temp {
    font-size: 1.5rem;
  }

  .content_section form input {
    width: 60%;
    padding: 0.5rem;
    font-size: 0.7rem;
  }

  .content_section form button {
    padding: 0.5rem;
    font-size: 0.7rem;
  }

  .list_content ul li img {
    width: 20%;
  }

  .list_content ul li {
    padding: 0.3rem;
  }

  .icons img {
    width: 50%;
  }
}

	
