@import url('https://fonts.googleapis.com/css2?family=Montserrat:ital,wght@0,100..900;1,100..900&display=swap');

body {
    font-family: "Montserrat", sans-serif;
    font-optical-sizing: auto;
    font-weight: 400;
    font-style: normal;
    display: flex;
    flex-direction: column;
    min-height: 98vh;
}

a {
    text-decoration: none;
}
main {
    flex-grow: 1;
}
h2{
    font-size: 1.8rem;
}
.top-intro{
    text-align: center;
    background-color: #000;
    color: #fff;
    font-size: 0.8rem;
}
.top-intro h2{
    font-weight: 900;
    font-size: 1.8rem;
    line-height: 1.65rem;
}
.top-intro img{
    max-height: 180px;
}
.text-secondary{
    color: #fbae06 !important;
}
.bg-dark {
    background-color: #000 !important;
}
.home-button{
    background-color: #FF0000;
    color: #FFF;
    font-size:0.8rem;
    border: 0;
    border-radius: 0;
}
a.home-button:hover{
    background-color: #60ac18;
}
#categoryList li{
    list-style: none;
    padding:0.4rem;
    background-color:EEC841;
    color: #000;
    margin:0.2rem;

}
#categoryDescription{
    font-size: 0.83rem;
}
.nomineecard{
    font-size: 0.83rem;
}
.nomineecard h5{
    font-weight: 700;
}
.nomineecard .code{
   font-weight: 900;
  color: #fbae06 !important;
  font-size: 1.7rem;
}
.bg-body{
    background-color: rgba(227,227,227,0.1) !important;
}
.vote-btn{
    background-color: #60ac18;
    border: none;
    border-radius: 0;
    padding: 8px 0;
    font-size: 0.9rem;
}
footer {
    font-size: 0.7rem;
    display: flex;
    flex-shrink: 0; 
    min-height: 50px;
    text-align: center;
    justify-content: center;
    color: white;
    background-color: black;
    width: 100%;
}
footer a{
    color: #fbae06;
}

/* Style the Select2 container */
.select2-container {
    width: 100% !important;
}

/* Media query for mobile devices (up to 767px width) */
@media (max-width: 767px) {
.select2-container {
font-size: 0.8rem;
line-height: 0.9rem;
}
}
.select2-container .select2-selection--single {
    box-sizing: border-box;
    cursor: pointer;
    display: block;
    height: 58px;
    user-select: none;
    -webkit-user-select: none;
}

.select2-container--default .select2-selection--single {
    background-color: #ff0000;
    border: 1px solid #ced4da;
    border-radius: 25px;
    padding: 0.5rem 1rem;
    height: auto;
    color: #fff;
    line-height: 1.5;
}
.select2-container--default .select2-selection--single .select2-selection__placeholder {
    color: #fff;
}

.select2-container--default .select2-selection--single .select2-selection__rendered {
    color: #fff;
}
.select2-container--default .select2-selection--single .select2-selection__rendered {
    color: #fff;
}
.select2-container--default .select2-results__option--highlighted.select2-results__option--selectable {
  background-color: #000 !important;
  color: #fff;
}

.select2-container--default .select2-selection--single .select2-selection__arrow {
    height: auto;
    top: 50%;
    transform: translateY(-50%);
    right: 1rem;
}
.select2-selection__arrow b {
  border-color: #fff transparent transparent transparent !important;
  border-width: 10px 8px 0 8px !important;
}

.select2-container--default.select2-container--open .select2-selection__arrow b {
  border-color: transparent transparent #fff transparent !important;
  border-width: 0 8px 10px 8px !important;
}

/* Style the nominee grid and items */
#nomineeGrid .card, #nomineecard {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    background-color: #201f26;
    color: #fff;
}

.nominee-image-placeholder {
    background-color: #fff; 
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: hidden;
}

.nominee-image-placeholder img {
    object-fit: cover;
    max-height: 200px;
}
.single-nominee-image-placeholder img{
    max-width: 200px;
    max-height: 200px;
}

/* Small tablets and larger phones */
@media screen and (max-width: 576px) {
  .webview{
    display: none;
  }
}

/* Desktops */
@media screen and (min-width: 576px) {
.mobileview{
    display: none;
}
}