body {
    font-family: "Poppins", sans-serif;
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

a {
    color: #92badd;
    display: inline-block;
    text-decoration: none;
    font-weight: 400;
}

h2 {
    text-align: center;
    font-size: 16px;
    font-weight: 600;
    text-transform: uppercase;
    display: inline-block;
    margin: 40px 8px 10px 8px;
    color: #cccccc;
}

h2.inactive {
    color: #cccccc;
}

h2.active {
    color: #0d0d0d;
    border-bottom: 2px solid #5fbae9;
}

/* [type=button], [type=submit], [type=reset] {
    background-color: var(--main-color);
    border: none;
    color: #f5f5f5;
    padding: 15px 35px;
    width: 80%;
    text-align: center;
    text-decoration: none;
    display: inline-block;
    text-transform: uppercase;
    font-size: 13px;
    -webkit-border-radius: 5px 5px 5px 5px;
    border-radius: 5px 5px 5px 5px;
    margin: 5px 20px 5px 20px;
    -webkit-transition: all 0.3s ease-in-out;
    -moz-transition: all 0.3s ease-in-out;
    -ms-transition: all 0.3s ease-in-out;
    -o-transition: all 0.3s ease-in-out;
    transition: all 0.3s ease-in-out;
} */

[type=button]:hover, [type=submit]:hover, [type=reset]:hover {
    background-color: var(--second-color);
}

input[type=button]:active, input[type=submit]:active, input[type=reset]:active {
    -moz-transform: scale(0.95);
    -webkit-transform: scale(0.95);
    -o-transform: scale(0.95);
    -ms-transform: scale(0.95);
    transform: scale(0.95);
}

input[type=text], input[type=password], select {
    background-color: unset;
    border: none;
    color: var(--main-color);
    /*text-align: center;*/
    text-decoration: none;
    display: inline-block;
    font-size: 16px;
    margin: 5px;
    /* width: 95%; */
    border-bottom: 2px solid #ccc;
    -webkit-transition: all 0.5s ease-in-out;
    -moz-transition: all 0.5s ease-in-out;
    -ms-transition: all 0.5s ease-in-out;
    -o-transition: all 0.5s ease-in-out;
    transition: all 0.5s ease-in-out;
    -webkit-border-radius: 5px 5px 5px 5px;
    border-radius: 5px 5px 5px 5px;
    box-sizing: border-box;
}

input[type=text]:focus, input[type=password]:focus, input[type=text]:hover, input[type=password]:hover {
    background-color: #f5f5f5;
    border-bottom: 2px solid var(--main-color);
}

input[type=text]:placeholder, input[type=password]:placeholder {
    color: #cccccc;
}

.fadeInDown {
    -webkit-animation-name: fadeInDown;
    animation-name: fadeInDown;
    -webkit-animation-duration: 1s;
    animation-duration: 1s;
    -webkit-animation-fill-mode: both;
    animation-fill-mode: both;
}

@-webkit-keyframes fadeInDown {
    0% {
        opacity: 0;
        -webkit-transform: translate3d(0, -150%, 0);
        transform: translate3d(0, -150%, 0);
    }
    100% {
        opacity: 1;
        -webkit-transform: translateY(-50%);
        transform: translateY(-50%);
    }
}

@keyframes fadeInDown {
    0% {
        opacity: 0;
        -webkit-transform: translate3d(0, -150%, 0);
        transform: translate3d(0, -150%, 0);
    }
    100% {
        opacity: 1;
        -webkit-transform: translateY(-50%);
        transform: translateY(-50%);
    }
}


@-webkit-keyframes fadeInDownSmall {
    0% {
        opacity: 0;
        -webkit-transform: translate3d(0, -100%, 0);
        transform: translate3d(0, -100%, 0);
    }
    100% {
        opacity: 1;
        -webkit-transform: none;
        transform: none;
    }
}

@keyframes fadeInDownSmall {
    0% {
        opacity: 0;
        -webkit-transform: translate3d(0, -100%, 0);
        transform: translate3d(0, -100%, 0);
    }
    100% {
        opacity: 1;
        -webkit-transform: none;
        transform: none;
    }
}


@-webkit-keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

@-moz-keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

.fadeIn {
    opacity: 0;
    -webkit-animation: fadeIn ease-in 1;
    -moz-animation: fadeIn ease-in 1;
    animation: fadeIn ease-in 1;
    -webkit-animation-fill-mode: forwards;
    -moz-animation-fill-mode: forwards;
    animation-fill-mode: forwards;
    -webkit-animation-duration: 1s;
    -moz-animation-duration: 1s;
    animation-duration: 1s;
}

.fadeIn.first {
    -webkit-animation-delay: 0.4s;
    -moz-animation-delay: 0.4s;
    animation-delay: 0.4s;
}

.fadeIn.second {
    -webkit-animation-delay: 0.6s;
    -moz-animation-delay: 0.6s;
    animation-delay: 0.6s;
}

.fadeIn.third {
    -webkit-animation-delay: 0.8s;
    -moz-animation-delay: 0.8s;
    animation-delay: 0.8s;
}

.fadeIn.fourth {
    -webkit-animation-delay: 1s;
    -moz-animation-delay: 1s;
    animation-delay: 1s;
}

.underlineHover:after {
    display: block;
    left: 0;
    bottom: -10px;
    width: 0;
    height: 2px;
    background-color: #0d0d0d;
    content: "";
    transition: width 0.2s;
}

.underlineHover:hover {
    color: #0d0d0d;
}

.underlineHover:hover:after {
    width: 100%;
}

*:focus {
    outline: none;
}

#icon {
    width: 60%;
}

.mt-40 {
    margin-top: 40px
}

.mb-40 {
    margin-bottom: 40px
}

.lang-div {
    width: 100%;
    text-align: right;
    padding-right: 20px;
}

@media (max-height: 640px) {


    .fadeInDown {
        -webkit-animation-name: fadeInDownSmall;
        animation-name: fadeInDownSmall;
    }

    .mt-40 {
        margin-top: 20px
    }

    .mb-40 {
        margin-bottom: 20px
    }
}


button {
    cursor: pointer;
}

.container-login {
    background-color: #fff;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.35);
    position: relative;
    overflow: hidden;
    width: 813px;
    max-width: 100%;
    min-height: 564px;
    opacity: 0.86;
}

.container-login p {
    font-size: 14px;
    line-height: 20px;
    letter-spacing: 0.3px;
    margin: 20px 0;
}

.container-login a {
    color: #333;
    font-size: 13px;
    text-decoration: none;
    margin: 15px 0 10px;
}

.container-login button {
    color: #fff;
    font-size: 12px;
    padding: 10px 45px;
    border-radius: 8px;
    text-transform: uppercase;
    margin-top: 10px;
    cursor: pointer;
    margin: 10px 0 0 0;
    width: 100%;
}

.container-login button.hidden {
    background-color: transparent;
    border-color: #fff;
}

.container-login form {
    background-color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    padding: 0 40px;
    height: 100%;
}

.container-form {
    position: absolute;
    top: 0;
    height: 100%;
    transition: all 0.6s ease-in-out;
}

.form-login {
    left: 0;
    width: 40%;
    z-index: 2;
}

.container-login.active .form-login, .container-login.active-forgotten .form-login {
    transform: translateX(100%);
}

.form-signup, .form-forgotPass {
    left: 0;
    width: 40%;
    opacity: 0;
    z-index: 1;
}

.container-login.active .form-signup, .container-login.active-forgotten .form-forgotPass {
    transform: translateX(150%);
    opacity: 1;
    z-index: 5;
    animation: move 0.6s;
}

.container-login.active-forgotten .form-forgotPass {
    transform: translateX(0%);
    opacity: 1;
    z-index: 5;
    animation: move 0.6s;
}

@keyframes move {
    0%, 49.99% {
        opacity: 0;
        z-index: 1;
    }
    50%, 100% {
        opacity: 1;
        z-index: 5;
    }
}

.toggle-container {
    position: absolute;
    top: 0;
    left: 40%;
    width: 61%;
    height: 100%;
    overflow: hidden;
    transition: all 0.6s ease-in-out;
    z-index: 1000;
}

.container-login.active .toggle-container {
    transform: translateX(-67%);
}

.toggle {
    height: 100%;
    background: var(--primary-color-serbia);
    color: #fff;
    position: relative;
    left: -100%;
    height: 100%;
    width: 200%;
    transform: translateX(0);
    transition: all 0.6s ease-in-out;
}

.container-login.active .toggle {
    transform: translateX(50%);
}

.toggle-panel {
    position: absolute;
    width: 50%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    padding: 0 30px;
    text-align: center;
    top: 0;
    transform: translateX(0);
    transition: all 0.6s ease-in-out;
}

.toggle-left {
    transform: translateX(-200%);
}

.container-login.active .toggle-left {
    transform: translateX(0);
}

.toggle-right {
    right: 0;
    transform: translateX(0);
}

.container-login.active .toggle-right {
    transform: translateX(200%);
}

.container-login #login {
    padding: 10px;
}


.toggle-panel #login {
    width: unset;
}

.login-wrapper {
    /*background: url('../images/first_page/cover.jpg') no-repeat 54% 33%;*/
    background: #ffffff;
    height: calc(100% - 91px);
}

.form-forgotPass {
    transform: translateX(-100%);
    z-index: 2;
    transition: all .6s;
}

.form-forgotPass.active {
    transform: translateX(0%);
    width: calc(100% - 487px);
}

.form-forgotPass .hidden {
    background-color: var(--primary-color-serbia);
    width: unset;
    padding: 10px;
}

@media (max-width: 1397px) {
    .body-login {
        background-size: cover;
    }
}

@media (max-width: 810px) {
    .container-login {
        height: 100%;
        border-radius: 0;
        width: 438px;
    }

    .form-login {
        width: 100%;
    }

    .form-signup, .form-forgotPass {
        width: 100%;
    }

    .container-login.active .form-signup, .container-login.active-forgotten .form-forgotPass {
        transform: translateX(0);
    }


    .toggle-container {
        display: none;
    }

    .container-form {
        height: 90%;
    }
}

.dropdown .dropdown-menu li {
    transition: all .2s;
}

.credits {
    color: white;
}

.credits a {
    text-decoration: none;
}

.image-wrapper {
    background-color: #0c407638;
}

div:has(> .container-login) {
    opacity: 0.86;
}

#validation-box > div > i {
    width: 16px;
    text-align: center;
    margin-right: 10px;
}

.fa-times {
    color: #d51717;
}

#validation-box {
    border-radius: 8px;
    padding: 10px;
    box-shadow: 0 0 11px 0px rgba(var(--bs-body-color-rgb));
}

#validation-box > div {
    margin-bottom: 7px;
    font-size: 0.9rem;
    text-indent: unset;
    -webkit-mask-image: black;
    overflow: initial;
    -webkit-text-stroke: thin;
    display: flex;
    align-items: center;
}

.valid .fa-check {
    color: #188a15;
}
