:root{
    /* --bg-color:rgb(230, 230, 230); */
    /* --bg-color:#232323; */
    --bg-color:#2b2b2b;
    /* --card-color: rgb(241, 241, 241); */
    /* --card-color:rgba(242, 242, 242, .04); */
    --card-color:#313131;
    --heading-color1:rgb(255,255,255);
    --heading-color2:rgb(40, 40, 40);
    /* --text-body:rgba(0,0,0,0.6); */
    --text-body:rgba(242, 242, 242, .6);
    --text-overline1:rgba(255,255,255,0.4);
    --text-overline2:rgba(0,0,0,0.4);
    /* --accent-color: #822000; */
    --accent-color: #003b82;
    --accent-light-color: #0073ff;
    --card-bg: #232323;
    --card-bg-border: solid #424242;
    --text-highlight-color: rgba(242, 242, 242, .9);
    --text-highlight-shadow: 0 0 10px rgba(242, 242, 242, .4);
}

.btn-primary{
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    /*text-transform: uppercase; Får inte sätta till uppercase. Leder till problem med js*/
    border: none;
    outline: none;
    background-color: var(--accent-color);
    color: #f5f3ee;
    text-decoration: none;
    border-radius: .5rem;
    height: 40px;
    font-size: 1em;
    min-width: 120px;
    width: 100%;
    max-width: 180px;
    padding: .25rem .5rem;
    cursor: pointer;
    box-shadow: 0 10px 25px rgba(0, 0, 0, .15);
    transition: all .3s ease-in-out;
}

.btn-primary:hover,
.btn-icon-primary:hover{
    background-color: #003865;
}

.btn-secondary{
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    /*text-transform: uppercase; Får inte sätta till uppercase. Leder till problem med js*/
    outline: none;
    background-color: var(--card-color);
    color: var(--heading-color1);
    text-decoration: none;
    border: 2px solid var(--accent-color);
    border-radius: .5rem;
    height: 40px;
    font-size: 1em;
    min-width: 120px;
    width: 100%;
    max-width: 180px;
    cursor: pointer;
    box-shadow: 0 10px 25px rgba(0, 0, 0, .15);
    transition: .3s ease-in-out;
}

.btn-secondary:hover{
    background-color: var(--accent-color);
    color: #f5f3ee;
}

.btn-tertiary{
    height: 40px;
    font-size: 1em;
    font-weight: 700;
    /*text-transform: uppercase; Får inte sätta till uppercase. Leder till problem med js*/
    text-decoration: none;
    color: #f5f3ee;
    /* background-color: #232b2f; */
    /* background-color: rgba(242, 242, 242, 0.05); */
    background-color: #353535;
    border-radius: .5rem;
    border: none;
    outline: none;
    padding: .5rem 1rem;
    gap: .5rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    cursor: pointer;
    box-shadow: 0 10px 25px rgba(0, 0, 0, .15);
    transition:all .3s ease-in-out;
}

.btn-tertiary:hover,
.btn-icon-tertiary:hover,
.dropdown-button:hover{
    /* background-color: #0b0e0f; */
    /* background-color: rgba(242, 242, 242, .1); */
    background-color: #3d3d3d;
}

.btn-tertiary i,
.btn-secondary i,
.btn-primary i{
    font-size: 1.5em;
}

.btn-icon{
    width:40px;
    height: 40px;
    display: flex;
    justify-content: center;
    align-items: center;
    background: var(--card-color);
    border: 2px solid var(--accent-color);
    border-radius: .5rem;
    font-size: 1.125rem;
    font-weight: 600;
    cursor: pointer;
    transition: all .3s ease-in-out;
}

.btn-icon i{
    color: var(--heading-color1);
}

.btn-icon:hover{
    background-color: var(--accent-color);
    color: #f5f3ee;
    transition: .5s;
}

.btn-icon:hover i{
    color: #f5f3ee;
}

.btn-icon-primary{
    width:2.5rem;
    height: 2.5rem;
    display: flex;
    border: none;
    background-color: var(--accent-color);
    color: #f5f3ee;
    justify-content: center;
    align-items: center;
    border-radius: .5rem;
    font-size: 1.125em;
    cursor: pointer;
    transition:all .3s ease-in-out;
}

.btn-icon-primary.mini{
    width: 2rem;
    height: 2rem;
}

.btn-icon-primary i,
.btn-icon-tertiary i{
    color: #f5f3ee;

}

.btn-icon-tertiary{
    width:2.5rem;
    height: 2.5rem;
    display: flex;
    justify-content: center;
    align-items: center;
    border: none;
    border-radius: .5rem;
    font-size: 1.125rem;
    cursor: pointer;
    text-decoration: none;
    color: #f5f3ee;
    /* background-color: #232b2f; */
    /* background-color: rgba(242, 242, 242, 0.05); */
    background-color: #353535;
    transition:all .3s ease-in-out;
}

.dropdown-button{
    position: relative;
    height: 40px;
    font-size: 1em;
    font-weight: 700;
    text-decoration: none;
    color: #f5f3ee;
    /* background-color: #232b2f; */
    background-color: rgba(242, 242, 242, 0.05);
    border-radius: .5rem;
    padding: .5rem 1.5rem;
    gap: .5rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    cursor: pointer;
    box-shadow: 0 10px 25px rgba(0, 0, 0, .15);
    transition:all .3s ease-in-out;
}

.dropdown-button.searcher{
    height: 40px;
    padding: 0;
    background: none;
}

.searcher{
    width: 100%;
    height: 100%;
}

input,
textarea{
    border-radius: .5rem;
    padding: .25rem .5rem;
    outline: none;
    border: 2px solid rgba(0, 0, 0, 0.234);
    color: var(--text-body);
    background-color: var(--card-color);
    transition: .3s ease-in-out;
}

input:hover,
textarea:hover,
input:focus,
textarea:focus{
    border-color: var(--accent-color);
}

.checkbox {
  display: none;
}

.slider {
  width: 60px;
  height: 30px;
  background-color: var(--card-color);
  border-radius: 20px;
  overflow: hidden;
  display: flex;
  align-items: center;
  border: 4px solid transparent;
  transition: .3s;
  box-shadow: 0 0 10px 0 rgb(0, 0, 0, 0.25) inset;
  cursor: pointer;
}

.slider::before {
  content: '';
  display: block;
  width: 100%;
  height: 100%;
  background-color: var(--accent-color);
  transform: translateX(-30px);
  border-radius: 20px;
  transition: .3s;
  box-shadow: 0 0 10px 3px rgb(0, 0, 0, 0.25);
}

.checkbox:checked ~ .slider::before {
  transform: translateX(30px);
  box-shadow: 0 0 10px 3px rgb(0, 0, 0, 0.25);
}

.checkbox:checked ~ .slider {
  background-color: var(--accent-color);
}

.checkbox:active ~ .slider::before {
  transform: translate(0);
}