*{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}
html{
    font-size: 20px;
    font-family: Arial, Helvetica, sans-serif;
}
nav{ 
    background-color: #161616;
    height: 10vh;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 5% 0 20%;
}
nav img{
    width: 60%;
    align-items: center;
}
nav .box{ 
    width: 6vw;
    height: 4vw;
    display: flex;
   
    flex-direction: column;
    justify-content: space-between;
    
}
nav .box span{
    background-color: #fff;
    width: 100%;
    height: 15%;
}
.main{
    display: flex;
    flex-direction: column;
    padding: 3%;
    height: 90vh;
}
.input_box{
    width: 100%;
    display: flex;
    margin: 3% 1%;

}
.input_box:nth-of-type(1){
    margin: 2% 1%;
}
.input_box label {
      font-size: 0.85rem;
      margin-left: 5%;
  
}
.main .names { 
    width: 100%;
    height: 40%;
    display: flex; 
    border-radius: 8px;
    border: 2px dotted rgb(32, 137, 225);
    font-size: 1.3rem;
}
.input_box .box{
    width: 50%;
    display: flex;
    justify-content: flex-end;

}
.input_box .box button {
    width: 20%;
    background-color: #fff;
    border: 1px solid rgb(32, 137, 225);
}
.input_box .box input {
    width: 50%;
    font-size: 1.2rem;
    border: 1px solid rgb(32, 137, 225);
    border-left: 0px;
    border-right: 0px;
    padding-left: 10% ;
   
  
}
.input_box .box button:nth-of-type(1){
    border-radius: 5px 0 0 5px ;
}
.input_box .box button:nth-of-type(2){
    border-radius: 0px 5px 5px 0px ;
}
input[type='radio']{
   width: 20px;
   height: 20px;
}
.black_theme{
    width: 100%;
    height: 100vh;
    background: rgba(0,0,0,50%);
    position: absolute;
    top: 0;
    right: 0;
    display: none;
    align-items: center;
    justify-content: center;
    visibility: hidden;
    
}

.black_box{ 
    width: 100%;
    height: 40vh;
    background-color: #000;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    text-align: center;
    flex-direction: column;
    
}
.black_box ul{ 
    width: 95%;
    height: 65%;
    border: 1px solid grey;
    position: relative;
    overflow: hidden;
 
}
.black_box ul hr{
    background-color: transparent;
    position: absolute;
    top: 50%;
    right: 0;
    width: 100%;
    transform: translateY(-50%);
    border: 2px dashed  gold;
    border-style: none none dotted; 
    z-index: 2;
    background-color: red;
}

@keyframes spin {
0% {
    top: 0;
  }
  100% {
    top: var(--endAnimation);;
  }
}
ul li {
    color: white;
    text-align: center;
    border-bottom: 1px dotted grey;
    animation: spin 5s linear;
    position: relative;
    font-size: 1.2rem;
    top: var(--endAnimation);
    height: 25%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    animation-timing-function: cubic-bezier(0.25, 0.1, 0.25, 1);
}

@keyframes showElement{
    0%{
        visibility: visible;
    }
    100%{
        visibility: hidden;
    }
}
@keyframes showText{
   0%{
        opacity: 0;
    }
    80%{
        opacity: 0;
    }
    100%{
        opacity: 1;
    }
}
.black_box h1 {
    animation: showText 8s linear;
    opacity: 0;
}

.main .list_name{
    text-align: left;
    color: grey;
    font-size: 0.8rem;
    margin: 6% 0 3%;
}

.input_box:nth-last-of-type(1) label{
    margin: 0;
}

.set_button{
    height: 9%;
    font-size: 0.85rem;
    background-color: rgb(225, 241, 255);
    border: 1px solid rgb(32, 137, 225);
    border-radius: 3px;
    color: rgb(7, 100, 179);
}

.winner{
    text-align: center;
    font-size: 1.5rem;
    margin-top: 4%;
}

.input_box input:checked{
    border: 2px solid #1976d2;
} 
select{
    width: 100%;
    height: 5vh;
    display: block;
}
select option{ 
    height: 5vh;
}

svg{
    color: rgb(7, 100, 179);
    background-color: rgb(225, 241, 255);
    border: 1px solid rgb(32, 137, 225);
    fill: rgb(7, 100, 179);
    width: 10vh;
    height: 10vh;
    position: absolute;
    top: 45%;
    right: 3%;
}