﻿/*
* Prefixed by https://autoprefixer.github.io
* PostCSS: v8.3.6,
* Autoprefixer: v10.3.1
* Browsers: last 4 version
*/

* {
    margin: 0;
    padding: 0;
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
}

html {
    height: 100%;
}
    body {
    font-family: 'Mohave', sans-serif;
    background-color: #f2f2f2;
    height: 100%;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -ms-flex-direction: column;
    flex-direction: column;
}

/* HEADER SECTION */
header {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    padding: 1rem;
    -ms-flex-pack: distribute;
    justify-content: space-around;
    margin-bottom: 20px;
    background-color: #ffffff;
    -webkit-box-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

.header-empty {
    display: inline-block;
}

#logo {
    width: 200px;
}

/* HEADER BUTTONS */
.all-header-buttons-container {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    gap: 20px;
}

.lang-buttons-container {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -ms-flex-direction: column;
    flex-direction: column;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center;
    gap: 1px;
}

.logout-button-container {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -ms-flex-direction: column;
    flex-direction: column;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center;
}

.btn.btnlang {
    padding: 5px 6px;
    background-color: #ffffff;
    color: #4e4e4e;
    font-family: "Roboto", sans-serif;
    font-weight: 500;
}

.btn.btnlogout {
    padding: 5px 14px;
    background-color: #9f47ab;
    color: #fff;
    font-weight: 500;
    padding-top: 10px;
}

.btn.btnlang:hover {
    background-color: #ebebeb;
}

.btn.btnlogout:hover {
    background-color: #871996;
}

#active {
    background-color: #9f47ab;
    color: #ffffff;
}

#active:hover {
    background-color: #871996;
}

/* MAIN SECTION */
main {
    background-color: #ffffff;
    width: 50%;
    margin: auto;
    -webkit-box-shadow: 0 2px 10px #2e2d2d;
    box-shadow: 0 2px 10px #2e2d2d;
    border-radius: 10px;
    padding: 30px;
    font-family: "BPG Nino Mtavruli", sans-serif;
}

.form-control {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -ms-flex-direction: column;
    flex-direction: column;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    padding: 0.8rem 0.5rem;
}

h2 {
    margin-bottom: 35px;
    text-align: center;
    color: #871996;
}

.personal-id,
.sms-code {
    display: block;
    width: 100%;
    /* height: 2rem; */
}

.personal-id {
    margin-bottom: 13px;
}

.button-container {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center;
}

.terms {
    width: 100%;
    height: 2rem;
    color: #2e2d2d;
    font-family: "Monserrat", sans-serif;
    font-size: 13px;
}

.sms-code {
    margin-bottom: 10px;
}

/* MODAL WINDOW */
.modal-container {
    background-color: rgba(0, 0, 0, 0.3);
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center;
    position: fixed;
    opacity: 0;
    pointer-events: none;
    top: 0;
    left: 0;
    height: 100vh;
    width: 100vw;
    -webkit-transition: opacity 0.9 ease;
    -o-transition: opacity 0.9 ease;
    transition: opacity 0.9 ease;
}

.modal-container.show {
    pointer-events: auto;
    opacity: 1;
}

.modal {
    background-color: #fff;
    border-radius: 5px;
    -webkit-box-shadow: 0 2px 12px 0 rgba(0, 0, 0, 0.3);
    box-shadow: 0 2px 12px 0 rgba(0, 0, 0, 0.3);
    padding: 30px 50px;
    width: 500px;
    max-width: 100%;
    text-align: center;
}

.modal h1 {
    margin: 0;
}

.modal p {
    margin-top: 5px;
    margin-bottom: 10px;
    font-size: 14px;
    opacity: 0.7;
}

.btn.btnclose:hover {
    background-color: #871996;
}

/* FOOTER SECTION */
footer {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    padding: 0.6rem;
    -webkit-box-pack: space-evenly;
    -ms-flex-pack: space-evenly;
    justify-content: space-evenly;
    margin-top: 20px;
    background-color: #ffffff;
    -webkit-box-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

    footer p {
        -ms-flex-item-align: center;
        -ms-grid-row-align: center;
        align-self: center;
    }

.conditions-info {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -ms-flex-direction: column;
    flex-direction: column;
    font-family: "BPG Nino Mtavruli", sans-serif;
    -webkit-box-flex: 0;
    -ms-flex: 0 0 33%;
    flex: 0 0 33%;
    font-size: 0.85rem;
    color: #2e2d2d;
    -webkit-box-align: end;
    -ms-flex-align: end;
    align-items: end;
}

.contact-info {
    font-family: "BPG Nino Mtavruli", sans-serif;
    -webkit-box-flex: 0;
    -ms-flex: 0 0 33%;
    flex: 0 0 33%;
    font-size: 0.95rem;
    line-height: 1;
    color: #2e2d2d;
    font-weight: bold;
}

.address-and-phone {
    font-size: 0.85rem;
    color: #4e4e4e;
    font-weight: normal;
}

footer a {
    text-decoration: none;
}

    footer a:hover {
        color: #272626;
    }

/* BUTTONS */
.btn {
    background-color: #9f47ab;
    border: none;
    color: #ffffff;
    padding: 10px 19px;
    text-decoration: none;
    text-align: center;
    font-size: 15px;
    cursor: pointer;
    display: inline-block;
    border-radius: 6px;
    -webkit-transition-duration: 0.4s;
    -o-transition-duration: 0.4s;
    transition-duration: 0.4s;
    font-family: "BPG Nino Mtavruli", sans-serif;
    -webkit-box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

.btn.verification:hover {
    background-color: #871996;
}

/* INPUT */
input[type=text],
input[type=tel] {
    background: none;
    border: 2px solid rgb(136, 135, 135);
    -webkit-transition: border-color 0.3s ease;
    -o-transition: border-color 0.3s ease;
    transition: border-color 0.3s ease;
    -webkit-appearance: none;
    -ms-progress-appearance: none;
    -moz-appearance: none;
    appearance: none;
    padding: 12px;
    outline: none;
    border-radius: 6px;
    width: 250px;
    font-size: 14px;
}

/* Change border color of input on focus */
input[type=text]:valid,
input[type=tel]:valid,
input[type=number]:valid,
input[type=text]:focus,
input[type=number]:focus,
input[type=tel]:focus {
    border: 3px solid #871996;
}

/* Change label color on focus */
input[type=text]:valid + label,
input[type=tel]:valid + label,
input[type=text]:focus + label,
input[type=number]:valid + label,
input[type=number]:focus + label,
input[type=tel]:focus + label {
    color: #871996;
    font-size: 0.75rem;
}

/* Hide placeholder on focus */
input[type=text]:focus::-webkit-input-placeholder, input[type=text]:focus::-webkit-input-placeholder, input[type=number]:focus::-webkit-input-placeholder {
    color: transparent;
}

input[type=text]:focus::-moz-placeholder, input[type=text]:focus::-moz-placeholder, input[type=number]:focus::-moz-placeholder {
    color: transparent;
}

input[type=text]:focus:-ms-input-placeholder, input[type=text]:focus:-ms-input-placeholder, input[type=number]:focus:-ms-input-placeholder {
    color: transparent;
}

input[type=text]:focus::-ms-input-placeholder, input[type=text]:focus::-ms-input-placeholder, input[type=number]:focus::-ms-input-placeholder {
    color: transparent;
}

input[type=text]:focus::placeholder,
input[type=text]:focus::placeholder,
input[type=number]:focus::placeholder {
    color: transparent;
}

/* Hide label until focus */
.reverse label {
    color: transparent;
}

/* Reverse label and text input */
.reverse {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-orient: vertical;
    -webkit-box-direction: reverse;
    -ms-flex-direction: column-reverse;
    flex-direction: column-reverse;
}

/* CHECKBOX */
.regular-checkbox {
    -webkit-appearance: none;
    background-color: #fafafa;
    border: 1px solid #cacece;
    -webkit-box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05), inset 0px -15px 10px -12px rgba(0, 0, 0, 0.05);
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05), inset 0px -15px 10px -12px rgba(0, 0, 0, 0.05);
    padding: 9px;
    border-radius: 3px;
    display: inline-block;
    position: relative;
}

.regular-checkbox:hover {
    background-color: #f1f1f1;
}

.regular-checkbox:active, .regular-checkbox:checked:active {
    -webkit-box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05), inset 0px 1px 3px rgba(0, 0, 0, 0.1);
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05), inset 0px 1px 3px rgba(0, 0, 0, 0.1);
}

.regular-checkbox:checked {
    background-color: #871996;
    border: 1px solid #871996;
    -webkit-box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05), inset 0px -15px 10px -12px rgba(0, 0, 0, 0.05), inset 15px 10px -12px rgba(255, 255, 255, 0.1);
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05), inset 0px -15px 10px -12px rgba(0, 0, 0, 0.05), inset 15px 10px -12px rgba(255, 255, 255, 0.1);
    color: #99a1a7;
}

.regular-checkbox:checked:after {
    content: '\2714';
    font-size: 14px;
    position: absolute;
    top: 0px;
    left: 3px;
    color: #ffffff;
}

#terms-label {
    vertical-align: top;
    margin-left: 4px;
}

main a:active {
    color: #871996;
    font-weight: bold;
}

.btn:disabled {
    pointer-events: none;
    opacity: 0.7;
}

/* MEDIA QUERIES */
@media only screen and (min-width: 761px) and (max-width: 1253px) {

    /* header */
    #logo {
        width: 175px;
        height: 75.293px;
    }

    .btn.btnlang {
        padding: 4px 5px;
        font-size: 0.77rem;
    }

    .btn.btnlogout {
        padding: 6px 10px;
        font-size: 0.77rem;
        padding-top: 10px;
    }

    /* end of header */
    h2 {
        font-size: 19px;
        margin-bottom: 8px;
    }

    /* footer */
    .conditions-info {
        -webkit-box-flex: 0;
        -ms-flex: 0 0 0%;
        flex: 0 0 0%;
        -webkit-box-align: center;
        -ms-flex-align: center;
        align-items: center;
    }

    .contact-info {
        font-size: 0.95rem;
        line-height: 1.2;
    }

    .address-and-phone {
        font-size: 0.8rem;
    }

    /* end of footer */
}


@media only screen and (max-width: 760px), (min-device-width: 768px) and (max-device-width: 1024px) {
    /* header */
    header {
        padding: 0.5rem;
        margin-bottom: 0;
    }

    #logo {
        width: 133.3px;
        height: 57.366px;
    }

    .btn.btnlang {
        padding: 4px 5px;
        font-size: 0.69rem;
    }

    .btn.btnlogout {
        padding: 6px 10px;
        font-size: 0.77rem;
        padding-top: 10px;
    }

    .all-header-buttons-container {
        gap: 5px;
    }

    /* end of header */
    .btn {
        font-size: 12px;
    }

    main {
        width: 93%;
    }

    h2 {
        font-size: 16px;
        margin-bottom: 8px;
    }

    /* footer */
    footer {
        -webkit-box-orient: vertical;
        -webkit-box-direction: normal;
        -ms-flex-direction: column;
        flex-direction: column;
        margin-top: 0;
        padding: 0.1rem 0.4rem;
    }

    .contact-info {
        font-size: 0.8rem;
        line-height: 1.2;
        text-align: center;
    }

    .address-and-phone {
        font-size: 0.79rem;
    }

    .conditions-info {
        -webkit-box-flex: 0;
        -ms-flex: 0 0 0%;
        flex: 0 0 0%;
        -webkit-box-align: center;
        -ms-flex-align: center;
        align-items: center;
    }

    .copyright {
        font-size: 0.88rem;
    }

    /* end of footer */
}

@media only screen and (min-device-width: 768px) and (max-device-width: 1024px) {
    /* header */
    header {
        padding: 1.5rem;
        margin-bottom: 0;
    }

    .btn.btnlang {
        padding: 4px 5px;
        font-size: 1.4rem;
    }

    .btn.btnlogout {
        padding: 6px 10px;
        font-size: 1.4rem;
        padding-top: 10px;
    }

    #logo {
        margin-top: 10px;
        width: 185px;
        height: 79.5956px;
    }

    .header-empty {
        -webkit-box-flex: 16%;
        -ms-flex: 16% 0 0px;
        flex: 16% 0 0;
    }

    .all-header-buttons-container {
        gap: 9px;
    }

    /* end of header */
    .btn {
        font-size: 24px;
    }

    main {
        width: 90%;
    }

    input[type=text],
    input[type=number],
    input[type=tel] {
        padding: 17px;
        width: 290px;
        font-size: 20px;
    }

    input[type=text]:valid + label,
    input[type=tel]:valid + label,
    input[type=text]:focus + label,
    input[type=number]:valid + label,
    input[type=number]:focus + label,
    input[type=tel]:focus + label {
        font-size: 1.3rem;
        margin-top: 5px;
    }

    .reverse {
        -webkit-box-align: center;
        -ms-flex-align: center;
        align-items: center;
    }

    #terms-label {
        font-size: 24px;
    }

    h2 {
        font-size: 30px;
        margin-bottom: 10px;
    }

    input[type="checkbox"] {
        margin-top: 10px;
    }

    /* footer */
    footer {
        -webkit-box-orient: vertical;
        -webkit-box-direction: normal;
        -ms-flex-direction: column;
        flex-direction: column;
        margin-top: 0;
        padding: 0.4rem 0.9rem;
    }

    .contact-info {
        font-size: 1.8rem;
        line-height: 1.2;
        text-align: center;
    }

    .address-and-phone {
        font-size: 1.5rem;
    }

    .copyright {
        font-size: 1.5rem;
    }

    /* end of footer */
}
