img{
  width: 80%;
}
.btn-up {
  /* фиксированное позиционирование */
  position: fixed;
  /* цвет фона */
  background-color: #673ab7;
  /* расстояние от правого края окна браузера */
  right: 20px;
  /* расстояние от нижнего края окна браузера */
  bottom: 0;
  /* скругление верхнего левого угла */
  border-top-left-radius: 8px;
  /* скругление верхнего правого угла */
  border-top-right-radius: 8px;
  /* вид курсора */
  cursor: pointer;
  /* отображение элемента как flex */
  display: flex;
  /* выравниваем элементы внутри элемента по центру вдоль поперечной оси */
  align-items: center;
  /* выравниваем элементы внутри элемента по центру вдоль главной оси */
  justify-content: center;
  /* ширина элемента */
  width: 60px;
  /* высота элемента */
  height: 50px;
}

.btn-up::before {
  content: "";
  width: 40px;
  height: 40px;
  background: transparent no-repeat center center;
  background-size: 100% 100%;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='%23fff' viewBox='0 0 16 16'%3E%3Cpath fill-rule='evenodd' d='M7.646 4.646a.5.5 0 0 1 .708 0l6 6a.5.5 0 0 1-.708.708L8 5.707l-5.646 5.647a.5.5 0 0 1-.708-.708l6-6z'/%3E%3C/svg%3E");
}

.btn-up_hide {
  display: none;
}

@media (hover: hover) and (pointer: fine) {
  .btn-up:hover {
    background-color: #512da8; /* цвет заднего фона при наведении */
  }
}
#myInput {
  background-image: url('../css/searchicon.png');
  background-position: 10px 10px;
  background-repeat: no-repeat;
  width: 80%;
  font-size: 16px;
  padding: 12px 20px 12px 40px;
  border: 1px solid #ddd;
  margin-bottom: 12px;
}

#myTable {
  border-collapse: collapse;
  width: 80%;
  border: 5px solid #ddd;
  font-size: 18px;
}

#myTable th, #myTable td {
  text-align: left;

}

#myTable tr {
  border-bottom: 1px solid #ddd;
}

#myTable tr.header, #myTable tr:hover {
  background-color: #f1f1f1;
}


body{
  background: linear-gradient(to right, #6e316b,  #000000 );
    position:center;
}
body h1{
  color:white;
}
table{
  color: azure;
  border-collapse: separate;
  border-spacing: 20px;
  border: 1px solid azure;
  width:100%;
}
th {
  font-size: 13px;
  font-weight: normal;
  border-right: 1px solid #9baff1;
  border-left: 1px solid #9baff1;
  padding: 8px;
}
td {
  border-right: 1px solid #aabcfe;
  border-left: 1px solid #aabcfe;
  padding: 8px;
}
p{
  color: azure;
}
a{
  text-decoration: none;
    color: #dc9b3d;

  }
  #navbar{

  overflow: hidden;
  top:10;
  width:100%;
  border-bottom-color:grey; 
border-bottom-style:solid;
border-bottom-width:2px;
  }
  #navbar a{
    text-decoration: none;
    color: azure;
  }
  #navbar li{
      position:block;
      float:left;
      display:block;
      text-align:center;
      padding:14px 16px;
      font-size:17px;
      color:white;
  }

  .pictures img{
    width:200px;
    height:200px;
  }
  #sub_picture{
width:20px;
height:20px;
  }
  #medal_pictures{
    width:15%;
    height:15%;
  }
.pictures-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
  grid-gap: 1%;
}