.interface.supporter-interface {
    width: 100%;
    max-width: 800px;
    transform: translate(-50%, -50%) scale(1);
    left: 50%;
    top: 50%;
}

.interface.supporter-interface p:first-of-type {
    text-align: center;
}

.supporter-tier-content-container .supporter-tier-column {
    float: left;
    width: 32.66%;
    margin-right: 1%;
    text-align: center;
}

.supporter-tier-content-container .supporter-tier-column:nth-child(3) {
    margin-right: 0;
}

.supporter-tier-content-container {
    overflow-x: hidden;
    width: 100%;
}

table.supporter-tier-table {
    width: 100%;
}

table.supporter-tier-table thead tr {
    background: #3ac7fd;
    color: #FFF;
}

table.supporter-tier-table thead tr th {
    padding: 6px;
    font-size: 18px;
    text-transform: uppercase;
    text-shadow: 0 1px 1px #000;
}

table.supporter-tier-table tr td {
    background: #ebebeb;
    padding: 4px;
    font-size: 14px;
}

table.supporter-tier-table tr:last-of-type td {
    background: none;
    padding: 0;
}

table.supporter-tier-table tr:nth-child(10) td {
    font-weight: 600;
}

table.supporter-tier-table thead tr th, table.supporter-tier-table td {
    border-radius: 3px;
}

table.supporter-tier-table button {
    border: 2px solid #edba00;
    background: #edba00;
    font-weight: 600;
    margin: 6px 0 0 0;
    display: block;
    width: 100%;
    font-size: 18px;
    padding: 10px;
    border-radius: 4px;
    cursor: pointer;
    color: #000;
}

table.supporter-tier-table button:hover {
    background: #ffd436;
}

table.supporter-tier-table.tier-2 thead tr th {
    background: #d46bf5;
}

table.supporter-tier-table.tier-3 thead tr th {
  background: linear-gradient(45deg, #3ac7fd, #fdc33a, #fd543a, #fd3aac, #b164ed, #467bfb, #44e45a);
  background-size: 800% 800%;
  animation: rainbowAnimation 12s ease infinite;
}

@keyframes rainbowAnimation {
  0%, 100% { background-position: 0% 50%; }
  12.5% { background-position: 100% 50%; }
  25% { background-position: 0% 50%; }
  37.5% { background-position: 100% 50%; }
  50% { background-position: 0% 50%; }
  62.5% { background-position: 100% 50%; }
  75% { background-position: 0% 50%; }
  87.5% { background-position: 100% 50%; }
}

/* PayPal Popup */

.paypal-interface {
    transform: translate(-50%, -50%) scale(1);
    visibility: visible;
    top: 50%;
    left: 50%;
    backface-visibility: hidden;
}

.paypal-content-container {
    padding-top: 11px;
    margin-bottom: -16px;
}

/* Supporter Information */

.interface.supporter-information-interface {
    text-align: center;
    transform: translate(-50%, -50%) scale(1);
    left: 50%;
    top: 50%;
}

.supporter-sub-info-section {
    text-align: center;
    font-size: 16px;    
    margin-top: 10px;
}

.supporter-sub-info-section h3 {
    margin: 0 0 7px;
    background: #3ac7fd;
    color: #FFF;
    padding: 5px 5px;
    border-radius: 4px;
}

.supporter-sub-info-section p {
    margin: 3px 0;
    background: #ebebeb;
    padding: 5px;
    border-radius: 3px;
    font-size: 14px;
}

form.supporter-sub-info-your-color-form {
    display: block;
    overflow: hidden;
    clear: both;
    margin: 6px 0 0 0;
}

form.supporter-sub-info-your-color-form select {
    width: calc(50% - 2px);
    font-size: 16px;
    padding: 10px;
    float: left;
    margin: 0;
    border-radius: 4px;
}

form.supporter-sub-info-your-color-form button {
    width: calc(50% - 2px);
    float: right;
    padding: 8px 10px;
    text-transform: uppercase;
    font-weight: 600;
    border: 2px solid #0e9161;
    background: #0e9161;
    color: #FFF;
    font-size: 18px;
    border-radius: 4px;
    cursor: pointer;
}

form.supporter-sub-info-your-color-form button:hover {
    background: #26b17d;
}

p.supporter-sub-info-discord-text {
    font-size: 14px;
    line-height: 1.3em;
    padding: 11px 13px;
}

a.supporter-sub-info-discord-link {
    padding: 8px 10px;
    text-transform: uppercase;
    font-weight: 600;
    border: 2px solid #0e9161;
    background: #0e9161;
    color: #FFF;
    font-size: 18px;
    border-radius: 4px;
    cursor: pointer;
    margin: 0;
    display: block;
    text-decoration: none;
}

a.supporter-sub-info-discord-link:hover{
    background: #26b17d;
}

p.supporter-sub-info-cancel-text {
    line-height: 1.3em;
    padding: 11px 13px;
}

.supporter-sub-info-section:last-of-type {
    margin-bottom: 0;
}

div#supporter-header-img {
    width: 100%;
    height: 150px;
    background-repeat: no-repeat;
    border-radius: 4px;
    overflow: hidden;
}

div#supporter-terms {
    display: block;
    clear: both;
    text-align: center;
    font-size: 11px;
    color: #a3a3a3;
    padding: 16px 0 0 0;
}

div#supporter-terms a {
    color: #a3a3a3;
}

div#supporter-terms a:hover {
    color: #5b5b5b;
}

@media (max-width: 870px) or (max-height: 860px){
    div#supporter-header-img {
        height: 209px;
        background-position: 0 -150px;
        width: 255px;
    }

    .interface.supporter-interface {
        max-width: 268px;
        height: calc(100vh - 140px);
    }

    .interface.supporter-information-interface {
        max-width: 268px;
        height: calc(100vh - 140px);
    }
    
    .supporter-tier-content-container {
        overflow-y: scroll;
        height: calc(100% - 40px);
        width: 263px;
        padding-right: 5px;
    }
    
    .supporter-tier-content-container::-webkit-scrollbar-track {
        background-color: #cfcfcf;
        border-radius: 5px;
    }
    
    .supporter-tier-content-container::-webkit-scrollbar-thumb {
        background-color: #000;
        border-radius: 4px;
    }
    
    .supporter-tier-content-container::-webkit-scrollbar {
        width: 8px;
    }    
    
    .interface.supporter-interface p:first-of-type {
        font-size: 14px;
    }
    
    .supporter-tier-content-container .supporter-tier-column {
        width: 100%;
        float: none;
        margin-bottom: 10px;
    }
    
    .supporter-tier-content-container .supporter-tier-column:last-of-type {
        margin-bottom: 0;
    }
    
    .interface.supporter-interface h2,
    .interface.supporter-information-interface h2 {
        font-size: 18px;
    }

    .supporter-tier-table.tier-2 tr:nth-child(5),
    .supporter-tier-table.tier-2 tr:nth-child(6),
    .supporter-tier-table.tier-2 tr:nth-child(7),
    .supporter-tier-table.tier-2 tr:nth-child(8),
    .supporter-tier-table.tier-2 tr:nth-child(9){
        display: none;
    }

    .supporter-tier-table.tier-3 tr:nth-child(7),
    .supporter-tier-table.tier-3 tr:nth-child(8),
    .supporter-tier-table.tier-3 tr:nth-child(9){
        display: none;
    }

    /* PayPal Popup */

    .interface.paypal-interface {
        max-width: 254px;
    }

    .interface.paypal-interface h2 {
        font-size: 18px;
    }

    /* Support Info */

    .supporter-info-container {
        overflow-y: scroll;
        height: calc(100% - 94px);
        padding-right: 5px;
    }
    
    .supporter-info-container::-webkit-scrollbar-track {
        background-color: #cfcfcf;
        border-radius: 5px;
    }
    
    .supporter-info-container::-webkit-scrollbar-thumb {
        background-color: #000;
        border-radius: 4px;
    }
    
    .supporter-info-container::-webkit-scrollbar {
        width: 8px;
    } 
    
    .supporter-sub-info-section h3 {
        margin: 0 0 5px 0;
        font-size: 16px;
    }

    .supporter-sub-info-section {
        margin-top: 0;
        margin-bottom: 9px;
    }
    
    .interface.supporter-information-interface,
    .supporter-sub-info-section p,
    form.supporter-sub-info-your-color-form select {
        font-size: 14px;
    }
    
    form.supporter-sub-info-your-color-form select {
        width: 100%;
        float: none;
    }
    
    form.supporter-sub-info-your-color-form button {
        width: 100%;
        float: none;
        margin: 4px 0 0 0;
    } 

    div#supporter-terms {
        padding: 4px 4px 0;
        font-size: 9px;
    }
}