/*
Cataclysm
Scission
Macrocosm
Nezarec
*/

* {
  padding: 0;
  margin: 0;
}

.raid h1,
.raid h2 {
  text-align: center;
  border-bottom: 2px solid white;
  border-radius: 10px 10px 0 0;
}

.flex-container {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  color: white;
}

.encounter {
  padding: 15px;
  margin: 15px;
  background: #1a1a1a;
  border-radius: 15px;
  box-shadow: 5px 5px 15px black;
}

.encounter .flex-container {
  /*background: #1a1a1a;*/
}

.team {
  padding: 10px;
  margin: 0 5px;
  text-align: center;
}
.team:nth-child(even),
.team:last-child:not(:first-child) {
  border-left: 2px solid white;
}

.team ul {
  list-style: none;
}

body {
    width:80%;
    margin:0 auto;
    text-align:center;
    max-width: 1000px;
    background: #191D21;
}

select {
    border-radius: 15px;
    padding: 5px;
    width: 30%;
    text-align: center;
    background-color:#000;
    color:#dee2e6;
}

.hidden {
    display: none;
}

table {
    border-collapse: collapse;
    table-layout: fixed;
    width:100%;
}
tbody {
    table-layout: fixed;
    width:100%;
}
table td, .table th {
    padding: 0.75rem 2rem;
    vertical-align: top;
    border-top: 1px solid #343a40;
}
table tr th {
    border-bottom:2px solid;
}
table tr td {
    border-left:2px solid;
    text-align: left;
}
td:first-child, th:first-child {
    border-left: none;
}
table tr td h3 {
    text-align: center;
}

li {
    display: inline;
    vertical-align: middle;
    text-align:center;
    padding: 15px 10px;
}
a{
    color:#fff;
}
a:hover, a:visited, a:active{
    color:#fff;
}
ul{
    padding:0;
}
a, a:visited, a:hover, a:active {
    color: inherit;
}
.btn{
    display:block;
    margin:10px auto 50px auto;
}
.form-group .btn{
    display:inline-block;
    margin:8px;
}
.modal h1{
  padding: 10px;
  text-shadow: 5px 5px 5px black;
  font-weight: bold;
}
.modal h2{
  padding: 10px;
  /*background:#3E432E;*/
  background: black;
}
.modal li {
    display: block;
    text-align:center;
}
.modal li p {
    white-space: pre-line;
}
.modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(0, 0, 0, 0.5);
  display: none;
  align-items: center;
  justify-content: center;
  padding:5px;
}

.modal.open {
  display:flex;
  z-index:999;
}

.modal-container {
  background-color: #060700;
  background-repeat: no-repeat;
  background-size: cover;
  top: 100;
  width: 100%;
  height: 100%;
  border-radius:15px;
  position: relative;
  border: 2px solid white;
  overflow: auto;
}
.modal.open .modal-container {
  animation: grow 0.2s ease-out;
}
.modal ul {
    width:100%;
}
.modal ul li {
    padding:0;
}
@keyframes grow {
  from {
    transform: scale(0, 0);
  }
  to {
    transform: scale(1, 1);
  }
}
.close {
    position: absolute;
    top: 0;
    right: 0;
    display: block;
    width: 70px;
    height: 70px;
    font-size: 0;
}
.close:before,
.close:after {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 5px;
    height: 20px;
    background-color: #F0F0F0;
    transform: rotate(45deg) translate(-50%, -50%);
    transform-origin: top left;
    content: '';
}
.close:after {
    transform: rotate(-45deg) translate(-50%, -50%);
}
.copy {
    position: absolute;
    top: 0;
    right: 8%;
    display: block;
    width: 100px;
    height: 100px;
    font-size: 0;
}
.copy svg {
  position: absolute;
  top:40%;
}
