/*Global*/
*{
	margin: 0;
	padding: 0;
	box-sizing: border-box;	
	scroll-behavior: smooth;
}

body, html {
  height: 100%;
}

/*Home Section*/

h1{
	font-family: 'Oswald', sans-serif;
	text-align: center;
	font-size: 3.5rem;
	margin-bottom: 1em;
}

a{
	text-decoration: none;
	color: inherit;
}

ul{
	list-style-type: none;
}

.nav-list{
	font-family: 'Raleway', sans-serif;
	display: flex;
	justify-content: center;
}

.list-item{
	padding: 0 1.3em;
}

a:hover{
	color: #c4c4c4;
}

@media(max-width: 360px){
	h1{
		font-size: 2.6rem;
	}
}

#footer{
	font-family: 'Raleway', sans-serif;
	text-align: center;
	margin: 3em 0 1.5em 0;
	padding:0 0 2em 0
}

#footer-link:hover{
	color: #0BB8FC;
}

/*Pictures*/

.pics{
	padding: 1em 2em;
	display: inline-flex;
}

#img{
	width: 70%;
	margin: auto;
	display: block;
}

#img:hover{
	transform: scale(1.1);
	box-shadow: 10px 05px 10px #c4c4c4;
	transition: ease-in 0.2s;
}

@media (max-width: 500px){
	.pics{
		display: block;
	}
}


/*About Section*/

.sub{
	margin: auto;
	display: block;
	color: #000;
}

.parallax-about{
	background-image: url("Media/aboutH.jpg");
	height: 30%;
	background-attachment: fixed;
	background-position: center;
    background-repeat: no-repeat;
	background-size: cover;

    text-align:center; 
    display:table;
    width:100%;
}

.parallax-contact{
	background-image: url("Media/contactH.jpg");
	height: 30%;
	background-attachment: fixed;
	background-position: center;
    background-repeat: no-repeat;
	background-size: cover;

    text-align:center; 
    display:table;
    width:100%;
}

.parallax-about .sub{	
		display:table-cell; 
		vertical-align:middle}

.parallax-contact .sub{	
		display:table-cell; 
		vertical-align:middle}

@media(max-width: 425px){
	.parallax-about{
		height: 25%;
	}
}

@media(max-width: 320px){
	.parallax-about{
		height: 18%;
	}
}

p{
	font-family: 'Roboto', sans-serif;
	margin-bottom: 1em;
}

.first{
	margin-top: 2em;
}

.content{
	padding: 2em 15em;
	line-height: 1.7;
}

@media(max-width: 835px){
	.content{
		padding: 0 10em;
	}
}

@media(max-width: 720px){
	.content{
		padding: 0 5em;
	}
}

@media(max-width: 425px){
	.content{
		padding: 0 2em;
	}
}


/*Contact Section*/
form{
	font-family: 'Roboto', sans-serif;	
	/*background-color: green;*/
	padding: 3em;
}

.form-main{
	display: flex;
	justify-content: center;
	/*padding: 3em;*/
	/*background-color: red;*/
}

.form-sec{
	margin-bottom: 2em;
}

.form-sub{
	margin-bottom: 1em;
}

input, textarea{
	width: 100%;
    padding: 0.75em;
    margin: 0.375em 0 0.25em;
    border: 1px solid #ccc;
    background: #fafafa;
    color: #000;
    font-family: 'Roboto', sans-serif;	
    font-size: 0.8rem;
    line-height: normal;
    box-sizing: border-box;
    border-radius: 2px;
}

#send{
	padding: 0.75em 1em;
	background: transparent;
	border-radius: 5px;
	border-color: #000;
	color: #000;
}

#send:hover{
	color: #fff;
	background-color: #000;
	cursor: pointer;
	transition: all 0.3s;
}

.social{
	text-align: center;
}

/* Estilos del Modal */
.modal {
  display: none;
  position: fixed;
  z-index: 9999;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.8);
  backdrop-filter: blur(5px);
}

.modal-content {
  background-color: #fefefe;
  margin: 15% auto;
  padding: 30px;
  border-radius: 10px;
  width: 90%;
  max-width: 400px;
  box-shadow: 0 5px 30px rgba(0, 0, 0, 0.3);
  animation: modalopen 0.5s;
  text-align: center;
}

@keyframes modalopen {
  from {opacity: 0; transform: translateY(-50px);}
  to {opacity: 1; transform: translateY(0);}
}

.close {
  color: #aaa;
  float: right;
  font-size: 28px;
  font-weight: bold;
  cursor: pointer;
}

.close:hover {
  color: #333;
}

.modal-content input {
  width: 100%;
  padding: 12px;
  margin: 15px 0;
  border: 1px solid #ddd;
  border-radius: 5px;
  font-size: 16px;
}

.modal-content button {
  background-color: #4a6fa5;
  color: white;
  padding: 12px 20px;
  border: none;
  border-radius: 5px;
  cursor: pointer;
  font-size: 16px;
  width: 100%;
  transition: background 0.3s;
}

.modal-content button:hover {
  background-color: #3a5a80;
}


/* Estilos para la sección de currículum */
.curriculum-section {
    padding: 60px 0;
    background-color: #f9f9f9;
}

.curriculum-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 25px;
    margin-top: 30px;
}

.curriculum-card {
    background: white;
    padding: 25px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
    transition: transform 0.3s ease;
}

.curriculum-card:hover {
    transform: translateY(-5px);
}

.curriculum-card h3 {
    color: #4a6fa5;
    margin-bottom: 15px;
    font-size: 1.3rem;
    display: flex;
    align-items: center;
    gap: 10px;
}

.curriculum-card h4 {
    margin: 10px 0 5px;
    font-size: 1.1rem;
}

.curriculum-list {
    padding-left: 20px;
}

.curriculum-list li {
    margin-bottom: 10px;
    line-height: 1.5;
}

.date {
    color: #666;
    font-style: italic;
    margin-bottom: 10px;
}

.skills-container {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.skill-tag {
    background: #e0e9f5;
    color: #3a5a80;
    padding: 5px 12px;
    border-radius: 20px;
    font-size: 0.9rem;
}

.language-level {
    margin-top: 10px;
}

.language-level p {
    margin-bottom: 8px;
    display: flex;
    justify-content: space-between;
}

.level {
    background: #4a6fa5;
    color: white;
    padding: 2px 10px;
    border-radius: 10px;
    font-size: 0.8rem;
}

.level.native {
    background: #2e7d32;
}

/* Responsive */
@media (max-width: 768px) {
    .curriculum-grid {
        grid-template-columns: 1fr;
    }
}

.video-responsive {
  position: relative;
  padding-bottom: 56.25%; /* Relación de aspecto 16:9 */
  height: 0;
  overflow: hidden;
  max-width: 100%;
  margin: 20px 0;
}

.video-responsive iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}