@import url('https://fonts.googleapis.com/css2?family=Poppins&display=swap');

body {
    margin: 0;
    background-color: #F7F7F7;
}

.header {
    background-color: #222222;
	background-image: url("../images/bannerws.webp"); /* The image used for background */
	background-position: center; /* Center the image */
	background-repeat: no-repeat; /* Do not repeat the image */
	background-size: cover; /* Resize the background image to cover the entire container */
    height: 200px;
    padding: 10px 0 0 0;
}

.header-title {
	color: #fffef9;
    font-size: 2.5rem;
    font-weight: bold;
    text-align: center;
    margin: 0 auto;
}

.header-description {
    color: #fffef9;
    margin: 4px auto;
    text-align: center;
    max-width: 384px;
}

.wrapper {
    margin-right: auto;
    margin-left: auto;
    max-width: 1024px;
    padding-right: 10px;
    padding-left: 10px;
    margin-top: 32px;
}

.card {
    margin-bottom: 24px;
    box-shadow: 0 4px 6px 0 rgba(0, 0, 0, 0.18);		
}

.card__2cols {
    margin-bottom: 24px;
    /*box-shadow: 0 4px 6px 0 rgba(0, 0, 0, 0.18);	*/
	display: grid;
	grid-template-columns: repeat(2, 1fr);
	grid-gap: 20px;
}

.card__3cols {
    margin-bottom: 24px;
    /*box-shadow: 0 4px 6px 0 rgba(0, 0, 0, 0.18);	*/
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	grid-gap: 20px;
}

/*.container {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  grid-gap: 20px;
}*/

.chart {
  width: 100%;
  height: 380px;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Poppins', sans-serif;
}

.container__current__weather {
    background: #171717;
    color: #fff;
    padding: 1rem;
    width: 100%;
    margin: 1rem auto;
    border-radius: 10px;
}

/*.weather__header {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

input {
    border: none;
    background: #1e1e1e;
    outline: none;
    color: #fff;
    padding: 0.5rem 2.5rem;
    border-radius: 5px;
}

input::placeholder {
    color: #fff;
}

.weather__search {
    position: relative;
}

.weather__search i {
    position: absolute;
    left: 10px;
    top: 10px;
    font-size: 15px;
    color: #fff;
}

.weather__units {
    font-size: 1.5rem;
}

.weather__units span {
    cursor: pointer;
}

.weather__units span:first-child {
    margin-right: 0.5rem;
}*/

.weather__body {
    text-align: center;
    margin-top: 0.1rem;
}

.weather__datetime {
    margin-bottom: 2rem;
    font-size: 14px;
}

/*.weather__forecast {
    background: #1e1e1e;
    display: inline-block;
    padding: 0.5rem 1rem;
    border-radius: 30px;
}

.weather__icon img {
    width: 100px;
}

.weather__temperature {
    font-size: 1.75rem;
}

.weather__minmax {
    display: flex;
    justify-content: center;
}

.weather__minmax p {
    font-size: 14px;
    margin: 0.5rem;
}*/

.weather__info {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-gap: 1rem;
    margin-top: 3rem;
}

.weather__card {
    display: flex;
    /*align-items: center;*/
    background: #1e1e1e;
    padding: 1rem;
    border-radius: 10px;
}

.weather__card i {
    font-size: 1rem;
    margin-right: 1rem;
}

.weather__card p {
    font-size: 12px;
}

@media(max-width: 768px){
    .container__current__weather {
        width: 90%;
    }

    .weather__header {
        flex-direction: column;
    }

    .weather__units {
        margin-top: 1rem;
    }
	
	.header-title{
        font-size: 1.5rem;		
	}
	
	.header-emoji {
		font-size: 1.5rem;
	}
	
	.weather__info {
        grid-template-columns: none;
    }
	
	.card {
		margin-bottom: 60px;
	}
	
	.card__2cols {
		
		grid-template-columns: repeat(1, 1fr);
	}
	
	.card__3cols {
		
		grid-template-columns: repeat(1, 1fr);
	}
}


/*@media(max-width: 400px){
    .weather__info {
        grid-template-columns: none;
    }
}*/