/* Montserrat Regular */
@font-face {
    font-family: 'Montserrat';
    src: url("/static/font/Montserrat-Black.cce7ff8c1d79.ttf");
    font-weight: 900;
    font-style: normal;
    font-display: optional;
}
  
@font-face {
    font-family: 'Montserrat';
    src: url("/static/font/Montserrat-BlackItalic.a67f4df02f4d.ttf");
    font-weight: 900;
    font-style: italic;
    font-display: optional;
}
  
@font-face {
    font-family: 'Montserrat';
    src: url("/static/font/Montserrat-Bold.ed86af2ed5bb.ttf");
    font-weight: 700;
    font-style: normal;
    font-display: optional;
}
  
@font-face {
    font-family: 'Montserrat';
    src: url("/static/font/Montserrat-BoldItalic.a49032b6a945.ttf");
    font-weight: 700;
    font-style: italic;
    font-display: optional;
}
  
@font-face {
    font-family: 'Montserrat';
    src: url("/static/font/Montserrat-ExtraBold.9e07cac927a9.ttf");
    font-weight: 800;
    font-style: normal;
    font-display: optional;
}
  
@font-face {
    font-family: 'Montserrat';
    src: url("/static/font/Montserrat-ExtraBoldItalic.8a4a6844448e.ttf");
    font-weight: 800;
    font-style: italic;
    font-display: optional;
}
  
@font-face {
    font-family: 'Montserrat';
    src: url("/static/font/Montserrat-ExtraLight.a7fe50578d9a.ttf");
    font-weight: 200;
    font-style: normal;
    font-display: optional;
}

@font-face {
    font-family: 'Montserrat';
    src: url("/static/font/Montserrat-ExtraLightItalic.9c3e2f21cc8f.ttf");
    font-weight: 200;
    font-style: italic;
    font-display: optional;
}
  
@font-face {
    font-family: 'Montserrat';
    src: url("/static/font/Montserrat-Italic.cc53ad8bb1c8.ttf");
    font-weight: normal;
    font-style: italic;
    font-display: optional;
}
  
@font-face {
    font-family: 'Montserrat';
    src: url("/static/font/Montserrat-Light.94fbe93542f6.ttf");
    font-weight: 300;
    font-style: normal;
    font-display: optional;
}
  
@font-face {
    font-family: 'Montserrat';
    src: url("/static/font/Montserrat-LightItalic.c54486c33610.ttf");
    font-weight: 300;
    font-style: italic;
    font-display: optional;
}
  
@font-face {
    font-family: 'Montserrat';
    src: url("/static/font/Montserrat-Medium.bdb7ba651b7b.ttf");
    font-weight: 500;
    font-style: normal;
    font-display: optional;
}
  
@font-face {
    font-family: 'Montserrat';
    src: url("/static/font/Montserrat-MediumItalic.2ed625fc9f03.ttf");
    font-weight: 500;
    font-style: italic;
    font-display: optional;
}
  
@font-face {
    font-family: 'Montserrat';
    src: url("/static/font/Montserrat-Regular.5e077c15f6e1.ttf");
    font-weight: normal;
    font-style: normal;
    font-display: optional;
}
  
@font-face {
    font-family: 'Montserrat';
    src: url("/static/font/Montserrat-SemiBold.cc10461cb5e0.ttf");
    font-weight: 600;
    font-style: normal;
    font-display: optional;
}
  
@font-face {
    font-family: 'Montserrat';
    src: url("/static/font/Montserrat-SemiBoldItalic.75c4176c6461.ttf");
    font-weight: 600;
    font-style: italic;
}
  
@font-face {
    font-family: 'Montserrat';
    src: url("/static/font/Montserrat-Thin.b3638b169042.ttf");
    font-weight: 100;
    font-style: normal;
    font-display: optional;
}
  
@font-face {
    font-family: 'Montserrat';
    src: url("/static/font/Montserrat-ThinItalic.ff9c45e92d16.ttf");
    font-weight: 100;
    font-style: italic;
    font-display: optional;
}

/* BODY */
body {
    margin: 0;
    background: var(--primary-bg);
    font-family: var(--font-family);
    color: var(--primary-font-clr);
    overflow-x: hidden;
}

body.no-scroll {
    overflow: hidden;
}

/* DARK OVRELAY */
.dark-overlay {
    background: rgb(0, 0, 0, 0.5);
    position: fixed;
    width: 100vw;
    height: 100vh;
    z-index: 9;
    opacity: 0;
    pointer-events: none;
    transition: .3s;
    top: 0;
}
.dark-overlay.active {
    opacity: 1;
    pointer-events: all;
}

.loading-wrapper {
    position: fixed;
    z-index: 10;
    display: none;
    align-items: center;
    justify-content: center;
    width: 100vw;
    height: 100vh;
}
.loading {
    border: 16px solid var(--secondary-bg);
    border-radius: 50%;
    border-top: 16px solid var(--secondary-font-clr);
    width: 120px;
    height: 120px;
    animation: spin 2s linear infinite;
}

@keyframes spin {
    0% { 
        transform: rotate(0deg); 
    }
    100% { 
        transform: rotate(360deg); 
    }
}

/* TEXT */
p {
     margin: calc(var(--item-pdd) / 2) 0px;
}
label.information {
    color: var(--secondary-font-clr)
}
h1.coloured-title,
h2.coloured-title {
    background: -webkit-linear-gradient(#0d6dea, #5ca3ff);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    overflow: hidden;
}
li {
    margin-bottom: calc(var(--item-pdd) / 2);
}

.danger {
    color: var(--danger-clr) !important;
}
.danger:hover {
    color: var(--danger-clr-acc) !important;
}
.danger i {
    color: var(--danger-clr);
}

/* BUTTONS AND LINKS */
a {
    color: var(--primary-clr);
    text-decoration: none;
}
button, a.a-btn {
    padding: calc(var(--item-pdd) / 2) var(--item-pdd);
    height: calc(var(--item-pdd) * 2);
    border-radius: 6.25px;
    border: none;
    font-size: 16px;
    font-family: var(--font-family);
    color: var(--primary-font-clr);
    transition: var(--simple-transition-duration);
}
button:hover, a.a-btn:hover, a:hover {
    cursor: pointer;
}
button:disabled:hover {
    cursor: not-allowed;
}
button.large-btn, a.large-btn {
    font-size: 20px;
}
button.round-btn, a.round-btn {
    border-radius: 50px;
}
button.primary-btn, 
a.primary-btn {
    background: var(--primary-clr);
    box-shadow: 0 0 10px var(--primary-clr);
}
button.secondary-btn, 
a.secondary-btn {
    background: var(--secondary-bg);
}
button.secondary-btn:hover,
a.secondary-btn:hover {
    background: var(--tertiary-bg);
}
button.tertiary-btn,
a.tertiary-btn {
    background: var(--primary-bg);
}
button.tertiary-btn:hover,
a.tertiary-btn:hover {
    opacity: .7;
}
button.danger-btn, a.danger-btn {
    background: var(--danger-clr);
}
button.success-btn, a.success-btn {
    background: var(--success-clr);
}
button.primary-btn:hover:not(:disabled), a.primary-btn:hover:not(:disabled) {
    background: var(--primary-clr-acc);
}
button.danger-btn:hover:not(:disabled), a.danger-btn:hover:not(:disabled) {
    background: var(--danger-clr-acc);
}
button.success-btn:hover:not(:disabled), a.success-btn:hover:not(:disabled) {
    background: var(--success-clr-acc);
}

button.circle {
    position: fixed;
    z-index: 11;
    top: var(--item-pdd);
    left: var(--item-pdd);
    width: calc(var(--item-pdd) * 2);
    height: calc(var(--item-pdd) * 2);
    border-radius: 50%;
    padding: 0px;
}

/* INPUT FIELDS */
input, textarea {
    font-family: var(--font-family);
    color: var(--primary-font-clr);
    font-size: 20px;
    border: none;
    transition: all var(--simple-transition-duration) ease;
}
textarea {
     resize: none;
}
input.input-optional, 
textarea.input-optional {
     background: var(--primary-bg);
     border-bottom: none;
     padding: calc(var(--item-pdd) / 2);
     border-radius: 5px;
     outline: 1px solid transparent;
}
input.input-optional:focus,
textarea.input-optional:focus {
     border-bottom: none;
     background: var(--secondary-bg);
     outline: 1px solid var(--primary-clr);
}
input.input-optional:hover,
textarea.input-optional:hover {
     cursor: pointer;
}

input.input-required, 
textarea.input-required {
     background: var(--secondary-bg);
     border-bottom: none;
     padding: calc(var(--item-pdd) / 2);
     border-radius: 5px;
     outline: 1px solid transparent;
}
input.input-required:focus, 
textarea.input-required:focus {
     border-bottom: none;
     outline: 1px solid var(--primary-clr);
}

input.input-required-alt, 
textarea.input-required-alt {
     background: var(--primary-bg);
     border-bottom: none;
     padding: calc(var(--item-pdd) / 2);
     border-radius: 5px;
     outline: 1px solid transparent;
}
input.input-required-alt:focus, 
textarea.input-required-alt:focus {
    border-bottom: none;
    outline: 1px solid var(--primary-clr);
}

input:disabled, 
textarea:disabled {
    pointer-events: none;
}
::placeholder {
    color: var(--secondary-font-clr);
    opacity: 1;
}
input[type=number]::-webkit-inner-spin-button, 
input[type=number]::-webkit-outer-spin-button { 
  -webkit-appearance: none; 
  margin: 0; 
}

input[type=file] {
    display: none;
}

/* CHECKBOXES */
.checkmark-container {
    display: block;
    position: relative;
    padding-left: var(--item-pdd);
    cursor: pointer;
    text-align: left;
}
.checkmark-container input {
    position: absolute;
    opacity: 0;
    cursor: pointer;
    height: 0;
    width: 0;
}
.checkmark-container input:checked ~ .checkmark {
    background-color: var(--primary-clr);
}
.checkmark-container input:focus ~ .checkmark {
    outline: 1px solid var(--primary-clr);
}
.checkmark-container input:checked ~ .checkmark:after {
    opacity: 1;
}
.checkmark-container .checkmark:after {
    left: 6px;
    top: 2px;
    width: 4px;
    height: 9px;
    border: solid white;
    border-width: 0 3px 3px 0;
    transform: rotate(45deg);
}

.checkmark {
    position: absolute;
    top: 0;
    left: 0;
    height: 19px;
    width: 19px;
    border-radius: 5px;
    background-color: var(--secondary-bg);
    transition: all .3s ease;
}
.checkmark:after {
    content: "";
    position: absolute;
    opacity: 0;
    transition: all .3s ease;
}

/* SWITCHES */
.switch {
  position: relative;
  display: inline-block;
  width: 60px;
  height: 34px;
}
.switch input { 
  opacity: 0;
  width: 0;
  height: 0;
}
.slider {
  position: absolute;
  cursor: pointer;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: var(--secondary-bg);
  -webkit-transition: .4s;
  transition: .4s;
}
.slider:before {
  position: absolute;
  content: "";
  height: 26px;
  width: 26px;
  left: 4px;
  bottom: 4px;
  background-color: var(--secondary-font-clr);
  -webkit-transition: .4s;
  transition: .4s;
}
input:checked + .slider {
  background-color: var(--primary-clr);
}
input:checked + .slider:before {
    -webkit-transform: translateX(26px);
    -ms-transform: translateX(26px);
    transform: translateX(26px);
    background-color: var(--primary-font-clr);
}
.slider.round {
  border-radius: 34px;
}
.slider.round:before {
  border-radius: 50%;
}

/* LINES */
hr {
    border: 1px solid var(--secondary-bg);
    transition: .3s;
}
hr.active {
    border: 1px solid #fff;
}

/* IMAGES */
img.round-img {
    clip-path: circle();
}
img.badge {
    height: 18px !important;
}

/* Tooltips */
.tooltip-wrapper {
  position: relative;
  display: inline-block;
}

.tooltip-wrapper .tooltip-text {
    visibility: hidden;
    width: 150px;
    background-color: var(--secondary-bg);
    color: var(--primary-font-clr);
    text-align: center;
    border-radius: var(--item-rad);
    padding: calc(var(--item-pdd) / 3) calc(var(--item-pdd) / 2);
    position: absolute;
    z-index: 2;
    top: 100%;
    left: 50%;
    transform: translate(-50%, 0%);
    margin-top: 5px;
    font-size: 13px;
}
.tooltip-wrapper .tooltip-text::after {
  content: " ";
  position: absolute;
  bottom: 100%;  /* At the top of the tooltip */
  left: 50%;
  margin-left: -5px;
  border-width: 5px;
  border-style: solid;
  border-color: transparent transparent var(--secondary-bg) transparent;
}
.tooltip-wrapper:hover {
    cursor: pointer;
}
.tooltip-wrapper:hover .tooltip-text {
    visibility: visible;
}

/* SHOW CLASSES */
.show-block {
    display: block !important;
}
.show-flex {
    display: flex !important;
}
.show-none {
    display: none !important; 
}

/* ALERTS */
.alert:hover {
     cursor: pointer;
}

.alert-error .alert-ball, 
.alert-error .alert-content {
     background: var(--danger-clr);
}

.alert-success .alert-ball, 
.alert-success .alert-content {
     background: var(--success-clr);
}

.alert-ball {
     width: calc(var(--navbar-pdd) * 2);
     height: calc(var(--navbar-pdd) * 2);
     border-radius: 50%;
     position: fixed;
     top: calc(var(--navbar-pdd-negative) * 2);
     right: calc(var(--navbar-pdd) * 2);
     animation-name: AlertMoveInFromTop;
     animation-duration: 1s;
     animation-timing-function: ease-in-out;
     z-index: 30;
}

@keyframes AlertMoveInFromTop{
     0% {
         top: calc(var(--navbar-pdd-negative) * 10);
    }
     85% {
         top: calc(var(--navbar-pdd) * 3);
    }
     100% {
         top: calc(var(--navbar-pdd) * 2);
    }
}

.alert-content {
     visibility: hidden;
     width: calc(var(--navbar-pdd) * 2);
     height: calc(var(--navbar-pdd) * 2);
     max-height: calc(var(--navbar-pdd) * 4);
     padding: calc(var(--navbar-pdd) / 2);
     border-radius: 50%;
     position: fixed;
     top: calc(var(--navbar-pdd) * 2);
     right: calc(var(--navbar-pdd) * 2);
     animation-delay: 1s;
     animation-name: AlertCircleBecomeSquare;
     animation-duration: .3s;
     animation-timing-function: ease-in-out;
     animation-fill-mode: forwards;
     display: flex;
     justify-content: center;
     align-items: center;
     z-index: 20;
}

@keyframes AlertCircleBecomeSquare {
     0% {
         visibility: visible;
         width: calc(var(--navbar-pdd) * 2);
         height: calc(var(--navbar-pdd) * 2);
         border-radius: 50%;
    }
     100% {
         width: calc(var(--navbar-pdd) * 12);
         border-radius: var(--navbar-rad);
         visibility: visible;
    }
}

.alert-message {
     opacity: 0;
     animation-delay: 1.3s;
     animation-name: AlertTextFadeIn;
     animation-duration: 0s;
     animation-timing-function: ease-in-out;
     animation-fill-mode: forwards;
}

 @keyframes AlertTextFadeIn {
     0% {
         opacity: 0;
    }
     100% {
         opacity: 1;
    }
}

/* MODALS */
span.modal-close-button {
    position: absolute;
    top: var(--item-pdd);
    right: var(--item-pdd);
    width: calc(var(--item-pdd) * 1.5);
    height: calc(var(--item-pdd) * 1.5);
    background: var(--primary-bg);
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 50%;
    color: var(--primary-font-clr);
    transition: .3s;
}
span.modal-close-button:hover {
    cursor: pointer;
    background: var(--tertiary-bg);
}

/* SCROLL TO HIDE */
.hidden-scroll-element {
    opacity: 0;
    transform: translateY(-100%);
    transition: opacity 0.3s ease-out, transform 0.3s ease-out;
}
  
.visible-scroll-element {
    opacity: 1;
    transform: translateY(0);
    transition: opacity 0.3s ease-in, transform 0.3s ease-in;
}

/* SCROLLBAR */
::-webkit-scrollbar-track {
	-webkit-box-shadow: inset 0 0 6px rgba(0, 0, 0, 0.3);
	border-radius: 10px;
	background-color: #23242a;
}
::-webkit-scrollbar {
	width: 5px;
	background-color: #23242a;
    margin-left: -10px;
}
::-webkit-scrollbar-thumb {
	border-radius: 10px;
	-webkit-box-shadow: inset 0 0 6px rgba(0, 0, 0, .3);
	background-color: #1b1c22;
}

@media screen and (max-width: 400px) {
    .alert-ball, 
    .alert-content {
        right: var(--navbar-pdd);
    }
    
    @keyframes AlertCircleBecomeSquare {
        0% {
             visibility: visible;
             width: calc(var(--navbar-pdd) * 2);
             height: calc(var(--navbar-pdd) * 2);
             border-radius: 50%;
        }
         100% {
             width: calc(100% - var(--navbar-pdd) * 3);
             border-radius: var(--navbar-rad);
             visibility: visible;
        }
    }
}