/*
=============== 
Fonts
===============
*/
@import url('https://fonts.googleapis.com/css2?family=League+Spartan:wght@700&family=Roboto&display=swap');

/*
=============== 
Variables
===============
*/

:root {
  /* dark shades of primary color*/
  --clr-primary-1: hsl(283, 28%, 29%);
  --clr-primary-2: hsl(283, 28%, 36%);
  --clr-primary-3: hsl(284, 27%, 53%);
  --clr-primary-4: hsl(283, 33%, 60%);
  /* primary/main color */
  --clr-primary-5: hsl(284, 22%, 76%);
  /* lighter shades of primary color */
  --clr-primary-6: hsl(34, 22%, 52%);
  --clr-primary-7: hsl(34, 19%, 58%);
  --clr-primary-8: hsl(34, 23%, 74%);
  --clr-primary-9: hsl(35, 12%, 80%);
  --clr-primary-10: hsl(37, 39%, 94%);
  /* darkest grey - used for headings */
  --clr-grey-1: hsl(209, 61%, 16%);
  --clr-grey-2: hsl(211, 39%, 23%);
  --clr-grey-3: hsl(209, 34%, 30%);
  --clr-grey-4: hsl(209, 28%, 39%);
  /* grey used for paragraphs */
  --clr-grey-5: hsl(210, 22%, 49%);
  --clr-grey-6: hsl(209, 23%, 60%);
  --clr-grey-7: hsl(211, 27%, 70%);
  --clr-grey-8: hsl(210, 31%, 80%);
  --clr-grey-9: hsl(212, 33%, 89%);
  --clr-grey-10: hsl(210, 36%, 96%);
  --clr-white: #fff;
  --ff-primary:  "Manrope", sans-serif;
  --ff-secondary: "League Spartan", sans-serif;
  --transition: all 0.3s linear;
  --spacing: 0.05rem;
  --radius: 0.3rem;
  --light-shadow: 0 5px 15px rgba(0, 0, 0, 0.5);
  --dark-shadow: 0 5px 15px rgba(0, 0, 0, 0.8);
  --max-width: 1600px;
}
/*
=============== 
Global Styles
===============
*/

*,
::after,
::before {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
body {
  font-family: var(--ff-primary);
  background: var(--clr-white);
  color: var(--clr-grey-1);
  line-height: 1.5;
  font-size: 0.875rem;
}
ul {
  list-style-type: none;
}
a {
  text-decoration: none;
}
img:not(.nav-logo) {
  width: 100%;
  display: block;
}

h1,
h2,
h3,
h4 {
  letter-spacing: var(--spacing);
  text-transform: capitalize;
  line-height: 1.25;
  margin-bottom: 0.75rem;
  font-family: var(--ff-primary);
}
h1 {
  font-size: 3rem;
}
h2 {
  font-size: 2rem;
}
h3 {
  font-size: 1.25rem;
}
h4 {
  font-size: 0.875rem;
}
p {
  margin-bottom: 1.25rem;
  color: var(--clr-grey-5);
}
@media screen and (min-width: 800px) {
  h1 {
    font-size: 4rem;
  }
  h2 {
    font-size: 2.5rem;
  }
  h3 {
    font-size: 1.75rem;
  }
  h4 {
    font-size: 1rem;
  }
  body {
    font-size: 1rem;
  }
  h1,
  h2,
  h3,
  h4 {
    line-height: 1;
  }
}

/*  global classes */

.btn {
  text-transform: uppercase;
  background: var(--clr-primary-1);
  color: var(--clr-primary-10);
  padding: 0.5rem 0.5rem;
  letter-spacing: var(--spacing);
  display: inline-block;
  font-weight: 700;
  transition: var(--transition);
  font-size: 0.875rem;
  border: 2px solid transparent;
  cursor: pointer;
  box-shadow: var(--light-shadow);
  border-radius: var(--radius);
}
.btn:hover {
  color: var(--clr-primary-1);
  background: var(--clr-primary-7);
}
/* section */
.section {
  padding: 5rem 0;
}

.section-center {
  width: 100vw;
  margin: 0 auto;
  max-width: 1600px;
}
@media screen and (min-width: 992px) {
  .section-center {
    width: 95vw;
  }
}
/* added during recording */
.underline{
  width: 5rem;
  height: 0.25rem;
  margin-bottom: 1.25rem;
  background: var(--clr-primary-8);
  margin-left: auto;
  margin-right: auto;
}
.section-title{
  margin-bottom: 4rem;
  text-align: center;
}
.bg-grey{
  background: var(--clr-primary-10);
}
@keyframes SlideIn {
  0%{
    transform: translateY(-100px);
    opacity: 1;
  }
  100%{
    transform: translateY(0px);
    opacity: 1;
  }
}
@keyframes Pulse {
  0%{
    transform: scale(0.85);
  }
  50%{
    transform: scale(1);
  }
  100%{
    transform: scale(0.85);
  }
}
@keyframes bounce {
  0%{
    transform: scale(1);
    opacity: 0;
  }
  50%{
    transform: scale(1.5);
    opacity: 0.5;
  }
  100%{
    transform: scale(1);
    opacity: 1;
  }
}

@keyframes slideFromLeft {
  0%{
    transform: translateX(-1000px);
    opacity: 0;
  }
  75%{
    transform: translateX(20px);
    opacity: 0.75;
  }
  100%{
    transform: translateX(0px);
    opacity: 1;
  }
}
/* 
=============== 
Navbar
===============
*/
.nav-logo{
margin-left: 2rem;
 /* box-shadow: 0px 5px 15px rgba(28, 18, 32, 0.8); */
 /* border-bottom-left-radius: 1rem; */
 /* border-bottom-right-radius: 1rem; */
animation: SlideIn 1.25s 1;
}
.nav-links{
  display: none;
}
.nav{
  height: 5rem;
  display: grid;
  align-items: center;
  transition: var(--transition);
}
.nav-logo{
width: 160px;
}
.nav-center{
  width: 100%;
  max-width: 1689px;
  margin: 0 auto;
  padding-top: 0;
}
.nav-header{
  display: grid;
  grid-template-columns: 1fr 1fr;
  justify-content: start;
}
.nav-btn{
  background: transparent;
  border: transparent;
  color: var(--clr-primary-5);
  font-size: 2.5rem;
  cursor: pointer;
  justify-self: end;
  transform: scale(1);
  animation: Pulse 5s infinite;
}
@media screen and (min-width:768px) {
.nav{
background: var(--clr-white);
}
.nav-btn{
display: none;
}
.nav-logo{
display: grid;
width: 200px;
}
.nav-links{
display: grid;
grid-template-columns: repeat(4, 100px);
justify-content: end;
-moz-column-gap: 0.5rem;
column-gap: 0.5rem;
}
.nav-links a{
text-transform: capitalize;
color: var(--clr-primary-2);
font-weight: 600;
letter-spacing: var(--spacing);
transition: var(--transition);
animation: bounce 0.8s 1;
}
.nav-links a:hover{
  color: var(--clr-primary-7);
}
.nav-center{
  display: grid;
  grid-template-columns: auto 1fr;
  align-items: center;
}
}
.navbar-fixed{
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  background: var(--clr-white);
  z-index: 2;
  box-shadow: var(--light-shadow);
}

/*
=============== 
Sidebar
===============
*/

.sidebar{
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: var(--clr-grey-10);
  z-index: 4;
  display: grid;
  place-items: center;
  transition: var(--transition);
  transform: translateX(-100%);
}

.show-sidebar{
  transform: translateX(0);
}

.sidebar-links{
  text-align: center;
}

.sidebar-links a{
  font-size: 2rem;
  text-transform: capitalize;
  transition: var(--transition);
  color: var(--clr-primary-1);
  letter-spacing: var(--spacing);
  display: inline-block;
  margin-bottom: 1.5rem;
}

.sidebar-links a:hover{
  color: var(--clr-primary-5);
}

.social-icons{
  display: grid;
  margin-top: 3rem;
  width: 20rem;
  grid-template-columns: repeat(5, 1fr);
  justify-items: center;
}

.social-icon{
  font-size: 1.5rem;
  color: var(--clr-primary-1);
  transition: var(--transition);
}

.social-icon:hover{
  color: var(--clr-primary-5);
}

.close-btn{
  position: absolute;
  top: 1rem;
  right: 1rem;
  font-size: 3rem;
  background: transparent;
  border: transparent;
  transition: var(--transition);
  color: #bb2525;
}

.close-btn:hover{
  color: #e66b6b;
  cursor : pointer;
}

/*
=============== 
Hero
===============
*/
/* underline added to globals */
.hero .underline{
 margin: 2rem;
 margin-left: 0;
 animation: slideFromLeft 3s ease-in-out;
 }
.hero-photo{
 border-radius: var(--radius);
 animation: slideFromRight 2s ease-out 1 ;
}
.hero-img{
 display: none;
 height: 35rem;
}
.hero{
 background: linear-gradient(120deg, rgb(12, 0, 17), rgb(174, 40, 226));
 display: grid;
 max-height: 100vh;
 }

.hero-center{
  min-height: calc(100vh - 5rem);
  display: grid;
  margin-bottom: 5rem;
  place-items: center;
}

.hero-info {
  color: var(--clr-primary-10);
}


.hero-info h1{
 font-family: var(--ff-secondary);
 font-size: 3rem;
 font-weight: 400;
 text-transform: capitalize;
 animation: slideFromLeft 2s ease-in-out 1 ;
}
.hero-info h2{
 font-family: var(--ff-primary);
 font-size: 1.5rem;
 font-weight: 400;
 line-height: 1.2;
 animation: slideFromLeft 2s ease-in-out 1 ;
}

@keyframes slideFromRight {
  0%{
    transform: translateX(1500px);
    opacity: 0;
  }
  /* 50%{
    transform: translateX(-200px);
    opacity: 0.5;
  } */
  75%{
    transform: translateX(-10px);
    opacity: 0.75;
  }
  100%{
    transform: translateX(0px);
    opacity: 1;
  }
}

.hero-info h4{
 font-family: var(--ff-secondary);
 animation: slideFromLeft 5s ease-in-out 1 ;
}

.hero-icons{
  justify-items: start;
}

.hero-btn{
  margin-top: 1.25rem;
  font-size: 1.27rem;
  font-weight: bold;
  padding: 1rem 1.7rem;
  animation: slideFromLeft 5s ease-out;
}

.hero-icon{
  font-size: 1.5rem;
  color: var(--clr-primary-10);
  transition: var(--transition);
}

.hero-icon:hover{
  color: var(--clr-primary-8);
 }

@media screen and (min-width:992px) {
  .hero-img{
    display: grid;
place-items: center;
  }

  .hero-center{
    grid-template-columns: 650px 1fr;
    place-items: center;
  }

  .hero-img::before,.about-img::before{
    /* content: "";
    position: absolute; */
    width: 100%;
    height: 100%;
    border: 0.25rem solid var(--clr-primary-5);
    border-radius: var(--radius);
    top: 2rem;
    right: -2rem;
  }
  .about-img::before{
    left: -2rem;
  }
}

.content-divider{
 height: 0.4rem;
 background: linear-gradient(to left, var(--clr-primary-1), #b9b6b4, var(--clr-primary-4));
}


/*
=============== 
About
===============
*/
/* section title added to globals */

.section-about{
  margin-top: 0rem;
  margin-bottom: 0rem;
  overflow: hidden;
   /* background: linear-gradient(
 rgba(0, 0, 0, 0.5), 
 rgba(0, 0, 0, 0.2)
 ), url("../images/bkgrd.png") center/cover no-repeat fixed; */
}
.about-title{
  text-align: left;
  margin-bottom: 2rem;
}

.about-title .underline{
  margin-left: 0;
  align-items: center;
}

.about-center{
  display: grid;
  gap: 3rem 2rem;
}

.about-img{
  justify-self: center;
  animation: Pulse 20s ease-in-out infinite;
}

.about-info h2{
  text-transform: none;
  font-weight: 200;
  animation: Pulse 30s ease-in infinite;
}

.about-info h4{
  font-style: italic;
  font-size: 1rem;
  text-transform: none;
  font-weight: 100;
}

.about-btn{
  margin-left: 2rem;
}

@media screen and (min-width: 992px) {
  .about-center{
    grid-template-columns: 1fr 1fr;
  }
  .about-img{
    position: relative;
  }
  .about-info{
    align-self: center;
  }
}


/*
=============== 
Services
===============
*/
/* small screen layout setup */
/* bg-grey in globals */

.service{
  background: var(--clr-primary-5);
  padding: 3rem 1.5rem;
  margin-bottom: 2rem;
  border-radius: var(--radius);
  text-align: center;
  transition: var(--transition)6;
  box-shadow: var(--light-shadow);
}

.service-icon{
  font-size: 2rem;
  margin-bottom: 1.5rem;
}

.service .underline{
  width: 3rem;
  height: 0.12rem;
  transition: var(--transition);
  color: var(--clr-primary-1);
}

.service p{
  transition: var(--transition);
}

.service:hover{
  background: var(--clr-primary-1);
  color: var(--clr-white);
  box-shadow:none;
}

.service:hover p{
  color: var(--clr-white);
}

.service:hover .underline{
  background: var(--clr-white);
}

@media screen and (min-width: 676px) {
  .services-center{
    display: grid;
    grid-template-columns: 1fr 1fr;
    -moz-column-gap: 2rem;
         column-gap: 2rem;
  }
}
@media screen and (min-width: 992px) {
  .services-center{
    grid-template-columns: 1fr 1fr 1fr;
  }
}

/*
=============== 
Connect
===============
*/

.connect{
  min-height: 85vh;
  position: relative;
  /* padding: 10rem 0 5rem 0;
  margin: 5rem 0; */
  /* -webkit-clip-path: polygon(50% 0, 100% 10%, 100% 100%, 75% 100%, 0 100%, 0 10%);
clip-path: polygon(50% 0, 100% 10%, 100% 100%, 75% 100%, 0 100%, 0 10%); */
}

.video-container{
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  -o-object-fit: cover;
     object-fit: cover;
  z-index: -2;
}

.connect::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: var(--clr-grey-1);
  opacity: 0.2;
  z-index: -1;
}

.connect{
  display: grid;
  place-items: center;
}

.video-banner .section-title{
  margin-bottom: 2rem;
}

.video-text{
  max-width: 30rem;
  font-size: medium;
  color: var(--clr-grey-1);
}


.video-banner{
  background: var(--clr-primary-9);
  opacity: 0.8;
  padding: 3rem;
  text-align: center;
  /* -webkit-clip-path:polygon(0% 0%, 100% 0%, 100% 75%, 75% 75%, 75% 100%, 50% 75%, 0% 75%);
  clip-path: polygon(0% 0%, 100% 0%, 100% 75%, 75% 75%, 75% 100%, 50% 75%, 0% 75%); */
}

/*
=============== 
Footer
===============
*/

.footer{
  padding-bottom: 2rem;
  background-color: black;
  display: grid;
  place-items: center;
  /* height: 15rem; */
}

.footer .social-icons{
  margin-bottom: 2rem;
}

.footer .social-icon{
  color: var(--clr-primary-5);
}
.footer .social-icon:hover{
  color: var(--clr-primary-10);
}

.footer p{
  font-size: 1.25rem;
  text-transform: capitalize;
}

/*
=============== 
Projects
===============
*/

.projects-text {
  width: 85vw;
  max-width: 30rem;
  margin: 0 auto;
}

.project{
  position: relative;
  background: var(--clr-primary-5);
  border-radius: var(--radius);
  margin-bottom: 2rem;
}

.project-info{
  text-align: center;
  color: var(--clr-white);
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  transition: var(--transition);
  opacity: 0;
}

.project-info p{
  text-transform: capitalize;
  color: var(--clr-white);
}

.project:hover .project-info{
  opacity: 1;
}

.project-img{
  transform: var(--transition);
  border-radius: var(--radius);
  height: 15rem;
  -o-object-fit: cover;
     object-fit: cover;
}

.project:hover .project-img{
  opacity: 0.1;
}

.project::after{
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: 0.25rem solid var(--clr-white);
  border-radius: var(--radius);
  transition: var(--transition);
  opacity: 0;
}

.project:hover::after{
  opacity: 1;
  transform: scale(0.8);
}

@media screen and (min-width:676px) {
  .projects-center{
    display: grid;
    grid-template-columns: 1fr 1fr;
    -moz-column-gap: 2rem;
         column-gap: 2rem;
  }
}

@media screen and (min-width:992px) {
  .projects-center{
    grid-template-columns: repeat(3, 1fr);
  }
}

@media screen and (min-width:1170px) {
  .projects-center{
    grid-template-rows: 200px 200px;
    grid-template-areas:
    "a b c"
    "a b c";
    gap: 1rem;
  }

  .project-img, .project{
    height: 100%;
  }
  .project-1{
    grid-area: a;
  }
  .project-2{
    grid-area: b;
  }
  .project-3{
    grid-area: c;
  }
}

/*
=============== 
About Page
===============
*/

.about-photo{
  animation: slideFromLeft 0.5s ease 1;
}

.about-page-img{
  height: 75vh;
}

/*
=============== 
Contact Page
===============
*/

.contact-btn{
  text-transform: capitalize;
  padding: 1rem;
  font-size: 1.5rem;
  margin-top: 2rem;
  transform: translatex(50%, 50%);
  transform: translatex(-50%, -50%);
  animation: Pulse 5s ease-in-out infinite;
}


/*
=============== 
Contact Page
===============
*/


.contact-photo{
  animation: slideFromRight 0.7s ease-in-out 1;
}

.contact-page{
  animation: slideFromLeft 0.7s ease-out 1;
  height: 70vh;
}

.contact-socials{
  color: var(--clr-primary-1);
}


