
*{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

.pullup-logo{
    width:150px;
}

/* Add-pull-ups-wrapper */
.showHello-wrapper{
    padding-top: 15px;
    padding-bottom: 15px;
    background-color: rgb(247, 228, 245);
}

.helloMessage{    
    display: flex;    
    justify-content: center;
}





/* pull-ups-for-today-wrapper */

@-webkit-keyframes AnimateBG {
  0% {
    background-position: 0% 50%;
  }
  50% {
    background-position: 100% 50%;
  }
  100% {
    background-position: 0% 50%;
  }
}

@keyframes AnimateBG {
  0% {
    background-position: 0% 50%;
  }
  50% {
    background-position: 100% 50%;
  }
  100% {
    background-position: 0% 50%;
  }
}
.pull-ups-for-today-wrapper{
  padding-top: 15px;
  /* background-color: rgb(222, 247, 238); */
  /* https://alvarotrigo.com/blog/animated-backgrounds-css/ */
  width: 100%;
  /* height: 100vh; */
  /* display: flex; */
  align-items: center;
  justify-content: center;
  background-size: 300% 300%;
  background-image: linear-gradient(-45deg, yellow 0%, yellow 25%, yellow 51%, #ff357f 100%);
  -webkit-animation: AnimateBG 20s ease infinite;
          animation: AnimateBG 20s ease infinite;
}

.pull-ups-for-today{
    display: flex;    
    justify-content: center;
    font-size: 70px; 
    text-align: center;       
}

.pull-ups-for-today-h2{    
    display: flex;    
    justify-content: center;
}


.animated-shake {
    animation: shake 0.5s;
}

.animated-shake:hover {
    animation: shake .16s infinite alternate;
  }

@keyframes shake {
    0% { 
      transform: translate(0, 0); 
    }
    25% { 
      transform: translate(-2px, -2px); 
    }
    50% { 
      transform: translate(2px, 2px); 
    }
    75% { 
      transform: translate(-2px, -2px);
    }
    100% { 
      transform: translate(0, 0); 
    }
  }
  
  
/* pull-ups-for-today-rectangles-wrapper */

.pull-ups-for-today-rectangles-wrapper {
    background-color: rgb(231, 235, 182);
    padding: 5px 5px 5px 5px;
    display: grid;
    grid-template-columns: repeat(5, 1fr); /* Five equal-width columns */
    grid-gap: 5px; /* Gap between grid cells */
  }



  .square {
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 5px;
    height: 40px; /* Set the height of the squares */
    background-color: #f1f1f1; /* Set the background color of the squares */
    font-size: 28px; 
  }

  /* pull-ups-avarage-wrapper */

  .pull-ups-avarage-wrapper{
    padding: 15px 0px 5px;
    display: flex;    
    justify-content: space-evenly;
    font-size: 70px; 
    text-align: center;
    background-color: #d6ecf5;       
}

.pull-ups-avarage-item{
  
  padding: 10px;
  display: flex;
  flex-direction: column;
  background-color: #d9f1d4;
  border-radius: 15px;
}

.pull-ups-avarage-h2{    
    display: flex;    
    justify-content: center;
    font-size: 14px;
    text-decoration: underline;
}

.last7Days-wrapper{
  padding: 15px 10px 5px;

}


.mainChart-wrapper {
  padding-right: 10px;
}

.pushupsSwitch input[type=checkbox]{
	height: 0;
	width: 0;
	visibility: hidden;
}

.pushupsSwitch label {
	cursor: pointer;
	text-indent: -9999px;
	width: 80px;
	height: 40px;
	background: grey;
	display: block;
	border-radius: 50px;
	position: relative;
}

.pushupsSwitch label:after {
	content: '';
	position: absolute;
	top: 5px;
	left: 5px;
	width: 30px;
	height: 30px;
	background: #fff;
	border-radius: 90px;
	transition: 0.3s;
}

.pushupsSwitch input:checked + label {
	background: #bada55;
}

.pushupsSwitch input:checked + label:after {
	left: calc(100% - 5px);
	transform: translateX(-100%);
}

.pushupsSwitch label:active:after {
	width: 130px;
}


.dates-wrapper{
  padding: 10px;
  display: flex;
  justify-content: center;
}

.label-date {
  display: inline-block;
  width: 60px;
  text-align: right;
  margin-right: 10px;
}

input[type="date"] {
  width: 200px;
}

#refreshButton {
  background-color: rgb(9, 78, 20); /* изменение цвета фона */
  color: white; /* изменение цвета текста */  
  border: none; /* удаление границы */  
  padding: 0px 5px;
  cursor: pointer; /* изменение курсора при наведении */
  border-radius: 10px;
}