@import url('https://fonts.googleapis.com/css2?family=Righteous&family=Work+Sans:wght@100;300;400;600;800&display=swap');
*{
    box-sizing: border-box;
    font-family: 'Work Sans';
    margin:0;
    padding: 0;
}
html{
    /* me permite deslizar cuando hago clic en los links del menu*/
    scroll-behavior: smooth;
}

/* MENU */
.contenedor-header{
    background: #0e091b;
    position: fixed;
    width: 100%;
    text-justify: 0 0 #000;
    top: 0;
    left: 0;
    z-index: 99;
}

.contenedor-header header{
    max-width: 1100px;
    margin: auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 20px;
}

.contenedor-header header .logo a{
    font-family: 'Righteous';
    font-size: 36px;
    color: #9772db;
    text-decoration: none;
}

.contenedor-header header ul{
    display: flex;
    list-style: none;
}

.contenedor-header header nav ul li a{
    text-align: none;
    color: #fff;
    margin: 0 15px;
    padding: 3px;
    transition: .5s;
    text-decoration: none;
}

.contenedor-header header nav ul li a:hover{
    color: #9772db;
}
.nav-responsive{
    background-color:  #9772db;
    color: #fff;
    padding: 5px 10px;
    border-radius: 5px;
    cursor: pointer;
    display: none;
}

/* INIT SECTION*/

.init{
    background: linear-gradient(to top, rgba(30,35,38,.8), rgba(30,35,38,1)), 
    url(../img/fondo.jpg);
    background-size: cover;
    height: 100vh;
    color: #fff;
    display: flex;
    align-items: center;
}

.init .content-banner{
    padding: 20px;
    background-color: #0e091b;
    max-width: 350px;
    margin: auto;
    text-align: center;
    border-radius: 40px;
}

.init .content-banner img{
    margin-top: 40px;
    border:10px solid #9772db;
    display: BLOCK;
    width: 80%;
    margin: auto;
    border-radius: 100%;
}

.init .content-banner h1{
    margin-top: 40px;
    font-size: 42px;
    font-family: 'Righteous';
}

.init .content-banner h2{
    font-size: 15px;
    font-weight: normal;
}

.init .content-banner .socialMedia a{
    color: #fff;
    display: inline-block;
    text-decoration: none;
    border: 1px solid #fff;
    border-radius: 100%;
    width: 42px;
    height: 42px;
    line-height: 42px;
    margin: 40px 5px;
    font-size: 20px;
    transition: .3s;
}

.init .content-banner .socialMedia a:hover{
    background-color: #9772db;
}

/* ABOUTME SECTION*/
.aboutme{
    background-color: #0e091b;
    color: #fff;
    padding: 50px 20px;
}

.aboutme .content-section{
    max-width: 1100px;
    margin: auto;
}

.aboutme h2{
    font-size: 48px;
    font-family: 'Righteous';
    text-align: center;
    padding: 20px 0;
}

.aboutme .content-section p{
    font: 18px;
    line-height: 22px;
    margin-bottom: 20px;
}

.aboutme .content-section p span{
    color: #9772db;
    font-weight: bold;
}

.aboutme .tile{
    display: flex;
}

.aboutme .tile .col{
    width: 50%;
}

.aboutme .tile .col h3{
    font-size: 28px;
    font-family: 'Righteous';
    margin-bottom: 25px;
}

.aboutme .tile .col ul{
    list-style-type: none;
}

.aboutme .tile .col ul li{
    margin: 12px 0;
}

.aboutme .tile .col ul li strong{
    display: inline-block;
    color: #9772db;
    width: 130px;
}

.aboutme .tile .col ul li span{
    background-color: #9772db;
    padding: 3px;
    font-weight: bold;
    border-radius: 5px;
}

.aboutme .tile .col .content-interests{
    display: flex;
    flex-wrap: wrap;
}

.aboutme .tile .col .content-interests .interests{
    width: 140px;
    height:  140px;
    background-color:#252A2E;
    border-radius: 10px;
    margin: 0 15px 15px 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    transition: .3s;
}

.aboutme .tile .col .content-interests .interests:hover{
    background-color: #9772db;
}

.aboutme .tile .col .content-interests .interests i{
    font-size: 30px;
    margin-bottom: 10px;
}

.aboutme button{
    cursor: pointer;
    background-color: transparent;
    border: 2px solid #fff;
    width: fit-content;
    display: block;
    margin: 20px auto;
    padding: 10px 22px;
    font-size: 16px;
    color: #fff;
    position: relative;
    z-index: 10;
}

.aboutme button .overlay{
    position: absolute;
    top: 0;
    left: 0;
    width: 0;
    height: 100%;
    background-color:#9772db;
    z-index: -1;
    transition: 1s;
}

.aboutme button:hover .overlay{
    width: 100%;
}

/* SKILL SECTION*/
.skills{
    background-color: #252A2E;
    color: #fff;
    padding: 50px 20px;
}

.skills .content-section{
    max-width: 1100px;
    margin: auto;
}

.skills h2{
    font-size: 48px;
    font-family: 'Righteous';
    text-align: center;
    padding: 20px 0;
}

.skills-cloud {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  justify-content: center;
  padding: 20px;
}

.skills-cloud img {
  width: 60px;
  height: 60px;
  object-fit: contain;
  transition: transform 0.3s ease, filter 0.3s ease;
}

.skills-cloud img:hover {
  transform: scale(1.2) rotate(-5deg);
  filter: drop-shadow(0px 4px 6px rgba(0,0,0,0.3));
}

.soft-skills {
  display: flex;
  flex-wrap: wrap;
  gap: 15px;
  justify-content: center;
  margin-top: 10px;
}

.soft-skills .skill-item {
  background-color: #1e1822;
  color: #cccccc;
  padding: 10px 15px;
  border-radius: 10px;
  font-weight: bold;
  cursor: default;
  transition: transform 0.3s ease, background-color 0.3s ease;
}

.soft-skills .skill-item:hover {
  transform: scale(1.1);
  background-color: #3f3c46;
}

.skills h3{
    font-size: 32px;
    font-family: 'Righteous';
    text-align: center;
    padding: 20px 0;
}


/* CURRICULUM SECTION*/
.curriculum {
    background-color: #1e2326;
    color: #fff;
    padding: 50px 20px;
}

.curriculum .content-section {
    max-width: 1100px;
    margin: auto;
}

.curriculum h2 {
    font-size: 48px;
    font-family: 'Righteous';
    text-align: center;
    padding: 20px 0;
}

.curriculum .tile {
    display: flex;
    justify-content: space-between;
}

.curriculum .tile .col{
    width: 49%;
    padding: 0 20px; 
}

.curriculum .tile .col h3{
    font-size: 28px;
    font-family: 'Righteous';
    margin-bottom: 25px;
}

.curriculum .tile .left{
    border-right: 2px solid #252A2E;
}

.curriculum .tile .right{
    border-left: 2px solid #252A2E;
}

.curriculum .tile .item{
    padding: 25px;
    margin-bottom:30px;
    background-color: #252A2E;
    position: relative;
}

.curriculum .tile .item h4{
    font-size: 20px;
    margin-bottom: 10px;
}

.curriculum .tile .item .home {
     color: #9772db;
     font-size: 22px;
     font-weight: bold;
     display: block;
}

.curriculum .tile .item .date{
    display: block;
    color:#9772db;
    margin-bottom: 10px;
}

.curriculum .tile .item p{
    line-height: 24px;
}

.curriculum .tile .izq{
    border-right: 2px solid #9772db;
    margin-right: 20px;
}

.curriculum .tile .der {
    border-left: 2px solid #9772db;
    margin-left: 20px;
}

.curriculum .tile .item .conectori {
    height: 2px;
    background-color: #9772db;
    width: 47px;
    position: absolute;
    top: 50%;
    right: -47px;
    z-index: 5;
}

.curriculum .tile .item .conectori .cyrclei {
    display: block;
    height: 10px;
    width: 10px;
    border-radius: 50%;
    background-color: #9772db;
    float: right;
    position: relative;
    bottom: 4px;
}

.curriculum .tile .item .conectord {
    height: 2px;
    background-color: #9772db;
    width: 47px;
    position: absolute;
    top: 50%;
    left: -47px;
    z-index: 5;
}

.curriculum .tile .item .conectord .cyrcled {
    display: block;
    height: 10px;
    width: 10px;
    border-radius: 50%;
    background-color: #9772db;
    float: left;
    position: relative;
    bottom: 4px;
}

/* PORTFOLIO SECTION */
.portfolio {
    background-color: #252A2E;
    color: #fff;
    padding: 50px 20px;
}

.portfolio .content-section {
    max-width: 1100px;
    margin: auto;
}

.portfolio h2 {
    font-size: 48px;
    font-family: 'Righteous';
    text-align: center;
    padding: 20px 0;
}

.portfolio .galery {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-around;
}

.portfolio .galery .project{
    position: relative;
    max-width: 340px;
    height: fit-content;
    margin: 10px;
    cursor: pointer;
}

.portfolio .galery .project img{
    width: 100%;
    display: block;
}

.portfolio .galery .project .overlay{
    position: absolute;
    top: 0;
    width: 100%;
    height: 100%;
    text-align: center;
    background: linear-gradient(rgba(28, 182, 152, .8), rgba(28, 182, 152, .8));
    display: flex;
    flex-direction: column;
    justify-content: center;
    transition: 1s;
    font-size: 18px;
    letter-spacing: 3px;
    opacity: 0;
}

.portfolio .galery .project .overlay h3{
    margin-bottom: 20px;
    transition: 1s;
}

.portfolio .galery .project .overlay:hover{
    opacity: 1;
}

.portfolio .galery .project .overlay:hover h3{
    margin-bottom: 0px;
}

.portfolio .galery .project a {
    text-decoration: none; 
    color: inherit; 
}

.portfolio .galery .project .overlay h3 {
    color: #fff; 
    margin-bottom: 20px;
    transition: 1s;
}

/* CONTACT SECTION */
.contact{
    background-image: url(img/contact_bg.png);
    background-color: #131517;
    color: #fff;
    padding: 50px 0;
}

.contact .section-content{
    max-width: 1100px;
    margin: auto;
}

.contact h2{
    font-size: 48px;
    font-family: 'Righteous';
    text-align: center;
    padding: 20px 0;
}

.contact .tile{
    display: flex;
}

.contact .col{
    width: 50%;
    padding: 10px;
    position: relative;
}

.contact .col input, .contact .col textarea{
    display: block;
    width: 100%;
    padding: 18px;
    border: none;
    margin-bottom: 20px;
    background-color: #252A2E;
    color: #fff;
    font-size: 18px;
}

.contact button{
    cursor: pointer;
    background-color: transparent;
    border: 2px solid #fff;
    width: fit-content;
    display: block;
    margin: 20px auto;
    padding: 10px 22px;
    font-size: 16px;
    color: #fff;
    position: relative;
    z-index: 10;
}

.contact button .overlay{
    position:absolute;
    top: 0;
    left: 0;
    width: 0;
    height: 100%;
    background-color: #9772db;
    z-index: -1;
    transition: 1s;
}

.contact button:hover .overlay{
    width:100%;
}

.contact .col img{
    width:100%;
}

.contact .col .info{
    position: absolute;
    top:40%;
    background-color: #252A2E;
    padding: 20px;
    max-width:350px;
    left: 50%;
    transform: translate(-50%, -50%);
}

.contact .col .info ul{
    list-style: none;
}

.contact .col .info .ul .li{
    margin-bottom: 20px;
}

.conectord .col .info ul li i{
    color: #9772db;
    display: inline-block;
    margin-right: 20px;
}

/* FOOTER */
footer{
    background-color: #252A2E;
    color: #fff;
    padding: 50px 0 30px 0;
    text-align: center;
    position: relative;
    width: 100%;
}

footer .socialMedia a {
  margin: 0 10px;
  font-size: 1.5rem;
  color: #fff;
  transition: color 0.3s, transform 0.3s;
}

footer .socialMedia a:hover {
  color: #ac96c9;
  transform: scale(1.2);
}

footer p {
  font-size: 0.9rem;
  margin-top: 10px;
}

footer .up{
    display: block;
    width: 50px;
    height: 50px;
    background-color: #9772db;
    color: #fff;
    position: absolute;
    left: 50%;
    transform: translate(-50%);
    top: -25px;
    border-radius: 50%;
    line-height: 50px;
    font-size: 18px;
}

/* RESPONSIVE SECTION */
@media screen and (max-width: 980px){
    nav{
        display:none;
    }
    .nav-responsive{
        display:block;
    }
    nav.responsive{
        display:block;
        position: absolute;
        right: 0;
        top: 75px;
        background-color: #252A2E;
        width: 180px;
    }
    nav.responsive ul{
        display: block !important;
    }

    nav.responsive ul li{
        border-bottom: 1px solid #fff;
        padding: 10px 0;
    }
}

@media screen and (max-width:700px){
    .aboutme .tile{
        display:block;
    }

    .aboutme .tile .col{
        width: fit-content;
    }

    .skill .tile{
        display: block;
    }

    .skill .tile .col{
        width: 100%;
    }

    .skill .tile .col .kill-bar{
        width: 100%;
    }

    .curriculum .tile{
        display: block;
    }

    .curriculum .tile .col{
        width: 90%;
    }
    .curriculum .tile .right{
        margin-left: 20px;
    }

    .portfolio .galery{
        display: block;
        width: 100%;
    }

    .portfolio .galery .project{
        max-width: 100%;
    }

    .portfolio .galery .progress img{
        width: 100%;
    }

    .contact .tile{
        display: block;
    }

    .contact .tile .col{
        width: 100%;
    }
}