/* Table of Content
==================================================
	- Google fonts & font family -
	- typography -
	- General -
	- Header -
    - Home section -
    - About section -
    - Experience section -
    - portfolio section -
    - Contact section -
*/

/*
     Mobile breakpoints 
     ==================================================
     Laptop: 1024px
     
     
     
     */

/* Google fonts & font family
==================================================*/

@import "https://fonts.googleapis.com/css?family=Lato:100,100i,300,300i,400,400i,700,700i,900,900i|Open+Sans:300,300i,400,400i,600,600i,700,700i,800,800i|Playfair+Display:400,400i,700,700i,900,900i";

/* typography
==================================================*/

h2 {
	font-family: "Playfair Display", sans-serif;
	letter-spacing: 8px;
}

h4 {
	font-family: "Lato", sans-serif;
	position: relative;
}

/* General
==================================================*/

:root {
	/* Colors */
	--one: #fbd394;
	--two: floralwhite;
	--three: #fabc5f;
	--four: #080808;
	--five: #888;
	--six: #f5b02f;
	--seven: #60606e;
	--eight: white;
	--navbar-color: #cecece;

	font-size: 16px;
}

body {
	font-family: "Open Sans", sans-serif;
	font-size: 14px;
	line-height: 24px;
}

.h-50 {
	height: 50px;
}

/* Header
==================================================*/

.mobile-menu-bar {
	display: none;
}

header {
	text-align: center;
	-webkit-transition: all 0.5s;
	transition: all 0.5s;
	height: 65px;
	width: 100%;
}

nav.menu {
	height: 100%;
}

nav.menu ul {
	display: flex;
	padding-left: 0;
	list-style: none;
	padding: 10px;
	margin-left: 40px;
	margin-bottom: 0;
	justify-content: center;
	align-items: center;
	gap: 45px;
	height: 100%;

	@media (max-width: 1024px) {
		align-items: start;
		flex-direction: column;
		gap: 0;
		justify-content: unset;
	}
}

.nav-text {
	font-size: 1.5rem;
	letter-spacing: 1px;
	color: var(--eight);
	font-weight: bold;
	text-transform: uppercase;

	@media (max-width: 1024px) {
		font-size: 1.8rem;

		color: var(--navbar-color);
		text-transform: unset;
	}
}

.bg-nav {
	background: var(--four);
	opacity: 0.8;
}

.bg-nav ul {
	padding: 10px;
}

a:focus {
	text-decoration: none;
}

a:hover {
	color: var(--three);
	text-decoration: none;
}

a.active {
	color: var(--six);
}

.navbar-fixed-top.scrolled {
	background-color: var(--four);
	transition: background-color 200ms linear;
}

.navbar-icon {
	display: none !important;
}

/* home section
==================================================*/

#home {
	height: auto;
	width: 100%;
	background-image: url(../img/book/welcome-image.webp);
	background-repeat: no-repeat;
	background-size: cover;
	background-position: 0px 10%;
}

.home-content {
	display: flex;
	height: 100vh;
	width: 100%;
	justify-content: center;
}

.home-container {
	display: flex;
	align-items: end;
	width: 100%;
	margin: 6rem;
	justify-content: space-around;
}

.txt-title {
	font-size: 3em;
	text-shadow: white 0px 10px 30px;
	text-transform: uppercase;
	color: var(--two);
}

/* about section
==================================================*/

#about {
	padding: 40px 0;
	background-color: white;
}

.about-content {
	width: 50%;
	text-align: justify;
	display: flex;
	flex-direction: column;
	gap: 25px;

	@media (max-width: 1024px) {
		width: 100%;
		padding-inline: 10px;
	}
}

#about > div {
	display: flex;
	align-items: center;
}

.about-img-div img {
	margin: 0 auto;
}

/* experience section
==================================================*/

#experience-experience {
	text-align: center;
}

#experience {
	padding: 40px 0;
	background: #f3f3f3;
}

.timeline {
	padding-left: 0;
	list-style: none;
	position: relative;
}

.timeline:before {
	background-color: var(--four);
	content: "";
	margin-left: -1px;
	position: absolute;
	top: 0;
	left: 2em;
	width: 2px;
	height: 100%;
}

.timeline-event {
	position: relative;
}

.timeline-event:hover .timeline-event-icon {
	-webkit-transform: rotate(-45deg);
	transform: rotate(-45deg);
	background-color: var(--six);
}

.timeline-event-copy {
	padding: 2em;
	position: relative;
	top: -1.875em;
	left: 4em;
	width: 100%;
}

.timeline-event-copy h3 {
	font-size: 1.75em;
}

.timeline-event-copy h4 {
	font-size: 1.2em;
	margin-bottom: 0.6em;
}

.timeline-event-copy strong {
	font-weight: 700;
}

.timeline-event-copy p:not(.timeline-event-thumbnail) {
	padding-bottom: 1.2em;
}

.timeline-event-icon {
	-webkit-transition: -webkit-transform 0.2s ease-in;
	transition: -webkit-transform 0.2s ease-in;
	transition: transform 0.2s ease-in;
	transition: transform 0.2s ease-in, -webkit-transform 0.2s ease-in;
	-webkit-transform: rotate(45deg);
	transform: rotate(45deg);
	background-color: var(--six);
	outline: 10px solid var(--two);
	display: block;
	margin: 0.5em 0.5em 0.5em -0.5em;
	position: absolute;
	top: 0;
	left: 2em;
	width: 1em;
	height: 1em;
}

.timeline-event-thumbnail {
	-moz-transition: box-shadow 0.5s ease-in 0.1s;
	-o-transition: box-shadow 0.5s ease-in 0.1s;
	-webkit-transition: box-shadow 0.5s ease-in;
	-webkit-transition: box-shadow 0.5s ease-in 0.1s;
	transition: box-shadow 0.5s ease-in 0.1s;
	color: var(--eight);
	font-size: 12px;
	font-weight: bold;
	background-color: var(--four);
	box-shadow: inset 0 0 0 0em var(--six);
	display: inline-block;
	margin-bottom: 1.2em;
	padding: 0.25em 1em 0.2em 1em;
}

/* portfolio section
==================================================*/

#portfolio {
	padding: 60px 0;
	background-color: white;
	height: auto;
}

.milongas {
	padding: 0;
	text-align: center;
}

.portfolio-heading {
	margin-bottom: 40px;
}

#portfolio img {
	border-radius: 10px;
}

.portfolio_item {
	position: relative;
	overflow: hidden;
	display: block;
	margin-bottom: 30px;

	@media (max-width: 1024px) {
		margin-bottom: 10px;
		overflow: visible;
	}
}

/* contact
==================================================*/

.default-heading {
	font-size: 3rem;
	line-height: 3rem;
	@media (max-width: 768px) {
		font-size: 2.5rem;
		line-height: unset;
	}
}

.go-to-chat {
	position: fixed;
	bottom: 30px;
	right: 50px;
	height: 60px;
	width: 60px;

	@media (max-width: 1024px) {
		right: 25px;
		bottom: 25px;
	}
}

.go-to-chat img {
	width: 100%;
}

#contact {
	padding: 100px 0;
	background: #f3f3f3;
}

#contacto {
	background-color: rgba(255, 255, 255, 0.95);
	opacity: 0.99;
	width: 100vw;
	height: auto;
	padding: 50px;
	color: #000;
	display: flex;
	flex-direction: column;
	justify-content: center;
	align-items: center;
	gap: 40px;
}

.contact-container {
	display: flex;
	gap: 40px;
	max-width: 1200px;
	width: 100%;

	@media (max-width: 1024px) {
		flex-direction: column;
		align-items: center;
	}
}

.contact-container iframe {
	@media (max-width: 768px) {
		width: 100vw;
	}
}

.contact-container > div {
	flex: 1;
}

.contact-data {
	display: flex;
	flex-direction: column;
	justify-content: center;
	width: 100%;
}

.social-networks {
	font-size: 3rem;
}

.social-networks ul {
	list-style: none;
	display: flex;
	padding: 0;
}

.social-networks p {
	font-size: 2.2rem;
}

.social-networks i {
	color: gray;
	margin-right: 20px;
}

.social {
	list-style: none;
	text-align: center;
	padding: 10px;
	white-space: nowrap;
	width: 100%;
}

.social a {
	display: flex;
	justify-content: left;
	align-items: flex-start;
	color: #333;
	font-size: 35px;
	padding: 20px;
	width: 100%;
}

.social li a:hover {
	font-size: 36px;
}

.menu-icon {
	width: 25px;
	cursor: pointer;
	display: none;
}

.contacto-titulo-mobile {
	display: none;
	text-align: center;
}

#firma {
	font-family: "The Nautigal", cursive;
	font-size: 50px;
	text-align: center;
}

footer {
	width: 100%;
	padding: 25px;
	background-color: #ececec;
}

.footer-txt {
	text-align: center;
	font-family: "Open Sans", sans-serif;
	font-size: 20px;
	line-height: 24px;
	font-weight: 500;
}

#contact {
	background-image: url(../img/background/BA.webp);
	background-repeat: no-repeat;
	background-attachment: fixed;
	background-size: cover;
	background-position: bottom;
	color: #000;
	white-space: nowrap;
	display: flex;
	align-items: center;
	justify-content: center;
	height: 90vh;
}

section {
	height: auto !important;
	width: 100%;
	overflow: auto;
}

nav ul li a:hover {
	color: #fcdaa6;
	-webkit-transition: 0.5s ease-out; /*safari and chrome */
	-moz-transition: 0.5s ease-in; /* firefox */
	-o-transition: 0.5s ease-in; /* opera */
}

.rol {
	font-weight: bold;
}

.actividad {
	font-weight: bold;
}

#img-sobre-mi {
	filter: drop-shadow(10px 10px 10px gray);
	border-radius: 15px;
}

/*  MENÚ DE IDIOMAS */

#header-idioma {
	text-transform: uppercase;
	letter-spacing: 2px;
	color: var(--two);
	font-weight: bold;
}

.select-box {
	cursor: pointer;
	padding: 0 5px 0 15px;
	color: black;
	background-color: var(--two);
}

#language-select {
	display: inline-flex;
}

.language-text {
	display: block;
}

#header-language {
	margin: auto 10px;
}

/* ICON MOBILE MENU */
.menu-toggler {
	background-color: transparent;
	border: none;
	cursor: pointer;
	display: flex;
	padding: 0;
	align-items: center;
}

.menu-toggler svg {
	height: 100%;
	width: 100%;
}

.menu-toggler span {
	color: white;
	font-size: 1.5rem;
}

.line {
	fill: none;
	stroke: white;
	stroke-width: 6;
	transition: stroke-dasharray 600ms cubic-bezier(0.4, 0, 0.2, 1),
		stroke-dashoffset 600ms cubic-bezier(0.4, 0, 0.2, 1);
}
.line1 {
	stroke-dasharray: 60 207;
	stroke-width: 6;
}
.line2 {
	stroke-dasharray: 60 60;
	stroke-width: 6;
}
.line3 {
	stroke-dasharray: 60 207;
	stroke-width: 6;
}
.opened .line1 {
	stroke-dasharray: 90 207;
	stroke-dashoffset: -134;
	stroke-width: 6;
}
.opened .line2 {
	stroke-dasharray: 1 60;
	stroke-dashoffset: -30;
	stroke-width: 6;
}
.opened .line3 {
	stroke-dasharray: 90 207;
	stroke-dashoffset: -134;
	stroke-width: 6;
}

/* FILTER BACKGROUND */
.filter-bg {
	filter: brightness(0.5);
}

.bg-black {
	background-color: var(--four);
}

/* Responsive media queries
==================================================*/

@media (min-width: 1600px) {
	.txt-title {
		font-size: 5em;
	}

	#about p {
		font-size: 1.1em;
	}

	#firma {
		font-size: 3em !important;
	}
}

/* MOBILE MENU */
@media screen and (max-width: 1023px) {
	/* HEADER */
	header {
		display: flex;
	}

	.mobile-menu-bar {
		display: flex;
	}

	#language-select {
		display: inline-flex;
	}

	.menu {
		left: -150%;
		width: 100%;
		height: 100%;
		margin-top: 65px;
		display: flex;
		position: fixed;
		background-color: rgba(0, 0, 0, 0.75);
		text-align: left;
	}

	.menu ul li {
		display: flex;
		align-items: center;
		padding: 25px 0;
		gap: 15px;
	}

	.language-text {
		display: none !important;
	}

	.navbar-icon {
		display: inline-block !important;
		color: var(--navbar-color);
	}

	.hide-in-mobile {
		display: none;
	}

	/* HOME */
	.home-container {
		margin: 2em;
		flex-direction: column;
		justify-content: end;
		align-items: baseline;
	}

	.txt-title {
		font-size: xx-large !important;
	}
}

@media (max-width: 991px) {
	.ocultar {
		display: none;
	}
	h1 {
		font-size: 80px !important;
		line-height: 1.5 !important;
	}
	.disply-table {
		transform: translate(0);
	}
}

@media (max-width: 768px) {
	.timeline-event-copy {
		width: 90%;
		left: 2em;
	}
	h1 {
		font-size: 55px !important;
		line-height: 1.5 !important;
	}
	.disply-table {
		transform: translate(0);
	}
}

@media (max-width: 576px) {
	h1 {
		font-family: "Playfair Display", serif;
		font-size: 50px !important;
		line-height: 50px !important;
	}
	.contacto-titulo-mobile {
		display: block;
		font-size: 40px;
	}

	.home-content {
		transform: translate(0%, -5%);
	}

	#experience-experience {
		font-size: 40px;
	}
}

@media (max-width: 425px) {
	#contact-facebook {
		font-size: 27px;
	}
}

@media (max-width: 375px) {
	#about {
		height: auto;
	}
	#contacto {
		width: auto !important;
		height: auto !important;
		opacity: 0.75 !important;
		font-size: 0.2rem !important;
	}
	nav {
		max-height: auto !important;
	}
}
