/* IMPORTS */
@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@300;400;600;700&display=swap');

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Montserrat', sans-serif;
    color: #222;
    background: #fff;
}

/* NAVIGATION */
.navbar {
    position: fixed;
    width: 100%;
    padding: 20px 40px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 100;
    background: rgba(255,255,255,0.9);
    backdrop-filter: blur(8px);
}

.logo {
    font-weight: 700;
    font-size: 1.6rem;
    color: #111;
    text-decoration: none;
}

.navigation-menu {
    list-style: none;
    display: flex;
    gap: 25px;
}

.navigation-menu a {
    text-decoration: none;
    font-weight: 700;
    color: #111;
}

.navigation-menu a:hover {
    text-decoration: none;
    font-weight: 700;
    color: rgba(234, 64, 34, 1);
}

.navigation-menu  {
    margin: 0 0 0 0;
}

.mobile-toggle {
    display: none;
    flex-direction: column;
    cursor: pointer;
}

.mobile-toggle span {
    height: 3px;
    width: 25px;
    background: #111;
    margin-bottom: 4px;
}

/* HERO */
#hero {
    height: 100vh;
    background-image: url('images/background.jpg');/*linear-gradient(160deg, #1f1c2c, #928dab);*/
    background-repeat: cover;
    background-size: 100% 100%;
    color: #fff;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 0 20px;
}


.hero-content h1 {
    font-size: 320%;
    font-weight: 700;
    margin-bottom: 10px;
}

.hero-content p {
    font-size: 1.3rem;
    margin-bottom: 20px;
    --bs-body-line-height: 1;
}

.socials a {
    margin: 0 10px;
    font-size: 1.5rem;
    color: #fff;
}

/* SECTIONS */
.section {
    padding: 80px 40px;
    max-width: 1200px;
    margin: auto;
    font-size: 1.25rem;
    padding-bottom: 0px;
}

.section-title {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 15px;
}

/* SKILLS */
.skill-grid {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
}

.skill {
    flex: 1 1 200px;
}

.skill h3 {
    font-weight: 600;
    margin-bottom: 8px;
}

.bar {
    background: #eee;
    height: 6px;
    border-radius: 4px;
}

.bar span {
    display: block;
    height: 100%;
    background: #3a8ee6;
    border-radius: 4px;
}

/* PORTFOLIO */
.portfolio-grid {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
}

.project {
    flex: 1 1 45%;
    position: relative;
    overflow: hidden;
}

.project img {
    width: 100%;
    aspect-ratio: 16/10;
    object-fit: cover;
}

.project-info {
    padding: 10px 0;
}

/* PUBLICATIONS */
.pub-list li {
    margin-bottom: 12px;
}

/* CONTACT */
.contact-form {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.contact-form input,
.contact-form textarea {
    padding: 12px;
    border: 1px solid #ccc;
    border-radius: 4px;
    font-size: 1rem;
}

.contact-form button {
    background: #3a8ee6;
    color: #fff;
    border: none;
    padding: 12px;
    font-size: 1rem;
    cursor: pointer;
    border-radius: 4px;
}

/* FOOTER */
footer {
    text-align: center;
    padding: 20px;
    background: #f8f8f8;
}

/* SMOOTH ANIMATIONS */
.animate-fadeIn {
    opacity: 0;
    animation: fadeIn 1s forwards;
}

.delay-1 { animation-delay: 1.2s; }
.delay-2 { animation-delay: 1.8s; }
.delay-3 { animation-delay: 2.4s; }

@keyframes fadeIn {
    to { opacity: 1; }
}






.mobile-toggle span {
    transition: all 0.3s ease;
}

.mobile-toggle.open span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.mobile-toggle.open span:nth-child(2) {
    opacity: 0;
}

.mobile-toggle.open span:nth-child(3) {
    transform: rotate(-45deg) translate(6px, -6px);
}



/* HOME SECTION */
.home-section {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 80px 40px;
    background: #fff;
}

.home-content {
    max-width: 1200px;
    width: 100%;
    display: flex;
    align-items: center;
    gap: 60px;
}

/* FOTO */
.home-photo {
    flex: 0 0 420px;
    max-width: 420px;
}


.home-photo {
  flex: 0 0 420px;
  max-width: 420px;
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
  overflow: hidden;
  border-radius: 15px;
  transition: all 0.5s ease;
  border-radius: 1000px;
}

.home-photo::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: linear-gradient(
    0deg, 
    transparent, 
    transparent 30%, 
    rgba(234, 64, 34, 0.5)
  );
  transform: rotate(-45deg);
  transition: all 0.5s ease;
  opacity: 0;
}

.home-photo:hover {
  transform: scale(1.05);
  Abox-shadow: 0 0 20px rgba(0,255,255,0.5);
}

.home-photo:hover::before {
  opacity: 1;
  transform: rotate(-45deg) translateY(100%);
}

.home-photo img {
    width: 100%;
    border-radius: 50%;
    box-shadow: 0 10px 30px rgba(255, 255, 255, 0.7);
    border-radius: 1000px;
    border: 18px solid rgba(234, 64, 34, 0.7);;
}


.menu-photo {
    display: inline-block;
    vertical-align: middle  
}


.menu-photo {
    display: flex;
    align-items: center;
}


.menu-photo img {
    width: 2.2em;
    box-shadow: 0 1px 3px rgba(255, 255, 255, 0.7);
    border-radius: 1000px;
    border: 3px solid rgba(234, 64, 34, 0.7);
    margin-right: 0.5em;
}



/* TEXTO */
.home-text {
    flex: 1;
}

.home-name {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 10px;
    color: #111;
}

.home-title {
    font-size: 1.2rem;
    font-weight: 300;
    color: #555;
    margin-bottom: 25px;
}

.home-title span {
    margin: 0 8px;
    color: #aaa;
}

/* SOCIALES */
.socials {
    display: flex;
    gap: 16px;
    justify-content: center
}

.abstract p{

    text-align: justify;
    line-height: 1.25;
}

.home-text{
    background: rgba(234, 64, 34, 0.7);
    box-shadow: 0 10px 30px rgba(255, 255, 255, 0.7);
    border-radius: 1em;
    padding-bottom: 1em;
    padding-top: 1em;
    padding-left: 1em;
    padding-right: 1em;
}

.home-socials a {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    background: #f1f1f1;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #111;
    font-size: 1.1rem;
    transition: all 0.3s ease;
    text-decoration: none;
}

.home-socials a:hover {
    background: #3a8ee6;
    color: #fff;
    transform: translateY(-3px);
}

.socials a:hover{
color: rgba(10,10,10,1);
}

.socials2 a:hover{
color: rgba(234, 64, 34, 1);
}

.socials2 a{
 font-size: 2rem;
color: rgba(0,0,0,1);
margin: 0px 0.15em;
}

#roles{
    font-size: 1.3rem;
    font-weight: bold;
}

.row {margin-right: -15px;margin-left: -15px;}
.c1,.c2,.c2b,.c3,.c4,.c4b,.c5,.c6,.c7,.c8,.c9,.c10,.c11,.c12 {position: relative;min-height: 1px;padding-right: 15px; padding-left: 15px;}
.c1,.c2,.c2b,.c3,.c4,.c4b,.c5,.c6,.c7,.c8,.c9,.c10,.c11 {float:left;}
.c1 img,.c2 img,.c2b img,.c3 img,.c4 img,.c4b img,.c5 img,.c6 img,.c7 img,.c8 img,.c9 img,.c10 img,.c11 img,.c12 img {max-width:100%;}
.c12 {width: 100%;}
.c11 {width: 91.66666666666666%;}
.c10 {width: 83.33333333333334%;}
.c9 {width: 75%;}
.c8 {width: 66.66666666666666%;}
.c7 {width: 58.333333333333336%;}
.c6 {width: 50%;}
.c5 {width: 41.66666666666667%;}
.c4 {width: 33.33333333333333%;}
.c4b {width: 37.50%;}
.c3 {width: 25%;}
.c2 {width: 16.666666666666664%;}
.c2b{width: 12.5%;}
.c1 {width: 8.333333333333332%;}
.c1 ul,.c2 ul,.c2b ul,.c3 ul,.c4 ul,.c4b ul,.c5 ul,.c6 ul,.c7 ul,.c8 ul,.c9 ul,.c10 ul,.c11 ul,.c12 ul {padding-left: inherit;}

.skills    {font-weight:bolder; font-size: 100%; text-align: center;}
.skills p  {font-weight:bolder; font-size: 225%; text-align: center; margin: 5pt 0pt;}
.skills h4 {font-weight:bolder; font-size: 100%; text-align: center;}
.countfect            {width: 2.5em; display: inline-block;}
.countfects           {width: 2.5em; display: inline-block;}
.countfectfloat       {width: 2.5em; display: inline-block;}

.push {height: 30px;clear: both;}

.bibtex_entry   {text-align: justify; padding:10px 5px 10px 5px; font-size: 75%; line-height: 1.2;}
.bibtex_content {text-align: justify;}
.bibtex_author  {}
.bibtex_title   {font-weight:bolder;text-decoration: underline;}
.bibtex_journal {font-style: italic;}
.text-right     {text-align: right;}


/* PUBLICATIONS ============ */
.highlight{padding:9px 14px;margin-bottom:14px;background-color:#f7f7f9;border:1px solid #e1e1e8;}
.highlight2{padding:9px 14px;margin-bottom:14px;background-color:#f7f7f9;border:1px solid #e1e1e8;}


.nav_link span{color:#000000;}
.black {color:#000000;}
.bibtex_content a{color:#000000;}
.bibtex_doi a{color:#000000;}

.chartstitle  {color:#666;font-size:1em;text-align:center;}
.tinylink {font-size:0.75em;text-align:right;}

html{            transition: all 2s ease; scroll-behavior: smooth; }



/* Projects */
.project-item {
    position: relative;
    display: table;
    table-layout: fixed;
    width: 100%;
    border: 2px solid #e5e5e5;
    border-radius: 8px;
    margin-bottom: 20px;
    -webkit-transition: all 2s ease-in-out;
    -moz-transition: all .2s ease-in-out;
    -o-transition: all .2s ease-in-out;
    -ms-transition: all .2s ease-in-out;
    transition: all .2s ease-in-out;
}

.project-item:hover {
    -webkit-transform: translateY(-5px);
    -ms-transform: translateY(-5px);
    -o-transform: translateY(-5px);
    transform: translateY(-5px);
    -webkit-box-shadow: 0 12px 17px rgba(0, 0, 0, 0.12);
    -moz-box-shadow: 0 12px 17px rgba(0, 0, 0, 0.12);
    -o-box-shadow: 0 12px 17px rgba(0, 0, 0, 0.12);
    box-shadow: 0 12px 17px rgba(0, 0, 0, 0.12);
}

.project-logo {
    display: table-cell;
    width: 120px;
    height: 100%;
    background-color: #f5f5f5;
    padding: 25px;
    vertical-align: middle;
    border-top-left-radius: 6px;
    border-bottom-left-radius: 6px;
}

.project-logo img {
    display: block;
    max-width: 100%;
}

.project-title h4 {
    font-size: 90%;
    font-weight: 800;
    margin: 5px 5px 5px 5px;
}

.project-funder {
    font-size: 90%;
    font-weight: 700;
    margin: 5px 5px 5px 5px;
    color: #777;
}


.project-id {
    font-size: 90%;
    font-width: 100;
    font-weight: 700;
    margin: 5px 5px 5px 5px;
    color: #777;
}

.project-date {
    font-size: 80%;
    font-width: 100;
    font-weight: 700;
    margin: 5px 5px 5px 5px;
    color: #777;
    opacity: .7;
}

.project-funding {
    font-size: 80%;
    font-width: 100;
    font-weight: 700;
    margin: 5px 5px 5px 5px;
    color: #777;
    opacity: .7;
}


.project-description {
    font-size: 80%;
    font-width: 100;
    margin: 5px 5px 5px 5px;
    color: #000;
    text-align: justify;
}





/* Thesis */
.thesis-item {
    position: relative;
    display: table;
    table-layout: fixed;
    width: 100%;
    border: 2px solid #e5e5e5;
    border-radius: 8px;
    margin-bottom: 20px;
    -webkit-transition: all 2s ease-in-out;
    -moz-transition: all .2s ease-in-out;
    -o-transition: all .2s ease-in-out;
    -ms-transition: all .2s ease-in-out;
    transition: all .2s ease-in-out;
}

.thesis-item:hover {
    -webkit-transform: translateY(-5px);
    -ms-transform: translateY(-5px);
    -o-transform: translateY(-5px);
    transform: translateY(-5px);
    -webkit-box-shadow: 0 12px 17px rgba(0, 0, 0, 0.12);
    -moz-box-shadow: 0 12px 17px rgba(0, 0, 0, 0.12);
    -o-box-shadow: 0 12px 17px rgba(0, 0, 0, 0.12);
    box-shadow: 0 12px 17px rgba(0, 0, 0, 0.12);
}

.thesis-logo {
    display: table-cell;
    width: 180px;
    height: 100%;
    background-color: #f5f5f5;
    padding: 15px;
    vertical-align: middle;
    border-top-left-radius: 6px;
    border-bottom-left-radius: 6px;
}

.thesis-logo img {
    display: block;
    max-width: 100%;
}

.thesis-title h4 {
    font-size: 90%;
    font-weight: 800;
    margin: 5px 5px 5px 5px;
}

.thesis-funder {
    font-size: 90%;
    font-weight: 700;
    margin: 5px 5px 5px 5px;
    color: #777;
}


.thesis-id {
    font-size: 90%;
    font-width: 100;
    font-weight: 700;
    margin: 5px 5px 5px 5px;
    color: #777;
}

.thesis-date {
    font-size: 80%;
    font-width: 100;
    font-weight: 700;
    margin: 5px 5px 5px 5px;
    color: #777;
    opacity: .7;
}

.thesis-grade {
    font-size: 80%;
    font-width: 100;
    font-weight: 700;
    margin: 5px 5px 5px 5px;
    color: #777;
    opacity: .7;
}


.thesis-url {
    font-size: 80%;
    font-width: 100;
    margin: 5px 5px 5px 5px;
    color: #777;
    opacity: .7;
    text-align: justify;
}


/* projects */



/* Timeline */
.timeline-item {
  position: relative;
  padding: 25px 0 20px 40px;
}

.timeline-item:before {
  content: '';
  position: absolute;
  display: block;
  height: 100%;
  background-color: #f5f6f9;
  width: 1px;
  left: 15px;
  bottom: 5px;
}

.timeline-item:after {
  content: '';
  position: absolute;
  display: block;
  height: 1px;
  background-color: #f5f6f9;
  width: calc(100% - 15px);
  left: 15px;
  bottom: 3px;
}

.timeline-item:first-child {
  padding-top: 3px;
}

.timeline-item:last-child:after {
  display: none;
}

.timeline-item:last-child {
  margin-bottom: 30px;
}

.timeline-item h5.item-period {
  display: inline-block;
  position: relative;
  font-size: 12px;
  font-weight: 700;
  margin: 0 0 5px -40px;
  color: #fff;
  background-color: rgba(234, 64, 34, 0.7);
  padding: 0 10px;
  line-height: 23px;
  border: 2px solid rgba(234, 64, 34, 1);
  border-radius: 30px;
}

.timeline-item .item-company {
  display: inline-block;
  font-size: 12px;
  color: #666;
  opacity: 0.7;
  margin-left: 5px;
}

.timeline-item .item-title {
  font-size: 16px;
  margin: 10px 0 7px;
}

.timeline-item p,
.timeline-item p > *,
.timeline-item .text {
  font-size: 0.92em;
}

.timeline-item .text > p,
.timeline-item p > * {
  font-size: 1em;
}
/* /Timeline */

#about{text-align: justify;}

#map { height: 380px; }


/* Info List 2 */
.conctact-w-icon {
  position: relative;
  text-align: left;
  width: 100%;
  display: table;
  margin: 0;
  padding: 30px 10px 10px 0;
}

.conctact-w-icon .ci-icon {
  position: relative;
  display: table-cell;
  padding: 0 10px 5px 0;
  width: 44px;
}

.conctact-w-icon .ci-text {
  position: relative;
  display: table-cell;
  padding: 0 0 0 15px;
  vertical-align: middle;
}

.conctact-w-icon .ci-text h4 {
  margin: 7px 0;
}

.conctact-w-icon .ci-text p {
  font-size: .92em;
}

.conctact-w-icon .ci-text p:last-child {
  margin-bottom: 0;
}

.conctact-w-icon i {
  position: relative;
  display: table-cell;
  font-size: 33px;
  color: rgba(234, 64, 34, 1);
}

/* MOBILE NAVIGATION */
@media (max-width: 768px) {

    .navigation-menu {
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background: #fff;

        flex-direction: column;
        align-items: center;
        gap: 20px;

        padding: 30px 0;

        /* Hidden by default */
        opacity: 0;
        pointer-events: none;
        transform: translateY(-10px);
        transition: all 0.35s ease;

    }

    .navigation-menu.active {
        opacity: 1;
        pointer-events: auto;
        transform: translateY(0);

    }

    .navigation-menu li {
        list-style: none;
    }

    .mobile-toggle {
        display: flex;
    }


    .home-content {
        flex-direction: column;
        text-align: center;
        gap: 40px;
    }


    .home-content {
        max-width: 300px;
    }


    .home-name {
        font-size: 2.4rem;
    }

    .home-socials {
        justify-content: center;
    }

    /* SOCIALES */
    .socials {
    display: flex;
    gap: 2px;
    justify-content: center
    }


    /* HERO */
    #hero {
    height: 100vh;
    background-image: url('images/background.jpg');/*linear-gradient(160deg, #1f1c2c, #928dab);*/
    background-repeat: cover;
    background-size: auto 100%;
    color: #fff;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 0 20px;
    }

    /* FOTO */
    .home-photo {
        flex: 0 0 120px;
        max-width: 120px;
    }

    .home-photo img {
        width: 100%;
        border-radius: 50%;
        box-shadow: 0 4px 12px rgba(255, 255, 255, 0.7);
        border-radius: 1000px;
        border: 4px solid rgba(234, 64, 34, 0.7);
    }

    .home-text h1{
        font-size: 120%;
    }
    .home-text p{
        font-size: 100%;
    }
    .home-title {
        font-size: 100%;
    }
    .abstract p{
        font-size: 100%;
    }
   
    .home-text {
        max-width: 400px;
    }

    .logo {
        font-weight: 700;
        font-size: 1.2rem;
        color: #111;
        text-decoration: none;
    }

    .home-roles{display: none;}

    #map { height: 180px; }

    .skills    {font-weight:bolder; font-size: 80%; text-align: center;}
    .skills p  {font-weight:bolder; font-size: 125%; text-align: center; margin: 5pt 0pt;}
    .skills h4 {font-weight:bolder; font-size: 80%; text-align: center;}

}