.center {
  align-items: center;
  display: flex;
  flex-direction: column;
  height: 100%;
  justify-content: center;
}

.wrapper {
  display: flex;
  grid-gap: 1em;
  overflow: hidden;
  width: 100%;
}
.wrapper > .inner {
  display: flex;
  grid-gap: 1em;
  transition: all 1s ease-in-out;
}



.box {
  background: #282828;
  border-radius: 8px;
  display: grid;
  grid-template-columns: 48px 1fr;
  position: relative;
}

.box-icon {
  display: grid;
  place-items: center;
}

.box-label {
  height: 64px;
  display: flex;
  align-items: center;
  padding-left: 16px;
  font-size: 14px;
  letter-spacing: 0.125em;
}

.box-title {
  white-space: nowrap;
  display: flex;
  align-items: center;
  -ms-writing-mode: tb-rl;
      writing-mode: vertical-rl;
  -webkit-text-orientation: mixed;
          text-orientation: mixed;
  font-size: 14px;
  padding-top: 16px;
  letter-spacing: 0.125em;
}

.box-image {
  width: fit-content;
  height: 270px;
  border-radius: 16px 0 8px 0;
  overflow: hidden;
  object-fit: cover;
}
.box-image img {
  width: 100%;
  display: block;
  object-fit: cover;
  height: inherit;
}

.studio-button {
  position: absolute;
  bottom: 16px;
  right: 16px;
  display: flex;
  align-items: center;
  background: #f46e8f;
  color: white;
  padding: 1px 4px 3px 7px;
  border-radius: 50px;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.25);
  transition: 0.35s ease all;
  overflow: hidden;
  max-width: 39px;
  /* icon size */
}

.studio-button-icon {
  position: relative;
  top: 1px;
}

.studio-button-label {
  text-transform: uppercase;
  white-space: nowrap;
  padding: 0 8px;
  opacity: 0;
  transform: translateX(10px);
  transition: 0.25s ease all;
}

.box:hover .studio-button {
  max-width: 100%;
}
.box:hover .studio-button-label {
  opacity: 1;
  transform: translateX(0);
  transition: 0.25s 0.1s ease-in opacity, 0.15s 0.1s cubic-bezier(0.175, 0.885, 0.32, 1.275) transform;
}





.map {
  margin-top: 1em;
}
.map > button {
  all: unset;
  background: #f46e8f;
  cursor: pointer;
  margin: 0 0.125em;
  position: relative;
  -webkit-user-select: none;
     -moz-user-select: none;
      -ms-user-select: none;
          user-select: none;
  border-radius: 100%;
  height: 1em;
  width: 1em;
}
.map > button.active:after {
  background: #001d38;
  content: "";
  left: 50%;
  position: absolute;
  transform: translate(-50%, -50%);
  top: 50%;
  border-radius: 100%;
  height: 0.5em;
  width: 0.5em;
}



@media (max-width:400px)
{ 
	.box
	{
	grid-template-columns: 127px 1fr;
	} 
}

@media (max-width:380px)
{ 
	.box
	{
	grid-template-columns: 97px 1fr;
	} 
}
@media (max-width:352px)
{ 
	.box
	{
	grid-template-columns: 80px 1fr;
	} 
}

@media (max-width:326px)
{ 
	.box
	{
	grid-template-columns: 49px 1fr;
	} 
}
@media (max-width:300px)
{ 
	.box
	{
	grid-template-columns: 38px 1fr;
	} 
}