 .accordion {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(19rem,100%), 1fr));
  /*cursor: pointer;*/
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.2);
  border-radius: 5px;
  overflow: hidden;  
   /*background: url("../picture/bg.jpeg") no-repeat;
  background-position: bottom;
  background-size: cover;*/
  height: 100%;padding-right:5px;padding-left:5px;
  transition: all .5s;
}
      /*.accordion{
          background: url("../picture/bg2.jpeg") no-repeat;
          background-position: center;
          background-size: cover;
          height: 100%;
          transition: all .5s;
      }*/     


.accordion__label,
.accordion__content {
  padding: 14px 20px;
}

.accordion__label {
  display: block;
  color: #ffffff;border: 1px solid white;
  font-weight: 500;
  cursor: pointer;
  position: relative;
  transition: background 0.1s;
}

.accordion__label:hover {
  background: rgba(0, 0, 0, 0.1);
}

.accordion__label::after {
  content: "";
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  right: 20px;
  width: 12px;
  height: 6px;
  background-image: url('data:image/svg+xml;utf8,<svg width="100" height="50" xmlns="http://www.w3.org/2000/svg"><polygon points="0,0 100,0 50,50" style="fill:%23FFFFFF99;" /></svg>');
  background-size: contain;
  transition: transform 0.4s;
}
.accordion{
      background-color:/*#003D5C;*/#004A96;
      }
.accordion__content {
  background: #ffffff;border: 1px solid floralwhite;border-radius:15px;border:1px solid rgba(255,255,255,0.18);margin:5px; 
  /*line-height: 1.6;padding:5px;
  font-size: 0.85em;*/
  display: none;  
}

.accordion__input {
  display: none;
}

.accordion__input:checked ~ .accordion__content {
  display: block;
}

.accordion__input:checked ~ .accordion__label::after {
  transform: translateY(-50%) rotate(0.5turn);
}