/*===== GOOGLE FONTS =====*/


@import url("https://fonts.googleapis.com/css2?family=Poppins:wght@400;500;600;700&display=swap");

/*===== VARIABLES CSS =====*/
:root{
  --header-height: 3rem;
  --font-semi: 600rem;

  /*===== Colors =====*/
  --first-color: #3E0E12;
  --first-color-alt: #0d1137;
  --first-color-alt2: #e52165;
  --first-color-dark: #2F0A0D;
  --text-color: #524748;
  --first-color-light: #7B6F71;
  --first-color-lighten: #FBF9F9;
  --gradient:linear-gradient(120deg, #f093fb 0%, #f5576c 100%);

  /*===== Font and typography =====*/
  --body-font: 'Poppins', sans-serif;
  --biggest-font-size: 2.5rem;
  --h1-font-size: 1.5rem;
  --h2-font-size: 1.25rem;
  --h3-font-size: 1.125rem;
  --normal-font-size: .938rem;
  --small-font-size: .813rem;
  --smaller-font-size: .75rem;

  /*===== Font weight =====*/
  --font-medium: 500;
  --font-semi-bold: 600;
  --font-bold: 700;

  /*===== Margenes =====*/
  --mb-1: .5rem;
  --mb-2: 1rem;
  --mb-3: 1.5rem;
  --mb-4: 2rem;
  --mb-5: 2.5rem;
  --mb-6: 3rem;

  /*===== z index =====*/
  --z-back: -10;
  --z-normal: 1;
  --z-tooltip: 10;
  --z-fixed: 100;
}



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

html{
  scroll-behavior: smooth;
}


body{
  margin: var(--header-height) 0 0 0;
  font-family: var(--body-font);
  font-size: var(--normal-font-size);
  font-weight: var(--font-medium);
  background-color: var(--first-color-lighten);
  color: var(--text-color);
  line-height: 1.6;
}

h1,h2,h3,h4,ul,p{
  margin: 0;
}

h2,h3{
  font-weight: var(--font-semi-bold);
}

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

a{
  text-decoration: none;
}

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

.img_logo{
  width: 100px;
  height: 35px;
}

/*===== CLASS CSS =====*/

.section {
  width: auto;
  padding: 4rem 0rem 2rem;
}

.section-title, .section-subtitle{
    text-align: center;
}

.section-title{
    font-size: var(--biggest-font-size); 
    color: var(--first-color);
    margin-bottom: var(--mb-2);
}

.section-title::after{
  position: absolute;
  content: "";
  top: 3.5rem;
  width: 80px;
  height: 0.18rem;
  left: 0;
  right: 0;
  margin: auto;
  background-color: var(--first-color);
}


.section_footer-title{
  font-size: var(--h1-font-size); 
  color: var(--first-color-lighten);
  margin-top: var(--mb-3);
  margin-bottom: var(--mb-1);
}



.section-subtitle{
    display: block;
    font-size: var(--small-font-size);
    font-weight: var(--font-semi-bold);
    padding-top: 4rem;
}


/*===== LAYOUT =====*/
.bd-container {
  max-width: 1024px;
  width: calc(100% - 2rem);
  margin-left: var(--mb-2);
  margin-right: var(--mb-2);
}


.l-header{
  width: 100%;
  position: fixed;
  top: 0;
  left: 0;
  z-index: var(--z-fixed);
  background-color: #fff;
  box-shadow: 0 1px 4px rgba(146, 161, 176, .15);
}

.bd-grid{
    width: auto;
    display: grid;
    gap: 1.5rem;
}

/*===== NAV =====*/

.nav{
  height: var(--header-height);
  margin: 0 var(--mb-4);
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-weight: var(--font-semi);
}
@media screen and (max-width: 768px){
  .nav_menu{
    position: fixed;
    top: var(--header-height);
    right: -100%;
    width: 80%;
    height: 100%;
    padding: 2rem;
    background-color: var(--first-color);
    transition: .5s;
  }
}



.nav_item{
  margin-bottom: var(--mb-4);
}

.nav_link{
  position: relative;
  color: #fff;
}

.nav_link:hover{
  position: relative;
  color: var(--first-color-alt);
}

.nav_link:hover::after{
   position: absolute;
   content: "";
   width: 100%;
   height: 0.18rem;
   left: 0;
   top: 2rem;
   background-color: var(--first-color-light);
}

.nav_toggle{
  color: var(--first-color-light);
  font-size: 1.5rem;
  cursor: pointer;
}




/* Show menu */
.show{
  right: 0;
}

/* Active menu */

.active-list{
  position: relative;
}
.active::after{
  position: absolute;
  content: "";
  width: 100%;
  height: 0.18rem;
  left: 0;
  top: 2rem;
  background-color: var(--first-color-lighten);
}

/* Change background header */

.scroll-header{
  background-color: var(--first-color-lighten);
  box-shadow: 0 2px 4px rgba(0,0,0,.1);
}

.scroll-header .nav_logo, .scroll-header .nav_toggle, .scroll-header .nav_link{
  color: var(--first-color-dark);
}

.scroll-header .nav_menu{
  background-color: var(--first-color-lighten);
}



/*===== SCROLL TOP =====*/
.scrolltop{
  position: fixed;
  right: 1rem;
  bottom: -20%;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: .5rem;
  background-color: rgba(123, 111, 113, .7);
  border-radius: .5rem;
  z-index: var(--z-tooltip);
  transition: .4s;
  visibility: hidden;
}

.scrolltop:hover{
  background-color: var(--first-color);
}

.scrolltop_icon{
  font-size: 2rem;
  color: var(--first-color-lighten);
}


/* Show scroll top */
.show-scroll{
  visibility: visible;
  bottom: 1.5rem;
}


/*===== HOME =====*/

.home{
  padding: 8rem 6rem;
  display: block;
  background-color: rgb(236, 217, 217);
  transition: .4s;
  background: url(/img/services/wave.svg) no-repeat;
  background-position: bottom;
  box-shadow: 0 4px 6px rgba(174,190,205,.3);
}

.home_data{
  align-items: center;
  color: var(--first-color-alt);
}

.home_title {
  text-align: left;
  margin-top: var(--mb-1)
}


.home_greeting{
  font-size: 4rem;
}

.title-text1{
  font-size: var(--small-font-size);
  margin-bottom: var(--mb-4);
  line-height: 1rem;
}


.title-uppercase {
  margin-bottom: var(--mb-3);
}


.home_social{
  display: flex;
  flex-direction: row;
}

.home_social-icon{
  width: max-content;
  margin-bottom: var(--mb-2);
  margin-right: var(--mb-3);
  font-size: 1.5rem;
  color: var(--first-color-dark);
}


.home_title-color{
  color: #2F0A0D;
  font-weight: var(--font-semi-bold);
}

.home_img{
  max-width: 100%;
  height: auto;
  display: block;
}


/*BUTTONS*/
.button{
  display: inline-block;
  background-color: var(--first-color);
  color: #fff;
  padding: .75rem 2.5rem;
  font-weight: var(--font-semi);
  border-radius: .5rem;
}

.button:hover{
  box-shadow: 0 10px 36px rgba(0, 0, 0, .15);
}

/*===== ABOUT =====*/
.about{
  width: auto;
  background-color: #fff;
  border-radius: .5rem;
  transition: .4s;
  box-shadow: 0 4px 6px rgba(174,190,205,.3);
  text-align: center;
}

.about_text{
  color: var(--first-color-alt);
  margin-top: 6rem;
}

.Atext1{
  margin-bottom: var(--mb-5);
}

.para{
  margin: 2rem 0 5rem;
}


.about_img {
  max-width: 100%;
    height: auto;
    display: block;
}

.about_img {
  opacity: 1;
  display: block;
  width: 100%;
  height: auto;
  transition: 1s ease;
  backface-visibility: hidden;
}

.middle {
  transition: .5s ease;
  opacity: 0;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  -ms-transform: translate(-50%, -50%)
}

.about_img:hover .image {
  opacity: 0.3;
}

.about_img:hover .middle {
  opacity: 1;
}
.text{
  white-space: nowrap; 
  color: white;
  font-size: 20px;
  position: absolute;
  overflow: hidden;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  -ms-transform: translate(-50%, -50%);
}


/*===== SERVICES =====*/
.services-area{
  padding: 3rem 1rem;
  border-radius: .5rem;
  transition: .4s;
  text-align: center;
}
.services{
  margin: 0 2rem 2rem;
  width: 300px;
  background-color: #fff;
  border-radius: .5rem;
  padding: 1.5rem;
  text-align: center;
  box-shadow: 0 4px 6px rgba(174,190,205,.3);
}


.service_description{
  text-align: center;
  font-size: var(--h2-font-size);
  font-weight: var(--font-semi-bold);
  color: var(--first-color);
}

.service_list{
  box-shadow: rgba(146, 161, 176, .15);
}

.para1{
  margin-top: 0.2rem;
  margin-bottom: 5rem;
}


/*===== PROJECT IN MIND =====*/
.project{
  padding: 1.5rem 1rem;
  background-color: #fff;
  border-radius: .5rem;
  text-align: center;
  box-shadow: 0 4px 6px rgba(174,190,205,.3);
}

.project_icon, .project_title{
  margin-bottom: var(--mb-2);
}

.project_icon{
  font-size: 3.5rem;
}

.project_description{
  margin-bottom: var(--mb-4);
}




/*===== CONTACTME =====*/

.contact{
  row-gap: 2.5rem;
}

.contact_content{
  margin-top: 5rem;
  margin-bottom: 2rem;

}
.contact_box{
  background-color: #fff;
  border-radius: .5rem;
  padding: 1.5rem;
  text-align: center;
  box-shadow: 0 4px 6px rgba(174,190,205,.3);
}

.contact_icon{
  font-size: 2rem;
}

.contact_social{
  color: var(--first-color-light);
  font-size: 1.25rem;
  margin: 0 var(--mb-1);
}

.contact_box:hover {
  box-shadow: 0 6px 8px rgba(174,190,205,.4);
}


/*======== INPUTS =========*/


.contact_form{
  padding: 5rem 0 6rem;
}



.contact_inputs{
  display: grid;
  grid-template-columns: repeat(2,1fr);
  column-gap: 1rem;
}

.contact_input, .contact_button{
  outline: none;
  font-family: var(--body-font);
  font-size: var(--normal-font-size);
}

.contact_input{
  width: 100%;
  padding: 1rem;
  border: 2px solid var(--first-color-light);
  columns: var(--first-color);
  border-radius: .5rem;
  margin-bottom: var(--mb-1);
}

.contact::placeholder{
  color: var(--first-color-light);
  font-family: var(--body-font);
  font-weight: var(--font-semi-bold);
}

.contact_button{
  cursor: pointer;
  border: none;
}





/*===== FOOTER =====*/

.footer-area{
  background-color: var(--first-color-alt);
  padding: 3rem 0;
  
}



.home_social1{
  padding-top: 3rem;
  color: #fff;
}

.home_social-icon1{
  display: inline;
  margin-right: var(--mb-3);
  margin-bottom: var(--mb-2);
  font-size: 1.5rem;
  color: var(--first-color-lighten);
}


.footer-txt{
  font-size: .8rem;
  font-weight: 30;
  text-align: center;
  line-height: 1.5rem;
  margin-top: 2rem;
  margin-bottom: var(--mb-4);
  color: var(--first-color-light);
}


.footer_h1{
  font-size: var(--h1-font-size);
}


.footer_title{
  margin-bottom: var(--mb-5);
  font-size: var(--h1-font-size);
}
.footer_description{
  font-size: var(--h1-font-size);
}


.footer-sub2{
  margin-bottom: var(--mb-5);
}

.footer_service{
  color: var(--first-color-light);
}

.nav_link2{
  font-weight: 80;
  margin-bottom: var(--mb-1);
}

.footer-nav{
  margin-bottom: var(--mb-3);
}

.footer_menu{
  margin-top: 3rem;
}


.nav_link1{
  padding-bottom: 3rem;
}

.nav_link1{
  position: relative;
  color: var(--first-color-light);
}

.nav_link1:hover{
  position: relative;
}

.nav_link1:hover::after{
   position: absolute;
   content: "";
   width: 100%;
   height: 0.18rem;
   left: 0;
   top: 2rem;
   background-color: var(--first-color-lighten);
}


.copyright{
  margin-bottom: 0 var(--mb-1);
  font-size: var(--smaller-font-size);
  margin-top: var(--mb-6);
}


