:root {
    --bg-color: #83b6db;
    --second-bg-color: #ededed;
    --text-color: #3781b2;
    --main-color: #f57f50;
  }
  
html {
    display: block;
}

body {
    font-size: small;
    line-height: 1;
    text-align: center;
    overflow-y: scroll;
    margin: 0;
    padding: 0 0 30px 0;
    background-color: #FFF;
    font-family: Arial, Helvetica, sans-serif;
    -webkit-text-size-adjust: none;
    zoom: 120%;
}

#mix {
    margin: 0 auto;
    text-align: left;
    clear: both;
    width: 708px;
    padding: 0;
}

#header {
    margin: 46px 0 0 12px;
    width: 178px;
    float: left;
}

#logo {
    width: 130px;
    display: block;
}
#header h1 {
    font-size: 30px;
    -webkit-text-size-adjust: 115%;
    white-space: nowrap;
}
#header p {
    padding: 2px 0 0 1px;
    font-size: 10px;
    color: #888;
    white-space: nowrap;
}
#navbar {
    font-size: 12px;
    -webkit-text-size-adjust: 130%;
    float: left;
    margin: 75px 0 0 0;
}
#navbar a {
    padding: 1px 4px;
    font-weight: bold;
    margin: 0 2px;
}
#topline {
    border-color: #E6E6E6;
    border-style: solid;
    border-width: 0 0 3px 0;
    margin: 0 12px;
    clear: both;
    padding-top: 23px;
}
#headdesc {
    margin: 18px 0 0 0;
    padding: 0 12px;
    clear: both;
}

#headdesc p {
    line-height: 1.6;
    margin-bottom: 18px;
    width: 100%;
    
}


#headdesc h2 {
    font-size: 18px;
    font-weight: bold;
    padding-bottom: 12px;
    clear: both;
    border-style: solid;
    border-width: 0 0 0px 0;
    border-color: #E6E6E6;
    /* float: center; */
}
.subtitle {
    font-size: 12px; /* Smaller font size for the subtitle */
    color: #c1cbd1; /* Color for the subtitle */
    float: right;
}

#headdesc h2_c {
    font-size: 18px;
    /* font-weight: bold; */
    padding-bottom: 12px;
    clear: both;
    border-style: solid;
    border-width: 0 0 0px 0;
    /* color: #f57f50; */
    border-color: #E6E6E6;

}


#showcase {
    clear: both;
    padding-top: 0px;
}

#showcase a {
    display: block;
    float: left;
    background-color: #FFF;
    margin: 0 12px 22px 12px;
}

#showcase img {
    width: 212px;
    height: 111px;
    border-radius: 2px;
    -webkit-border-radius: 2px;
    -moz-border-radius: 2px;
}

#showcase h3 {
    font-size: 12px;
    font-weight: bold;
    margin-top: 5px;
    color: var(--text-color);
}

#lowline {
    margin: 24px 0 16px 0;
    text-align: left;
    clear: both;
    
}

#lowline3 {
    height: 4vh;
}

#lowline2 {
    margin: 40px 0 16px 0;
    text-align: left;
    clear: both;
}

#esp {
    float: right;
    font-size: 12px;
    width: 310px;
    line-height: 1.5!important;
}

#eng {
    font-size: 12px;
    float: left;
    width: 310px;
    /* border-right: dotted #CCC 1px; //Para cuando habia eng y esp */
    padding-right: 32px;
    line-height: 1.5!important;
}
a:-webkit-any-link {
    color: var(--bg-color);
    cursor: pointer;
    text-decoration: none;
}

#main {
    width: 684px;
    text-align: left;
    padding: 22px 12px 20px 12px;
    clear: both;
}

div, ul, li, h1, h2, h3, h4, h5, h6, p, td {
    margin: 0;
    padding: 0;
}
#pphoto {
    float: left;
    margin: 1px 0 8px 0;
    clear: both;
    border-radius: 2px;
    -webkit-border-radius: 2px;
    -moz-border-radius: 2px;
}

img {
    border: 0;
}

#details {
    float: right;
    font-size: 12px;
    line-height: 1.7;
    width: 500px;
    padding: 0 0 0 0;
}

#socials {
    margin: 0 0 14px 0;
    padding: 10px 0 0 0;
    font-size: 12px;
}

li {
    display: list-item;
    text-align: -webkit-match-parent;
    padding-bottom: 5px;

}

#pdetail a {
    font-weight: normal;
    color: #00A2CA;
}

#paging {
    border-width: 0px 0 0 0;
    border-style: solid;
    border-color: #E6E6E6;
    clear: both;
    font-size: 14px;
}

#paging a {
    color: #000;
    font-weight: bold;
    text-decoration: none;
    font-size: 12px;
    -webkit-text-size-adjust: 130%!important;
}

.proyimages {
    margin: 24px 0 10px 0;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column; 
}
.proyimages img {
    margin-bottom: 10px;
    
}

#txt h2 {
    font-size: 18px;
    font-weight: bold;
    padding-bottom: 5px;
    clear: both;
    border-style: solid;
    border-width: 0 0 0px 0;
    border-color: #E6E6E6;
    margin: 0 12px;
    
}


#date {
    font-size: 11px;
    font-weight: normal;
    color: #999;
    margin: 0 12px;
    padding: 0 0 0 0;
    padding-bottom: 15px;

}
#txt h6 {
    font-size: 11px;
    margin: 0 12px;
    font-weight: normal;
    
}

#instes {
    float: right;
    font-size: 15px;
    width: 310px;
    line-height: 1.5!important;

}

#inst {
    font-size: 15px;
    float: left;
    width: 310px;
    border-right: dotted #CCC 1px;
    padding-right: 32px;
    line-height: 1.5!important;
}

#english h5 {
    font-size: 11px;
    font-weight: bold;
    padding: 0 0 0px 0;
    color: #777777a6;
}

#english h3  {
    font-size: 15px;
    font-weight: bold;
    line-height: 1;
    margin: 0 0 5px 0;
}

#details p {
    font-size: 12px;
    margin: 1px 0 10px 0;
    line-height: 1.8;
}

#es {
    color:#7a7a7a;
}
.video-container {
    display: flex;
    justify-content: center; /* Centrar horizontalmente */
    align-items: center; /* Centrar verticalmente */
    height: 60vh;
}

@media screen and (max-width: 767px) {
    body {
      font-size: 100%; /* Reset font size to default for better readability on mobile */
      padding: 0;
    }
  
    #mix {
      width: 90%; /* Make the container full-width on mobile devices */
    }
  
    #header {
      margin: 20px 0 0 0; /* Adjust header margin on smaller screens */
      width: 100%; /* Make the header full-width on mobile devices */
      float: none; /* Remove float to stack the logo and text vertically */
      text-align: center; /* Center the logo and text */
    }
  
    #navbar {
      margin: 10px 0 0 0; /* Adjust navigation bar margin on smaller screens */
      float: none; /* Remove float to stack the navigation links vertically */
    }
    #showcase a {
        margin: 0 0 22px 0; /* Adjust showcase item margin on smaller screens */
      }
    
      #showcase img {
        width: 100%; /* Make showcase images full-width on mobile devices */
        height: auto; /* Ensure images maintain their aspect ratio */
      }
    
      #eng, #inst, #instes,
      #esp {
        float: none; /* Remove float to stack the paragraphs vertically */
        width: 100%; /* Make the paragraphs full-width on mobile devices */
        padding-right: 0; /* Remove right padding on paragraphs */
        border-right: none; /* Remove right border on paragraphs */
      }
    
      #details {
        float: none; /* Remove float to stack the details div vertically */
        width: 90%; /* Make the details div full-width on mobile devices */
        padding: 0; /* Remove padding on details div */
      }
      #cnt {
        float: none; /* Remove float to stack the details div vertically */
        width: 45%; /* Make the details div full-width on mobile devices */
        padding: 0; /* Remove padding on details div */
      }
    
      .proyimages img {
        width: 100%; /* Make showcase images full-width on mobile devices */
        height: auto; /* Ensure images maintain their aspect ratio */
      }

}