
@import url('https://fonts.googleapis.com/css2?family=Raleway:wght@300;400;700&display=swap');

:root{
  --background: linear-gradient(135deg, #667eea7e 0%, #764ba298 100%);
  --color-primary: #667eea;
  --color-secondary: #764ba2;
  --boton-padding: 20px 40px;
}

body{
  font-family: 'Raleway',sans-serif;
  line-height: 1.5;
  letter-spacing: 1px;
  margin-top: 2rem;
  height: 100vh;
}

nav ul{
    float: center;
    margin-right:5px;
}
nav ul li{
    display: inline-block;
    line-height: 80px;
    margin: 0 5px;
    font-weight: bold
}
nav ul li a{
    color: #fff;
    font-size: 18px;
    padding: 7px 13px;
    border-radius: 3px;
;
    text-transform: uppercase;
}
li a.active, li a:hover{
    background: #fff;
    transition: .5s;
}
.checkbtn{
    font-size: 30px;
    color: #fff;
    float: right;
    line-height: 80px;
    margin-right: 40px;
    cursor: pointer;
    display: none;
}
#check{
    display: none;
}


.container{
  width: :90%;
  margin: 0 auto;
  overflow: hidden;
  padding: 10px 0;
  max-width: 1200px;
}

.subtitle{
  color: var(--color-primary);
  font-size: 2.5rem;
  margin-bottom: 35px;
  align-content: center ;
  text-align: center;
}

.info{
  color: #63b2f2;
  font-size: 2rem;
  margin-bottom: 28px;
  align-content: center ;
  text-align: center;


}
.correo{
  color: #7bd9e3;
  font-size: 2.5rem;
  margin-bottom: 35px;
  align-content: center ;
  text-align: center;
}


.hero{
  height: 100vh;
  background-image: var(--background), url('../assets/hero.jpg');
  background-repeat: no-repeat;
  background-size: cover;
  background-attachment: fixed;
  background-position: center;
  position: relative;
}

.hero .container{
  padding: 0;
}


.nav__items{
  color: #fff;
  text-decoration: none;
  margin-right: 20px;
  padding: 10px 15px;
  font-weight: inherit;
}

.nav__items--cta{
  border: 5px solid #fff;
}

.nav__items--footer{
  padding: 10px;
}

.hero__container{
  display: flex;
  height: calc(100vh - 70px);
  align-items: center;
  color: #fff;
}

.hero__texts{
  width: 80%;
margin-bottom: 50px;
}

.hero__title{
  font-size: 3.2rem;
}
.hero__subtitle{
  font-size: 2rem;
  font-weight: 300;
  margin: 15px 0;
}

.hero__cta{
  display: inline-block;
  background: #fff;
  padding: var(--boton-padding);
  color: var(--color-primary);
  text-decoration: none;
  border-radius: 40px;
}

.hero__wave{
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 100px;
}

/* About */

.presentacion{
  padding: 0;
  text-align: center;
}

.presentacion__picture{
  width: 220px;
  height: 200px;
  border-radius: 50%;
  margin-bottom: 10px;
  object-fit: cover;
  object-position: top;
}

.presentacion__copy{
  width: 80%;
  margin: 0 auto;
  text-align: center;
  padding: 1rem;
}

.presentacion__cta{
  display: inline-block;
  margin-top: 30px;
  background: var(--color-primary);
  color: #fff;
  text-decoration: none;
  padding: var(--boton-padding);
  border-radius: 40px;
}

.about{
    min-height: 400px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-row-gap: 80px;
    justify-items: center;
    align-items: center;
    text-align: justify;
}

.about__img{
  text-align: center;
}

.about__img--left{
  text-align: left;
}

.about__picture{
  max-width: 80%;
}

.about__paragragh{
  margin-bottom: 20px;
  line-height: 1.5;
  font-weight: 300;
  text-align: justify;
}
/*Acordeon*/
details {
  width: 70%;
  margin: 0 auto ;
  background: white;
  margin-bottom: 1rem;
  box-shadow: 0 .1rem 1rem -.5rem rgba(0,0,0,.4);
  border-radius: 5px;
  overflow: hidden;
  font-size: 25px;
  color: black;
  font-weight: bold;

}
.tree{

  width: 90%;
  border: none;
  background: white;
}

body{
  border: var(--color-primary);
}

.xd{
 cursor: default;

}
summary {
  margin:0.5rem ;
  content: "";
  padding: 1rem;
  display: block;
  background: var(--color-primary);
  padding-left: 1rem;
  position: relative;
  text-align: center;
  cursor: pointer;
  color: white;
} 


summary:before {

  border-width: .4rem;
  border-style: inset;
  border-color: transparent transparent transparent #fff;
  position: absolute;
  top: 1.3rem;
  left: 1rem;
  transform: rotate(0);
  transform-origin: .2rem 50%;
  transition: .25s transform ease;
}

/* THE MAGIC 🧙‍♀️ */
details[open] > summary:before {
  transform: rotate(90deg);
}

details > summary {
  list-style: none;
}
details summary::-webkit-details-marker {
 display:none;
}

details > ul {
  padding-bottom: 1rem;
  margin-bottom: 0;
}


/*Listas*/
.centrar-listas {
  text-align: center;
}

.centrar-listas ul,
.centrar-listas ol {
  text-align: left;
  display: inline-block;
}


 #lista1 ul { 
    list-style:none; 
    float: center;
    margin-right: 20px;
}

#lista1 ul li { 

  font-size:15px; 
  line-height:50px;
  margin: 0 5px;
}

#lista1 ul li a { 
  border: 1px solid black;
    color: black;
    font-size: 18px;
    padding: 7px 13px;
    border-radius: 3px;
   
}
#lista1 li a.active, li a:hover{
    background: #8ea1f5;
    transition: .5s;
}

/*Footer*/

.footer{
  background: var(--color-primary);
}

.footer__grid{
  display: grid
  grid-template-columns: 3fr 2fr;
  gap: 20px;
  align-items: center;
  align-content: center;
}

.footer__title{
  font-weight: 400;
  color: #fff;
  font-size: 2rem;
  margin-bottom: 30px;
  text-align: center;
}

.footer__subtitle{
  font-weight: 400;
  color: #fff;
  font-size: 2rem;
  margin-bottom: 30px;
  text-align: center;
}
.footer__icons{
  display: flex;
  justify-content: space-evenly;
}

.footer__container-icons{
  display: inline-block;
  width: 60px;
  height: 60px;
  color: #fff;
  text-align: center;
  border: 1px solid #fff;
  border-radius: 50%;
}

.footer__icon{
  color: inherit;
  font-size: 30px;
  text-decoration: none;
  line-height: 60px;
}

.fab.footer__icon{
  line-height: 60px;
}

/*Responsive design*/

@media screen and (max-width 952px){
  :root{
      --boton-padding: 18px 40px;

  }
   nav ul li a{
        font-size: 16px;
    }

  .nav{
    justify-content: space-around;
  }

.nav__items--cta{
    border: none;
  }



  .nav__items{
    font-weight: 400;
    border-bottom: 1px solid #fff;
    margin-right: 0;
  }
  
  .nav__items--footer{
    border: none;
  }

  .hero__texts{
    width: 100%;
    margin-bottom: 10px;
  }

  .hero__title{
    font-size: 2.5rem;
  }

  .hero__subtitle{
    font-size: 1.5rem;
  }

  .presentacion__copy{
    width: 100%;
  }
  .about{
    grid-template-columns: 2fr;
  }
  .about.container{
  padding-top:30px ;
  }
  .about__texts:last-child{
    grid-row: 3/4;
  }

  .footer__grid{
    grid-template-columns: 2fr;
  }
  .footer__contact{
    grid-row: 1/2;
  }



}

@media screen and (max-width: 858px){
  :root{

    --boton-padding: 18px 35px;
  }


  .correo{
font-size: 1.3rem;
}

  .path{

    fill: #ffffff00;
  }
  .hero__wave{
    visibility: hidden;

  }
  .subtitle{
    font-size: 2rem;
    margin-bottom: 20px;
  }
  .info{
   font-size: 1.2rem;
   margin-bottom: 20px;
}
  .hero__texts{
    text-align: center;
    margin-bottom: 100px;
  }
  .hero__title{
    font-size: 2rem;
  }
/*about*/
.presentacion__picture{
  width: 180px;
  height:180px ;
}

.about{
     row-gap:50px ;
  }
   
 .checkbtn{
        display: block;
    }
      .first-ul{
        position: fixed;
        width: 100%;
        height: 100vh;
        background: #2c3e50;
        top: 80px;
        left: -100%;
        text-align: center;
        transition: all .5s;
    }
  
    nav ul li{
        display: block;
        margin: 50px 0;
        line-height: 30px;
    }
    nav ul li a{
        font-size: 20px;
    }
    li a:hover, li a.active{
        background: none;
        color:white;
    }
    #check:checked ~ ul{
        left:0;
    }


    details {

  font-size: 13px;

}

summary {
  font-size: 13px;
} 


}

@media screen and (max-width: 680px){
  :root{

    --boton-padding: 18px 35px;
  }

  .about{
    grid-template-columns: 1fr;
  }
  .about.container{
  padding-top:30px ;
  }
  .about__texts:last-child{
    grid-row: 1/2;
  }
     nav ul li a{
        font-size: 15px;
    }

    #lista1 ul li { 
    font-size:8px; 
}

#lista1 ul li a { 
  font-size:15px;
  padding:6px 13px;

}

#lista1 li a.active, li a:hover{
    background: #8ea1f5;
    transition: .5s;
}
}

@media screen and (max-width: 580px){
  :root{

    --boton-padding: 18px 35px;
  }

  .about{
    grid-template-columns: 1fr;
  }
  .about.container{
  padding-top:30px ;
  }
  .about__texts:last-child{
    grid-row: 1/2;
  }
     nav ul li a{
        font-size: 15px;
    }

    #lista1 ul li { 
    font-size:8px; 
}

#lista1 ul li a { 
  font-size:15px;
  padding:6px 13px;

}

#lista1 li a.active, li a:hover{
    background: #8ea1f5;
    transition: .5s;
}
}


