html{
    scroll-behavior: smooth; /*propiedad para suavizar el scroll, se aplica al html*/
}
body {
    margin: 0;
    padding: 0;
    font-family: 'Source Sans Pro', sans-serif;
    font-size: 18px;
    line-height: 2em;
    overflow-x: hidden;
    background-image: url("https://www.esic.edu/sites/default/files/2021-09/lenguajes-programacion-mejor-pagados.jpg");
    background-position: center;
    background-repeat: no-repeat;
    background-attachment: fixed;
    background-size: cover;
}
a {
    text-decoration: none;
    transition: all 0.4s ease;
    color: #38CCCC;
}
h1, h2, p, i, address, .section_contact_center_telephone { color: white; }
.heartbeat {
	-webkit-animation: heartbeat 1.5s ease-in-out infinite 1.2s both;
	        animation: heartbeat 1.5s ease-in-out infinite 1.2s both;
}
@-webkit-keyframes heartbeat {
    from {
        -webkit-transform: scale(1);
                transform: scale(1);
        -webkit-transform-origin: center center;
                transform-origin: center center;
        -webkit-animation-timing-function: ease-out;
                animation-timing-function: ease-out; }
    10% {
        -webkit-transform: scale(0.91);
                transform: scale(0.91);
        -webkit-animation-timing-function: ease-in;
                animation-timing-function: ease-in; }
    17% {
        -webkit-transform: scale(0.98);
                transform: scale(0.98);
        -webkit-animation-timing-function: ease-out;
                animation-timing-function: ease-out; }
    33% {
        -webkit-transform: scale(0.87);
                transform: scale(0.87);
        -webkit-animation-timing-function: ease-in;
                animation-timing-function: ease-in; }
    45% {
        -webkit-transform: scale(1);
                transform: scale(1);
        -webkit-animation-timing-function: ease-out;
                animation-timing-function: ease-out; }
}
@keyframes heartbeat {
    from {
        -webkit-transform: scale(1);
                transform: scale(1);
        -webkit-transform-origin: center center;
                transform-origin: center center;
        -webkit-animation-timing-function: ease-out;
                animation-timing-function: ease-out; }
    10% {
        -webkit-transform: scale(0.91);
                transform: scale(0.91);
        -webkit-animation-timing-function: ease-in;
                animation-timing-function: ease-in; }
    17% {
        -webkit-transform: scale(0.98);
                transform: scale(0.98);
        -webkit-animation-timing-function: ease-out;
                animation-timing-function: ease-out; }
    33% {
        -webkit-transform: scale(0.87);
                transform: scale(0.87);
        -webkit-animation-timing-function: ease-in;
                animation-timing-function: ease-in; }
    45% {
        -webkit-transform: scale(1);
                transform: scale(1);
        -webkit-animation-timing-function: ease-out;
                animation-timing-function: ease-out; } 
}
.roll-in-left {
	-webkit-animation: roll-in-left 1s ease-out 0.5s both;
	        animation: roll-in-left 1s ease-out 0.5s both;
}
@-webkit-keyframes roll-in-left {
    0% {
        -webkit-transform: translateX(-800px) rotate(-540deg);
                transform: translateX(-800px) rotate(-540deg);
        opacity: 0; }
    100% {
        -webkit-transform: translateX(0) rotate(0deg);
                transform: translateX(0) rotate(0deg);
        opacity: 1; }
}
@keyframes roll-in-left {
    0% {
        -webkit-transform: translateX(-800px) rotate(-540deg);
                transform: translateX(-800px) rotate(-540deg);
        opacity: 0; }
    100% {
        -webkit-transform: translateX(0) rotate(0deg);
                transform: translateX(0) rotate(0deg);
        opacity: 1; }
}
.fade{
	-webkit-animation: fade-in 2.0s ease-in 1.2s both;
	        animation: fade-in 2.0s ease-in 1.2s both;
}
@-webkit-keyframes fade{
    0% { opacity: 0; }
    100% { opacity: 1; }
}
@keyframes fade{
    0% { opacity: 0; }
    100% { opacity: 1; }
}
/* -----------------
        HEADER
----------------- */
.hamburger {
	position: fixed;
	top: 28px;
	right: 15px;
	z-index: 100;
	font-size: 40px;
	padding: 10px;
	cursor: pointer;
    border:#0e0e0e solid 2px;
    border-radius: 5px;
    background-color: #38CCCC;
}
.nav {
	position: fixed;
	inset: 0 auto 0 0;
	z-index: 1000;
	width: 250px;
	background-color: #0e0e0e;
	padding-right: 15px;
	transform: translateX(-300px);
	transition: transform 0.5s cubic-bezier(0.35, 0.05, 0.795, 0.035);
}
.active .nav {
	transform: translateX(0);
}
.nav-list {
	list-style: none;
    padding-left: 30px;
}
.nav-item {
	position: relative;
}
.nav-item::before {
	content: '';
	position: absolute;
	left: 0;
	bottom: 0;
	width: 100%;
	height: 1px;
	background-color: #18e0b5;
}
.nav-link {
	display: block;
	text-transform: uppercase;
	line-height: 80px;
	letter-spacing: 3px;
	opacity: 0.75;
	transition: opacity 0.25s;
}
.nav-link:hover {
	opacity: 1;
}
.nav-link span {
	font-size: 25px;
	margin-right: 10px;
}
.container-btn-mode{
    cursor: pointer;
    z-index: 20;
    font-size:0;
    display: flex;
    align-items: center;
    padding: 20px 20px 20px 50px;
}
.btn-mode{
    display: inline-block;
    width: 50px;
    height: 30px;
    border:2px solid black;
    transition: background-color .5s;
}
.btn-mode i {
    display: block;
    font-size: 17px;
    text-align: center;
    line-height: 30px;
}
.btn-mode.sun{
    border-top-left-radius: 20px;
    border-bottom-left-radius: 20px;
    border-right: 1px solid transparent;
}
.btn-mode.moon{
    border-top-right-radius: 20px;
    border-bottom-right-radius: 20px;
}
.active{
    background-color:black;
}
.dark-mode{
    background-color: #0e0e0e;
    transition:background-color .5s;
    color:white;
}
.dark-mode .btn-mode{
    background-color:#1A1C1E;
    border:1px solid white;
    color:white;
}
.main_container {
    width: 100%;
    max-width: 970px;
    box-sizing: border-box;
    margin: 0 auto;
    padding: 60px 15px;
}
/* ------------------
        INTRO
------------------ */
.section_intro {
    background-color: #967dadf5;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    border-radius: 15px;
    box-shadow: 1px 1px 7px #fff, -1px -1px 7px #fff;
}
.section_intro img{
    border-radius: 50%;
    margin-top: 10px;
}
#mail{
    color: white;
}
#mail:hover{
    color: #0e0e0e;
    font-weight: 800;
}
/* -------------------
        BIO 
---------------------*/
.section_bio{
    display: flex;

    padding: 50px;
    background-color: #d66793f5;
    border-radius: 15px;
    box-shadow: 1px 1px 7px #fff, -1px -1px 7px #fff;
}
.section_bio img{
    border-radius: 15px;
}
.section_bio > div{
    flex: 1 1;
}
.section_bio_izq{
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}
.section_bio_der_p_arriba{
    margin-bottom: 40px;
}
.section_bio_der_p_abajo{
    margin-bottom: 0;
}
/*-------------------
        EDUCACION 
-------------------*/
.section_estudios-bk{
    background-color: #69a78ff5;
    flex-direction: row-reverse;
}
.section_educacion_ul{
    list-style: none;
    padding: 0;
}
/*-------------------
        EXPERIENCIA 
-------------------*/
.section_experiencia-bk{
    background-color: #449293f5;
}
/* ------------------
        GALERIA
------------------ */
.section_galeria{
    display: flex;
    padding: 50px;
    background-color: #7c9c9cf5;
    border-radius: 15px;
    flex-wrap: wrap;
    justify-content: center;
    box-shadow: 1px 1px 7px #fff, -1px -1px 7px #fff;
}
.section_galeria_item img {
    border-radius: 12px;
    margin: 10px;
    overflow: hidden;
    height: 220px;
    width: 220px;
}
.section_galeria_item p{
    margin-top: 0px;
    text-align: center;
}
.section_galeria_item{
    display: flex;
    flex-direction: column;
}
.section_galeria_item meter{
    align-self: center;
    filter: drop-shadow(2px 2px 10px white);
    width: 150px;
}
.section_galeria_item meter::-webkit-meter-optimum-value{
    background: rgb(75, 75, 75);
}
/*-------------------
        CONTACT
-------------------*/
.section_contact{
    background-color: #878f8ff5;
    border-radius: 15px;
    display: flex;
    flex-direction: row-reverse;
    padding: 50px 20px;
    box-shadow: 1px 1px 7px #fff, -1px -1px 7px #fff;
}
.section_contact > div{
    padding-left: 34px;
    padding-right: 34px;
    box-sizing: border-box;
}
.section_contact_izq{
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 20%;
    padding-left: 50px;
    padding-right: 50px;
}
.section_contact_izq img{
    border-radius: 15px;
}
.section_contact_center{
    width: 40%;
    padding-top: 20px;
}
.section_contact_center_adress{
    margin-bottom: 30px;
    font-style: normal; 
}
.section_contact_center_telephone{
    margin-bottom: 40px;
}
.section_contact_center_telephone a:hover{
    color: #000000;
    font-weight: 600;
}
.section_contact_center_social{
    display: flex;
}
.section_contact_center_social > img{
    fill:#99CCCC;
}
.section_contact_center_social_link{
    width: 40px;
    height: 40px;
    margin-right: 15px;
    background-color: white;
    display: flex;
    align-items: center;
    justify-content: center;
}
.section_contact_center_social_link img:hover{
    scale: 130%;
}
.section_contact_der{
    width: 40%;
}
input,
textarea {
    font-family: 'Source Sans Pro', sans-serif;
    font-size: 1rem;
    background: transparent;
    border: 0;
    border-bottom: 1px solid white;
    color: white;
    padding: 15px 0;
    margin-top: 5px;
    margin-bottom: 5px;
    width: 100%;
}
input,
textarea,
button {
    display: block;
}
::-webkit-input-placeholder { color: white; }
:-ms-input-placeholder { color: white; }
::placeholder { color: white; }
#textarea {
    margin-bottom: 30px
}
#btn{
    margin-right: 0; 
    margin-left: auto;
    background: none;
    border: 0;
    cursor: pointer;
    transition: all 0.3s ease;
}
#btn a{
    color: white;
    font-size: 1rem;
}
#btn a:hover {
    color: #000000;
    font-weight: 600;
}
/* ------------------
        BOTON HOME
------------------ */
#home{
    display: flex;
    justify-content: space-evenly;
    -webkit-backdrop-filter: blur(70px);
    backdrop-filter: blur(70px);
}
#home div a div{
    display: flex;
    justify-content: center;
    gap: 10px;
    height: 40px;
}
#home img{
    filter: invert(100%);
}
#home p{
    margin: 0;
    padding: 0 5px;
    font-size: 25px;
}
#home div a div:hover{
    background-color: #38CCCC; 
    transition: all 0.7s ease;
}
/* ------------------
        FOOTER
------------------ */
.footer{
    color: white; 
    text-align: center;
    text-shadow: 3px 3px 5px  rgb(75, 75, 75), -3px -3px 5px  rgb(75, 75, 75);
    -webkit-backdrop-filter: blur(70px);
    backdrop-filter: blur(70px);
}
.footer a:hover{
    color: #000000;
    font-weight: 900;
}
/*--------------------
        ICONOS FIJOS 
---------------------*/
.icon-whatsapp{
    position: fixed;
    bottom: 28px;
    right: 15px;
    z-index: 20;
    filter: drop-shadow(3px 3px 4px black);

    transition: all 0.3s ease;
}
.icon-instagram{
    position: fixed;
    bottom: 130px;
    right: 15px;
    z-index: 20;
    filter: drop-shadow(3px 3px 4px black);
    transition: all 0.3s ease;
}
.icon-facebook{
    position: fixed;
    bottom: 232px;
    right: 15px;
    z-index: 20;
    filter: drop-shadow(3px 3px 4px black);
    transition: all 0.3s ease;
}
.icon-linkedin{
    position: fixed;
    bottom: 334px;
    right: 15px;
    z-index: 20;
    filter: drop-shadow(3px 3px 4px black);
    transition: all 0.3s ease;
}
.icon-linkedin:hover, .icon-facebook:hover, .icon-instagram:hover, .icon-whatsapp:hover {
    scale: 130%;
}
/* ----------------------------------
 INICIO DE LOS MEDIAS PARA RESPONSIVE
-----------------------------------*/
@media screen and (max-width: 680px) {
    .section_contact { flex-direction: column; }
    .section_contact_der,
    .section_contact_center,
    .section_contact_izq {
        width: 100%;}
    .section_contact_der { margin-bottom: 20px; }
    .section_contact_center { margin-bottom: 30px; }
    .section_bio { flex-direction: column; }
    .section-educacion { flex-direction: column; }
    .section_galeria { padding: 10px; }
    .footer { color: white; }
    .footer a:hover{ font-weight: 900; }
    a { font-weight: 600; }
}
@media screen and (max-width: 489px) {
    .section_galeria_item {
        width: 48%;
        margin: 1%;
        height: auto; }
    .section_galeria_item img {
        width: 100%;
        height: auto; }
}
@media screen and (max-width: 1150px){
    .hamburger {
        top: 1.5rem;
        right: 1.5rem; }
    .icon-facebook,
    .icon-instagram,
    .icon-linkedin,
    .icon-whatsapp {
        position: relative;
        bottom: unset;
        right: unset; }
    #iconos{
        display: flex;
        justify-content: center;
        gap: 25px;
        margin-top: 10px; }
}
@media screen and (max-width: 350px) {
	.nav {
		width: 20rem;
	}
}