/* Tablets */
@media (max-width: 1024px) {
    .content{
        padding: 0px;
    }
  .header-pos{
  transform: translateX(100%);
}
.space{
    width: 100%;
    display: block;
    height: 50px;
}
.head-btn{
    display: flex;
    flex-direction: row;
    width: 100%;
    justify-content: center;
    align-items: center;
    margin-top: 10px;
}
.header{
    position: fixed;
    height: 3rem;
 }
.header nav{
  display: flex;
  width: 100%;
  justify-content: space-between;
  padding:0px 1rem;
}
.header nav h2{
  width: none;
  font-size: 2rem;
  padding-left: 1rem;
}
.btn-h{
  display: block;
}

.header ul {
  flex-direction: column;
  justify-content: flex-start;
  align-items: center;
  width: 80%;
  position: fixed;
  right: 0;
  top: 50px;
  background: #fff;
  height: calc(100vh - 50px);
  z-index: -10;
  transition: .5s;
}

.header ul li{
  display: flex;
  width: 100%;
  height: 4rem;
  position: relative;
  top: 0;
  border-bottom: 1px solid #000;
  justify-content: center;
  align-items: center;
  transition: 1s;
  
}
.header ul li:hover{
  background: var(--color-primary);
}
.header ul li a:hover{
  text-decoration: none;

}
.header ul li a:hover::before{
    display: none;
    
}
.head-cont img {
    width: 100px;
    height: auto; /* Para mantener la proporción */
    padding-top: 3px;
    align-self: flex-start;
}
.head{
  overflow: none;
  position: relative;
  height: 100vh;

  
}
.head .col-2{
    grid-template-columns: auto;
}
.title-h{
  line-height: 0.9;
  font-size: 3rem;
  padding-bottom: 10px;
  text-align: center
}
.head .col-2 .card:nth-child(1){
    height: auto;
    display: block;
    width: 80%;
    position: absolute;
    margin-bottom: 10%;
    bottom: 0;
    left: 50%;
    right: 50%;
    transform: translate(-50%);
    background: #fff;
    padding: 10px;
    box-shadow: rgba(0, 0, 0, 0.24) 0px 3px 8px;
    
}
.head .col-2 .card:nth-child(2){
    position: absolute;
    z-index: -1;
    bottom:0;
    height: 100vh;
    right: 0;
    padding: 0px;
    margin: 0px;
    object-fit: contain;
    width: 100vw;
    
}
.head .col-2 .card img{
    width: 90%;
    left: 0;
}
.img-head{
  width: 90%;
  height: 100vh;
  display: flex;
  object-fit: cover;
  margin: auto;
  bottom: 0;
    filter: grayscale(0);
}
.btn-w{
    max-width: 100%;
    
}
    .icon-circle-1{
        left: -300px;
        transform: scale(1.6)
    }

    /*seccion who*/
.who-is .col-2{
    grid-template-columns: none;
    height: auto;

}
    .who-is .card{
        
    }
.who-is .card:nth-child(1){
    padding-top: 20px;
    padding-bottom: 20px;
}

.who-is .card:nth-child(1) img{
    margin: auto;
	object-fit: cover;
	mask-image: none;
 	mask-repeat: none; 
  	

}
.who-is .card:nth-child(1) h1{
	height: auto;
    padding-bottom: 15px;
	position: absolute;
	color: #fff;
    background: var(--color-primary);
    transform: rotate(-5deg);
    font-size: 4rem;
    top: 70%;

    
	
}
.who-is .card:nth-child(2){
	padding-left: 0px;
    padding-top: 20px;
	text-align: center;
	line-height: 1.5;
	background: #fff;
    max-width: 450px;
    margin: auto
}
    .who-is .card p{
        text-align: justify;
    }
/*seccion experiencia*/
.experience .col-1-2-3{
    grid-template-columns: 30% 70%;
    padding: 0px 1rem;
}

.r1-1{
	aspect-ratio: 1 / 1;
	object-fit: cover;
	object-position: center;
	max-width: 200px;
	margin: auto;
}

.experience .card h1{
	font-size: 2rem;
	line-height: 0.9;
	text-align: center;
}
.experience .card{
	padding: 10px 10px;
    overflow: hidden;
    align-items: center;
    justify-content: center;
    min-height: 200px;


}
.experience .card:nth-child(3n-2)::before {
	content: '';
	display: block;
	background: var(--color-primary);
	width: 5px;
	height: 100%;
	position: absolute;
	top: 0;
	left: 10px;
	z-index: 1;
}
.experience .card p:nth-child(3n-2){
	margin-left: 20px;
	margin-top: 4px;
}
.experience .card:nth-child(3n-2)::after {
	content: '';
	display: block;
	background: var(--color-primary);
	width: 25px;
	height: 25px;
	position: absolute;
	left: 0;
	z-index: 1;
	border-radius: 50%;
}
    
    .experience .card:nth-child(3n){
        display: none;
    } 
    

  .footer-container img{
    width: 200px;
  }
}

/* Teléfonos grandes */
@media screen and (max-width: 768px) {
    .content{
        width: 100%;
    }
    .col-4{
        grid-template-columns: repeat(2, 1fr);
    }
    .social-media{
        padding: 10px;
    }

.title-h{
  font-size: 2.5rem;
  padding-bottom: 10px;
  text-align: left;
}
    
 /*now*/
.now .col-1-2-2{
        grid-template-columns: auto;
    }
.now .card:nth-child(1) h1 {
	writing-mode: horizontal-tb;
    text-orientation: mixed;
    padding: 20px 0px;
}
.now .card:nth-child(3){
	padding: 1rem;
    text-align: justify;
   
}
.img-now{
	width: 100%;
	height: 100%;
	display: block;
	object-fit: cover;
	object-position: center;
}

    
    .h-p1{ /*indicar solo posicion e index*/
	z-index: -1;
	top: 0;
	left: -150px;
	width: 900px;
	height: 900px;
	bottom: 0;

}
.h-p2{
	display: none;
}
.h-p3{
	display: none;
}

.h-p4{
	display: none;
}
.h-p5{
	display: none;
}
.h-p6{
	display: none;
}
}

/* Teléfonos medianos */
@media (max-width: 480px) {
h1{
    font-size: 2rem;
}
/* Teléfonos pequeños */
@media (max-width: 376px) {
.head{
  overflow: none;
  position: relative;
  height: 100vh;
    display: flex;
  
  
}
.title-h{
  line-height: 0.9;
  font-size: 2rem;
  padding-bottom: 10px;
  text-align: center
}


    
.head .col-2 .card:nth-child(1){
    width: 90%;
    margin-bottom: 10px;
   max-height: 50%;

    
}
.head .col-2 .card p{
    font-size: 0.8rem;
    }
.head .col-2 .card:nth-child(2){
    position: absolute;
    z-index: -1;
    top:-100px;
    height: 100vh;
    right: -20px;
    padding: 0px;
    width: 100vw
    height:100vh;
}
        
        
.who-is .card:nth-child(1){
    padding-top: 20px;
    padding-bottom: 20px;
}

.who-is .card:nth-child(1) img{
    margin: 20px;
    width: calc(100% - 40px);
	object-fit: cover;
	mask-image: none;
 	mask-repeat: none;
    

  	

}
.who-is .card:nth-child(1) h1{
    padding-bottom: 15px;
    font-size: 3rem;
    top: 70%;

    
	
}
.who-is .card:nth-child(2){
    padding:10px
}

.head-btn{
    justify-content: center;
}
    
}

/* Teléfonos pequeños */
@media (max-width: 376px) {
.head{
  overflow: none;
  position: relative;
  height: 100vh;
    display: flex;
  
  
}
.title-h{
  line-height: 0.9;
  font-size: 2rem;
  padding-bottom: 10px;
  text-align: center;
}


    
.head .col-2 .card:nth-child(1){
    height: auto;
    display: block;
    width: 90%;
    height: 60%;
    
    
}
.head .col-2 .card:nth-child(2){
    position: relative;
    z-index: -1;
    top:-100px;
    height: 100vh;
    right: -0px;
    padding: 0px;
    width: 100vw
    height:100vh;
}
        
        
.who-is .card:nth-child(1){
    padding-top: 20px;
    padding-bottom: 20px;
}

.who-is .card:nth-child(1) img{
    margin: 20px;
    width: calc(100% - 40px);
	object-fit: cover;
	mask-image: none;
 	mask-repeat: none;

  	

}
.who-is .card:nth-child(1) h1{
    padding-bottom: 15px;
    font-size: 3rem;
    top: 70%;

    
	
}
.who-is .card:nth-child(2){
    padding:10px
}

.head-btn li:nth-child(1) .btn-head{
    max-width: 200px;
}
.head-btn{
    justify-content: center;
}
}