@import url("https://fonts.googleapis.com/css?family=Raleway:400,700&display=swap");

/*Colors*/
:root {
	--first-color: #ffffff;
	--second-color: #f2bf25;
	--text-color: #050505;
	--white-color: #fff;
	--body-font: "Raleway", sans-serif;
	--h2-font-size: 1.25rem;
	--medium-font-size: 1.35rem;
	--big-font-size: 1.7rem;
	--normal-font-size: 0.93rem;
	--smaller-font-size: 0.75rem;
}

@media screen and (min-width: 768px) {
	:root {
		--medium-font-size: 2.3rem;
		--h2-font-size: 2rem;
		--big-font-size: 3.5rem;
		--normal-font-size: 1rem;
		--smaller-font-size: 0.813rem;
	}
}

/*z index*/
:root {
	--z-back: -10;
	--z-normal: 1;
	--z-tooltip: 10;
	--z-fixed: 100;
	--z-modal: 1000;
}

/*----- BASE -----*/
*,
::before,
::after {
	-webkit-box-sizing: border-box;
	box-sizing: border-box;
}

body {
	margin: 3rem 0 0 0;
	font-family: var(--body-font);
	background-color: var(--first-color);
	color: var(--text-color);
	font-weight: 700;
	overflow-x: hidden;
}

body {
	min-height: 92vh;
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
}

h1,
h2 {
	margin: 0;
}

ul {
	margin: 0;
	padding: 0;
	list-style: none;
}

a {
	text-decoration: none;
}

img {
	max-width: 100%;
	height: auto;
}

/*----- LAYOUT -----*/
.bd-grid {
	max-width: 1200px;
	margin-left: 1rem;
	margin-right: 1rem;
}

.l-header {
	width: 100%;
	position: fixed;
	top: 0;
	left: 0;
	z-index: var(--z-modal);
	background-color: var(--first-color);
}

/* Barba */
ul .transition {
	display: flex;
	position: absolute;
	z-index: 10;
	height: 100vh;
	width: 100%;
	top: 0;
	left: 0;
	margin: 0;
	pointer-events: none;
}

ul .transition li {
	transform: scaleY(0);
	background: #fff;
	width: 20%;
}

/*----- PAGES -----*/
.nav {
	height: 3rem;
	display: -webkit-box;
	display: -ms-flexbox;
	display: flex;
	-webkit-box-pack: justify;
	-ms-flex-pack: justify;
	justify-content: space-between;
	-webkit-box-align: center;
	-ms-flex-align: center;
	align-items: center;
}

@media screen and (max-width: 768px) {
	.nav__menu {
		position: fixed;
		top: 0;
		transform: translateX(100%);
		background-color: var(--white-color);
		width: 100vw;
		height: 100vh;
		padding: 1rem;
		z-index: var(--z-modal);
		font-weight: 900;
		-webkit-transition: 0.5s;
		transition: 0.5s;
	}
}

.nav__close {
	text-align: right;
	margin-right: 20px;
}

.nav__close-icon {
	font-size: 1.5rem;
	cursor: pointer;
}

.nav__list {
	text-align: center;
	padding-top: 2.5rem;
}

.nav__item {
	margin-bottom: 2.5rem;
}

.nav__link {
	padding: 0.5rem;
	color: var(--text-color);
	text-transform: uppercase;
}

.nav__link:hover {
	color: #575757;
}

.nav__logo {
	font-size: var(--normal-font-size);
	color: #000;
}

.nav__toggle {
	font-size: 1.5rem;
	cursor: pointer;
}

/*Aparecer menu*/
.show {
	transform: translateX(0%);
}

/*Cerrar menu*/
.hidden {
	right: -100%;
}

/*Home*/
.l-main {
	height: calc(92vh - 3rem);
}

.home {
	position: relative;
	height: 100%;
	display: -ms-grid;
	display: grid;
	-ms-grid-columns: 1fr 4fr;
	grid-template-columns: 1fr 4fr;
	-ms-flex-line-pack: end;
	align-content: flex-end;
	z-index: var(--z-normal);
}

.work {
	position: relative;
	height: 100%;
	display: -ms-grid;
	display: grid;
	-ms-grid-columns: 1fr 4fr;
	grid-template-columns: 1fr 4fr;
	-ms-flex-line-pack: end;
	align-content: flex-end;
	z-index: var(--z-normal);
}

.heading {
	color: black;
	font-weight: 700;
	letter-spacing: 1px;
	-webkit-text-fill-color: transparent; /* Will override color (regardless of order) */
	-webkit-text-stroke-width: 1px;
	-webkit-text-stroke-color: black;
}

.home__title {
	position: absolute;
	top: 2%;
	left: 15%;
	font-size: var(--big-font-size);
	font-weight: 900;
	z-index: var(--z-fixed);
}

.home__title h2 {
	overflow: hidden;
}

.home__title h2 span {
	display: inline-block;
	transform: translateY(100%);
}

.about__title {
	position: absolute;
	top: 2%;
	left: 5%;
	font-size: var(--big-font-size);
	font-weight: 900;
	z-index: var(--z-fixed);
}

.about__title h2 {
	overflow: hidden;
}

.about__title h2 span {
	display: inline-block;
	transform: translateY(100%);
}

.create-p {
	font-size: 14px;
	font-weight: 100;
}

.home__img {
	position: absolute;
	top: 55%;
	left: 15%;
	width: 235px;
	height: 353px;
	z-index: var(--z-tooltip);
}

.home__img img {
	clip-path: polygon(0 0, 100% 0, 100% 0, 0 0);
}

.about__para {
	position: absolute;
	top: 22%;
	left: 16%;
	font-size:var(--medium-font-size);
	z-index: var(--z-tooltip);
}

.about__para_ {
	position: absolute;
	top: 22%;
	left: 16%;
	font-size: 1.50rem;
	z-index: var(--z-tooltip);
}
.home__social {
	-webkit-writing-mode: vertical-rl;
	-ms-writing-mode: tb-rl;
	writing-mode: vertical-rl;
	-webkit-transform: rotate(180deg);
	transform: rotate(180deg);
	padding-top: 4rem;
}

.home__subtitle {
	-webkit-writing-mode: vertical-rl;
	-ms-writing-mode: tb-rl;
	writing-mode: vertical-rl;
	-webkit-transform: rotate(180deg);
	transform: rotate(180deg);
	padding-top: 2rem;
	padding-right: 0.5rem;
	font-size: var(--h2-font-size);
	font-weight: 900;
}

.home__button {
	position: absolute;
	right: -1rem;
	bottom: 0;
	padding: 1rem;
	background-color: var(--text-color);
	color: var(--white-color);
}

.home__button-icon {
	padding-left: 4.25rem;
}

/*----- MEDIA QUERIES -----*/
@media screen and (min-width: 768px) {
	body {
		margin: 0;
	}
	.l-main {
		height: 100vh;
	}
	.nav__list {
		display: -webkit-box;
		display: -ms-flexbox;
		display: flex;
		padding-top: 0;
	}
	.nav__item {
		margin-left: 3rem;
		margin-bottom: 0;
	}
	.nav__toggle,
	.nav__close {
		display: none;
	}
	.nav__link {
		text-transform: initial;
	}
	.home {
		-ms-grid-columns: 4fr 1fr;
		grid-template-columns: 4fr 1fr;
	}
	.work {
		-ms-grid-columns: 4fr 1fr;
		grid-template-columns: 4fr 1fr;
	}
	.home__title {
		top: 16%;
		left: 15%;
	}

	.home__title h2 {
		overflow: hidden;
	}

	.home__title h2 span {
		display: inline-block;
		transform: translateY(100%);
	}

	.about__title {
		top: 16%;
		left: 15%;
		display: flex;
	}

	.about__title h2 {
		overflow: hidden;
		margin-right: 1rem;
	}

	.about__title h2 span {
		display: inline-block;
		transform: translateY(100%);
	}

	.about__para {
		position: absolute;
		top: 30%;
		left: 16%;
		font-weight: 100 !important;
		font-size:var(--medium-font-size);
		z-index: var(--z-tooltip);
	}
	.about__para_ {
		position: absolute;
		top: 27%;
		left: 16%;
		font-weight: 100 !important;
		font-size: 1.55rem;
		z-index: var(--z-tooltip);
	}

	.create-p {
		font-size: 14px;
		font-weight: 100;
	}

	.home__img {
		width: 359px;
		height: 539px;
		top: 18%;
		left: 55%;
	}
	.home__img img {
		clip-path: polygon(0 0, 100% 0, 100% 0, 0 0);
	}
	.home__social {
		padding-top: 5rem;
	}
	.home__social-link {
		padding-bottom: 3rem;
	}
	.home__subtitle {
		padding-top: 18rem;
		padding-right: 8rem;
	}
	.work__button {
		margin-right: -1100px;
	}
}

.home__social-link {
	padding-bottom: 2rem;
	color: var(--text-color);
	font-size: var(--smaller-font-size);
}

@media (max-width: 600px) {
	.work__social {
		margin-bottom: 4rem;
	}
	.work__button {
		margin-bottom: 3rem;
		margin-right: -16rem;
	}
}

@media screen and (min-width: 1200px) {
	.bd-grid {
		margin-left: auto;
		margin-right: auto;
	}
}

/* .container {
  position: fixed;
  width: 100%;
  top: 0;
  left: 0;
  display: flex;
}

.container section{
  min-width: 100%;  
  height: auto;
  display: flex;
  justify-content: center;
  align-items: center;
  height: 100vh;
  visibility: hidden; 
} 

.container section .content{
  margin-top: 150px;
  max-width:  600px;
  padding: 20px;
  text-align: center;
}

.container section .content a button{
  padding: 9px;
  font-size: 15px;
  color: #000;
  background-color: #ffffff;
  cursor: pointer;
  outline: none;
  border: 1px solid black;
  border-radius: 5px;
}
 
.container section .content h4{
  font-size: 18px;
  font-weight: 400;
}

.container section .content p{
  font-size: 16px;
  font-weight: 200;
}

.container section .content i{
  font-size: 20px;
  color: #000;
}

.wrapper {
  visibility: hidden;
  position: relative;
  overflow: hidden;
}
.wrapper img {
  width: 100%;
  object-fit: cover;
}
.wrapper:after {
  content: "";
  position: absolute;
  width: 0%;
  height: 100%;
  top: 0;
  left: 0;
  background: #000000;
}

.down-div{
  position:absolute;
  top: 0;
  left: 0;
  bottom: 0;
  right: 0;
}

[downbutton] {
  display: flex;
  width: 100%;
  height: 24px;
  justify-content: center;
  position: absolute;
  pointer-events: none;
  bottom: 24px;
}
[downbutton]::before, [downbutton]::after {
  content: "";
  width: 24px;
  height: 24px;
  background: transparent;
  -webkit-mask-image: url("https://cdnjs.cloudflare.com/ajax/libs/ionicons/2.0.1/src/android-arrow-dropdown.svg");
          mask-image: url("https://cdnjs.cloudflare.com/ajax/libs/ionicons/2.0.1/src/android-arrow-dropdown.svg");
  -webkit-mask-size: 24px 24px;
          mask-size: 24px 24px;
  -webkit-mask-repeat: no-repeat;
          mask-repeat: no-repeat;
  background-color: rgba(0, 0, 0, 0.9);
}
[downbutton]::before {
  position: absolute;
}
[downbutton]::after {
  position: relative;
  -webkit-animation-duration: 0.9s;
          animation-duration: 0.9s;
  -webkit-animation-name: down;
          animation-name: down;
  -webkit-animation-iteration-count: infinite;
          animation-iteration-count: infinite;
  -webkit-animation-timing-function: ease-in-out;
          animation-timing-function: ease-in-out;
}

@-webkit-keyframes down {
  from {
    margin-top: 0;
    opacity: 1;
  }
  to {
    margin-top: 24px;
    opacity: 0;
  }
}

@keyframes down {
  from {
    margin-top: 0;
    opacity: 1;
  }
  to {
    margin-top: 24px;
    opacity: 0;
  }
}

@media (max-width: 600px){
  .container section .content{
    margin-top: 10px;
  }
  [downbutton] {
    bottom: 115px;
  }
} */
.work__para {
	margin-left: 3rem;
}
.container {
	width: 80vw;
	height: 62vh;
	/* background: var(--text-color); */
	border-radius: 10px;
	display: flex;
	justify-content: center;
	align-items: center;
}

.inside-container {
	display: grid;
	place-content: center;
	margin-bottom: 200px;
}

.waterfall {
	width: 70vw;
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
	grid-gap: 1em;
	grid-auto-flow: row dense;
	grid-auto-rows: 10vh;
}

.waterfall .item:nth-of-type(3n + 1) {
	grid-row: auto / span 3;
}
.waterfall .item:nth-of-type(3n + 2) {
	grid-row: auto / span 4;
}
.waterfall .item:nth-of-type(3n + 3) {
	grid-row: auto / span 5;
}

.waterfall .item {
	overflow: hidden;
	/* transform: rotate(-7.5deg); */
	filter: saturate(0) contrast(5) brightness(0.3);
	transition: transform 0.2s, border 0.1s;
	box-sizing: border-box;
	border: 1em solid transparent;
}

.waterfall .item img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	/* transform: rotate(15deg); */
	transition: all 0.3s;
}

.waterfall .item span {
	position: absolute;
	font-size: 1rem;
	text-align: center;
	width: 120px;
	height: 120px;
	border-radius: 50%;
	top: 20%;
	left: 30%;
	background: #fff;
	color: #000;
	display: none;
	align-items: center;
	justify-content: center;
	transition: box-shadow 300ms ease-in-out;
	animation: scale 1s forwards;
}

.waterfall .item:hover span {
	display: flex;
	box-shadow: 0 15px 35px 10px rgba(0, 0, 0, 0.5);
}

@keyframes scale {
	from {
		opacity: 0;
		transform: scale(0.5);
	}
	to {
		transform: scale(1);
		opacity: 1;
	}
}

.waterfall .item.inbound {
	transform: rotate(0);
	filter: none;
	border-bottom: 1px solid #000;
}

.waterfall .item.inbound img {
	transform: rotate(0);
}

@media (max-width: 600px) {
	.work__para {
		margin-left: 1rem;
		margin-top: -1rem;
	}
}

@media (max-width: 395px) {
	.work__para {
		margin-left: 0.5rem;
	}
}

/* Contact  */
.contact-row form {
	display: flex;
	flex-direction: column;
	margin: 1rem;
	text-align: left;
}

.contact-row form .input-control {
	margin: 1rem;
	padding: 1rem;
	border-bottom: 1px solid #333 !important;
	border: none;
	-webkit-appearance: none;
	color: var(--text-color);
	font-family: var(--body-font);
	font-size: 18px;
}

.contact-row form .input-control:focus,
.contact-row form .text-control:focus {
	border: none;
	outline: none;
}

.contact-row form .text-control {
	margin: 1rem;
	padding: 1rem;
	font-size: 18px;
	border-bottom: 1px solid var(--text-color) !important;
	border: none;
	color: var(--text-color);
	font-family: var(--body-font);
}

.contact-row form button {
	padding: 1rem;
	width: 200px;
	margin-top: 15px;
	margin-left: 15px;
	background-color: var(--text-color);
	color: #ffffff;
	border: none;
	outline: none;
	font-family: var(--body-font);
	cursor: pointer;
}

@media (max-width: 600px) {
	.contact-row form {
		margin: 0px;
	}
	.contact-row form .text-control,
	.contact-row form .input-control {
		width: 260px;
	}
	.contact-row form .input-control {
		margin: 0.5rem;
	}
	.about__para p {
		line-height: 27px;
	}
	.about__para_ {
		font-size: 0.92rem;
	}
}

/* Footer */
footer {
	height: 95vh;
	background: var(--text-color);
	color: #fff;
	text-align: left;
}

.footer {
	margin: auto;
	width: 80%;
}

.footer h2 {
	overflow: hidden;
	font-size: var(--big-font-size);
}

.footer h2 span {
	display: inline-block;
	transform: translateY(100%);
}

.footer .email {
	color: #ffffff;
	text-decoration: none;
	font-size: var(--big-font-size);
	letter-spacing: 1px;
	-webkit-text-fill-color: transparent; /* Will override color (regardless of order) */
	-webkit-text-stroke-width: 1px;
	-webkit-text-stroke-color: #ffffff;
}

.footer .email:hover {
	color: #ffffff;
	letter-spacing: 1px;
	-webkit-text-fill-color: #ffffff; /* Will override color (regardless of order) */
	-webkit-text-stroke-color: var(--text-color);
}

.footer .copy {
	margin-top: 10rem;
	font-size: var(--medium-font-size);
}

.footer .copy a {
	text-decoration: none;
	color: #ffffff;
	font-weight: bolder;
}

@media (max-width: 600px) {
	.footer h2 {
		font-size: 1.18rem;
		margin-top: 5rem;
	}
	.footer .email {
		font-size: 1.2rem;
		-webkit-text-stroke-width: 0.5px;
		-webkit-text-fill-color: #ffffff;
	}
	.footer .copy {
		font-size: var(--normal-font-size);
	}
}

.reveal-holder {
	position: relative;
	display: inline-block;
	overflow: hidden;
}
.reveal-block {
	position: absolute;
	top: 0;
	width: 100%;
	height: 101%;
	background: white;
}
.reveal-block::before {
	position: absolute;
	content: "";
	top: 0;
	left: 0;
	right: 0;
	bottom: 0;
	background: black;
	transition-property: transform;
	transition-duration: 0.5s;
}

.reveal-block.right::before {
	transform: scaleX(0);
	transform-origin: 0% 100%;
}
.reveal-block.right.aos-animate::before {
	transform: scaleX(1);
}

[data-aos="reveal-right"] {
	transform: scaleX(1);
	transform-origin: 100% 0%;
	transition-property: transform;
	transition-delay: 0.5s;
}
[data-aos="reveal-right"].aos-animate {
	transform: scaleX(0);
}

/* Skills */

.skills {
	display: grid;
	grid-template-columns: auto auto auto;
}

.skills li {
	margin: 10px;
	list-style: none;
	width: 250px;
	height: 200px;
	background: #fff;
	box-shadow: 5px 5px 15px 1px rgba(0, 0, 0, 0.15);
}

.skills li:hover {
	transform: scale(1.05);
	transition: all 500ms ease-out;
}

.skills li svg {
	position: relative;
	top: 30px;
	left: 35%;
}

.skills li img {
	position: relative;
	top: 20px;
	left: 35%;
	margin-bottom: -1rem;
}

.skills li h3 {
	font-size: 20px;
	color: #333;
	max-width: 200px;
	margin: auto;
	text-align: center;
}

@media (max-width: 700px) {
	.skills {
		display: grid;
		grid-template-columns: auto;
	}
}

/* Skills End */

.alert {
	text-align: center;
	padding: 10px;
	background: #79c879;
	color: #ffffff;
	margin-bottom: 10px;
	font-size: var(--normal-font-size);
	display: none;
}

/* Join my bootcamp */

.center-launch {
	text-align: left;
	position: absolute;
	bottom: 0;
	top: 0;
	left: 0;
	right: 0;
	margin: auto;
	height: 310px;
	width: 50vw;
	margin-top: -2rem;
}

#demo {
	width: 60vw;
	text-align: center;
	margin: auto;
}

.center-demo {
	text-align: center;
}

.time-flex {
	display: flex;
	text-align: center;
	justify-content: space-evenly;
}

.time-flex-inner {
	width: 40vw;
	height: 120px;
	color: #ffffff;
	padding: 10px;
	border-radius: 8px;
	margin-right: 1rem;
	background: var(--text-color);
}

.center {
	text-align: center;
}

.center small {
	font-size: var(--normal-font-size);
}

.center form input {
	padding: 10px;
	border: 1px solid var(--text-color);
	outline: none;
	color: var(--text-color);
	font-size: 16px;
	border-radius: 8px;
	width: 300px;
}

.center form input::placeholder {
	font-family: var(--body-font);
}

.center form button {
	padding: 12px;
	border-radius: 8px;
	outline: none;
	border: none;
	background: var(--text-color);
	color: #ffffff;
	font-family: var(--body-font);
	cursor: pointer;
}

@media (max-width: 640px) {
	.center-launch {
		width: 70vw;
	}
	.time-flex {
		display: grid;
		text-align: center;
		justify-content: center;
		grid-template-columns: auto auto;
	}
	.time-flex-inner {
		width: 30vw;
		height: 100px;
		color: #ffffff;
		padding: 10px;
		border-radius: 8px;
		margin-bottom: 1rem;
		margin-right: 1rem;
		background: var(--text-color);
	}
	.center form input {
		width: 250px;
		margin-top: 1rem;
	}
	.center form button {
		margin-top: 1rem;
	}
}

/* Bootcamp info */
.social {
	display: flex;
	justify-content: space-evenly;
	width: 100%;
}

.social li i {
	font-size: 30px;
}

.social li a {
	color: black;
}

.list-type li {
	list-style: initial;
}

.list-type li a {
	text-decoration: underline;
}

@media (max-width: 500px) {
	.line {
		line-height: 50px !important;
	}
	.social {
		display: grid;
		grid-template-columns: auto auto;
	}
	.social li {
		margin-bottom: 1rem;
	}
}

@media (max-height: 640px) {
	.line {
		line-height: 80px !important;
	}
}

/* Learn Web Dev */
.social-icons {
	display: flex;
	justify-content: space-evenly;
	width: 60%;
}

.social-icons li i {
	font-size: 30px;
}

.social-icons li a {
	color: var(--white-color);
}

@media (max-width: 500px) {
	.social-icons {
		width: 100%;
	}
	.social-icons li {
		margin-bottom: 1rem;
	}
}

.card-container {
	width: 100%;
}

.card-container a {
	color: var(--text-color);
}

.card {
	display: flex;
	justify-content: space-evenly;
	background: #ffffff;
	border-radius: 16px;
	padding: 0 10px 40px 30px;
	box-shadow: 5px 5px 5px 5px rgba(0, 0, 0, 0.2);
	margin-bottom: 2rem;
	cursor: pointer;
}

.card-content {
	color: var(--black-color);
	float: right;
	width: 70%;
}

.card-img {
	float: left;
	width: 30%;
	margin-top: 50px;
}

.figure {
	display: flex;
	align-items: center;
	justify-content: space-evenly;
	width: 140px;
	color: var(--black-color);
}

.figure img {
	width: 30px;
	border-radius: 50%;
}

.card-container-two {
	display: flex;
	width: 100%;
}

.card-two {
	display: flex;
	width: 90%;
	justify-content: space-evenly;
	background: #ffffff;
	border-radius: 16px;
	padding-bottom: 30px;
	box-shadow: 5px 5px 5px 5px rgba(0, 0, 0, 0.2);
	margin-bottom: 2rem;
	cursor: pointer;
}

.card-content button {
	padding: 10px;
	border: none;
	outline: none;
	border-radius: 8px;
	color: var(--white-color);
	background: var(--text-color);
	font-family: var(--body-font);
}

.card-container-two .flex {
	display: flex;
	width: 100%;
	flex-wrap: wrap;
}

.card-container-two .flex .card-two {
	margin-right: 1rem;
	width: 45%;
}

.button-container button {
	padding: 15px;
	border: none;
	outline: none;
	border-radius: 5px;
	color: var(--text-color);
	background: var(--white-color);
	font-family: var(--body-font);
	border-bottom: 2px solid var(--text-color);
	cursor: pointer;
}

.button-container button:focus {
	color: var(--white-color);
	background: var(--text-color);
}

@media (max-width: 640px) {
	.card-container-two .flex .card-two {
		margin-right: 0;
		width: 100%;
	}
	.card {
		flex-direction: column;
	}

	.card-content {
		width: 90%;
	}

	.card-img {
		width: 90%;
		float: none;
		text-align: center;
	}
}

/* Timeline for videos */
.btn {
	padding: 10px;
	background: var(--text-color);
	color: var(--white-color);
	outline: none;
	border: none;
	border-radius: 5px;
	font-family: var(--body-font);
}
.d-flex {
	display: flex;
}
.d-flex .card-two {
	margin-right: 1rem;
}
.video-content-container {
	margin-top: 1rem;
	height: 100vh;
	width: 100%;
	align-items: center;
	justify-content: center;
}

.video-card {
	margin-left: 1rem;
}

@media (max-width: 640px) {
	.video-content-container {
		margin-top: 0;
	}
	.video-card {
		margin-left: -1rem;
	}
	.d-flex {
		flex-direction: column;
	}
}
