/*==== TEXT ====*/

/*--Topographic--*/

h1 {
    font-size: var(--fs-3xl);
    font-weight: var(--fw-bold);
    font-family: var(--font-heading);
}

h2 {
    font-size: var(--fs-2xl);
    font-weight: var(--fw-bold);
    font-family: var(--font-heading);
}

h3 {
    font-size: var(--fs-xl);
    font-weight: var(--fw-bold);
    font-family: var(--font-heading);
}

h4 {
    font-size: var(--fs-md);
    font-weight: var(--fw-bold);
    font-family: var(--font-heading);
}

p {
    font-size: var(--fs-xs);
    font-weight: var(--fw-regular);
    font-family: var(--font-body);
}

/*--Utils-Class--*/

.justify-text {
    text-align: justify;
    hyphens: auto;
}

.center-text {
    text-align: center;
}

.heading-text {
    font-size: var(--fs-md);
    font-weight: var(--fw-regular);
    font-family: var(--font-heading);
}

.small-common-text {
    font-size: var(--fs-2xs);
    font-weight: var(--fw-regular);
    font-family: var(--font-body);
}

.big-common-text {
    font-size: var(--fs-sm);
    font-weight: var(--fw-regular);
    font-family: var(--font-body);
}

.biggest-common-text {
    font-size: var(--fs-md);
    font-weight: var(--fw-regular);
    font-family: var(--font-body);
}

.letter-spacing {
    letter-spacing: 2px;
}

.lh-xs {
    line-height: 80%;
}

.lh-sm {
    line-height: 96%;
}

.lh-md {
    line-height: 104%;
}

.center {
    align-self: center;
}

.left {
    align-self: left;
}

.right {
    align-self: right;
}

/*==== ELEMENTS ====*/

/*--Buttons--*/

.common-btn {
    background-color: var(--bg-common-btn);
    border-radius: var(--br-xl);
    color: var(--text-dark);
    padding: var(--space-sm) 108px;
    border: 2px transparent solid;

    transition: var(--transition-fast);
}

.common-btn:hover {
    border: 2px #C4A65E solid;
}

.inverse-btn {
    background-color: var(--bg-inverse-btn);
    border-radius: var(--br-xl-m);
    color: var(--text-white);
    padding: var(--space-sm) var(--space-3xl);
    border: 2px transparent solid;

    transition: var(--transition-fast);
}

.inverse-btn:hover {
    border: 2px var(--bg-inverse-btn);
    background-color: var(--bg-contrast);
    color: var(--bg-inverse-btn);
}

button:active {
    transform: scale(0.92);
}

/*--Inputs--*/

.select-tag {
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;

    background-image: url("data:image/svg+xml,%3Csvg width='10' height='5' viewBox='0 0 10 5' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M5 5L0 0H10L5 5Z' fill='%231D1B20'/%3E%3C/svg%3E%0A");
    background-repeat: no-repeat;
    background-position: right 12px center; 
    background-size: 10px 5px;

    max-width: 156px;
    padding: var(--space-xs) var(--space-3xl) var(--space-xs) var(--space-md);
    border-radius: var(--br-sm);
    border: 2px solid var(--accent-main);
    cursor: pointer;

    font-family: var(--font-body);
    font-size: var(--fs-2xs);
}

.select-tag:focus {
    border-radius: var(--br-sm) var(--br-sm) 0 0;
    overflow: hidden;
}

/*--Pop-Ups--*/

.modal-backdrop {
    display: flex;
    justify-content: center;
    align-items: center;

    position: fixed;
    inset: 0;   
    background-color: rgba(0, 0, 0, 0.15);
    z-index: 1000;

    transition: opacity 700ms ease;
}

.notification-container {
    display: flex;
    align-items: center;
    flex-direction: column;
    gap: 8px;

    position: fixed;
    top: 16px;
    left: 50%;
    transform: translateX(-50%);

    padding: 16px 24px;

    background-color: #FDF2ED;
    border-radius: 8px;

    box-shadow: 0 0 4px 2px rgba(0, 0, 0, 0.2) inset;
    z-index: 2000;

    font-family: 'Inter', sans-serif;
    font-weight: 400;

    transition: opacity 700ms ease;
}

.modal-container {
    display: flex;
    align-items: center;
    flex-direction: column;
    gap: 16px;

    position: fixed;

    padding: 16px 24px;

    background-color: #FDF2ED;
    border-radius: 8px;

    box-shadow: 0 0 6px 3px rgba(0, 0, 0, 0.25) inset;
    z-index: 2000;

    font-family: 'Inter', sans-serif;
    font-weight: 400;
}

.clear {
    opacity: 0;
}

.notification-text {
    font-size: 20px;  
    color: #000;
    text-align: center;
}

.modal-text {
    font-size: 32px;
    font-weight: 400;
    text-align: center;
}

.modal-button-wrapper {
    display: flex;
    flex-direction: row-reverse;
    gap: 32px;
}

.modal-button-wrapper button {
    font-family: 'Inter', sans-serif;
    font-weight: 600;
    font-size: 24px;
}

.confirm-button {
    background-color: #FF7974;
}

.cancel-button {
    background-color: #808080;
}

@media screen and (max-width: 768px) {

    /*==== TEXT ====*/
    h1 {
        font-size: var(--fs-3xl-m);
    }

    h2 {
        font-size: var(--fs-2xl-m);
    }

    h3 {
        font-size: var(--fs-md-m);
    }

    h4 {
        font-size: var(--fs-md-m);
    }

    p {
        font-size: var(--fs-xs-m);
    }

    /*-- Utils classes --*/

    .heading-text {
        font-size: var(--fs-md-m);
    }

    .extra-small-common-text {
        font-size: var(--fs-3xs-m);
    }

    .small-common-text {
        font-size: var(--fs-2xs-m);
    }

    .big-common-text {
        font-size: var(--fs-sm-m);
    }

    .biggest-common-text {
        font-size: var(--fs-md-m);
    }

    /*==== BUTTONS ====*/

    .common-btn {
        padding: var(--space-sm-m) var(--space-xl-m);
        border-radius: var(--br-xl-m);
    }

    .inverse-btn {
        padding: var(--space-sm-m) var(--space-lg-m);
        border-radius: var(--br-xl-m);
    }

    /*==== INPUTS ====*/

    .select-tag {
        padding: 
            var(--space-xs-m)
            var(--space-3xl-m)
            var(--space-xs-m)
            var(--space-sm-m);

        font-size: var(--fs-2xs-m);
        border-radius: var(--br-sm-m);
    }

    .select-tag:nth-child(1) {
        font-size: var(--fs-3xs-m);
    }

    /*==== MODALS / POPUPS ====*/

    .notification-container {
        padding: var(--space-md-m) var(--space-lg-m);
        border-radius: var(--br-md-m);
    }

    .modal-container {
        padding: var(--space-md-m) var(--space-lg-m);
        border-radius: var(--br-md-m);
    }

    .notification-text {
        font-size: var(--fs-md-m);
    }

    .modal-text {
        font-size: var(--fs-xl-m);
    }

    .modal-button-wrapper {
        gap: var(--space-lg-m);
    }

    .modal-button-wrapper button {
        font-size: var(--fs-md-m);
    }
}
