@font-face {
    font-family: "Brice";
    src: url("../assets/font/Brice-Regular.otf")
      format("opentype");
    font-weight: 400;
    font-style: normal;
  }

  @font-face {
    font-family: "Brice";
    src: url("../assets/font/Brice-Light.otf")
      format("opentype");
    font-weight: 300;
    font-style: normal;
  }
  @font-face {
    font-family: "Brice";
    src: url("../assets/font/Brice-Bold.otf")
      format("opentype");
    font-weight: 700;
    font-style: normal;
  }
  @font-face {
    font-family: "Brice";
    src: url("../assets/font/Brice-SemiBold.otf") format("opentype");
    font-weight: 600;
    font-size: normal;
  }

    .b-semi {
        font-family: "Brice";
        font-weight: 600;
        font-style: normal;
    }
  .b-bold {
    font-family: "Brice";
    font-weight: 700;
    font-style: normal;
  }
  .b-light {
    font-family: "Brice";
    font-weight: 300;
    font-style: normal;
  }
  .b-reg {
    font-family: "Brice";
    font-weight: 400;
    font-style: normal;
  }


/* General Styles */
* {
    margin: 0;
    padding: 0;
}

body {
    font-family: 'Brice', sans-serif;
    
}

/* ---------------------------- Section 1 ---------------------------------------------- */
ul.navbar-nav {
    display: flex;
    gap: 13px;
    
}
section.noticias-section {
    background-color: #DFD5CF;
}

.br-20px {
    border-radius: 20px;
}

section.video-section {
    background-color: #F1E8E3;
}

div.rw-roja {
    background-color: #ED4646;
    margin: 10px;
}
img.icon-rem {
    width: 3rem; height: 3rem;
}
img.footer-icon{
    width: 1.5rem; height: 1.5rem;
}

/************************* hover for navbar *********************************************************/


html, body {
    overflow-x: hidden; /* Evita el scroll horizontal */
    width: 100vw; /* Asegura que el ancho no se expanda más allá de la pantalla */
    margin: 0;
    padding: 0;
}



.navbar {
    padding: 15px 30px;
    transition: all 0.8s ease;
    z-index: 1000;
  }
  
  /* Controlar el tamaño del logo */
  /* Estilo base para el logo */
  .navbar-brand img {
  transition: transform 0.5s ease, filter 0.5s ease;
  max-height: 100%;

  }
  
  /* Estilo hover para el logo */
  .navbar-brand img:hover {
  transform: scale(1.1); /* Aumenta ligeramente el tamaño */
  filter: hue-rotate(360deg); /* Efecto de rotación de color */

  }
  /* Reducir el tamaño del logo cuando la navbar se hace "sticky" */


 
  .nav-link:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 20px rgb(255, 253, 253);
  }
  .navbar.sticky .navbar-brand img {
  max-height: 80px;
  transform: translateY(-5px);

  }
  
  
  
  
  /**********************************************************************************/


.navbar-toggler {
    color: #ffffff; /* White color */
    border-color: #ffffff; /* White border */
    border: none!important;
}

/* Hero Section Styles */
.hero-section {
    height: 85vh!important; /* Full viewport height */
    background-size: cover;
    background-position: center;
    color: #ffffff; /* White text */
    position: relative;
    text-align: center;
}

/* Overlay for better text visibility */
.hero-section::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5); /* Dark overlay */
    z-index: 0;
}

.hero-content {
    position: relative;
    z-index: 1; /* Above overlay */
    color: #ffffff;
    text-align: right;
    font-size: 55px;
    font-weight: 400;
    line-height: 1.2; /* Line height */
    width: 1200px;
    padding: var(--bs-gutter-x, .75rem);
}

.hero-content h1 {
    margin-top: 20%;
    float: right;
    max-width: 726px;
    text-align: right;
    font-size: clamp(40px, 5vw, 55px);
}

/* Navbar Styles */
.navbar {
    z-index: 2; /* Above image and overlay */
}
 
.navbar.scrolled {
    background-color: #000000b1;
    color: white;
    transition: background-color 0.9s ease, color 0.9s ease;
}

#scrol {
   
    transition: all 0.3s ease-in-out;
}

#scrol.scrolled {
    padding: 5px;
}


.navbar .nav-link {
    color: #ffffff !important; /* White color */
    border-radius: 15.5px;
    border: 2px solid #ffffff; /* White border */
    font-family: 'Brice';
    font-size: 15px;
    font-weight: 300;
    margin-top: 10px;
    line-height: normal;
     /* Fixed width */
    /*padding-top: 0.25rem!important;
    padding-bottom: 0.57rem!important;*/
}

.navbar .nav-link:hover {
    color: #f08ce8 !important; /* Hover color */
}

/* Responsive Styles */
@media (max-width: 990px) {
    .hero-content {
        font-size: 33px;
        line-height: 1.2;
        text-align: center;
        margin-left: 0; /* Center text */
    }


    .navbar{
        background-color: #000000;
        color: white;
    }


    .hero-section {
        height: 60vh; /* Adjust height */
    }

    .navbar .nav-link {
        font-size: 15px; /* Smaller font size */
        padding: 8px 10px; /* Adjust padding */
        width: 100%; /* Fixed width */
    }

    .navbar-brand img {
        width: 80px; /* Logo size */
    }
}

@media (max-width: 600px) {
    .hero-content {
        font-size: 24px; /* Smaller font size */
        margin-top: 20%; /* Adjust margin */
    }

    .navbar .nav-link {
        font-size: 15px; /* Smaller font size */
    }

    .navbar-brand img {
        width: 120px; /* Logo size */
    }
    
    .navbar{
        background-color: #000000;
        color: white;
    }

}

@media (max-width: 400px) {
    .hero-content {
        font-size: 18px; /* Smaller font size */
    }

    .navbar .nav-link {
        font-size: 15px; /* Smaller font size */
    }

    .navbar-brand img {
        width: 120px /* Logo size */
    }

    .navbar{
        background-color: #000000;
        color: white;
    }

    
}

/* ---------------------------- Section 2 ---------------------------------------------- */
.seconde-section {
    background-color: #F1E8E3;
}

.btn-outline-secondary {
    border-radius: 10px;
}

.container{
    max-width: 1200px!important;
}

.row{
    max-width: 1200px;
    padding: var(--bs-gutter-x, .75rem);
}

#rowVideo{
    padding: 0px!important;
}

.p-section2{
    font-family: 'Brice', sans-serif!important;
    font-weight: 300!important;
    font-size: 20px;
}
/*
.btn{
    padding-top: 0.25rem!important;
    padding-bottom: 0.57rem!important;
}*/

.btn {
border: 2px solid #333;
}

/* ________ section 3 modified____________________________________________________________________________________ */
.card-horizontal {
    display: flex;
    flex-direction: row;
    border: none;
    background-color: #ffffff;
    border-radius: 10px;
    overflow: hidden;
  }

  .card-horizontal img {
    height: auto;
    object-fit: cover;
	      width: 25%;
  }
  .card-body {
    padding: 20px;
    display: flex;
    flex-direction: column;
    justify-content: center;
  }
  .card-date {
    font-size: 0.9rem;
    margin-bottom: 5px;
  }
  .card-title {
    font-size:2.5rem;
    font-weight: 700;
    margin-bottom: 10px;
  }
  .card-text {
    font-size: 1rem;
    margin-bottom: 10px;
    font-weight: 300;
  }
  @media (max-width: 768px) {
    .card-horizontal {
        flex-direction: column;
        
    }
    .card-horizontal img {
        width: 100%;
        height: auto;
    }
    }

    .pr-0 {
        padding-right: 0!important;
      }
      .pl-0 {
        padding-left: 0!important;
      }

      .transition-effect {
        transition: transform 0.3s ease, box-shadow 0.3s ease;
      }
      
      .transition-effect:hover {
        transform: translateY(-10px); /* Mueve el contenido ligeramente hacia arriba */
        box-shadow: 0 10px 20px rgba(0, 0, 0, 0.15); /* Añade una sombra */
      }
/* ---------------------------- Section 3 ---------------------------------------------- */
.noticias-section {
    min-height: 522px;
    flex-shrink: 0;
}

/* General styles for noticias-section */
.noticias-section {
    background-color: #DFD5CF;
    padding: 2rem 0;
}

/* Button styles */
.btn-more-news {
    display: inline-block;
    padding: 0.5rem 1rem;
    color: #000;
    border: 2px solid #333;
    border-radius: 25px;
    font-size: 14px;
    text-decoration: none;
}

.btn-more-news:hover {
    background-color: #333;
    color: #fff;
    transition: 0.3s;
}


/* ---------------------------- Section 4 ---------------------------------------------- */

div.col {
    padding-left: 0 !important;
    padding-right: 0 !important;
}

#columnVideo{
    border-radius: 15px!important;
}


/* ---------------------------- Section 5 ---------------------------------------------- */
.footer-section {
    background-color: #000; /* Black background */
    color: #fff; /* White text */
    font-family: 'Brice', sans-serif;
    font-weight: 300; /* Light font weight */
}

.footer a {
    color: #fff; /* White text for links */
    text-decoration: none;
    margin-bottom: 0.5rem;
    font-family: 'Brice', sans-serif;
    font-weight: 300; /* Light font weight */
}

.footer a:hover {
    color: #ddd; /* Light gray on hover */
}

.footer-social-icons a {
    margin-right: 0.5rem;
}

.footer-logo img {
    width: 100px; /* Adjust logo size as needed */
}

.footer p, .footer a {
    margin: 0; /* Remove extra margin for better alignment */
    font-family: 'Brice', sans-serif;
    font-weight: 300; /* Light font weight */
}

.footer .row {
    padding-bottom: 1rem;
}

.footer .row:last-child {
    padding-top: 1rem;
    margin-bottom: 0; /* No margin bottom */
}

@media (max-width: 500px) {
    
    .footer-section {
        padding: 0;
        margin: 0;
        bottom: 0;
    }

    .py-5 {
        margin-bottom: 0!important; /* Set margin-bottom to 0 */

    }

    .footer {
        margin-bottom: 0!important; /* Set margin-bottom to 0 */
    }

    .footer .row {
        padding: 0;
        margin: 0;
    }

  
    #info-fundacio{
        padding-left: 0px!important;
    }

    .footer .col-md-6 {
        width: 100%;
        max-width: none;
        padding-left: 0px!important;
        padding-right: 0px!important;
    }

    .footer-social-icons {
        display: flex;
        justify-content: center;
        margin-bottom: 1rem;
    }

    .footer-social-icons img {
        width: 2rem;
        height: 2rem;
    }

    .footer small {
        display: block;
        margin-top: 1rem;
        text-align: center;
        background-color: #555;
        padding: 1.5rem;    
        width: 100%;
        padding-left: 0px!important;
        padding-right: 0px!important;
       
    }
}
.c-inherit{
    color: inherit!important;
  }
  


.navbar.sticky {
    min-height: 5vh;
}
.navbar.sticky {
    background: #1a1a1a;
    padding: 0px 0px;
}


.border-white {
    border: none !important;
}