body {
    padding: 0;
    margin: 0;
    text-align: center;
    background-color: rgb(20, 20, 20);
    color: rgb(255, 255, 255);
    font-family: Arial, Helvetica, sans-serif;
}

.box {
    display: flex;
    flex-direction: column;
    padding-bottom: 10px;
}
.hide {
    visibility: hidden;
}
.header {
    width: 100%;
    background-color: red;
    background-color: rgb(0, 0, 0);
    margin-bottom: 15px;
    border-bottom: solid 5px rgb(197, 1, 1);
    display: flex;
    flex-direction: row;
    height: 75px;
}

a:link {
    color: #d1d1d1;
    text-decoration: none;
}

a:visited {
    text-decoration: none;
    color: #d1d1d1;
}

a:hover {
    text-decoration: none;
    color: #d1d1d1;
}

a:active {
    text-decoration: none;
    color: #d1d1d1;
}

.headerl {
    margin-top: 7px;
    position: relative;
    width: 100px;
    flex: 4;
    text-align: left;
}
.hide {
    display: none;
}

.headerr {
    margin-top: 25px;
    margin-right: 100px;
    position: relative;
    flex: auto;
    width: 160px;
}

/*overlays*/

#theater {
    position: fixed;
    top: 0;
    left: 0;

    width: 100vw;
    height: 100vh;

    background: black;
    z-index: 50;
    visibility: hidden;

    overflow: hidden;
}


#closebtn {
    margin-top: 30px;
    margin-right: 30px;
    z-index: 75;
}
.hvrbtn:hover {
    opacity: 1;
}

.hvrbtn {
    position: absolute;
    top: 30px;
    right: 30px;

    z-index: 90;
    opacity: 0.2;
    transition: 0.2s;
}

/* end overlays*/

.wid1200 {
    width: 1200px;
}

.marginauto {
    margin: auto;
}

/*app link area*/

#applink {
    width: 650px;
    height: 200px;
    margin-bottom: 7px;
    margin-left: auto;
    margin-right: auto;
    overflow: hidden;
    text-align: center;
    display: none;
}

#appbxfull {
    width: 200px;
    height: 110px;
    border: rgb(91, 148, 182) solid 1px;
    margin: 5px;
    padding-top: 5px;
    position: relative;
    float: left;
}

#appbxtitle {
    width: 100%;
    height: 30px;
}

/* now playing */
.mainbx {
    width: 100%;
    margin: auto;
    overflow: auto;
    z-index: 5;
}

.mainsub {
    margin-bottom: 2px;
    float: left;
}

.blue1 {
    background-color: rgb(29, 40, 43);
}

.blue1d {
    background-color: rgb(32, 111, 148);
}

.medtxt {
    font-size: x-large;
}

.wid27p {
    width: 332px;
}

.wid15p {
    width: 200px;
}

.hit25 {
    height: 40px;
}

.hit100 {
    height: 180px;
    border-top: solid black 1px;
}

.curttl {
    text-align: center;
    width: 100px;
    height: 75px;
    position: absolute;
    left: 0;
    display: inline-block;
    align-self: center;
    color: rgb(0, 0, 0);
    font-size: xx-large;
    padding-top: 55px;
}


.tmbx {
    background-color: #FFF;
    height: 20%;
    margin-top: 10px;
    color: white;
    text-align: right;
}

.blue1d {
    background-color: rgb(32, 111, 148);
}

.wid27p {
    width: 332px;
}

.wid15p {
    width: 200px;
}

.hit25 {
    height: 40px;
}

.posrel {
    position: relative;
    float: left;
}

.hit100 {
    height: 180px;
    border-top: solid black 1px;
}

.borderl {
    border-left: rgb(0, 0, 0) solid 1px;
}

.txtbtm {
    display: flex;
    align-items: flex-end;
}

/* more shows */
#lnupcntnr {
    overflow: auto;
    height: 600px
}

.txtcntr {
    text-align: center;
}

.lnupbox {
    width: 380px;
    position: relative;
    float: left;
    margin-left: 10px;
    margin-top: 10px;
}

#mute {
    position: fixed;
    top: 10px;
    left: 300px;
    z-index: 85;
    visibility: hidden;
}

/*footer */
.footer {
    background-color: black;
    display: flex;
    flex-direction: column;
    margin-top: 100px;
}
.menu__link {
    padding: 10px 20px 10px 20px;
}
ul {
    list-style-type: none;
}

#video,
#advideo {
    position: absolute;
    top: 0;
    left: 0;

    width: 100vw;
    height: 100vh;

    object-fit: contain;
    background: black;
}

#video {
    z-index: 70;
}

#advideo {
    z-index: 71;
    visibility: hidden;
}

#rulesBox {    
    visibility: hidden;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 9999;
    background-color: rgba(0,0,0,.85);
    visibility: hidden;
}
#rulesContent
{
    width: 80%;
    max-width: 1000px;

    margin: 50px auto;

    background: #fff;
    color: #000;

    padding: 20px;
}


.gvGrid
{
    width:90%;
    max-width:1200px;

    margin:40px auto;

    display:grid;

    grid-template-columns:1fr 1fr;

    gap:20px;
}

.gvBox
{
    background:#111;

    border:2px solid #d4af37;

    padding:25px;

    border-radius:10px;

    text-align:center;

    color:white;

    transition:.3s;
}

.gvBox:hover
{
    transform:translateY(-3px);

    box-shadow:0 0 15px rgba(212,175,55,.5);
}

.gvBox h3
{
    color:#d4af37;

    margin-bottom:10px;

    font-size:28px;
}

.gvBox p
{
    font-size:18px;

    line-height:1.5;
}
@media(max-width:768px)
{
    .gvGrid
    {
        grid-template-columns:1fr;
    }
}
.gvSubmitSection
{
    width:90%;
    max-width:1000px;
    margin:40px auto;
    padding:30px;
    background:#111;
    border:2px solid #d4af37;
    border-radius:12px;
    color:white;
}

.gvSubmitSection h2
{
    color:#d4af37;
    text-align:center;
    font-size:34px;
    margin-bottom:10px;
}

.gvSubmitSection p
{
    text-align:center;
    font-size:18px;
    margin-bottom:25px;
}

.gvFormGrid
{
    display:grid;
    grid-template-columns:1fr 1fr;
    gap:20px;
}

.gvField
{
    margin-bottom:20px;
}

.gvField label
{
    display:block;
    margin-bottom:6px;
    color:#d4af37;
    font-weight:bold;
}

.gvField input,
.gvField textarea
{
    width:100%;
    padding:12px;
    border-radius:6px;
    border:1px solid #555;
    background:#222;
    color:white;
    font-size:16px;
    box-sizing:border-box;
}

.gvField small
{
    display:block;
    margin-top:6px;
    color:#ccc;
}

.gvCheck
{
    display:flex;
    gap:10px;
    align-items:flex-start;
    margin:20px 0;
    font-size:15px;
}

.gvSubmitBtn
{
    display:block;
    width:100%;
    padding:15px;
    background:#d4af37;
    color:#000;
    border:none;
    border-radius:8px;
    font-size:22px;
    font-weight:bold;
    cursor:pointer;
}

.gvSubmitBtn:hover
{
    background:#f1cc55;
}

@media(max-width:768px)
{
    .gvFormGrid
    {
        grid-template-columns:1fr;
    }
}
.gvMessage
{
    width:90%;
    max-width:1000px;
    margin:20px auto;
    padding:15px;
    border-radius:8px;
    font-weight:bold;
    text-align:center;
}

.gvMessage.success
{
    background:#d4af37;
    color:#000;
}

.gvMessage.error
{
    background:#7a0000;
    color:#fff;
}
#rulesContent {
    background-color: #1b1b1b;
    border:solid 2px #d4af37;
    border-radius: 15px;
    color:#ffffff;
}
#rulesBox
{
    text-align:left;
}

#rulesBox h2
{
    margin-top:0;
    text-align:center;
}

#rulesBox ol
{
    padding-left:20px;
    line-height:1.7;
}

#rulesBox li
{
    margin-bottom:8px;
    font-size:20px;
}

.closeBtn
{
    float:right;
    cursor:pointer;
    padding: 5px 8px 5px 8px;
}

/*contestants grid*/

.gvSearchBox {
    text-align:center;
    margin:20px 0;
}
.gvSearchBox input {
    width:300px;
    max-width:90%;
    padding:12px;
    border-radius:8px;
    border:2px solid #d4af37;
    background:#111;
    color:white;
}

.gvSearchBox button {
    padding:12px 18px;
    border-radius:8px;
    border:0;
    background:#d4af37;
    color:#111;
    font-weight:bold;
    cursor:pointer;
}

.gvContestantCount {
    color:#d4af37;
    text-align:center;
    margin-bottom:25px;
}
.gvContestantGrid
{
    display:grid;

    grid-template-columns:repeat(auto-fill,minmax(280px,300px));

    gap:25px;

    justify-content:center;
}

.gvContestantCard
{
    background:#111;

    border:2px solid #d4af37;

    border-radius:10px;

    overflow:hidden;

    color:white;

    text-align:center;

    transition:.3s;

    max-width:300px;

    margin:auto;
}
.gvContestantCard:hover
{
    transform:translateY(-3px);

    box-shadow:0 0 15px rgba(212,175,55,.5);
}

.gvContestantCard img
{
    width:100%;

    height:320px;

    object-fit:cover;

    display:block;
}

.gvContestantCard h3
{
    color:#d4af37;

    margin:15px 10px 8px;

    font-size:24px;
}

.gvContestantCard p
{
    margin:0 10px 12px 10px;

    font-size:15px;

    line-height:1.4;
}

.gvContestantBtns
{
    display:flex;

    justify-content:center;

    gap:8px;

    padding-bottom:15px;
}

.gvContestantBtns a,
.gvContestantBtns button {
    padding: 8px 14px;
    border-radius: 6px;
    border: none;
    cursor: pointer;
}

@media (max-width: 1000px) {
    .gvContestantGrid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 700px) {
    .gvContestantGrid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 450px) {
    .gvContestantGrid {
        grid-template-columns: 1fr;
    }
}

/*singlecontestant page */
.gvContestantProfile
{
    max-width:1200px;

    margin:30px auto;

    background:#111;

    border:2px solid #d4af37;

    border-radius:10px;

    padding:25px;

    color:white;
}
.gvContestantContent
{
    display:flex;

    gap:30px;

    align-items:flex-start;
}

@media(max-width:900px)
{
    .gvContestantContent
    {
        flex-direction:column;
    }
}
.gvContestantContent
{
    display:flex;

    gap:30px;

    align-items:flex-start;
}

@media(max-width:900px)
{
    .gvContestantContent
    {
        flex-direction:column;
    }
}
.gvContestantPhoto
{
    flex:0 0 350px;
}

.gvContestantPhoto img
{
    width:100%;

    border-radius:10px;

    border:2px solid #d4af37;
}
.gvContestantInfo
{
    flex:1;
}

.gvContestantInfo h2
{
    color:#d4af37;

    margin-top:0;

    font-size:38px;
}

.gvContestantInfo h4
{
    color:#ccc;

    margin-top:5px;
}
.gvBio
{
    margin-top:20px;

    line-height:1.6;

    font-size:18px;
}
.gvVideo
{
    margin-top:25px;
}

.gvVideo video
{
    width:100%;

    max-width:700px;

    border-radius:10px;

    border:2px solid #d4af37;
}
.gvVoteBtn
{
    margin-top:25px;

    background:#d4af37;

    color:#111;

    border:none;

    border-radius:8px;

    padding:14px 30px;

    font-size:20px;

    font-weight:bold;

    cursor:pointer;

    transition:.3s;
}

.gvVoteBtn:hover
{
    transform:translateY(-2px);

    box-shadow:0 0 15px rgba(212,175,55,.5);
}
