@import url("https://fonts.googleapis.com/css2?family=Poppins:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&display=swap");
* {
  font-family: Poppins, sans-serif;
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  scroll-behavior: smooth;
}
header {
  background-color: #f0f0f0;
  width: 100%;
  position: fixed;
  z-index: 9999;
  padding: 10px 200px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.logo {
  text-decoration: none;
  text-transform: uppercase;
  font-weight: 700;
  font-size: 1.8em;
}
.navigation a {
  text-decoration: none;
  font-size: 1.1em;
  font-weight: 500;
  padding-left: 30px;
}
.navigation a:hover {
  color: #601cfc;
}
section {
  padding: 100px 200px;
}
.main {
  width: 100%;
  min-height: 100vh;
  display: flex;
  align-items: center;
  background: url(images/webdevelopment.png) no-repeat;
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
}

.main h2 {
  color: #fff;
  font-size: 1.4em;
  font-weight: 500;
}

.main h2 span {
  display: inline-block;
  margin-top: 10px;
  color: #ffffff;
  font-size: 3em;
  font-weight: 600;
}

.main h3 {
  color: #fff;
  font-size: 2em;
  font-weight: 700;
  letter-spacing: 1px;
  margin-top: 10px;
  margin-bottom: 30px;
}
.main-btn {
  color: #fff;
  background-color: #3a6cf4;
  text-decoration: none;
  font-size: 1.1em;
  font-weight: 600;
  display: inline-block;
  padding: 0.9375em 2.1875em;
  letter-spacing: 1px;
  border-radius: 15px;
  margin-bottom: 40px;
  transform: 0.7s ease;
}
.main-btn:hover {
  background-color: #2e5bbf;
  transform: scale(1.1);
}
.social-icons a {
  color: #fff;
  font-size: 1.7em;
  padding-right: 30px;
}

.title {
  display: flex;
  justify-content: center;
  color: blue;
  font-size: 2em;
  font-weight: 600;
  margin: 0 0 40px;
}

.content {
  display: flex;
  justify-content: center;
  flex-direction: row  ;
  flex-wrap: wrap;
}
.card{
    background-color: #f0f0f0;
    width: 17em;
    box-shadow: 0 5px 25px  rgb(1 1 1 /15%);
    border-radius: 10px;
    padding: 25px;
    margin: 15px;
    transform: 0.7s ease;
}
.card:hover {
    transform: scale(1.1);
}

.card .icon{
    color: #3a6cf4;
    font-size: 8em;
    text-align: center;

}
.info{
    text-align: center;
}
.projects {
    background-color: #000016;
}
.projects .content{
    margin-top: 30px;
}
.project-card{
    background-color: #ffffff;
    border:1px solid #e0e0e0;
    min-width: 15em;
    width: 20em;
    overflow: hidden;
    border-radius: 10px;
    margin: 20px;
    transition: 0.7s ease;
}
.project-card:hover {
    transform: scale(1.1);
}

.project-card:hover .image  {
    opacity: 0.9;
 }
.project-card .image{
  width: 400px ;
  height: 200px;
}
.project-card .image img{ 
  width: 100%;
  height: 100%;
}

.project-info {
    padding: 1em;
}

.project-category {
    font-size: 0.8em;
    color: #000;
}

.project-title {
    display: flex;
    justify-content: space-between;
    text-transform: uppercase;
    font-weight: 800;
    margin-top: 10px;
}
.more-details {
    text-decoration: none;
    color: #3a6cf4;
    margin-left: 50px;
}

.more-details:hover {
    color: #601cfc;
}
.content-contact{
  display: flex;
  justify-content: center;
  align-items: center;
}

.card-contact{
    display: flex;
    justify-content: center;
    flex-direction: column;
    width: 300px;
    height: 250px;
    text-align: center;
  background-color: #03a9f4;
  margin:0 5px;
  border-radius: 10px;
  padding: 20px;
  transition: 0.7s ease;
}
.card-contact:hover {
    transform: scale(1.1);
}
.icon-contact {
    font-size: 3em;
    color: #fff;
    margin-bottom: 10px;
}
.footer{
  background-color: #000016;
  color: #fff;
  display: flex;
  justify-content: space-evenly;
  align-items: center;
  padding: 30px;
}
.footer p  span{
  font-weight: 700;
  
}

@media (max-width:1023px){
    header{
        padding: 12px 20px;
    }

    .navigation a{
        padding-left: 10px;
    }

    .title{
        font-size: 1.8em;
    }

    section{
        padding: 80px 20px;
    }
    .card{
      width:90%;
    }
    .project-card{
      width:90%;
    }
    .main-content h2{
        font-size: 1em;
    }

    .main-content h3{
        font-size: 1.6em;
    }

    .content{
        flex-direction: column;
        align-items: center;
    }
    .content-contact{
      flex-direction: column;
    }
    .card-contact{
        width: 90%;
        height: auto;
        margin: 10px 0;
    }
    .footer{
      padding: 10px 0;
    }
    .footer .social-icons a{
        padding: 0 10px;
    }

}
@media (max-width:641px){
    body{
        font-size: 12px;
    }

    .main-content h2{
        font-size: 0.8em;
    }

    .main-content h3{
        font-size: 1.4em;
    }
}

@media (max-width:300px){
    body{
        font-size: 10px;
     
    }
}