html,
body {
  width: 100%;
  height: 100%;
}

body {
  margin: 0;
  padding: 0;
  width: 100%;
  font-family: "SF Pro Display", Arial, sans-serif;
  display: block;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

.title {
  margin: 30px 0;
  padding: 0;
  color: #4c6067;
  font-size: 36px;
  line-height: 36px;
  letter-spacing: 1px;
  font-weight: 700;
  text-rendering: optimizeLegibility;
}

.container {
  width: fit-content !important;
  min-height: 270px;
  background: #fff;
  border-radius: 10px;
  padding: 20px;
  box-sizing: border-box;
  box-shadow: rgba(33, 35, 38, 0.1) 0 10px 10px -10px;
  max-width: 100% !important;
}

.container__list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-rows: repeat(1, minmax(min-content, max-content));
  grid-template-columns: repeat(7, minmax(min-content, max-content));
  grid-auto-rows: minmax(min-content, max-content);
  grid-auto-columns: minmax(min-content, max-content);
  justify-content: space-around;
  gap: 10px 20px;
  padding-bottom: 20px;
  zoom: 85% !important;
}

.container__item_active img {
    filter: brightness(0) invert(1);
}

.container__item {
  width: 100px;
  color: #4c6067;
  min-height: 30px;
  border-radius: 3px;
  display: grid;
  justify-content: center;
  align-content: center;
  cursor: pointer;
  position: relative;
  font-size: 16px;
  line-height: 16px;
  letter-spacing: 1px;
  font-weight: 400;
  transition: 0.2s;
}

.container__item::after {
  content: "";
  display: block;
  position: absolute;
  width: 40%;
  margin: 0 30%;
  bottom: 0;
  border-bottom: none;
}

.container__item_active {
  background: #009fe3;
  box-sizing: border-box;
  color: #ebfaff;
  font-weight: 300;
}

.container__link {
  margin: 0;
  padding: 0;
}

.container__inner {
  width: 100% !important;
  margin: 45px auto 35px;
}

.content__subtitle {
  animation-name: smoothTop;
  animation-duration: 0.3s;
  font-size: 22px;
  line-height: 22px;
  font-weight: 500;
  color: #404648;
}

.content__description {
  animation-name: smoothBottom;
  animation-duration: 0.7s;
  font-size: 14px;
  line-height: 22px;
  font-weight: 300;
  color: #404648;
}

.container__inner_hidden {
  display: none;
}

@keyframes smoothTop {
  0% {
    opacity: 0.2;
    transform: translateY(7%);
  }
  100% {
    opacity: 1;
    transform: translateY(0%);
  }
}

@keyframes smoothBottom {
  0% {
    opacity: 0.2;
    transform: translateY(-3%);
  }
  100% {
    opacity: 1;
    transform: translateY(0%);
  }
}

img.thumbnail {
    position: static;
    float: none;
    width: 100%;
    height: auto;
    padding: 20px;
    display: inline-block;
}

p {
    font-size: smaller;
    font-weight: 500;
}

.container__inner {
animation-name: FadeIn;
animation-duration: 0.7s;
transition-timing-function: linear;
}

@keyframes FadeIn {
  0% {
    opacity: 0;
  }
  100% {
    opacity: 1;
}
}

.container_title {
   padding-left: 60px;
}

@media only screen and (max-width: 600px) {
  .container__list {
    grid-template-rows: repeat(1, minmax(min-content, max-content));
    grid-template-columns: repeat(3, minmax(min-content, max-content));
    grid-auto-rows: minmax(min-content, max-content);
    grid-auto-columns: minmax(min-content, max-content);
    justify-content: space-around;
    gap: 0px;
    width: 100% !important;
    min-width: 100% !important;
    zoom: 80% !important;
    padding-bottom: 20px;
 }
 li.top-results.dt-thumbnail {
    width: 33% !important;
    padding: 10px !important;
    margin: 0px !important;
    zoom: 80%;
 }
 .container_title {
    padding: 30px;
    padding-top: 0px;
    padding-bottom: 0px;
 }
 div#pb-header {
    padding-top: 30px;
    text-align: left;
 }
}

.wrapper {
	width: 900px;
	min-height: auto;
	margin: 20px auto;
}
.wrapper ul {
	list-style: none;
	padding: 0;
}
.wrapper ul:after {
	content: '';
	display: table;
	clear: both;
}
.wrapper ul li {
	width: calc(30% - 5px);
	margin: 30px 15px 0;
	height: 150px;
	background-size: cover;
	background-position: center center;
	float: left;
	box-shadow: 0 15px 10px 1px rgba(0, 0, 0, 0.5);
}
.wrapper ul li:nth-child(1n + 4) {
	max-height: 0;
	opacity: 0;
	transition: 0.2s ease-in;
}
.wrapper .btn-area {
	display: block;
	background: #7f2a4b;
	color: #fff;
	cursor: pointer;
	text-align: center;
	font-weight: 900;
	width: 180px;
	line-height: 50px;
	margin: 50px auto 0;
	border-radius: 50px;
}
.wrapper .btn-area .btn2 {
	display: none;
}
.wrapper #btnBox {
	display: none;
}
.wrapper #btnBox:checked~ul li:nth-child(1n + 4) {
	max-height: 1000px;
	opacity: 1;
	transition: 0.2s ease-in;
}
.wrapper #btnBox:checked~.btn-area .btn2 {
	display: block;
}
.wrapper #btnBox:checked~.btn-area .btn1 {
	display: none;
}
