* {
  margin: 0;
  padding: 0;
  border: 0;
  outline: 0;
  list-style: none;
  text-decoration: none;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

:root {
  --bg-color: #000;
  --white-color: #fff;
  --black-color: #000;
  --red-color: #db0001;
  --light-color: #ccc;
  --dark-color: #1a1a1a;
  --primary-color: #6c63ff;

  --container-width-large: 84%;
  --container-width-medium: 90%;
  --container-width-small: 94%;

  --transition: all 400ms ease;
}

body{
    background: var(--bg-color);
    color: var(--white-color);
}

img {
  width: 100%;
  object-fit: cover;
  display: block;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  line-height: 1.2;
}
h1 {
  font-size: 3rem;
}

h2 {
  font-size: 2.4rem;
}

h3 {
  font-size: 2rem;
}

h4 {
  font-size: 1.5rem;
}

h5 {
  font-size: 1.2rem;
}

h6 {
  font-size: 1rem;
}

p {
  font-size: 0.9rem;
}

.btn {
  display: inline-block;
  background: var(--red-color);
  color: var(--black-color);
  padding: 0.8rem 1rem;
  border: 1px solid transparent;
  transition: var(--transition);
  cursor: pointer;
}

.btn:hover {
  background: transparent;
  border-color: var(--red-color);
}

.btn-primary {
  background: var(--primary-color);
  color: var(--white-color);
}

.container {
  width: var(--container-width-large);
  margin: 0 auto;
}

section {
  padding: 6rem 0;
}

section h2 {
  text-align: center;
  margin-bottom: 4rem;
}


.scroll-btn a {
  position: fixed;
  bottom: 1.2rem;
  right: 1.2rem;
  background: var(--red-color);
  border-radius: 50%;
  font-size: 1.5rem;
  padding: 0.5rem;
  color: var(--white-color);
  border: 1px solid var(--black-color);
  z-index: 99;
  display: none;
}


/*************** NAV SECTION*******************/
nav {
  width: 100vw;
  position: fixed;
  top: 0;
  left: 0;
  height: 5rem;
  display: grid;
  place-items: center;
  background: transparent;
  z-index: 10;
}

.nav-scroll {
  background: var(--primary-color);
}
.nav-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 3rem;
}

.menu-btn {
  display: none;
}


/*********HEADER SECTION********/
header {
  height: 100vh;
  display: grid;
  place-items: center;
  margin-top: 3rem;
}
.header-container {
  display: grid;
 /*(OR) grid-template-columns: 30% 70%;*/
  grid-template-columns: 1fr 1fr;
  gap: 1.2rem;
}

.header-content h6,
.header-content h4 {
  margin-bottom: 0.8rem;
}

.header-content h1 {
  font-size: 3.2rem;
  margin-bottom: 0.7rem;
}

.header-btn {
  margin: 2rem auto;
}

.header-image img {
  height: 27rem;
  width: 25rem;
  margin-left: 7rem;
  transform: rotate(deg);
}

/**********About Section********/
.about-container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
}
.about-content h3 {
  font-size: 2rem;
  text-align: center;
  margin-bottom: 1.5rem;
}
.about-content p {
  font-size: 1.5rem;
  margin-bottom: 1rem;
}

.mbtn {
  background: #6c63ff;
  padding: 1rem 0.6rem;
  transition: all 800ms ease;
}

.mbtn:hover {
  background-color: #db0001;
}

/***********Services section***********/

.services-container {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(16rem, 1fr));
  gap: 1.2rem;
}

.services-container article {
  background: var(--primary-color);
  padding: 1.5rem 0.5rem;
  text-align: center;
  border-radius: 8px;
  box-shadow: 0 0 1rem #000;
}

.services-container article:hover {
  background: var(--light-color);
  box-shadow: none;
}

.services-container .icon {
  padding: 1rem;
}

.services-container .icon i {
  font-size: 2.4rem;
  margin-inline: auto;
  background-color: #000;
  color: #fff;
  border-radius: 50%;
  padding: 0.6rem;
}

.myh6 {
  color: aqua;
  font-size: 2rem;
  text-transform: uppercase;
}

.myarticle11 {
  background: #db0001 !important;
  background: var(--light-color);
  box-shadow: none !important;
}
.myarticle11:hover {
  background: var(--light-color) !important;
  box-shadow: 0 0 1rem #000 !important;
}


/***********Project section**********/

.project-container{
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(20rem, 1fr));
    gap: 2rem;
}

.project-container article{
    border: 8px solid var(--light-color);
}

.development{
 text-align: center; 
padding: 1rem 0;  
}

.development h6{
    margin-bottom: 0.5rem;
}

.project-image img{
  height: 15rem;
}

.project-link{
  margin-left: 1rem;
  padding-bottom: 1.2rem;
}
/*****************Review section*****************************/
.review-container article{
  background: var(--white-color);
  padding: 2rem 1rem;
  box-shadow: 0 0 1rem #fff;
  color: #6c6;
  margin-bottom: 1.2rem;
}

.review-top{
  display: flex;
  gap: 3rem;
}

.review-top img{
  width: 3rem;
  height: 3rem;
  border-radius: 50%;
}

.review-bottom{
  margin: 1.5rem auto;
}

.review-bottom p{
    font-size: 2rem;
    font-style:inherit ; 
}

/********************Contact Section**************************/
.contact-container{
  background: transparent;
  max-width: 600px;
  padding: 2.5rem 1rem;
}

.contact-container form{
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.contact-container form input{
padding: 1rem 0.6rem;
width: 100%;
}

.contact-container form textarea{
  padding: 1rem 0.6rem;
  width: 100%;
  resize: none;
}

/*****************FOOTER SECTION********************/
.footer-socials{
  width: 150px;
  display: flex;
  justify-content: space-between;
  margin-inline: auto;
  margin-bottom: 3rem;

}

.copyright{
  text-align: center;
  border-top: 1px solid #ccc;
  padding: 1rem 0;
  background: #6c63ff;
}

::-webkit-scrollbar{
  width: 8px;
  background: white;
}
::-webkit-scrollbar-thumb{
  background: var(--primary-color);
  border-radius: 10px;
}

.small-screen-bg{
  background: var(--red-color);
}



/******************** RESPONSIVENESS ***********************/

@media screen and (max-width: 992px) {
  .container{
    width: var(--container-width-medium);
  }
  .header-image img{
    width: 22rem;
    margin-left: 0;
  }
}


@media screen and (max-width: 600px) {
  .container{
    width: var(--container-width-small);
  }
  .nav-links{
    flex-direction: column;
    height: 5rem;
    padding-top: 5rem;
    width: 5rem;
    align-items: center;
    display: none;
  }
  nav #open-btn{
    display: inline-block;
    font-size: 2rem;
    color: var(--white-color);
    background: transparent;
  }
  .header-container{
    grid-template-columns: 1fr;
  }
  .about-container{
    grid-template-columns: 1fr;
  }
}