/************************** FONT **************************/

@font-face {
    font-family: 'Montserrat';
    src: url('../../assets/fonts/Montserrat-Regular.ttf?v=1');
    font-display: block;
    font-weight: 400;
}

@font-face {
    font-family: 'Montserrat';
    src: url('../../assets/fonts/Montserrat-Medium.ttf?v=1');
    font-display: block;
    font-weight: 500;
}

@font-face {
    font-family: 'Montserrat';
    src: url('../../assets/fonts/Montserrat-SemiBold.ttf?v=1');
    font-display: block;
    font-weight: 600;
}

/************************** GENERAL **************************/

:root {
    --primary-color: #D32F6F;
    --secondary-color: #3c3c3c;
    --tertiary-color: #C4622D;
    --highlight-color: #dae1f9;
    --warning-color: #a00000;
}

* {
    font-family: 'Montserrat';
    box-sizing: border-box;
    -webkit-tap-highlight-color: rgba(255,255,255,0.1);
    line-height: 1.4;
    /* outline: none; */
}

body {
    margin: 0px;
}

canvas,
svg,
img {
    display: block;
}

iframe {
    border: 0px;
}

.href {
    color: #0000EE;
    cursor: pointer;
}

[v-cloak] {
    display: none;
}

/************************** BUTTON **************************/

button {
    border: none;
    padding: 7px 17px;
    border-radius: 5px;
    cursor: pointer;
    color: white;
    font-size: 14px;
    font-weight: 500;
    background-color: var(--primary-color);
    display: flex;
    gap: 10px;
    justify-content: center;
    align-items: center;
}

button.secondary {
    background-color: var(--secondary-color);
}

button.white {
    background-color: white;
    border: 1px solid lightgrey;
    color: black;
}

button:disabled {
    cursor: default;
    filter: grayscale(0.2);
    opacity: 0.5;
}

/************************** LOADER **************************/

.loader {
    border: 3px solid rgba(255, 255, 255, 1);
    border-top: 3px solid var(--primary-color);
    border-radius: 50%;
    width: 15px;
    height: 15px;
    animation: spin 1s linear infinite;
}

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

/************************** MODAL **************************/

.modal-fade-enter-active, .modal-fade-leave-active {
    transition: opacity 0.2s;
}

.modal-fade-enter-from, .modal-fade-leave-to {
    opacity: 0;
}

.modal {
    position: fixed;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background: rgba(0, 0, 0, 0.5);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 3000;
}

.modal-box {
    margin: auto;
}

.modal .modal-content {
    background: white;
    border-radius: 5px;
    width: calc(100vw - 20px);
    margin: 10px;
    overflow: hidden;
}

@media only screen and (min-width: 500px) {
    .modal .modal-content {
        width: 400px;
    }
}

.modal .modal-content .modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 20px;
}

.modal .modal-content .modal-header .modal-header-title {
    font-weight: 600;
    font-size: 18px;
}

.modal .modal-content .modal-header .modal-header-close {
    cursor: pointer;
}

.modal .modal-content .modal-header .modal-header-close img {
    width: 17px;
}

.modal .modal-content .modal-body {
    padding: 0px 20px;
}

.modal .modal-content .modal-body .exclamation-mark img {
    width: 70px;
    margin: 0px auto;
}

.modal .modal-content .modal-body .message {
    text-align: center;
    padding: 25px 0px 25px 0px;
    font-weight: 500;
}

.modal .modal-content .modal-body .modal-block {
    width: 100%;
    border: 1px solid lightgrey;
    padding: 30px;
    border-radius: 5px;
    cursor: pointer;
}

.modal .modal-content .modal-body .modal-block img {
    width: 30px;
    margin: 0px auto;
}

.modal .modal-content .modal-footer {
    padding: 40px 20px 20px 20px;
}

.modal .modal-content .modal-footer .button-list {
    display: flex;
    gap: 20px;
}

.modal .modal-content .modal-footer .button-block {
    width: 100%;
}

.modal .modal-content .modal-footer button {
    width: 100%;
}

/************************** FORM **************************/

.form {
    display: grid;
    gap: 25px;
}

.form label {
    display: block;
    margin-bottom: 10px;
    font-weight: 500;
}

.form label .required {
    color: red;
    padding-left: 5px;
}

.form-block.required {
    color: red;
    font-weight: 500;
    font-size: 13px;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 10px;
}

.form-block.required .asterik {
    font-size: 16px;
}

.form-block.button {
    padding-top: 60px;
}

.form-block.button button {
    width: 100%;
}

.form input[type='text'],
.form input[type='email'],
.form input[type='password'],
.form input[type='tel'],
.form input[type='number'] {
    width: 100%;
    border: 1px solid lightgrey;
    height: 35px;
    border-radius: 5px;
    padding: 0px 10px;
    font-size: 16px;
}

.form input::placeholder {
    font-size: 14px;
}

.form select {
    border: 1px solid lightgrey;
    width: 100%;
    height: 35px;
    border-radius: 5px;
    padding: 0px 5px;
    font-size: 16px;
    background-color: white;
    color: black;
}

.form textarea {
    width: 100%;
    border: 1px solid lightgrey;
    border-radius: 5px;
    font-size: 16px;
    padding: 10px;
}

/************************** LAYOUT **************************/

.content {
    padding: 15px;
}

@media only screen and (min-width: 500px) {
    .content {
        padding: 20px;
    }
}
    
.wrapper {
    width: 100%;
}

@media only screen and (min-width: 500px) {
    .wrapper {
        width: 500px;
        margin: 0px auto;
    }
}

.main-box {
    margin-bottom: 20px;
}

@media only screen and (min-width: 500px) {
    .main-box {
        border: 1px solid lightgrey;
        border-radius: 10px;
        overflow: hidden;
        box-shadow: 3px 3px 6px rgba(0, 0, 0, 0.1);
        margin-bottom: 80px;
    }
}

.main-banner img {
    width: 100%;
}

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

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