*{
  margin: 0;
  padding: 0;
  font-family: "Poppins', sans-serif";
  box-sizing: border-box;
    
}

body{
  background: #E3DAC9;
  color: #0d0907;
}
#header{
  width: 100%;
  height:auto;
  background-image:url();
  background-size: cover;
  background-position: center;

}

/* for image logo and header text */
.container{
  padding: 10px 10%;

}

/* set position of quick tabs */
nav{
  display: flex;
  align-items: center;
  justify-content: flex-end;
  flex-wrap: wrap;
  padding: 10px 0;
}

/* set logo dimensions */
/* .logo{ */
  /* width: 140px; */
/* } */

/* horizontally align quick tabs */
nav ul li{
  display: inline-block;
  list-style: none;
  margin: 10px 20px;
  text-align: right;
}

/* allow quick tabs to be clicked on */
nav ul li a{
  color: #0D0907;
  text-decoration: none;
  font-size: 18px;
  position: relative;
}

/* apply underline to quick tabs */
nav ul li a::after{
  content: '';
  width: 0%;
  height: 2px;
  background: #ff004f;
  position: absolute;
  left: 0;
  bottom: -6px;
  transition: 0.5s;
}

/* apply an animation when hovering over quick tabs */
nav ul li a:hover::after{
  width: 100%;
}

/* positional formatting for header information  */
.header-text{
  margin-top: 0%;
  font-size: 30px;
  position: center;
}

/* set font size for introduction page  */
.header-text h1{
  font-size: 60px;
  margin-top: 20px;
  
}

/* set color */
.header-text h1 span{
  color: #0d0907;
}

/* about section  */

#about{
  padding: 0px 0;
  color: #0d0907;

}
.row{
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
}
.about-col-1{
  flex-basis: 35%;
}
.about-col-1 img{
  width: 100%;
  border-radius: 15px;
}

.about-col-2{
  flex-basis: 60%;

}
.sub-title{
  font-size: 60px;
  font-weight: 600;
  color: #0d0907
}

.tab-titles{
  display:flex;
  margin: 20px 0 40px;
}
.tab-links{
  margin-right: 50px;
  font-size: 18px;
  font-weight: 500;
  cursor: pointer;
  position: relative; 
}
.tab-links::after{
  content: '';
  width: 0%;
  height: 3px;
  background: #b54769;
  position: absolute;
  left: 0;
  bottom: -8px;
  transition: 0.5s;
}
.tab-links.active-link::after{
  width: 50%;
}

.tab-contents ul li{
  list-style: none;
  /* 10 pixels from top and bottom, 0 from left and right */
  margin: 10px 0;

}
.tab-contents ul li span{
  color: #b54769;
  font-size: 14px;
}

.tab-contents{
  display: none;
}
.tab-contents.active-tab{
  display: block;
}

/* services  */
#services{
  padding: 30px 0;
}
.services-list{
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px,1fr));
  grid-gap: 40px;
  margin-top: 50px;
}

.services-list div{
  background: #0d0907;
  padding: 40px;
  font-size: 13px;
  font-weight: 300;
  border-radius: 10px;
  transition: background 0.25s, transform 0.1s;
}

/* this portion if for icons only  */
.services-list div i{
  font-size:50px;
  margin-bottom: 30px;

}

/* smaller headings under my services */
.services-list div h2{
  color: #b54769;
  font-size: 30px;
  font-weight: 500;
  margin-bottom: 15px;
}
.services-list div p{
  color: #fff;
}

/* learn more link section */
.services-list div a{
  text-decoration: none;
  color: #fff;
  font-size: 12px;
  margin-top: 20px;
  display: inline-block;
}
.services-list div:hover{
  background: #0d0907;
  transform: translateY(-10px);
}

/* portfolio section */

#portfolio{
padding: 50px 0;
}
.work-list{
  display: flex;
  overflow-x: auto;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  grid-gap: 40px;
  margin-top: 50px;
  padding: 20px 0;

}
.work{
  flex: 0 0 auto;
  width: 350px;
  border-radius: 10px;
  position: relative;
  overflow: hidden;

}

.work a{
  display: inline-block;
  white-space: nowrap;
  overflow-x: auto;
}

.work img{
  flex: 0 0 auto;
  width: 100%;
  border-radius: 10px;
  display: block;
  transition: transform 0.5s;
  height: 350px;
}
.layer{
  width: 100%;
  height: 0%;
  background: linear-gradient(rgba(0,0,0,0.6), #fff);
  border-radius: 10px;
  position: absolute;
  left: 0;
  bottom: 0;
  overflow: auto;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  padding: 0 40px;
  text-align: center;
  font-size: 14px;
  transition: height 0.5s;
}

.layer h3{
  font-weight: 500;
  margin-bottom: 20px;

}

.layer a{
  margin-top: 20px;
  color: #fff;
  text-decoration: none;
  font-size: 18px;
  line-height: 60px;
  background: #fff;
  width: 60px;
  height: 60px;
  /* makes link a circle here (below) */
  border-radius: 50%;
  text-align: center;
  font-size: 14px;
}

.work:hover img{
  transform: scale(1.1);
}

.work:hover .layer{
  height: 100%;

}

.btn{
  display: block;
  margin: 50px auto;
  width: fit-content;
  border: 1px solid #fff;
  padding:14px 50px;
  border-radius: 6px;
  text-decoration: none;
  color: #fff;
  transition: background 0.5s;
}

.btn:hover{
  background: #0d0907;
}

/* contact section */
.contact-left{
  flex-basis: 35%;
}

.contact-left p{
  margin-top: 30px;
}

.contact-left p i{
  color: #0d0907;
  margin-right: 15px;
  font-size: 25px;
}
.contact-right{
  flex-basis: 60%;
}

.social-icons{
  margin-top: 30px;
}

social-icons a{
  text-decoration: none;
  font-size: 30px;
  margin-right: 15px;
  color: #ababab;
  display: inline-block;
  transition: transform 0.5s;
}

.social-cons a:hover{
  color: #ff004f;
  transform: translateY(-5px);
}

.btn.btn2{
  display: inline-block;
  background: #ff004f;
}

/* css for smaller screens and devices */
nav .fas{
  display: none;
}
@media only screen and (max-width: 600px){
  #header{
    background-image: url(smaller_image_for_vertical_screens);    

  }
  .header-text{
    margin-top: 100%;
    font-size: 16px;
  }
  .header-text h1{
    font-size: 30px;
    
  }
  nav .fas{
    display: block;
    font-size: 25px;
  }

  nav ul{
    background: #ff004f;
    position: fixed;
    top: 0;
    right: -200px;
    width: 200px;
    height: 100vh;
    padding-top: 50px;
    z-index: 2;
  }

  nav ul li{
    display: block;
    margin: 25px;

  }
  nav ul .fas{
    position: absolute;
    top: 25px;
    left: 25px;
    cursor: pointer;
  }
}
