body {
  background: rgb(60, 68, 116);
  min-height: 100vh;
	box-sizing: border-box;
	padding-top: 1.5rem;
  min-width: 100vw;
  font-family: "HelveticaNeue-Light", "Helvetica Neue Light", "Helvetica Neue", Helvetica, Arial, "Lucida Grande", sans-serif; 
  margin: 0 auto 5rem auto;
  color: rgb(32, 33, 53);
}

.tabs {
	display: flex;
  overflow-x: scroll;
  width: 90vw;
  margin: auto;
  height: 100%;
  z-index: 1;
}

.skilltabs {
	display: flex;
	flex-wrap: wrap;
}

.tabs label {
	order: 1;
  position: relative;
	display: block;
  height: 2rem;
	padding: 1.5rem 1.5rem;
	margin-right: 0.5rem;
	cursor: pointer;
  background: #586185;
  font-weight: bold;
  transition: background ease 0.2s;
}
.skilltabs label {
	order: 1;
	display: block;
	padding: 0.8rem 1rem;
	margin-right: 0.2rem;
	cursor: pointer;
  background: rgb(144, 147, 185);
  font-weight: bold;
  transition: background ease 0.2s;
}
.tabs .main {
  order: 99;
  position: absolute;
  top: 6.4rem;
	width: 95%;
  max-width: 48rem;
  min-height: 25em;
  z-index: 5;
  display: flex;
  flex-wrap: wrap;
	display: none;
  margin: auto;
  padding: 1.5rem, auto;
  background: rgb(144, 147, 185);
}
.skilltabs .tab {
  order: 99;
  flex-grow: 1;
	width: 100%;
	display: none;
  padding: 0.5rem;
  background:  rgb(212, 208, 235);
}
.zindex{
  z-index:3;
}
.tabs input[type="radio"] {
	display: none;
}
.tabs input[type="radio"]:checked + label {
	background: rgb(144, 147, 185);
}
.tabs input[type="radio"]:checked + label + .main {
	display: block;
}

.skilltabs input[type="radio"] {
	display: none;
}
.skilltabs input[type="radio"]:checked + label {
	background:  rgb(212, 208, 235);
}
.skilltabs input[type="radio"]:checked + label + .tab {
	display: inline-block;
}

.tab, .main {
  border-radius: 0px 10px 10px 10px;
}

label{
  border-radius: 5px 5px 0px 0px;
  height: 1.5rem;
}
.skilltabs label{
  height: 3rem;
}

.overlay {
  position: fixed;
  top: 0;
  bottom: 0;
  left: 0;
  right: 0;
  transition: opacity 5ms;
  visibility: hidden;
  opacity: 0;
  z-index: 5;
}
.overlay:target {
  visibility: visible;
  opacity: 1;
}

.popup {
  margin: 10rem auto;
  padding: 0.4rem;
  background: rgb(212, 208, 235, 0.3);
  border-radius: 5px;
  width: 30rem;
  position: relative;
}

.popup .close {
  position: absolute;
  top: 1rem;
  right: 1.5rem;
  font-size: 30px;
  font-weight: bold;
  text-decoration: none;
  color: white;
  z-index: 6;
}

.popup .tab{
  max-height: 65vh;
  overflow-y: scroll;
}


#rectangle{
  position: absolute;
  top: 1rem;
  right: 1rem;
  width:2rem;
  height:2rem;
  border-radius: 5px;
  background:#586185;
  z-index: 5;
}

.icons {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-content: flex-start;
  margin-left: 2.5rem;
  margin-right: 2.5rem;
}

.icon, .blank {
  position: relative;
  margin: 2%;
}

.icon .dTxt {
  text-align: center;
}


.tok {
  float: left;
  margin-right: 0.5rem;
}

h1 {
  color:rgb(32, 33, 53);
  padding-left: 3.5rem;
  padding-top: 1rem;
}

h2 {
  color: white;
  font-style: bold;
  line-height: 2.5rem;
}

h3, h4, p, .itxt, .dTxt {
  color: rgb(49, 51, 99);
  margin : 0.5rem 0rem 0.5rem 0rem;
}

a:link, a:visited {
  color: white;
}

.iTxt {
  padding-top: 0.5rem;
  padding-bottom: 1rem;
  text-align: center;
}
.ik {
  color: #4a557c;
  display: inline;
}
.name {
  opacity: 75%;
  display: inline;
}

.orange {
  background-color: rgb(199, 131, 68);
}

.purple {
  background-color: rgb(134, 101, 167);
}

.blue {
  background-color: rgb(88, 136, 199);
}

.green {
  background-color: rgb(94, 158, 103);
}

.red {
  background-color: rgb(172, 89, 89);
}

.yellow {
  background-color: rgb(158, 158, 102);
}

.brown {
  background-color: rgb(165, 113, 88);
}

.pink {
  background-color: rgb(158, 96, 158);
}

.grey {
  background-color: #757d9e;
}

a img:hover {
  -webkit-filter: drop-shadow(5px 5px 5px rgba(0,0,0,0.5));
	filter: drop-shadow(5px 5px 5px rgba(0,0,0,0.5));
}

a img {
  height: 128px;
  width: 128px;
}

.lineup {
  width: 24%;
}

.role1, .role2, .role3{
  position: absolute;
  top: 8.25rem;
  z-index: 2;
}

.role1 {
  left: 0.35rem;
}

.role2 {
  left: 2.85rem;
}

.role3 {
  left: 5.35rem;
}

.cost {
  position: absolute;
  top: 5rem;
  left: 0rem;
  z-index: 2;
}

.tabs::-webkit-scrollbar, .tab::-webkit-scrollbar, .content::-webkit-scrollbar {
  width: 0px;
  height: 0px;
  display: none;
}

.footer {
  color: white;
  position: fixed;
  bottom: 0rem;
}

.wrapper {
  width: 50rem;
  margin: auto;
  height: 100%;
  padding-bottom: 2rem;
}

.arrowR, .arrowL {
  display: none;
}

#strip {
  position:absolute;
  top: 0rem;
  right: 0rem;
  width:1rem;
  height:8rem;
  background: rgb(60, 68, 116);
  z-index: 4;
}


@media screen and (max-width: 600px) {
  .blank, .ik, .name, .footer {
    display: none;
  }
  .icon p {
    font-size: 1rem;
  }
  h1 {
    padding-left: 3rem;
  }
  .popup {
    width: 90vw;
    margin: 1rem auto;
  }
  .tabs {
    width: 95%;
    margin: auto;
  }
  .popup .tab{
    max-height: 80vh;
    overflow-y: scroll;
  }

  .lineup {
    width: 23%;
  }

  .popup .close{
    top: 0.5rem;
    right: 0.95rem;
  }

  #rectangle{
    top: 0.5rem;
    right: 0.5rem;
  }

  .arrowR {
    display: block;
    position:absolute;
    right: 1.2rem;
    top: 0.1rem;
    color:rgb(212, 208, 235);
    z-index: 2;
  }
  .arrowL {
    display: block;
    position:absolute;
    left: -1.1rem;
    top: 0.1rem;
    color:rgb(212, 208, 235);
    z-index: 2;
  }
  .wrapper {
    width: 100%;
  }
}

@media screen and (max-width: 400px) {
  .blank {
    display: none;
  }
  .icons{
    margin-left: 1rem;
    margin-right: 1rem;
  }
  h1 {
    padding-left: 1.5rem;
  }
  .skilltabs label {
    padding: 0.7rem 0.7rem;
  }
  .arrowL {
    left: 0.25rem;
  }
}

@media screen and (max-width: 320px) {
  .icons{
    margin-left: 0.5rem;
    margin-right: 0.5rem;
  }
  h1 {
    padding-left: 1rem;
  }
  .skilltabs label {
    padding: 0.5rem 0.5rem;
  }
  .arrowL {
    left: 0rem;
  }
}