:root {
    --Primary: #bb86fc;
    --PrimaryDark: #836fa9;
    --Accent: #e6ceff;
    --Accentlight: rgba(145, 98, 228, 0.74);
    --SecondaryPrimary: #4db6ac;
    --SecondaryPrimaryDark: #00867d;
    --SecondaryAccent: #b2fef7;
    --GreyDark3: #1E1E1E;
    --GreyDark2: #242424;
    --GreyDark1: #2C2C2C;
    --GreyDark0: #383838;
    --white: #ffffffbb;
    --white-headers: #ffffffdd;
    --Red: #cc6b6c;
}

/*:root {*/
/*    --Primary: #512da8;*/
/*    --PrimaryDark: #140078;*/
/*    --Accent: #8559da;*/
/*    --Accentlight: rgba(145, 98, 228, 0.74);*/
/*    --SecondaryPrimary: #4db6ac;*/
/*    --SecondaryPrimaryDark: #00867d;*/
/*    --SecondaryAccent: #b2fef7;*/
/*    --GreyDark3: #ccc;*/
/*    --GreyDark2: #ddd;*/
/*    --GreyDark1: #eee;*/
/*    --GreyDark0: #fff;*/
/*    --white: #000;*/
/*    --white-headers: #000;*/
/*    --Red: #b00020;*/
/*}*/


header, footer {
  flex:none;
}

.center {
  margin: 0;
  position: absolute;
  top: 50%;
  left: 50%;
  -ms-transform: translate(-50%, -50%);
  transform: translate(-50%, -50%);
}


.errors {
    display: none;
    color: var(--Red);
    font-weight: 400;
    align-self: center;
    text-align: center;
    margin: 15px 23px 0px 23px;
}

/*login form*/
#loginHtml, #loginBody {
    height: 100%;
    text-align: center;
}

#loginBody {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

#loginForm {
    background-color: var(--GreyDark1);
    box-shadow: 1px 1px rgba(44, 44, 44, 0.39);
    width: 400px;
    height: auto;
    border-radius: 15px;
    padding-bottom: 5px;
}


#loginWordContainer {
    border-left: var(--Primary) 10px solid;
    height: 30px;
    display: flex;
    margin-top: 5%;
}

#loginWord {
    padding-left: 30px;
    color: var(--Primary);
    font-weight: 500;
    align-self: center;
    margin: 0;
}


#loginInputs {
    height: auto;
    margin: 15px 3vw 15px 3vw;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    align-content: center;
}


#RememberCBBox {
    display: flex;
    margin: 0px 0px 30px 3vw;
}

#LoginLogo {
    height: 50px;
    width: auto;
    margin-top: 15px;
    filter: contrast(0.9);
}

#loginButtons, #registerButtons  {
    display: flex;
    justify-content: space-around;
}


#cantLogin {
    margin-bottom: 10px;
    display: flex;
    justify-content: space-around;
}

#cantLogin {
    margin-top: 10px;
}

#loginForm .input-field {
    width: 100%;
}




/*handling phone style*/
@media only screen and (max-width: 600px) {
    #loginForm {
        background: none;
        box-shadow: none;
        width: 100%;
        height: auto;
        border-radius: 15px;
    }

    #registerForm {
        background: none !important;
        box-shadow: none;
        width: 100% !important;
        height: 100% !important;
        border-radius: 5px;
        display: block !important;
        overflow-y: auto !important;
    }

    #registerForm inputs {
        width: 100% !important;
    }

    #registerForm .names {
        width: 100% !important;
    }
}


/*end login form*/


.animateToLogin2 {
    animation-name: toLogin;
    -webkit-animation-direction: normal;
    -moz-animation-direction: normal;
    -o-animation-direction: normal;
    animation-direction: normal;
    animation-duration: 1.3s;
    animation-timing-function: ease-out;
    animation-fill-mode: forwards;
    animation-iteration-count: 1;
}

.animateToLogin {
    animation-name: loginForm2;
    -webkit-animation-direction: normal;
    -moz-animation-direction: normal;
    -o-animation-direction: normal;
    animation-direction: normal;
    animation-duration: 1.3s;
    animation-timing-function: ease-out;
    animation-fill-mode: forwards;
    animation-iteration-count: 1;
}


.animateLogin {
    animation-name: loginForm;
    -webkit-animation-direction: alternate;
    -moz-animation-direction: alternate;
    -o-animation-direction: alternate;
    animation-direction: alternate;
    animation-duration: 1s;
    animation-timing-function: ease-out;
    animation-fill-mode: forwards;
    animation-iteration-count: 2;
}

.animateRegister {
    animation-name: registerForm;
    -webkit-animation-direction: alternate;
    -moz-animation-direction: alternate;
    -o-animation-direction: alternate;
    animation-direction: alternate;
    animation-duration: 1s;
    animation-timing-function: ease-out;
    animation-fill-mode: forwards;
    animation-iteration-count: 2;
}


@keyframes loginForm {
    from {
        opacity: 1;
        transform: scale(1) translateX(0);
    }
    to {
        opacity: 0;
        transform: scale(0.2) translateX(-60vw);
    }
}

@keyframes registerForm {
    from {
        opacity: 0;
        transform: translateX(60vw);
    }
    to {
        opacity: 1;
        transform: translateX(0vw);
    }
}

@keyframes loginForm2 {
    from {
        opacity: 0;
        transform: scale(0.2) translateX(60vw);
    }
    to {
        opacity: 1;
        transform: scale(1) translateX(0);
    }
}


@keyframes toLogin {
    from {
        opacity: 1;
        transform: translateX(0vw);
    }
    to {
        opacity: 0;
        transform: translateX(-60vw);
    }
}

/*registerForm  */
#registerForm {
    background-color: var(--GreyDark1);
    box-shadow: 1px 1px rgba(44, 44, 44, 0.39);
    width: 500px;
    height: auto;
    border-radius: 15px;
    position: fixed;
    justify-self: center;
    align-self: center;
    opacity: 0;
    z-index: -1;
    padding-bottom: 5px;
}

#regtop {
    display: flex;
    justify-content: space-around;
    align-content: center;
    align-items: center;
}

#regInputs {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    margin-right: 3vw;
    margin-left: 3vw;
}

#registerForm .input-field {
    width: 100%;
}

#registerForm .names {
    width: 190px;
}


#regsubmit {
    width: 90%;
}


.select-dropdown {
    color: var(--white);
}


ul.dropdown-content.select-dropdown li span {
    color: var(--white) !important;
}

.dropdown-content {
    background-color: var(--GreyDark3) !important;
}


.select-wrapper .caret {
    fill: var(--white) !important;
}


/*end registerForm*/


/* reset */


#ResetPasswordForm{
    background-color: var(--GreyDark1);
    box-shadow: 1px 1px rgba(44, 44, 44, 0.39);
    width: 400px;
    height: auto;
    border-radius: 15px;
    padding-bottom: 5px;
    position: fixed;
    justify-self: center;
    align-self: center;
    opacity: 0;
    z-index: -1;
}

/* reset end */



/*profile settings */

#loader-background {
    height: 5px;
    background-color: var(--GreyDark3);
    border-radius: 12px;
    width: 80vw;
    margin-bottom: 15px;
    display: none;
}

#loader-foreground {
    height: 5px;
    background: linear-gradient(90deg, rgba(131, 111, 169, 1) 0%, rgba(187, 134, 252, 1) 56%, rgba(230, 206, 255, 1) 100%);
    border-radius: 12px;
    text-align: end;
    transition: width;
}

.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

.profileCard {
    display: flex !important;
    align-items: center;
}

.profileCardContent {
    display: flex;
    flex-direction: column;
}

.collection {
    border-color: var(--GreyDark3) !important;
}

.collection-item {
    background-color: var(--GreyDark0) !important;
    border-bottom-color: var(--GreyDark3) !important
}

card .data {
    /*text-align: left !important;*/
    font-size: 15px !important;
}

card .btn {
    width: 90%;
    margin: 0 auto;
}

.card-title {
    text-align: center;
}

.field {
    background-color: var(--GreyDark1);
    min-width: 25vw;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 8px;
    padding: 4px;
}


#name {
    font-size: large;
    font-weight: 500;
}

.flex-box {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-around;
    align-items: flex-start;
    align-content: flex-start;
}


.profilePic {
    width: 200px;
    height: 200px;
    cursor: pointer;
    margin: 50px auto;
    background-size: cover;
    display: block;
    border-radius: 100px;
    transition: transform 0.6s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.profilePic img {
    position: relative;
    top: 155px;
    left: 155px;
    transition: transform 0.6s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}


.profilePic:hover {
    transform: scale(1.2);
}


.card .card-image img {
    padding: 30px !important;
}


@media only screen and (max-width: 600px) {
    .profilePic {
        width: 130px;
        height: 130px;
    }

    #name {
        display: none;
    }

    .profileCard {
        flex-direction: column;
    }


    .profilePic img {
        position: relative;
        top: 90px;
        left: 90px;
        transition: transform 0.6s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    }

}


.break {
    flex-basis: 100%;
    height: 0;
}


.break2 {
    display: flex;
    flex-basis: 100%;
    justify-content: space-between !important;
}

#updateButton {
    width: 50%;
    align-self: flex-end;
    margin-bottom: 2vh;
}


.card {
    background-color: var(--GreyDark1) !important;
}

.card img {
    width: 200px !important;
    height: 200px !important;
    margin: 0 auto;
}

.delete-btn{
    color: #ccc!important;
    background-color: darkred!important;
}

.delete-btn:hover{
    color: #ccc!important;
}

/*end profile settings*/

/* Privacy policy */
#title-privacy{
    display: flex;
    flex-wrap: nowrap;
    flex-direction: column;
    justify-content: flex-start;
}

#content-privacy{
    margin: 2% auto;
    padding: 2rem;
    border-radius: 10px;
    background-color: var(--GreyDark1);
}


@media only screen and (max-width: 600px) {

    h1{
        font-size: 2em!important;
    }

    h5{
        font-size: 1.2em!important;
    }
}

/*end Privacy policy */

/*activate */

#activateForm {
    display: flex;
    flex-wrap: nowrap;
    flex-direction: column;
    align-items: flex-end;
    border-radius: 12px;
    background-color: var(--GreyDark1) !important;
    margin-top: 10%;
    padding: 15px;
}

/*end activate */

p{
    font-size: 1.1em;
}

input:-webkit-autofill,
input:-webkit-autofill:hover,
input:-webkit-autofill:focus,
input:-webkit-autofill:active  {
    -webkit-box-shadow: 0 0 0 1000px var(--GreyDark1) inset !important;
}


input:-webkit-autofill {
    -webkit-text-fill-color: var(--white-headers) !important;
}

h1 , h2 , h3 , h4 , h5 , h6 , ins {
    color: var(--white-headers);
}

.nav-wrapper {
    display: flex;

}

.modal {
    background-color: var(--GreyDark0) !important;
    max-height: 90% !important;
}

.modal-footer{
    height: auto!important;
    max-height: none!important;
    background-color: var(--GreyDark2) !important;
}

#modal1 {
    display: flex;
    border-radius: 10px;
    padding: 15px;
    flex-wrap: wrap;
!important;
}

.container {
    /*background-color: var(--GreyDark1) !important;*/
}

label {
    min-width: 50px;
}

body {
    font-family: 'Roboto', sans-serif;
    background-color: var(--GreyDark3);
    text-shadow: 1px 1px 1px rgba(0, 0, 0, 0.25);
    text-rendering: optimizeLegibility !important;
    -webkit-font-smoothing: auto !important;
    color: var(--white);
}

input {
    color: var(--white);
}

input[type="checkbox"]:checked + span:before {
    border-right-color: var(--Primary) !important;
    border-bottom-color: var(--Primary) !important;
}

button {
    color: black !important;
    background-color: var(--Primary) !important;
    font-weight: 600;
}

button:hover {
    background-color: var(--PrimaryDark) !important;
}

a {
    color: var(--Accent) !important;
    cursor: pointer !important;
}

a:hover {
    color: var(--Primary) !important;
}

nav {
    background-color: var(--GreyDark0) !important;
}

input:focus {
    border-bottom: 1px solid var(--Accentlight) !important;
    box-shadow: 0 1px 0 0 var(--Accentlight) !important;
}

label.active {
    color: var(--Accentlight) !important;
}

input, select, textarea {
    padding: 0.4vw;
    display: inline-block;
    border: 1px solid #cccccc;
    border-radius: 5px;
    box-sizing: border-box;
}

form input {
    color: var(--white);
}

form input[type=submit] {
    background-color: #ffffff;
    cursor: pointer;
}

input[type=submit].Link {
    border: none;
    background: none !important;
    padding: 0vw !important;
    display: inline;
    color: inherit;
    font: inherit;
    text-decoration: none;
    cursor: pointer;
}