body {
    font-family: Arial, sans-serif;
    padding: 20px;
}

#calosc {
    display:flex;
    flex-direction: row;
    justify-content:center;
}

#column1 {display:flex;
flex-direction:column;
width:400px;
margin:30px;}

#opisyitd {
    background-image: url('obrazy/kartkabg.png'); 
    background-size:100% 100%;
    padding:0 75px 20px; margin: 0 0 60px 0; 
   font-family: "felt-tip-woman", sans-serif;
    font-weight: 400;
    font-style: normal;
    font-size:20px;} 

h1 {
    margin-bottom:0;
}

#calendarTitle {
font-family: "poster-cut-neue", sans-serif;
font-weight: 300;
font-style: normal; 
    color:white;
}

#tlokalendarza { background-image: url('obrazy/kalendarzbg.png'); background-size:100% 100%;
    padding: 40px 20px 40px;
} 


#calendar {
    display: flex;
    flex-direction: column;
    align-items: center;
}

#podpiskalendarza {display:flex; flex-direction:row; justify-content:space-between;}

#calendarGrid {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: 5px;
    /*background-image: url('obrazy/dzienbg.png');
    background-size: 40px 40px; */
    font-family: "poster-cut-neue", sans-serif;
    font-weight: 400;
    font-style: normal;
    
}

.calendarDay {
    width: 40px;
    height: 40px;
    box-shadow: 0 0 5px rgba(0, 0, 0, 0.5);
    border: 1px black;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    
}



#hats {display:flex; 
    flex-direction:column;
margin:30px;
    padding:50px;
    height: 600px;
background-image: url('obrazy/walizkabg.png');
background-size:100% 100%;;}

#hatsContainer {
    display: grid;
    grid-template-columns: repeat(5,1fr);
    gap: 5px;
    overflow-y:auto;
    grid-template-rows: 1fr;
    margin-top:60px;
     
}

.hat {
    display:flex;
}

.haticon {
    max-width: 50px;
    max-height: 50px;
}

.strzalka {
  background: transparent;
  border: none;
  color: white;
  padding: 0;
  text-align: center;
  text-decoration: none;
  display: inline-block;
  font-size: 36px;    
}

#submit {
  
    /*background: rgb(255,253,149);*/
    box-shadow: 5px 5px 5px rgba(0, 0, 0, 0.1);
    background: linear-gradient(0deg, rgba(255,253,149,1) 0%, rgba(233,185,81,1) 100%);
  border: none;
  color: black;
  padding: 5px 10px 5px 10px;
    margin-top: 10px;
  text-align: center;
  text-decoration: none;
  display: inline-block;
  font-size: 18px;    
    font-weight: 700;
    font-style: normal;
    font-family: "ff-providence-web-pro", sans-serif;
   
}

.guzikinazwa {
    background:none;
    border:none;
    font-size: 20px;
    justify-content:center;

}

.hat-container {
    position: relative;
    display: inline-block;
}

.lock-icon {
    position: absolute;
    top: 0;
    left: 0;
    width: 50px;
    height: 50px;
    background: url('obrazy/lock.png') center center no-repeat;
    background-size: contain;
    pointer-events: none; /* Prevent clicks on the lock icon */
    display: none;
}


#displaySection {
    font-size:50px;
     font-weight: 700;
    font-style: normal;
    font-family: "ff-providence-web-pro", sans-serif;
}

#inputSection {
    margin:40px;
}

#wpisaneimie {
     /*background: rgb(255,253,149);(*/
    box-shadow: 5px 5px 5px rgba(0, 0, 0, 0.1);
    background: linear-gradient(0deg, mintcream, lightgray);
  border: none;
  padding: 5px 10px 5px 10px;
    margin-top: 10px;
    font-family: "felt-tip-woman", sans-serif;
    font-weight: 400;
    font-style: normal;
    font-size:20px;
    color:darkblue;
}

.statystyka {
   font-family: "felt-tip-woman", sans-serif;
    font-weight: 400;
    font-style: normal;
    font-size:20px;
    line-height: 0.3;
    }

/*phone*/
@media (max-width: 500px) {
    #calosc {
     display:flex;
    flex-direction: column;
    justify-content:center;
    }

    #column1, #hats, #calendar, #p5Container {
        margin: 0 auto;
        display: flex;
        justify-content: center;
        transform:scale(0.7);
    }
    
    #p5Container {
       
        transform:scale(0.5);
        height:300px;
        width:300px;
        transform-origin: top center;
        justify-content: center;
    
    }
    
}

.tooltip:hover .tooltiptext { visibility: visible; }


/*smaller*/
@media (max-width: 1300px) and (min-width:500px) {
    #calosc {
       display:flex;
    flex-direction: column;
        align-items: center;
    }

    #column1, #hats, #calendar, #p5Container {
        margin: 0 auto;
        display: flex;
        justify-content: center;
    }
    
    #p5Container {
        padding:80px;
        transform:scale(0.7);
        height:300px;
        width:300px;
        transform-origin: top center;
        justify-content: center;

    
    }
 
    #hats {
       margin-top:50px;
    }
    
}




