@font-face {
    font-family: "SF Pro Text";
    font-style: normal;
    font-weight: 300;
    src: url("https://raw.githubusercontent.com/blaisck/sfwin/master/SFPro/TrueType/SFProText-Light.ttf");
}

body {
    margin: 0;
    font-family: "SF Pro Text";
    background: linear-gradient(to right, #302c7c, #485d7e);
    color: white;
    height: 100vh;
    display: flex;
    flex-direction: column;
}


nav {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    padding: 10px;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    box-sizing: border-box;
}

.location-info, .local-temp {
    margin: 0;
    padding: 1px;
}

.weather-data{
padding: 10px;
}

/* lokalizacja */
.search-bar {
    position: absolute;
 
    top: 20%;
    right: 0;
   
    width: 0%;
    height: 60%;
    
    overflow: hidden;
    transition: width 0.5s ease; /* Animacja wysuwania na szerokość */
    box-sizing: border-box;
}

.search-bar input {
    height: 80%;
    width: 60%;
    border-radius: 150px;

    border: none;
    outline: none;
    font-size: 18px;

    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.4);
    padding-left: 20px; /* Odstęp od lewej krawędzi */
    box-sizing: border-box;
}

.search-bar.active {
    margin-right: -100px;
    width: 30%;
}

.search-icon-button{
    background-image: url('../assets/loupe.png');
    background-size: cover; /* Dopasowanie rozmiaru zdjęcia do przycisku */
    background-repeat: no-repeat; /* Zablokowanie powtarzania zdjęcia */
    background-position: center; /* Wyrównanie zdjęcia na środku */
    background-color: transparent;
    width: 100px; /* Szerokość przycisku */
    height: 100px; /* Wysokość przycisku */
    border: none; /* Usunięcie obramowania */
    padding: 0; /* Usunięcie marginesów wewnętrznych */
    cursor: pointer; /* Zmiana kursora na wskaźnik */
    outline: none; /* Usunięcie konturu przy kliknięciu */
    z-index: 10;

}

.search-icon-button:active {
    transform: scale(0.98);
}

.container {
    display: flex;
    flex: 1;
    flex-direction: column;
}

.weather-icon, .cat-icon {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 0;
    box-sizing: border-box;
}


.weather-icon-img {
width: 30vh; 
height: 30vh; 
margin-top: -50px;
object-fit: cover;
object-position: 25% 25%; 
}

.cat-icon-img {
    margin-top: -200px;
    margin-left: -60px;
}    
