:root {
  --primary-color: #872323;
}
@font-face {
  font-family: 'GG';
  font-style: normal;
  font-weight: 100 300 400 700 900;
  font-display: swap;
  src: url('fonts/GeistVariableVF.woff2');
}

html, body, div, span, object, iframe,
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
abbr, address, cite, code,
del, dfn, em, img, ins, kbd, q, samp,
small, strong, sub, sup, var,
b, i,
dl, dt, dd, ol, ul, li,
fieldset, form, label, legend,
table, caption, tbody, tfoot, thead, tr, th, td,
article, aside, canvas, details, figcaption, figure, 
footer, header, hgroup, menu, nav, section, summary,
time, mark, audio, video {
    margin:0;
    padding:0;
    border:0;
    outline:0;
    font-size:100%;
    vertical-align:baseline;
    background:transparent;
}

body {
    line-height:1.50;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    font-smooth: auto;
    overflow-x: hidden;
    color: #474747;
    font-family: 'GG', sans-serif;
    background-color: #fff;
    font-weight: 300;
    
    /*#EEEFE9*/
}   
body main {
  animation: fadeIn 250ms ease-in forwards;
  background-size: 100% auto;
}
@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}


article,aside,details,figcaption,figure,
footer,header,hgroup,menu,nav,section { 
    display:block;
}

nav ul {
    list-style:none;
}

blockquote, q {
    quotes:none;
}

blockquote:before, blockquote:after,
q:before, q:after {
    content:'';
    content:none;
}
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  -webkit-clip-path: inset(50%);
  clip-path: inset(50%);
  border: 0;
}
a {
    margin:0;
    padding:0;
    font-size:100%;
    vertical-align:baseline;
    background:transparent;
}
header.site-header {
  background-size: cover;
  background-position: center;
  background-color: #232323;
  transition: background-image 1s ease-in-out;
}
/* change colours to suit your needs */
ins {
    background-color:#ff9;
    text-decoration:none;
}

/* change colours to suit your needs */
mark {
    background-color:#ff9;
    font-style:italic;
    font-weight:bold;
}

del {
    text-decoration: line-through;
}

abbr[title], dfn[title] {
    border-bottom:1px dotted;
    cursor:help;
}

table {
    border-collapse:collapse;
    border-spacing:0;
}

/* change border colour to suit your needs */
hr {
    display:block;
    height:1px;
    border:0;   
    border-top:1px solid #f1f1f1;
    margin:2em 0;
    padding:0;
}

input, select {
    vertical-align:middle;
}

/* container */
.container {
  padding: 0 1rem;
  margin: auto;
  max-width:  998px;
}

main::after {
  display: block;
  content: ' ';
  clear: both;
}
img.logo-romex {
    width: 100%;
    max-width: 350px;
}
@media (max-width: 997px) {
  img.logo-romex {
    width: auto;
    height: 54px;
  }
}
#menu a {
    color: initial;
    text-decoration: none;
    color: #fff;
  }
.main_header a {
  color: inherit;
  text-decoration: none;
}
nav.lang-selector-desktop ul {
    display: flex;
    gap: 1rem;
}
@media (max-width: 997px) {
  .lang-selector {
    display: block;
  }
  .lang-selector-desktop {
    display: none;
  }
  body > main {
    min-height: calc(100vh - 204px);
  }
  body > header {
    background-color: #ffffff;
    margin-bottom: 1rem;
    padding: 1rem 0;
  }
  .main_header {
    position: absolute;
    left: 70px;
    width: calc(100% - 70px);
    overflow: hidden;
    z-index: 2;
    height: 50px;
  }
  .site-header {
    box-shadow: rgba(33, 35, 38, 0.1) 0px 10px 10px -10px;
    border-bottom: 1px solid #efefef;
  }
  .main_header .title {
    display: block;
    font-size: 1.5rem;
  }
  .main_header .subtitle {
    display: block;
    margin-top: -6px;
    font-size: 0.8rem;
  }
  .ugrlogo {
    display: none;
  }
  #menuToggle
  {
    display: block;
    position: relative;  
    z-index: 1;
    -webkit-user-select: none;
    user-select: none;
    padding: 1rem;
  }

  #menuToggle a
  {
    text-decoration: none;
    color: #232323;
    font-size: 1rem;
    transition: color 0.3s ease;
    display: block;
    padding: 0.75rem 0;
  }



  #menuToggle input
  {
    display: block;
    width: 45px;
    height: 33px;
    position: absolute;
    top: 5px;
    left: 0.4rem;
    cursor: pointer;
    opacity: 0;
    z-index: 2;
    -webkit-touch-callout: none;
  }


  #menuToggle span
  {
    display: block;
    width: 33px;
    height: 4px;
    margin-bottom: 5px;
    position: relative;
    
    background: #fff;
    border-radius: 3px;
    
    z-index: 1;
    
    transform-origin: 4px 0px;
    
    transition: transform 0.5s cubic-bezier(0.77,0.2,0.05,1.0),
                background 0.5s cubic-bezier(0.77,0.2,0.05,1.0),
                opacity 0.55s ease;
  }

  #menuToggle span:first-child
  {
    transform-origin: 0% 0%;
  }

  #menuToggle span:nth-last-child(2)
  {
    transform-origin: 0% 100%;
  }


  #menuToggle input:checked ~ span
  {
    opacity: 1;
    transform: rotate(45deg) translate(-2px, -1px);
    background: #232323;
  }


  #menuToggle input:checked ~ span:nth-last-child(3)
  {
    opacity: 0;
    transform: rotate(0deg) scale(0.2, 0.2);
  }


  #menuToggle input:checked ~ span:nth-last-child(2)
  {
    transform: rotate(-45deg) translate(0, -1px);
  }

  #menu .main_menu
  {
    position: absolute;
    width: 350px;
    margin: -100px 0 0 -50px;
    padding: 130px 25px 20px 50px;
    background: #ffffff;
    list-style-type: none;
    -webkit-font-smoothing: antialiased;
    min-height: calc(100vh - 109px);
    overflow-y: auto;
    transform-origin: 0% 0%;
    transform: translate(-100%, 0);
    box-shadow: 3px 28px 29px rgba(0,0,0,.29);
    transition: transform 0.5s cubic-bezier(0.77,0.2,0.05,1.0);
  }
   
  #menuToggle input:checked ~ div.main_menu
  {
    transform: none;
  }

  #menuToggle a:hover
  {
      background-color: #F0F0D1;
  }
  
  .main_menu > ul > li > a {
    border-top: 1px solid #dbdbdb;
  }
  #menuToggle .has-sub-category > a {
    cursor: default;
  }
  #menuToggle .has-sub-category > a:hover {
    background-color: transparent;
  }
  .has-sub-category > ul {
    padding-left: 2rem;
  }
}

nav.lang-selector-desktop a {
  background-color: rgb(255, 255, 255, 0.8);
  padding: 8px;
  border-radius: 4px;
}

.home img {
  width: auto;
  max-width: calc(100% - 16px);
  height: auto;
  box-shadow: 3px 2px 18px rgba(0,0,0,.08);
  margin-bottom: 2rem;
  border: 8px solid #fff;
  border-radius: 4px;
}
.image-right, .image-left {
  display: block;
  margin: auto;
  text-align: center;
}
.image-right > img, .image-left > img{
  box-shadow: 3px 2px 18px rgba(0,0,0,.08);
  border: 8px solid #fff;
  border-radius: 4px;
}

@media (min-width: 998px)  {
  .main_menu > ul > li > a {
      display: block;
      white-space: nowrap;
      text-overflow: ellipsis;
      padding: 1.2rem 0.4rem;
  }
}
@media (max-width: 1325px)  {
  .main_menu > ul > li > a {
      display: block;
      white-space: nowrap;
      text-overflow: ellipsis;
      padding: 1.2rem 0.2rem;
      overflow: hidden;
  }
}

@media (min-width: 998px) {

 .image-left {
  float: left;
  text-align: inherit;
  margin-bottom: 1.5rem;
  }
  .image-right {
    float: right;
    text-align: inherit;
    margin-bottom: 1.5rem;
    margin-left: 1.5rem;
  }
  .image-right > img, .image-left img {
    display: block;
    float: none;
  }


  body > main {
    min-height: calc(100vh - 330px);
  }
  .home {
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-gap: 4rem;
    font-size: 1.2rem;
  }
 
  #menu {
    background-color: rgba(255, 255, 255, 0.3);
    margin-bottom: 1.5rem;
    margin-top: 1.5rem;
  }
  .main_header a {
    color: inherit;
    text-decoration: none;
  }
  .main_header .title {
    display: block;
    font-size: 2.5rem;
  }
  .subtitle {
    font-size: 1.4rem;
  }
  .main_header {
    margin: auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 2.5rem 1rem;
    max-width:  998px;
  }
  .ugrlogo {
    padding-right: 1rem;
  }
  #menuToggle input, #menuToggle span {
    display: none;
  }
  .main_menu {
    margin: auto;
    display: flex;
    justify-content: space-between;
    max-width: 998px;
  }
  .main_menu ul {
    list-style: none;
    display: flex;
    gap: 1rem;
  }

   

  .main_menu > ul.lang-selector > li {
    margin-right: 0;
  }
  .main_menu > ul > li > a {
    padding: 1.2rem 0.5rem;
    display: block;
    border-bottom: 2px solid transparent;
  }

  .main_menu > ul > li:hover > a, .main_menu > ul > li.active:not(.has-sub-category) > a {
    border-bottom: 2px solid #ffffff; 
    transition: all 0.2s ease-in-out;
  }
  .main_menu > ul:hover > li > a.active {
    background-color: #F8F8F6;

  }


  .main_menu ul li > ul {
    height: 0;
    overflow: hidden;
    display: block;
    position: absolute;
    max-width: 300px;
 }
  .main_menu ul li:hover > ul {
    background-color: #fff;
    box-shadow: 3px 18px 29px rgba(0,0,0,.29);
    border-radius: 10px;
    height: auto;
    transition: all 0.2s ease;
    margin-top: 0rem;
    z-index: 1;
  }
  .main_menu ul li:hover > ul li {
    display: block;
  }
  .main_menu ul li:hover > ul li a {
    padding: 10px 15px;
    display: block;
    border-bottom: 1px solid #f0f0f0;
  }


}

/* contenidos */

.subtitulo, main h2 {
  font-weight: 300;
  margin: 2rem 0;
}

/* text style */
h6, h5, h4, h3, h2, h1 {
  margin-top: 0;
  margin-bottom: 0.5rem;
  font-weight: 300;
  line-height: 1.4;
  color: var(--primary-color);
}
.main_content {
  font-size: 1.125rem;
  padding-top: 1rem;
  padding-bottom: 1rem;
}
.main_content img {
  max-width: 100%;
  height: auto;
}
h1 {
    margin: 2rem 0;
    font-size: clamp(1.75rem, 0.625rem + 3.6vw, 2.875rem);
    max-width: 600px;
    text-wrap: balance;
    line-height: 1em;
    letter-spacing: -0.02em;
    
}

 
h2 {
  font-size: clamp(1.5rem, 1rem + 1.6vw, 2rem);
}

h3 {
  font-size: clamp(1.5rem, 1rem + 1.6vw, 2rem);
  font-weight: 300;
}

h4 {
  font-size: 1.5rem;
}


h5 {
  font-size: 1.25rem;
}

h6 {
  font-size: 1rem;
}

main a {
    text-decoration: none;
    display: inline-block;
    color: var(--primary-color);
}
main a::after {
    content: '';
    display: block;
    width: 0;
    height: 2px;
    background: var(--primary-color);
    transition: width .3s;
}
main a:hover::after {
    width: 100%;
    transition: width .3s;
}
.row-video h3 {
    font-size: 1.25rem;
    text-wrap: balance;
}
.row-video video, .row-video iframe {
    aspect-ratio: 16 / 9;
    width: 100%;
  }
@media (min-width: 58rem) {
  .row {
      display: flex;
      gap: 3rem;
  }
  .row > .col-25 {
    flex: 33%;
  }
  .row > .col-75 {
    flex: 66%;
  }
  .row > .col-main {
    padding-right: 3rem;
    border-right: 1px solid #f1f1f1;
  }
  .row-base {
    align-items: flex-end;
  }
  .row-video {
    display: flex;
    flex-wrap: wrap;
    margin: -1rem; /* Ajuste para el gap */
    align-items: flex-end;
  }
  
  

  .col-50 {
    flex: 0 0 50%; /* 50% del ancho menos el espacio */
    gap: 2rem;
    box-sizing: border-box; /* Incluye padding y border en el ancho y alto */
  }

}
.text-small {
  font-size: 1rem;
}


@media (max-width: 600px) {
  .col-50 {
    flex-basis: 100%; /* En pantallas pequeñas, cada elemento ocupa el 100% */
  }
}
body > main ul, body > main ol {
  margin: 2rem 0;
  padding-left: 1rem;
}

body main ul li > ul {
  margin: 1rem 0 0 0;
}
main ol li {
  margin-bottom: 1rem;
}
main ol li ol {
  margin-top: 1rem;
}


p {
  margin-top: 0;
  margin-bottom: 1em;
  line-height: 160%;
}



/* paginas */
.col2 {
  column-count: 2;
  gap: 3rem;
  margin-bottom: 3rem;
}
.main_content a[href^="mailto:"]::before {
  content: "\eef6";
  font-family: 'remixicon' !important;
  font-style: normal;
  -webkit-font-smoothing: antialiased;
  display: inline-block;
   display: inline-block;
  margin-right: 0.5rem;
  color: inherit;
}

.main_content a[href^="https://www.instagram.com"]::before {
  content: "\ee66";
  font-family: 'remixicon' !important;
  font-style: normal;
  -webkit-font-smoothing: antialiased;
  display: inline-block;
   display: inline-block;
  margin-right: 0.5rem;
  color: inherit;
}
.main_content a[href^="https://x.com"]::before {
  content: "\f3e6";
  font-family: 'remixicon' !important;
  font-style: normal;
  -webkit-font-smoothing: antialiased;
  display: inline-block;
   display: inline-block;
  margin-right: 0.5rem;
  color: inherit;
}
.main_content a[href$=".pdf"]::before {
  content: "\ea7e";
  font-family: 'remixicon' !important;
  font-style: normal;
  -webkit-font-smoothing: antialiased;
  display: inline-block;
   display: inline-block;
  margin-right: 0.5rem;
  color: inherit;
}

/* miembros */
.miembros_content ul {
  margin-top: 2rem;
  padding-left: 0;
  margin-left: 0;
  li {
    font-size: 1rem;
    display: flex;
    align-items: center;
    gap: 3rem;
    margin-bottom: 4rem;
    b, strong {
      font-size: 1.3rem;
      text-transform: uppercase;
      display: block;
      margin-bottom: 0.5rem;
      color: var(--primary-color);
      font-weight: 300;
  
    }
    img {
      aspect-ratio: 1 / 1;
      width: 300px;
      height: 300px;
      object-fit: cover;
      border-radius: 8px;
    }
  }
}
@media (max-width: 992px) {
  .miembros_content ul {
    margin-top: 2rem;
    padding-left: 0;
    margin-left: 0;
    li {
      font-size: 1rem;
      display: flex;
      flex-direction: column;
      align-items: center;
      gap: 3rem;
      margin-bottom: 4rem;
      b, strong {
        font-size: 1.3rem;
        text-transform: uppercase;
        display: block;
        margin-bottom: 0.5rem;
        color: var(--primary-color);
        font-weight: 300;
    
      }
      img {
        aspect-ratio: 1 / 1;
        width: 300px;
        height: 300px;
        object-fit: cover;
        border-radius: 8px;
      }
    }
  }
}
.footer p {
  padding: 0;
  margin:  0;
}
.footer {
  padding: 2rem 0;
  background-color: #ffffff;
  border-top: 3px solid #872323;
  max-width: 998px;
  margin: 3rem auto 0;
}
.footer-wrapper {
    display: flex;
    align-items: center;
    gap: 3rem;
    font-size: 0.8rem;
    margin: auto;
    justify-content: space-between;
}
.logos {
    display: flex;
    gap: 3rem;
}
.logos img {
  height: 70px;
  width: auto;
  mix-blend-mode: darken;
}
@media (max-width: 58rem) {
  .footer-wrapper {
    flex-direction: column;
    text-align: center;
    gap: 1rem;
  }
  .logos {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
    justify-content: center;
  }
  .logos img {
    height: 50px;
  }
}

@media(max-width: 600px) {
  .index_content img {
    float: none !important;
    clear: both;
    margin: 20px 0; 
    display: block;
  }
}