:root {
    --dark-purple: #160131;
    --light-purple: #8969ff;
    --purple: #521e97;
    --dark: #1e1e1e; 
    --light-dark: #2a292d; 
    --gray-white: rgb(180, 180, 180);
  }

body{
    background-color: var(--dark-purple);
    color: white;
}

h2,h3{
    color: var(--light-purple);
}

.flex{
    display:flex !important;
}

#btn-signin:hover{
    background-color:white;
    color:black !important;
}

#btn-signup:hover{
    background-color: var(--purple) !important;
    border: 0.1em solid white !important;
}

.dropdown-menu{
    right: 0% !important;
    left: auto;
}

.border-bottom-light-purple{
    border-bottom: 1px solid var(--light-purple) !important;
}

.border-light-purple{
    border-color: var(--light-purple) !important;
}

.border-purple{
    border-color: var(--purple) !important;
}

.border-white{
    border-color: white !important;
}

.border-round-left{
    border-top-left-radius: 0.5rem !important;
    border-bottom-left-radius: .5rem !important;
}

.border-round-right{
    border-top-right-radius: 0.5rem !important;
    border-bottom-right-radius: .5rem !important;
}

.border-right-grey{
    border-right: 1px solid grey;
}

.bg-grey{
    background: grey !important;
}

.bg-white{
    background: white !important;
}

.bg-dark{
    background-color: var(--dark) !important;
}

.bg-light-dark{
    background-color: var(--light-dark) !important;
}

.bg-secondary{
    background-color: var(--dark-purple) !important;
}

.btn-primary{
    background-color: var(--light-purple);
    border-color: var(--light-purple);
}

.btn-primary:hover{
    background-color: var(--purple);
    border-color: var(--purple);
}

.text-red{
    color: red !important;
}

.text-purple{
    color: var(--purple) !important;
}

.text-light-purple{
    color: var(--light-purple) !important;
}

.text-light-gray{
    color: lightgray;
}

.text-grey{
    color:grey;
}

.text-underline{
    text-decoration: underline !important;
    text-underline-offset: 0.2em;
}

.text-bold{
    font-weight: bold;
}

.text-normal{
    font-weight: normal !important;
}

.text-lighter{
    font-weight: lighter !important;
}

.link, .text-white{
    color:white;
}

.link:hover{
    color: var(--light-purple);
}

.hover-purple:hover{
    color: var(--purple) !important;
}

.bg-gradient{
    background: var(--purple);
    background: linear-gradient(180deg, var(--purple) 0%, #320e61 100%);
}

.bg-gradient-top{
    background: rgb(0,0,0);
    background: linear-gradient(0deg, rgba(0,0,0,1) 0%, var(--purple) 0%, #160131 100%);
}

.bg-gradient-bottom{
    background: rgb(0,0,0);
    background: linear-gradient(180deg, rgba(0,0,0,1) 0%, var(--purple) 0%, var(--dark-purple) 100%);
}

.navbar-light .navbar-nav .active>.nav-link{
    background-color: var(--dark-purple);
    color:white;
    border-radius: 2em;
    margin: 0.1em;
}

.navbar-expand-lg .navbar-nav .nav-link{
    padding: 0.5em 1.5em;
    font-weight:700;
}

.nav-pills .nav-link.active{
    background-color: var(--light-purple) !important;
}

.nav-pills .nav-link{
    border-radius:0 !important;
}

.dropdown-menu{
    background-color: var(--dark-purple) !important;
    border-top: 0.4em var(--light-purple) solid !important;
    border-left: 1px var(--light-purple) solid !important;
    border-right: 1px var(--light-purple) solid !important;
    border-bottom: 1px var(--light-purple) solid !important;
}

.dropdown-item{
    color: white !important;
}

.dropdown-item:hover{
    background-color: var(--light-purple);
}

.custom-select option{
    background-color:transparent !important;
    color: white !important;
}

.input-code{
    max-width: 2.5em;
}

.input-transparent{
    background-color: transparent !important;
    border-radius: 0.5em;
    border: 2px solid white;
    color: white;
}

.input-transparent:focus{
    background-color: transparent;
    color: white;
}

::-ms-reveal {
    filter: invert(100%);
  }

/* Chrome, Safari, Edge, Opera */
input::-webkit-outer-spin-button,
input::-webkit-inner-spin-button {
  -webkit-appearance: none;
  margin: 0;
}

/* Customize the label (the container) */
.container-input {
    display: block;
    position: relative;
    padding-left: 35px;
    margin-bottom: 12px;
    cursor: pointer;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
}

/* Hide the browser's default radio button */
.container-input input {
    position: absolute;
    opacity: 0;
    cursor: pointer;
    height: 0;
    width: 0;
}

/* Create a custom radio button */
.checkmark {
    position: absolute;
    top: 0;
    left: 0;
    height: 22px;
    width: 22px;
    background-color: transparent !important;
    border: 3px solid #a09d9d;
}

.checkmark-circle{
    border-radius: 50%;
}

/* On mouse-over, add a grey background color */
.container-input:hover input ~ .checkmark {
    background-color: #ccc;
}

.container-input input:checked ~ .checkmark {
    background-color: transparent;
    border: 3px solid #8969ff;
}

.container-input input:checked ~ .checkmark-box-bg {
    background-color: #8969ff !important;
}

/* Create the indicator (the dot/circle - hidden when not checked) */
.checkmark:after {
    content: "";
    position: absolute;
    display: none;
}

/* Show the indicator (dot/circle) when checked */
.container-input input:checked ~ .checkmark:after {
    display: block;
}

/* Style the indicator (dot/circle) */
.container-input .checkmark-circle:after {
    top: 2px;
    left: 2px;
    width: 12px;
    height: 12px;
    border-radius: 50%;
    border: 6.5px solid #8969ff;
    background-color: transparent;
}



/* Style the checkmark/indicator */
.container-input .checkmark-box:after {
    left: 4px;
    top: -3px;
    width: 11px;
    height: 17px;
    border: solid white;
    border-width: 0 3px 3px 0;
    -webkit-transform: rotate(45deg);
    -ms-transform: rotate(45deg);
    transform: rotate(45deg);
}
  


/* Hamburger Menu Icon */
.nav-container {
    display: flex;
    align-items: center;
    height: 62px;
    margin-right: 1em;
    justify-content: right;
  }

  .nav-container .hamburger-checkbox {
    position: absolute;
    display: block;
    height: 32px;
    width: 32px;
    z-index: 5;
    opacity: 0;
    cursor: pointer;
  }
  
.nav-container .hamburger-lines {
    display: block;
    height: 26px;
    width: 32px;
    position: absolute;
    z-index: 2;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
  }
  
  .nav-container .hamburger-lines .line {
    display: block;
    height: 4px;
    width: 100%;
    border-radius: 10px;
    background: white;
  }
  
  .nav-container .hamburger-lines .line1 {
    transform-origin: 0% 0%;
    transition: transform 0.4s ease-in-out;
  }
  
  .nav-container .hamburger-lines .line2 {
    transition: transform 0.2s ease-in-out;
  }
  
  .nav-container .hamburger-lines .line3 {
    transform-origin: 0% 100%;
    transition: transform 0.4s ease-in-out;
  }
  
  .nav-container input[type="checkbox"]:checked ~ .hamburger-lines {
    position:fixed;
  }

  .nav-container input[type="checkbox"]:checked ~ .menu-items {
    transform: translateX(0);
  }
  
  .nav-container input[type="checkbox"]:checked ~ .hamburger-lines .line1 {
    transform: rotate(45deg);
  }
  
  .nav-container input[type="checkbox"]:checked ~ .hamburger-lines .line2 {
    transform: scaleY(0);
  }
  
  .nav-container input[type="checkbox"]:checked ~ .hamburger-lines .line3 {
    transform: rotate(-45deg);
  }
  
  .nav-container .menu-items {
    display: flex;
  }

    .nav-container li {
    list-style: none;
  }

  .nav-container .menu-items {
    position: fixed;
    z-index: 100;
    top: 154px;
    padding-top: 120px;
    background-color: var(--dark);
    height: calc(100vh - 154px);
    width: 100%;
    transform: translate(-150%);
    display: flex;
    flex-direction: column;
    transition: transform 0.5s ease-in-out;
    text-align: center;
    margin-right: -2em;
    overflow-y: auto;
  }

  .nav-container .menu-items li {
    margin-bottom: 1.2rem;
    font-size: 1.5rem;
    font-weight: 500;
  }

  .nav-container input[type="checkbox"]:checked ~ .menu-items {
    transform: translateX(0);
  }

  .mobile-nav-menu-text{
    font-size: 1.5em;
  }

  .mobile-nav-menu-text-selected{
    color: var(--light-purple) !important;
    border-bottom: 6px solid var(--light-purple);
    padding-bottom: 0.1em;
  }

  .mobile-submenu-texts{
    color: var(--gray-white) !important;
    display: block;
    padding-top: 0.5em;
    width: fit-content;
    margin: 0.5em auto;
}

@media (min-width: 128px) and (max-width: 960px) {
    .mobile-text-center{
        text-align: -webkit-center !important;
    }

    .mobile-justify-center{
        justify-content: center !important;
    }
}