@import './reset.css';
@import url('https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;500;700&family=Poppins:wght@400;500;700&display=swap');

:root{
  --poppins: 'Poppins', sans-serif;
  --dm-font: 'DM Sans', sans-serif;
  --br:1px solid red;
  --container-padding:15px;
  --container-width:1200px;
  --accent: #5C62EC;
}
body{
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: 100vh;
  font-family: var(--dm-font);
  letter-spacing: -0.5px;
}
.container{
  margin: 0 auto;
  padding: 0 var(--container-padding);

  max-width: var(--container-width);
}
/* Nav */
.nav{
  padding: 20px 0;

  border-bottom: 1px solid #26292D;
  background-color: #171718;
  letter-spacing: normal;
}
.nav-row{
  display: flex;
  justify-content: space-between;
  align-items: center;
  column-gap: 30px;
  row-gap: 20px;
  flex-wrap: wrap;
}
.nav-logo{
  display: inline-block;

  font-family: var(--poppins);
  font-size: 24px;

  color: #FFF;
}
.nav-logo span{
  font-weight: 700;
}
.nav-list{
  display: flex;
  align-items: center;
  column-gap: 40px;
}
.nav-list a{
  position: relative;

  font-family: var(--poppins);
  font-size: 16px;
  font-weight: 500;
  color: #FFF;
}
.nav-list a:hover{
  opacity: .8;
}
.nav-list a.active::before{
  content: '';
  position: absolute;

  left: 0;
  top: 100%;
  
  width: 100%;
  height: 2px;

  background-color: #5C62EC;
  border-radius: 50px;
}

/* Header */
.header{
  padding: 40px 0;

  height: 695px;

  display: flex;
  justify-content: center;
  align-items: center;

  background-image: url(./../imgs/header/Abstract.png);
  background-repeat: no-repeat;
  background-size: auto;
  background-position: center;
  background-color: #171718;
  text-align: center;
}
.header__wrapper{
  padding: 0 15px;
  max-width: 660px;
}
.header__title{
  margin-bottom: 20px;

  max-width: 570px;
  
  font-family: var(--dm-font);
  font-size: 40px;
  line-height: 1.4;
  font-weight: 700;

  color: #FFF;
}
.header__title strong{
  font-size: 60px;
}
.header__title span{
  font-size: 60px;

  color: var(--accent);
}
.header__text{
  margin-bottom: 40px;

  font-family: var(--dm-font);
  font-size: 18px;
  font-weight: 500;
  letter-spacing: -0.5px;

  color: #FFF;
}
.header__btn{
  display: inline-block;
  
  padding: 12px 28px;

  font-family: var(--dm-font);
  font-size: 16px;
  font-weight: 500;
  letter-spacing: 0.15px;

  color: #FFF;
  background: var(--accent);
  border-radius: 5px;

  transition: background .2s ease-in;
}
.header__btn:hover{
  background: rgba(92, 97, 236, .8);
}
.header__btn:active{
  position: relative;
  top: 1px;
}

/* Projects */
.section{
  margin: 70px 0;
}
.project-title{
  margin-bottom: 40px;

  font-family: var(--dm-font);
  font-size: 60px;
  font-weight: 700;
  line-height: 1.3;
  text-align: center;

  color: var(--accent);
}
.projects{
  display: grid;
  grid-template-columns: repeat(3,1fr);
  justify-items: center;
  grid-gap: 30px;
}
.project{
  max-width: 370px;
  height: 349px;
  
  background: #FFFFFF;
  box-shadow: 0px 5px 35px rgba(0, 0, 0, 0.25);
  border-radius: 10px;
}
.project__img{
  border-radius: 10px;
}
.project__title{
  padding: 15px 20px 25px;

  font-family: var(--dm-font);
  font-size: 24px;
  font-weight: 700;
  line-height: 1.3;
  
  color: #171718;
}
/* project-details */
.project-details{
  margin: 0 auto;
  max-width: 865px;

  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}
.project-details__cover{
  margin-bottom: 40px;
  max-width: 100%;

  filter: drop-shadow(0px 5px 35px rgba(0, 0, 0, 0.25));
  border-radius: 10px;
}
.project-details__desc{
  margin-bottom: 30px;
  
  font-family: var(--dm-font);
  font-size: 24px;
  font-weight: 700;
  line-height: 1.3;
  letter-spacing: -0.5px;

  color: #171718;
}
.btn__outline{
  display: flex;
  align-items: center;
  column-gap: 10px;

  height: 48px;
  padding: 12px 20px;

  font-size: 16px;
  font-weight: 500;
  letter-spacing: 0.15px;

  color: #000;
  border: 1px solid #000;
  border-radius: 5px;
}
.btn__outline:active{
  position: relative;
  top: 1px;
}

/* content-list */
.content-list{
  margin: 0 auto;
  
  max-width: 571px;

  display: flex;
  flex-direction: column;
  text-align: center;
  row-gap: 40px;
}
.title-2{
  margin-bottom: 20px;
  font-family: var(--dm-font);

  font-size: 40px;
  font-weight: 700;
  line-height: 1.3;
}
.contetn-list__item p{
  font-family: var(--dm-font);

  font-size: 18px;
  line-height: 1.5;

  color: #171718;
}
.contetn-list__item .blue{
  color: #5C62EC;
  cursor: pointer;
}


/* Footer */
.footer{
  margin-top: auto;
  padding: 60px 0 50px;

  background-color: #171718;
}
.social{
  margin-bottom: 27px;

  display: flex;
  justify-content: center;
  align-items: center;
  column-gap: 30px;
}
.social__item{
  transition: .2s ease-in-out;
}
.social__item:hover{
  margin-top: -10px;
}

.copyright{
  font-family: var(--dm-font);
  font-size: 16px;
  font-weight: 400;
  line-height: 1.5;
  text-align: center;

  color: #FFF;
}

/* media */
@media (max-width: 760px){
  .projects {
    grid-template-columns: repeat(2,1fr);
  }
}
@media (max-width: 660px){
  .projects {
    grid-template-columns: 1fr;
  }
  .header__title strong {
    font-size: 50px;
  }
  .project-title {
    margin-bottom: 30px;
  
    font-size: 50px;
  }
  .footer {
    padding: 40px 0 30px;  
  }
  .social__item {
    width: 28px;
  }
}
@media (max-width: 360px){
  .header__title {
    font-size: 30px;
  }
  .project__title {
    font-size: 22px;
  }
  .project {
    height: unset;
  }
}