@import url('https://fonts.googleapis.com/css2?family=Nunito:wght@200;300;400;500;600;700;800;900;1000&display=swap');
/* !==================== CLASES REUTILIZABLES ====================!  */

/* !=== BUTTON 1 ===! */

.button_1 {
    color: var(--text-color);
    border: 2px solid var(--main-color);
    padding: 5px 20px;
    border-radius: 3px;
    -webkit-border-radius: 3px;
    -moz-border-radius: 3px;
    -ms-border-radius: 3px;
    -o-border-radius: 3px;
    text-transform: uppercase;
    transition: all ease-in 0.3s;
    -webkit-transition: all ease-in 0.3s;
    -moz-transition: all ease-in 0.3s;
    -ms-transition: all ease-in 0.3s;
    -o-transition: all ease-in 0.3s;
    text-decoration: none;
    font-weight: 500;
}

.button_1:hover {
    background: var(--main-color);
    color: var(--button-text-color);
}

/* !=== BOTON 2 ===! */

/* EJEMPLO HTML */
/*
<a href="#" class="button_2">
    <span></span>
    <span></span>
    <span></span>
    <span></span>
    Boton 2
</a>
*/

.button_2 {
    margin: 5px;
    font-family: 'Nunito', sans-serif;
    font-weight: 700;
    letter-spacing: 2px;
    text-decoration: none;
    text-transform: uppercase;
    display: inline-block;
    position: relative;
    padding: 10px 20px;
    color: #2ec98e;
    transition: 0.5s;
    overflow: hidden;
    z-index: 1;
}

.button_2:hover {
    background: #2ec98e;
    color: #050801;
    box-shadow: 0 0 5px #2ec98e, 0 0 5px #2ec98e, 0 0 10px #2ec98e, 0 0 20px #2ec98e;
    /* -webkit-box-reflect: below .5px linear-gradient(transparent, #0005); */
}

.button_2 span {
    position: absolute;
    display: block;
}

.button_2 span:nth-child(1) {
    top: 0;
    left: 0;
    width: 100%;
    height: 2px;
    background: #2ec98e;
    animation: animate1 1s linear infinite;
}

.button_2 span:nth-child(2) {
    top: -100%;
    right: 0;
    width: 2px;
    height: 100%;
    background: #2ec98e;
    animation: animate2 1s linear infinite;
    animation-delay: 0.25s;
}

.button_2 span:nth-child(3) {
    bottom: 0;
    right: 0;
    width: 100%;
    height: 2px;
    background: #2ec98e;
    animation: animate3 1s linear infinite;
    animation-delay: 0.50s;
}

.button_2 span:nth-child(4) {
    bottom: -100%;
    left: 0;
    width: 2px;
    height: 100%;
    background: #2ec98e;
    animation: animate4 1s linear infinite;
    animation-delay: 0.75s;
}

@keyframes animate1 {
    0% {
        left: -100%;
    }

    50%,
    100% {
        left: 100%;
    }
}

@keyframes animate2 {
    0% {
        top: -100%;
    }

    50%,
    100% {
        top: 100%;
    }
}

@keyframes animate3 {
    0% {
        right: -100%;
    }

    50%,
    100% {
        right: 100%;
    }
}

@keyframes animate4 {
    0% {
        bottom: -100%;
    }

    50%,
    100% {
        bottom: 100%;
    }
}

/* !=== COMBOBOX ===! */

.combobox {
    margin-bottom: 10px;
    background: transparent;
    border: 1px solid #ccc;
    border-radius: 4px;
    padding: 8px 12px;
    margin: 0 200px;
    width: 100%;
    max-width: 15vw;
    padding-right: 24px;
    background-position: right 8px center;
    background-repeat: no-repeat;
    background-image: url('data:image/svg+xml;charset=utf8,%3Csvg xmlns%3D"http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg" width%3D"14" height%3D"14" viewBox%3D"0 0 14 14"%3E%3Cpath fill%3D"%23999" d%3D"M0 4l6 6 6-6z"%3E%3C%2Fpath%3E%3C%2Fsvg%3E');
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
}

.combobox:hover {
    outline: none;
    background-image: url('data:image/svg+xml;charset=utf8,%3Csvg xmlns%3D"http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg" width%3D"14" height%3D"14" viewBox%3D"0 0 14 14"%3E%3Cpath fill%3D"%232ec78c" d%3D"M0 4l6 6 6-6z"%3E%3C%2Fpath%3E%3C%2Fsvg%3E');
}

.combobox:focus {
    outline: none;
    background-image: url('data:image/svg+xml;charset=utf8,%3Csvg xmlns%3D"http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg" width%3D"14" height%3D"14" viewBox%3D"0 0 14 14"%3E%3Cpath fill%3D"%232ec78c" d%3D"M0 4l6 6 6-6z"%3E%3C%2Fpath%3E%3C%2Fsvg%3E');
}

.combobox option {
    color: #000;
}

/* TEXT HOVER */
.color_hover {
    color: var(--text-color);
    transition: all 0.5s ease;
}

.color_hover:hover {
    color: var(--main-color);
}

/* BORDER HOVER */

.border_hover {
    color: var(--text-color);
    transition: all 0.5s ease;
}

.border_hover:hover {
    border-color: var(--main-color);
}