/* ===================================
    Crafto - Startup
====================================== */
/* font */
@import url('https://fonts.googleapis.com/css2?family=Manrope:wght@200;300;400;500;600;700;800&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Rubik:wght@300;400;500;600;700;800;900&display=swap');
/* variable */
:root {     
    --base-color: #19e089;
    --alt-font: 'Manrope', sans-serif;
    --primary-font: 'Rubik', sans-serif;
    --dark-gray: #252840;
    --medium-gray: #868d98;
} 
/* reset */
body {
    font-size: 17px;
    line-height: 32px; 
}
a {
    color: #868d98;
} 
b, strong {
    font-weight: 600;
}
::-webkit-input-placeholder {
    color: #868d98 !important;
    text-overflow: ellipsis;
}
::-moz-placeholder {
    color: #868d98 !important;
    text-overflow: ellipsis;
    opacity:1;
}
:-ms-input-placeholder {
    color: #868d98 !important;
    text-overflow: ellipsis;
    opacity:1;
}
/* bg color */
.bg-gradient-emerald-blue-emerald-green {
    background-image:linear-gradient(50deg,#645ca4 0,#19e089 100%);
}
.bg-gradient-black-green {
    background-image: linear-gradient(to right top, #1f2021, #1b1d1c, #1b1d1c, #222523, #333c37);
}
/* text color */
.text-gradient-emerald-blue-emerald-green {
    background-image: linear-gradient(to right top, #645ca4 0,#19e089);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}
.texto-gradient-emerald-blue-emerald-green {
    background: linear-gradient(50deg, #645ca4 0%, #19e089 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    font-weight: bold !important;
    font-size: 22px !important;
}
/* button gradient */
.btn-gradient-emerald-blue-emerald-green {
    background-image: linear-gradient(to right, #645ca4, #19e089, #09afea);
    background-size: 200% auto;
    color: var(--white);
}
/* btn */
.btn{
    font-weight: 500;
    text-transform: inherit;
}
.btn.btn-extra-large {
    font-size: 22px;
}
.btn.btn-large {
    font-size:17px;
}
.btn.btn-medium {
    font-size: 16px;
}
.btn.btn-small {
    font-size: 15px;
}
.btn.btn-very-small {
    font-size: 13px;
}
.btn.btn-large .btn-icon i {
    top: 1px;
}
.btn.btn-link {
    padding: 0 0 2px;
}
.btn.btn-link-gradient {
    padding: 0 0 3px;
}
/* header */
header .navbar-brand img {
    max-height: 45px;
}
.navbar .navbar-nav .nav-link {
    font-size: 17px;
    letter-spacing: .5px;
    padding: 10px 22px
}
.push-menu .close-menu {
    right: 30px;
    top: 30px;
}
/* newsletter style  */
.newsletter-style-02 input {
    font-size: 14px;
}
/* footer */
footer ul li {
    margin-bottom: 2px;
}
/* media query responsive */
@media (max-width: 1199px) {
    .navbar .navbar-nav .nav-link {
        padding: 10px 17px;
    }
}

.cursor-pointer {
    cursor: pointer;
    transition: opacity 0.3s ease;
}

.cursor-pointer:hover {
    opacity: 0.9;
}

/* Estilos para modal de imágenes */
#imageModal .modal-dialog {
    max-width: 80vw; /* Reducido de 90vw a 80vw */
    margin: 3rem auto; /* Añadimos margen arriba y abajo */
}

#imageModal .modal-body img {
    max-height: 80vh; /* Limita la altura máxima de la imagen */
    width: auto; /* Mantiene la proporción de la imagen */
    margin: 0 auto; /* Centra la imagen horizontalmente */
    display: block; /* Asegura que los márgenes automáticos funcionen */
}

#imageModal .btn-close {
    position: absolute;
    right: -30px;
    top: -30px;
    z-index: 1050;
}

@media (max-width: 767px) {
    #imageModal .btn-close {
        right: 10px;
        top: 10px;
    }
}

.btn-close-custom {
    position: absolute;
    right: -40px;
    top: -40px;
    width: 32px;
    height: 32px;
    background: #fff;
    border: none;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 1050;
    transition: all 0.3s ease;
    box-shadow: 0 0 10px rgba(0,0,0,0.2); /* Añadimos sombra para mejor visibilidad */
}

.btn-close-custom span {
    font-size: 24px;
    line-height: 1;
    color: #000;
    font-weight: 300;
}

.btn-close-custom:hover {
    transform: rotate(90deg);
}

@media (max-width: 767px) {
    .btn-close-custom {
        right: 10px;
        top: 10px;
    }
}
/* Fin de Estilos para modal de imágenes */

.text-color-morado{
    color: #645ca4;
}