@import url('https://fonts.googleapis.com/css2?family=Work+Sans:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;1,100;1,200;1,300;1,400;1,500;1,600;1,700&display=swap');

  .bgr {background-color: red;}
  .bgb {background-color: blue;}
  .bga {background-color: aqua;}
  .bgbr {background-color: brown;}
  .bgor {background-color: orange;}
  .bggr {background-color: grey;}

  /*back to top styles*/

  #back-to-top {
    /*height: 50px;*/
    /*width: 50px;*/
    position: fixed;
    bottom: 30px;
    right: 30px;
    z-index: 9990;
    color: rgba(243, 84, 92, 0.3);
    cursor: pointer;
  }

  #back-to-top:hover{
    color: #fff;
  }

  .svg-inline--fa.fa-stack-2x {
    width: inherit;
  }

  
  /* General style */

* {
	padding: 0;
	margin: 0;
	box-sizing: border-box;

	font-family: 'Work Sans', sans-serif;	
}

html{
	scroll-behavior: smooth;
}


@keyframes show_img {

	from {
		opacity: 0;
		scale: 75%;
	}

	to {
		opacity: 1;
		scale: 100%;
	}

}

.port-il img,
.port-ir img,
.aboutme img {
	view-timeline-name: --show_img;
	view-timeline-axis: block;

	animation-timeline: --show_img; 
	animation-name: show_img;

	animation-range: entry 30% cover 50%;
	animation-fill-mode: both;

}


@keyframes show_text {

	from {
		opacity: 0;
		scale: 85%;
	}

	to {
		opacity: 1;
		scale: 100%;
	}

}

.port-il .texto h3,
.port-il .texto p,
.port-il .texto p a,
.port-ir .texto h3,
.port-ir .texto p,
.aboutme .texto p,
.aboutme .texto p a {
	view-timeline-name: --show_text;
	view-timeline-axis: block;

	animation-timeline: --show_text; 
	animation-name: show_text;

	animation-range: entry 30% cover 40%;
	animation-fill-mode: both;

}


h1{
	font-size: 36pt;
}

h3{
	font-size: 20pt;
}

header{
	background-color: #F3545C;
	font-size: 1.2rem;
	font-weight: 400;
	text-align: center;
	padding: 15px;
	display: flex;
	justify-content: center;
}

.texto a,
.texto a:visited{
	text-decoration: none;
	color: #fff;
}


.container_menu {
	height: 50px;
	width: 950px;
	z-index: 1;
	display: flex;
	align-items: center;
	justify-content: space-between;
}

.menu{
	display: flex;
	justify-content: flex-end;
	align-items: center;
	
	margin-right: 50px;
}

.menu nav{
	width: 100%;
	height: 100%;
}

.menu ul{
	display: flex;
}


.menu ul li{
	list-style: none;
	margin-left: 36px;
}

.menu ul li a{
	text-decoration: none;
	font-size: 1rem;
	color: #ffffff;
	text-transform: uppercase;
}

img {
	border-radius: 5px;
}

.title a:visited {
    text-decoration: none;
    color: white;
}

/*Presenación*/

.container_presentacion {
	height: 100vh;
	min-height: 900px;
	margin-top: -50px;
	background-color: #F3545C;
	display: flex;
	justify-content: center;
	align-items: center;
}

.presentacion {
	width: 950px;
	margin-top: 100px;
	display: flex;
	align-content: space-between;
	flex-wrap:wrap;
}

.presentacion .texto{
	color: #fff;
	width: 100%;
	height: auto;
	font-size: 14pt;
	font-weight: 300;

	margin-bottom: 30px;	
}

.presentacion .texto h1{
	margin-bottom: 40px;
}

.presentacion .texto p {
	margin-bottom: 20px;
}

.presentacion .img {
	width: 100%;
	height: auto;
	margin-bottom: 50px;
}

.presentacion img {
	width: 950px;
	max-height: 450px;
}


/*Sparador*/

.container-separate {
	height: 50px;
	display: flex;
	justify-content: space-between;
	align-items: center;
	padding: 0px 30px;
}

.icon_social img {
	height: 25px;
	width: auto;
	margin: 0px 10px;
	border-radius: 0px;
}

.s_email a,
.s_email a:visited{
	text-decoration: none;
	color: #000;
}


/* Portfoio  */

.container_portfolio {
	background-color: #2C2C2C;
	color: #fff;
	display: flex;
	justify-content: center;
	align-items: center;
}

.portfolio{
	max-width: 1200px;
	display: flex;
	align-content: space-between;
	flex-wrap:wrap;
	margin: 40px 0px;
}

.portfolio .img_separate{
	display: none;
}

.portfolio .title{
	margin-bottom: 40px;
}

.portfolio .port-il,
.portfolio .port-ir {
	width: 100%;
	display: flex;
	align-items: center;
	justify-content: center;
	margin-bottom: 100px;
}

.portfolio .port-il .texto,
.portfolio .port-ir .texto{
	display: flex;
	flex-wrap: wrap;
	align-items: center;
}

.portfolio .port-il .texto h3,
.portfolio .port-ir .texto h3{
	width: 100%;
	text-align: center;
	margin-bottom: 50px;
}


.portfolio .port-il .texto p,
.portfolio .port-ir .texto p,
.portfolio .port-il .texto p a,
.portfolio .port-ir .texto p a {
	width: 100%;
	height: auto;
	font-size: 13pt;
	font-weight: 300;
	line-height: 2rem;
	text-align: center;
	margin: 25px 40px;
}

.portfolio .port-il .img_md,
.portfolio .port-ir .img_md{
	display: none;
}


.portfolio .port-il img,
.portfolio .port-ir img{
	width: 550px;
	height: auto;
}


/*Acerca de mi*/

.container_aboutme {
	width: 100%;
	height: auto;
	background-color: #FFEFCF;
	display: flex;
	justify-content: center;
	align-content: center;
}

.aboutme {
	width: 1200px;
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 100px 0px;
}

.aboutme img{
	width: 400px;
	height: auto;
}

.aboutme .texto{	
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: center;
}

.aboutme .texto h1{
	width: 100%;
	text-align: center;
	margin-bottom: 50px;
}

.aboutme .texto p{
	width: 100%;
	height: auto;
	font-size: 13pt;
	font-weight: 400;
	line-height: 2rem;
	text-align: center;
	margin: 0px 40px 60px 40px;
}

.aboutme .texto .img_md{
	display: none;
}

.aboutme .texto .img_cv{
	height: 100px;
	width: auto;
	cursor: pointer;
}

.aboutme .texto .img_cv:hover{
	transform: scale(1.2, 1.2);
}


/* Contacto */

.container_contacto{
	width: 100%;
	height: auto;
	background-color: #900C3F;
	display: flex;
	justify-content: center;
	align-content: center;
}

.contacto{
	width: 1200px;
	display: flex;
	align-items: flex-start;
	justify-content: space-between;
	padding: 100px 0px;
}

.contacto .social{
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
}


.contacto .social .texto{
	width: 100%;
	height: auto;
	color: #fff;
}

.contacto .social .texto p,
.contacto .social .texto a{
	font-size: 16pt;
	font-weight: 300;
}

.contacto .social .texto h1{
	width: 100%;
	margin-bottom: 70px;
}

.contacto .social .texto p{
	width: 100%;
	margin-bottom: 50px;
}

.contacto .social .icon_social img{
	box-shadow: rgba(0,0,0,.3) 0 5px 10px;
}


/* Form contacto */

.form_contacto{
/*	background-color: aqua;*/
	font-weight: 300;
}

.form_contacto form .form-gpo{
	width: 100%;
	display: flex;
	flex-wrap: wrap;
	justify-items: start;
}

.form_contacto form .form-gpo label{
	color: #fff;
}

.form_contacto form .form-gpo input,
.form_contacto form .form-gpo label,
.form_contacto form .form-gpo textarea{
	width: 100%;
	margin-bottom: 15px;
}

.form_contacto form .form-gpo textarea{
	border-radius: 5px;
	border: solid 1px #922B21;
	padding: 15px;
	margin-bottom: 50px;
}

.form_contacto form .form-gpo input{
	height: 30px;
	border-radius: 5px;
	border: solid 1px #922B21;
	padding: 15px;
}

.form_contacto form .form-gpo input:focus,
.form_contacto form .form-gpo input:active,
.form_contacto form .form-gpo textarea:focus,
.form_contacto form .form-gpo textarea:active{
	outline: none;
	background-color: #F2D7D5;
}

.form_contacto form .btncontact{
	width: 100%;
	text-align: right;

}

.form_contacto form button{
	all: unset;
	padding: 15px 20px;
  background: #C62828;
  color: #fff;
  border-radius: 5px;
  text-transform: uppercase;
  cursor: pointer;
  box-shadow: rgba(0,0,0,.3) 0 5px 10px;
}


