
:root {
    --title-font :  'Nova Round', cursive;
    --sub-title-font : 'PT Sans', sans-serif;
    
  }

*{
	margin: 0;
	padding: 0;
	list-style: none;
	text-decoration: none;
	border: 0;
	box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
  }





/****************************Nav bar**********************************/


.header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    min-height: 5em;
    flex-flow: row nowrap;
    box-shadow: 0px 5px 7px -6px rgba(0,0,0,0.75);
    padding: 0 7em;
    position: fixed;
    background-color: white;
    transition: all 0.6s ease;
    z-index: 99;

    
  

}
.header .img {
    width: 210px;
    height: 100px;
}
.header .ul {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
}

.header .li {
    margin: 0em 1em;
}

.header .a{
    font-family: var(--sub-title-font);
    font-size: 1.4rem;
    font-weight: 400;
    color: black;
    
    
}

.header .contact_a{
    
    font-family: var(--sub-title-font);
    font-size: 1.4rem;
    font-weight: 400;
    color: white;
    background-color: rgb(155,0,9);
    padding: 0.5em 0.8em;
    border-radius: 10px;


}

.ball{
    width: 15px;
    height: 15px;
    background-color: rgb(155,0,9);
    border-radius: 50%; 
 }

.header .a:hover {
    border-bottom:  4px solid rgb(155,0,9);
    transition: .5s cubic-bezier(0.075, 0.082, 0.165, 1);
    
}
.header__ham{
    display: none;
}

.header__ham:hover{
    cursor: pointer;
}
.header__ham img{
    width: 30px;
    height: 30px;

}


/*********************************MenuHam*************************************/

.ham__bar{
    background-color: white;
    min-width: 17em;
    right: -280px;
    top: 0;
    height: 100%;
    z-index: 999;
    position: fixed;
    transition: all 0.6s ease;
    
}

.ham__img{
    display: flex;
    align-items: center;
    justify-content: space-evenly;
    padding: 1em 1em;
    margin-left: 25px;
}

.ham__bar img {
    width: 150px;
    height: 100px;

}

.ham__bar .close__img  {
    width: 16px;
    height: 16px;

}

.opacity {
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0;
    z-index: 99;
    background-color: rgba(0, 0, 0, 0.5);
    position: fixed;
    display: none;
   
}
.ham__bar .close__img:hover{
    cursor: pointer;
}

.ham__bar .ham__ul {
    display: flex;
    flex-flow: column nowrap;
    align-items: flex-start;
    justify-content: space-around;

    
}

.ham__bar .ham__ul li {
    position: relative;
    margin: 1em 1em;
    width: 85%;
    border-bottom:  2px solid rgb(155,0,9); ;
  
   
}

.ham__bar .a{
    font-family: var(--sub-title-font);
    font-size: 1rem;
    font-weight: 400;
    color:black;
 
  
    
    
}









/*********************Secciones****************************/
.section {
    width: 100%;
    min-height: 80vh;
    margin: 1em 0;
    text-align: center;
    display: flex;
    flex-flow: column wrap;
    justify-content: center;
    align-items: center;
}




/*****************************ME******************************/


.alexsancast {
    padding-top: 10em;
}

.container__me .me__img img {
    width: 380px;
    height: 370px;
    border-radius: 50%;
    border:3px solid rgb(12, 11, 11);
}
.alexsancast h1 {
    font-family: var(--title-font);
    font-size: 4rem;
    font-weight: 600;


}


.alexsancast h2 {
    font-family: var(--sub-title-font);
    font-size: 2rem;
    font-weight: 200;
    color: RGB(104,104,104);
    border-bottom:  4px solid rgb(155,0,9); 
    padding: 0.2em ;


}

.alexsancast h3 {
    font-family: var(--sub-title-font);
    font-size: 2rem;
    font-weight: 200;
    color: RGB(104,104,104);
    

}

.alexsancast__social{
    padding: 0.5em;
    width: 100%;
    display: flex;
    flex-flow: row wrap;
    justify-content: center;
    align-items: center;

}

.alexsancast .cast {
    color: rgb(155,0,9); ;
}



.alexsancast__social li {
    margin: 0 1em;
}

.alexsancast__social img {
    width: 35px;
    height: 35px;
}

/**************************About me *******************************/


.about h1 {
    margin : 0 0 1rem ;
    font-family: var(--title-font);
    font-size: 3.5rem;
    font-weight: 600;
    border-bottom:  4px solid rgb(155,0,9);
    padding: 0.2em ;


}

.about p {
    font-family: var(--sub-title-font);
    font-size: 1.4rem;
    font-weight: 200;
    color: RGB(104,104,104);
    max-width: 44em;
    margin: 0 1em 1em;
    text-align: left;


}

/*********************Projects************************************/

.section__project{
    width: 60%;
    display: grid;
    grid-template-columns: repeat(auto-fit,minmax(10rem,1fr));
    gap: 2em;

}

.section__project article {
    width: 100%;
    min-height: 20vh;
    display: flex;
    box-shadow: 2px 2px 14px -3px rgba(0,0,0,0.75);
    flex-flow: column nowrap;
    justify-content: center;
    align-items: center;
    border-radius: 20px;
    background: #E4E4E4;
    position: relative;

}

.project__avocado .project__title {
    width: 100%;
    height: 100%;
    background-color: rgba(0,0,0,.5);
    position: absolute;
    bottom: 0;
    left: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-flow: row wrap;
    backdrop-filter: blur(0.2rem);
    opacity: 0;
    transition: all .5s ease;
    border-radius: 20px;
    color: white;
    font-family: var(--sub-title-font);
    font-size: 2rem;
  

}

.project__avocado .project__title2 {
    width: 100%;
    height: 100%;
    background-color: rgba(0,0,0,.5);
    position: absolute;
    bottom: 0;
    left: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-flow: row wrap;
    backdrop-filter: blur(0.2rem);
    opacity: 0;
    transition: all .5s ease;
    border-radius: 20px;
    color: white;
    font-family: var(--sub-title-font);
    font-size: 2rem;

}


.project__avocado .project__title:hover {
    opacity: 1;

}


.project__avocado .project__title2:hover {
    opacity: 1;

}


.projects h1 {
    margin : 0 0 1rem ;
    font-family: var(--title-font);
    font-size: 3.5rem;
    font-weight: 600;
    border-bottom:  4px solid rgb(155,0,9);
    padding: 0.2em ;

}

.section__project .project__img {
    width: 100%;
    height: 100%;
    border-radius: 20px;

   
  
}

.project__paragraph {
    padding: 1rem 0em;


}

.project__paragraph p {
    font-family: var(--sub-title-font);
    font-size: 1.5rem;
    color: RGB(104,104,104);
    text-align: left;
}

.project__paragraph img {
    height: 40px;
    width: 40px;
}


/*************SKILLS**********************/

.skills {
    margin: -5em 0em;
}

.skills .skills__sections{
    display: flex;
    justify-content: center;
    gap: 2rem ;
    flex-wrap: wrap;

}

.skills h1 {
    margin : 0 0 1rem ;
    font-family: var(--title-font);
    font-size: 3.5rem;
    font-weight: 600;
    border-bottom:  4px solid rgb(155,0,9);
    padding: 0.0em ;


}

.skills .skills__img{
    display: flex;
    flex-flow: column wrap;
    align-items: center;
    padding: 0.5em 0em ;

}

.skills img{
    width: 75px;
    width: 75px;
    padding: 0.7em ;
}

.skills p {
    font-family: var(--sub-title-font);
    font-size: 1rem;
    font-weight: 600px;
}


/*Footer*/

.footer {
    width: 100%;
    height: 25vw ;
    background:  rgb(155,0,9);
    padding: 0em 0em;
    display: flex;
    flex-flow: column wrap;
    justify-content: center;
    padding: 0em 4em;
}

.footer h1 {

    margin : 0 0 1rem ;
    font-family: var(--title-font);
    font-size: 3.5rem;
    font-weight: 600;
    border-bottom:  4px solid rgb(245, 242, 242);
    padding: 0.2em ;
    color: white;

}

.footer .contact__paragraph {
    display: flex;
    align-items: center;
    padding: 0.5em 0em;
    flex-wrap: wrap;
}

.footer .contact__paragraph p  {
  font-family: var(--sub-title-font);
  font-size: 1.5em;
  padding: 0em 0.5em;
  color: white;
}

.footer .contact__paragraph img{
    width: 50px;
    height: 50px;

}

/****************Media para navbar**********************/
@media screen and (max-width: 936px){

    .header {
        padding: 0 3em;
  
    }

    .header .a{
        font-family: var(--sub-title-font);
        font-size: 1.2rem;
        font-weight: 400;
        color: black;
        
        
    }
    
    .header .contact_a{
        
     
        font-size: 1.2rem;
        font-weight: 400;
        padding: 0.5em 0.8em;
        border-radius: 10px;
    
    
    }

    .header .li {
        margin: 0em 0.8em;
    }
    
    
            
        

}

@media screen and (max-width: 733px){

    .header {
        padding: 0em 4em;
        min-height: 5em;
    }

    .header__ham{

        display: block;
    }

    .nav{
        display: none;
    }

    /*Footer*/

    .footer {
        height: 30vw ;
        padding: 0em 1em;
    }

    .footer h1 {

        margin : 0 0 1rem ;
        font-size: 2.5rem;
        font-weight: 400;
        border-bottom:  3px solid rgb(245, 242, 242);
        padding: 0.1em ;

    
    }

    .footer .contact__paragraph p  {
        font-size: 1em;
        padding: 0em 0.5em;
        color: white;
      }
      
      .footer .contact__paragraph img{
          width: 30px;
          height: 30px;
      
      }

}

@media screen and (max-width: 467px){

    .header {
        padding: 0em 1em;
        min-height: 5em;
    }
}


@media screen and (max-width: 420px){


    .footer h1 {

        margin : 0 0 1rem ;
        font-size: 2rem;
        font-weight: 400;
    
    }

    .footer .contact__paragraph p  {
        font-size: 0.9em;
        padding: 0em 0.5em;
   
      }
      
      .footer .contact__paragraph img{
          width: 25px;
          height: 25px;
      
      }


}







