@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@100;200;300;400;500;600;700&display=swap');

#header {
    box-sizing: border-box;
    background-color: rgb(34, 34, 34);
    padding: 0px 2.5rem;
    display: flex;
    justify-content: center;
    align-items: center;
    /* width: 100%; */
    min-height: 70px;
    gap:2rem;
  }
  
  .logo{
    width: 2.5rem;
}

#title-riterandomiser{
    color:white;
    border-left: 2px solid #ffffff63;
    padding-left: 1ch;
}

.logo-text{

  margin-right: auto;
}

a{
    text-decoration: none;
    color: white;
    /* cursor: pointer; */
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
  }

  a:hover{
    color: orange;
  }


body{
    display: flex;
    flex-direction: column;

    font-family: 'Poppins', sans-serif;
    height: 100vh;

    margin: 0;

    background-image: url("../Images/I4pgKHd.jpg"), linear-gradient(90deg, rgba(25,0,255,0.65) 0%, rgba(34,34,34,0.55) 45%, rgba(34,34,34,0.55) 55%, rgba(255,0,0,0.65) 100%);
    background-blend-mode:hard-light;
    background-size:cover;
    background-attachment:fixed;
    background-repeat: no-repeat;
    background-position: center;
}

.controls{
    margin-left: 10px;
}
.btngroup{
    width: min-content
}

.inputs{
   
    margin-top: 10px;
}

#titleSelect{
    margin: 0;
}

.battlerites-panel {
    display: grid;
    grid-template-rows: auto 1fr auto;
    background-color: #242222;
    /* border: 2px solid #666; */
    box-shadow: 2px 2px 2px 2px #00000087;
    border-radius: 8px;
    color: #fff;
    padding: 20px;

    justify-content: center;
    align-items: center;
    margin-left: auto;
    margin-right: auto;
    margin-top: 20px;
  
}

.headerRites {
    display: grid;
    grid-template-columns: auto auto;
    align-items: center;
    margin-left: auto;
    margin-right: auto;
  
    padding-bottom: 15px;
    border-bottom: 2px solid #666; 

}

.controls{
display: flex;
flex-direction: column;

}

.points {
    font-size: 14px;
}

.battlerite-list {
    display: none;
    flex-direction: column;
    overflow-y: auto;
}

.battlerite {
    display: grid;
    grid-template-columns: auto 1fr auto auto;
    align-items: center;
    padding-left: 10px;
    padding-right: 10px;

    padding-top: 4px;
    padding-bottom: 4px;
    border-bottom: 1px solid #4e4e4e3d;

 
}

.battleriteAlternate{

    background-color: #ffffff0a;
}

.battlerite-name {
    font-size: 14px;
}

.battlerite-points {
    display: block;
    font-size: 14px;
    color: #aaa;
}

.battlerite-icons{
    display: flex;
    gap: 4px;

}

.battlerite-icons img {
    width: 48;
    height: 48px;
    border-radius: 500px;
    filter: brightness(35%);
}


.footer {
    display: flex;
    justify-content: space-around;
}


#btn-randomRites{
    margin-top: 20px;
    margin-bottom: 10px;
}


.pink{
    border: 4px solid rgb(255, 77, 246);
}

.yellow{
    border: 4px solid rgb(224, 183, 0);
}

.red{
    border: 4px solid rgb(243, 0, 0);
}

.green{
    border: 4px solid rgb(156, 218, 43);
}

.teal{
    border: 4px solid rgb(0, 238, 255);
}

.white{
    border: 4px solid rgb(231, 231, 231);
}

.blue{
    border: 4px solid rgb(5, 103, 216);
}

.selected {
    box-shadow: 0px 0px 7px 2px #f0c140; 
    filter: brightness(100%)!important;
}

.hidden{
    display: none;
}

.notvisible{
    visibility: hidden;
}

.btn {
    background-color: #444;
    border: 1px solid #666;
    color: #fff;
    padding: 5px 10px;
    cursor: pointer;
    border-radius: 4px;
    transition: box-shadow .15s,transform .15s;  
    will-change: box-shadow,transform;
    touch-action: manipulation;
    box-shadow: 2px 2px 0px 0px black;
}

.btn:hover {
    background-color: #555;
    transform: translateY(-2px);
}

.btn:active {
    box-shadow: #D6D6E7 0 3px 7px inset;
    transform: translateY(2px);
}


.champlist:focus {
    outline: none;
    border-color: rgb(255,140,0);; /* Change border color when focused */
    box-shadow: 0 0 3px 1px rgb(255, 140, 0); /* Add a subtle box shadow */
  }

.champlist {
    width: 100%;
    padding: 10px;
    border: 1px solid #ccc;
    border-radius: 5px;
    box-sizing: border-box;
    font-size: 16px;
    font-weight: 400;
}

.keybindIcon{
    width: 36px;
    object-fit: fill;
    margin-right: 18px;
    filter: drop-shadow(0px 0px 2px #ffffffad);
    user-select: none;
    -webkit-user-select: none;
}


@media only screen and (max-width: 600px) {


    #siteTitle{
        font-size: 1rem;
    }
    .battlerites-panel {

        border-radius: 0px;
    
        padding-top: 15px;
        padding-left: 0px;
        padding-right: 0px;
       
        margin-top: 15px;
        margin-left: 0px;
        margin-right: 0px;
      
    }

    #imgChampion{
        width: 100%;
        height: auto;
    }

    #titleSelect{
        display: none;
    }

    #championDropdown{
        margin-top: 0;
        border-radius: 0px 0px 5px 5px;
    }

    .headerRites {
        grid-template-columns: auto;
        padding-bottom: 15px;
        border-bottom: none;
        width: 50%;
        justify-content: center;
    }
  
    .controls{
        margin-left: 0;
    }

    .randomGroup{
        display: flex;
        justify-content: space-between;
    }

    .footer{
        border-top: 2px solid #666; 
    }

    .battlerite-list{
    width: 95vw;
    }

    .battlerite-heading{
        margin-right: 20px;
    }


    .battlerite-icons img {
        width: 36px;
        height: 36px;
    }

    .pink{
        border: 2px solid rgb(255, 77, 246);
    }
    
    .yellow{
        border: 2px solid rgb(224, 183, 0);
    }
    
    .red{
        border: 2px solid rgb(243, 0, 0);
    }
    
    .green{
        border: 2px solid rgb(156, 218, 43);
    }
    
    .teal{
        border: 2px solid rgb(0, 238, 255);
    }
    
    .white{
        border: 2px solid rgb(231, 231, 231);
    }
    
    .blue{
        border: 2px solid rgb(5, 103, 216);
    }










    
  }

  @media only screen and (max-width: 425px) {

    .battlerite-heading{
        margin-right: 5px;
    }

    .battlerite-name {
        font-size: 12px;
    }
    
    .battlerite-icons img {
        width: 32px;
        height: 32px;
    }
    

  }