:root
{
    --main-color: #faf6ed;
    --text-color: #333333;
    --color-hover: #e6a902;
    --min-size-custom: 11.642px;
    --vw-offset-custom: 3.2px;
    --scaling-factor-custom: 1.363;

    /* titulos customs grandes <= 48px */
    --scaling-factor-custom-xl: 3.404;
}

body
{
    background-color: var(--main-color);
    font-family: 'Poppins', sans-serif;
    overflow: unset;
}

#navbar .container
{
    max-width: 1690px !important;
    margin: auto;
}
#blog-1
{
    background-size: 100% 100%;
    background-position: center;
    background-repeat: no-repeat;

    @media screen and (max-width: 767px)
    {
        background-size: auto 100%;
    }
    
}

nav .nav-link
{
    font-size: clamp(
       var(--min-size-custom),
        calc(
            var(--min-size-custom) + var(--scaling-factor-custom) *
            (1vw - var(--vw-offset-custom))
        ),
        20px
      );
    color: var(--text-color);
    padding: 0;
    margin: 1rem;
    transition: all 0.3s ease-in-out;
}

nav .navbar-nav
{
    width: 100%;
}

nav .navbar-nav .nav-item
{
    margin: auto;
}

nav .nav-link.active
{
    border-bottom: #e6a902 2px solid;
}

nav .nav-link:hover
{
    color: var(--color-hover);
    border-bottom: #e6a902 2px solid;
}

#navbar .btn
{
    background-color: var(--color-hover);
    color: var(--main-color);
    border-radius: 5px;
    padding: 0.5rem 1rem;
    transition: all 0.3s ease-in-out;
    border: var(--color-hover) 2px solid;
    font-size: clamp(
        var(--min-size-custom),
         calc(
             var(--min-size-custom) + var(--scaling-factor-custom) *
             (1vw - var(--vw-offset-custom))
         ),
         20px
       );
}

#banner .carousel .carousel-item
{
    position: relative;
    padding: 5%;
    justify-content: center;
    align-items: center;
   
    @media screen and (max-width: 1199px){
        padding: 5% 8% 10%;
    }

    @media screen and (max-width: 767px)
    {
        padding: 0 0;
        
    }
    
}

#banner .carousel .carousel-item::before
{
    content: '';
    position: absolute;
    width: 95%;
    height: 90%;
    margin: auto;
    z-index: -2;
    border: 5px solid var(--color-hover);
    opacity: 0;
    transition: all 0.3s ease-in-out;

    @media screen and (max-width: 1199px){

        width: 80%;
        height: 95%;

    }

    @media screen and (max-width: 767px)
    {
        content: none;
    } 

}

.animate__delay-0-5s
{
    --animate-delay: 0.5s;
}

.animate__delay-1s
{
    --animate-delay: 1s;
}

.animate__delay-1-5s
{
    --animate-delay: 2s;
}

#banner .carousel .carousel-item.active::before, #banner .carousel .active .banner-icon 
{
    opacity: 1;
}
#banner .carousel .carousel-item.active
{
    display: flex;
}

#banner .carousel .carousel-item .row
{
    max-width: unset;
}

#banner .carousel .carousel-control-prev-icon,
#banner .carousel .carousel-control-next-icon
{
    background-image: none;
    font-size: 30px;
    color: var(--color-hover);
}


#banner .carousel .carousel-item .banner-text
{
    padding: 2%;
}

#banner .carousel .carousel-item .banner-text p
{
    font-size: clamp(
        var(--min-size-custom),
         calc(
             var(--min-size-custom) + var(--scaling-factor-custom) *
             (1vw - var(--vw-offset-custom))
         ),
         30px
       );
    color: #c89202;
    margin: 0 2rem 1rem;
    text-align: justify;
    @media screen and (max-width: 1300px) {
        font-size: clamp(
            var(--min-size-custom),
             calc(
                 var(--min-size-custom) + var(--scaling-factor-custom) *
                 (1vw - var(--vw-offset-custom))
             ),
             20px
           );
    }
}

.row.content-row {
      display: flex;
      justify-content: space-between; /* o center, dependiendo de tu diseño */
  }

  #ultimasentradas1 {
    display: flex;
    flex-direction: column; /* Alinea los elementos en columna */
    align-items: center; /* Centra los elementos horizontalmente */
    width: 100%; /* Asegúrate de que ocupe el ancho completo */
    padding: 3rem; /* Espaciado interno */
}
.article-nav {
  padding: 20px;
}

.article-nav a {
  text-decoration: none;
  color: #2d2d2d;
  font-weight: 500;
  letter-spacing: 1px;
  font-size: 14px;
}

.icon-box {
  background-color: white;
  width: 30px;
  height: 30px;
  border-radius: 4px;
}

.bi {
  font-size: 16px;
  color: #2d2d2d;
}

.prev-article-btn .prev-text,
.next-article-btn .next-text {
  color: #2d2d2d;
}

.prev-article-btn,
.next-article-btn {
  display: flex;
  align-items: center;
}

.prev-article-btn:hover,
.next-article-btn:hover {
  text-decoration: none;
}

.article-header {
    display: flex;
    flex-direction: column;
    align-content: center;
            border-bottom: 1px solid #eee;
        }
        
        .article-title {
            font-size: 2.2rem;
            font-weight: 700;
            color: #2c3e50;
            margin-bottom: 15px;
            line-height: 1.3;
            text-align: center;
            font-family: 'Poppins', sans-serif;
        }
        
        .article-intro {
            font-size: 1.1rem;
            line-height: 1.6;
            margin-bottom: 5rem;
        }
        .article-content-text {
            font-size: 1.1rem;
            font-family: 'poppins', sans-serif;
            line-height: 1.6;
            margin-bottom: 1rem;
        }

#banner .carousel .carousel-item .banner-text img
{
    max-width: 80%;
    @media screen and (max-width: 1199px){
        margin-top: 10%;
        max-width: 35%;
    }
}

#banner .carousel .carousel-item .banner-img img
{
    width: 100%;
    height: auto;

    @media screen and (max-width: 1199px) and (min-width: 768px) 
    {
        max-width: 562px;
        margin-bottom: 5% !important;
    }

    @media screen and (max-width: 767px)
    {
        width: 75%;
        margin-bottom: 10% !important;
    }
}

#banner .carousel .carousel-inner
{
    width: 85%;
    margin: auto;
    padding: 1% 0;
}

#banner .banner-icon 
{
    position: absolute;
    width: auto;
    height: auto;
    z-index: -1;
    background-color: var(--main-color);
    opacity: 0;
    transition: all 0.3s ease-in-out;

    @media screen and (max-width: 1199px) 
    {
        width: 20%;
        height: auto;
        min-width: 70px;
    }

    @media screen and (max-width: 767px) 
    {   
        display: none;
    }
}

#banner .banner-icon.icon-1
{
   top: 0;
   left: 0;
   padding: 0% 1% 1% 0%;
}

#banner .banner-icon.icon-2
{
   top: 0;
   margin:-1%  auto auto;
   padding: 0 2%;
   @media screen and (max-width: 1199px) 
   {
        margin: 0 auto;
    }  
   
}

#banner .banner-icon.icon-3
{
   top: 0;
   right: 0;
   padding: 0% 0% 2% 2%;
}

#banner .banner-icon.icon-4
{
   bottom: 0;
   left: 0;
   padding: 2% 2% 0% 0%;
}

#banner .banner-icon.icon-5
{
   bottom: 0;
   margin: auto;
   padding: 0 3%;
}

#banner .banner-icon.icon-6
{
   bottom: 0;
   right: 0;
   padding: 1% 0% 1% 1%;
}


.pyramids
{
    position: absolute;
    width: auto;
    height: auto;
    z-index: -1;
    bottom: 0;
    left: 7%;

    @media screen and (max-width: 1199px){
        left: 0;
        width: 90%;
        max-width: 310px;
    }
}

.flower1
{
    position: absolute;
    width: auto;
    height: auto;
    z-index: 1;
    top: 4%;
    left: 0;
    opacity: 0.1;

    @media screen and (max-width: 1199px){
        top: 7%;
    }
}

.flower2
{
    position: absolute;
    width: auto;
    height: auto;
    z-index: 1;
    bottom: 10%;
    left: 0;
    opacity: 0.1;
}

.flower3
{
    position: absolute;
    width: auto;
    height: auto;
    z-index: 1;
    top:10%;
    right: 0;
    opacity: 0.1;
}

.row
{
    max-width: 1790px;
    margin: auto;
}

#ultimasentradas{
    width: 100%;
    padding-top: 2.125rem;
    padding-bottom: 0.125rem;
    background-color: #faf6ed;
    position: relative;
    background-repeat: no-repeat;
    background-size: contain;
    @media screen and (max-width: 860px){
        background-size: auto 100%;
    }
}
.blog-container {
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-top: 3rem;
    margin-bottom: 3rem;
}
.last-entries-header {
    display: block;
    font-size: 1.5rem;
    font-family: Poppins;
    color: #f49237;
    z-index: 2;
    text-decoration: underline;
    text-align: center;
    margin: 0 auto 1.88rem auto;
    width: 100%;
}

.last-entries-header::after {
    display: block;
    margin: 0.5rem auto 0 auto;
}

.card-vertical {
    width: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 6.125rem;
    margin-top: 2rem;
    z-index: 2;

    @media screen and (max-width: 960px)
    {
        flex-direction: column;
    }
}


.card {
    width: 100%;
    max-width: 382px;
    min-height: 278px;
    background: #fff;
    padding: 20px 0;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);

    @media screen and (max-width: 960px)
    {
        width: 90%;
        margin: 0 auto;
    }
}

.card-shadow {
    position: absolute;
    bottom: -6%;
    width: 115%;
    left: -8%;
    @media screen and (max-width: 999px)
    {
        display: none;
        
    }
}

.upper-card{
    display: flex;
    flex-direction: column;
    align-items: baseline;
    margin: 1.125rem 15px
}

.card-date {
    color: #666;
    font-size: 1rem;
    margin-bottom: 8px;
    font-size: 16px;
    font-family: Ebrima;
    font-weight: bold;
}

.card-title {
    color: #333;
    font-size: 1.56rem;
    line-height: 1.56rem;
    font-family: Ebrima;
    margin: 0;
}

.image-container {
    width: 100%;
    img {
        width: 100%;
        height: 100%;
        max-height: 276px;
    }
}

.read-more-card {
    width: 100%;
    display: flex;
    margin: 30px 0 0;
    padding: 0 0.5rem;
    background: transparent;
    align-items: center;
    justify-content: space-between;
}

.read-more-link {
    color: #2c3e50;
    text-decoration: none;
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: transform 0.5s ease;
}

.read-more-link:hover {
    transform: scale(1.1);
}

.read-more-link::after {
    content: '→';
    font-weight: bold;
}

.flex-justify-end{
    display: flex;
    justify-content: flex-end;
    margin: 15px;
}

.see-entries{
    text-decoration: none;
    font-family: Ebrima;
    font-size: 18px;
    color: #333333;
}

.see-entries:hover{
    color:  #333333;
}


.see-entries::after{
    content: '>';
    margin-left: 5px;
    font-family: Ebrima;
}

.fa-solid
{
    font-family: "Font Awesome 6 Solid Free";
}


.flip
{
    transform: rotate(180deg);
}

footer
{
    background: linear-gradient( rgba(0, 0, 0, 0.3), rgba(0, 0, 0, 0.3)),url(img/footer-background.webp);
    background-size: 100% 100%;
    background-repeat: no-repeat;
    background-position: center;
    padding: 4% 0 0%;
    color: #fff;
    @media screen and (max-width: 1199px){
        text-align: center;
        background-size: auto 100%;
    }
}

footer ul
{
    list-style: none;
    padding: 0;
    margin: 0;
}

footer ul li a
{
    position: relative;
    font-size: clamp(
        var(--min-size-custom),
         calc(
             var(--min-size-custom) + var(--scaling-factor-custom) *
             (1vw - var(--vw-offset-custom))
         ),
         20px
       );
    color: #ffffff;
    font-family: "Ebrima";
    text-decoration: none;
    transition: all 0.3s ease-in-out;
    line-height: 35px;
}

footer ul li a:hover
{
    color: #fff;
}

footer ul li a::before
{
    position: absolute;
    content: '';
    width: 0;
    height: 1px;
    background-color: #fff;
    transition: all 0.3s ease-in-out;
    bottom: 0;
    left: 0;
}

footer ul li a:hover::before
{

    width: 100%;
}

footer .icon {
	width: 40px;
	height: 40px;
	position: relative;
}

footer .footer-social a
{
    margin-right:3%;
    @media screen and (max-width:767px)
    {
        margin-bottom: 5%;
    }
}

footer .icon::before 
{
	content: '';
	background-image: url("img/redessociales.png");
	width: 100%;
	height: 100%;
	position: absolute;
	top: 0;
	left: 0;
}
footer .facebook::before 
{
	background-position: 0 0;
}
footer .x::before 
{
	background-position: -50px 0;
}
footer .youtube::before 
{
	background-position: -100px 0;
}

footer.instagram::before {
	background-position: -150px 0;
}

footer .copyright
{
    font-size: clamp(
        var(--min-size-custom),
         calc(
             var(--min-size-custom) + var(--scaling-factor-custom) *
             (1vw - var(--vw-offset-custom))
         ),
         18px
       );
    color: #ffffff;
    font-family: "Ebrima";
}

.animate__slower
{
    --animate-duration: 3s;
}
.show-mobile
{
    display: none !important;
}

.show-medium
{
    display: block !important;
}

.hidden-medium
{
    display: none !important;
}

@media screen and (min-width: 768px) and (max-width: 1199px)
{
    .show-medium
    {
        display: block !important;
    }

    .hidden-medium
    {
        display: none !important;
    }
    
}

@media screen and (max-width: 767px)
{
    .show-mobile
    {
        display: block !important;
    }

    .hidden-mobile
    {
        display: none !important;
    }
    
}

@keyframes rotate {
    0% {
        transform: rotate(0deg);
    }
    100% {
        transform: rotate(360deg);
    }
  }


@font-face {
    font-family: 'Poppins'; 
    src: url(fonts/Poppins-Regular.ttf) format('truetype');
    font-weight: normal;
    font-style: normal;
}

@font-face {
    font-family: 'Poppins'; 
    src: url(fonts/Poppins-Bold.ttf) format('truetype');
    font-weight: bold;
    font-style: normal;
}

@font-face {
    font-family: 'Poppins';
    src: url(fonts/Poppins-Italic.ttf) format('truetype');
    font-weight: normal;
    font-style: italic;
}

@font-face {
    font-family: 'Brush';
    src: url('fonts/BrushScriptOpti-Regular.otf') format('opentype');
    font-weight: normal;
    font-style: normal;
}

@font-face
{
    font-family:'Font Awesome 6 Free';
    src: url('fonts/Font\ Awesome\ 6\ Free-Regular-400.otf') format('opentype');
    font-weight: normal;
    font-style: normal;
}

@font-face
{
    font-family:'Font Awesome 6 Solid Free';
    src: url('fonts/Font\ Awesome\ 6\ Free-Solid-900.otf') format('opentype');
    font-weight: normal;
    font-style: normal;
}
@font-face
{
    font-family:'Font Awesome 6 Free';
    src: url('fonts/Font\ Awesome\ 6\ Brands-400.otf') format('opentype');
    font-weight: normal;
    font-style: normal;
}

@font-face {
    font-family: 'Ebrima';
    src: url(fonts/ebrima.ttf) format('truetype');
    font-weight: normal;    
    font-style: normal;
}