@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@500;900&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Open+Sans&display=swap');
*{
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
body{
  background-color: #1d1d33;
}
body > svg{
  width: 100%;
}
body > svg > path{
  fill: #8a8aff;
}
.header{
  background-color: #8a8aff;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  padding: 100px 0;
}
.header > img{
  height: 320px;
  margin-right: 30px;
}
.header > h1{
  color: white;
  font-family: 'Montserrat', sans-serif;
  font-weight: 900;
  font-size: 60px;
  display: block;
}
.header > h1 > a{
  text-transform: uppercase;
  color: white;
  font-family: 'Montserrat', sans-serif;
  font-weight: 500;
  font-size: 35px;
  margin-top: 40px;
  text-decoration: none;
  border: 3px solid white;
  padding: 12px 16px;
  border-radius: 40px;
  display: inline-block;
}
.section{
  padding: 0 5%;
  margin-bottom: 50px;
}
.section > h1{
  color: white;
  font-family: 'Montserrat', sans-serif;
  font-weight: 900;
  font-size: 60px;
  display: block;
  margin-bottom: 50px;
}
.projects{
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
}
.projects > .project{
  width: 30%;
  background-color: #8a8aff;
  overflow: hidden;
  text-decoration: none;
  margin-bottom: 60px;
}
.projects > .project:hover > .img > img{
  width: 130%;
}
.projects > .project > .img{
  width: 100%;
  overflow: hidden;
  height: 200px;
  position: relative;
}
.projects > .project > .img > img{
  width: 110%;
  height: auto;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  transition: all 300ms ease-in;
}
.projects > .project > h1{
  color: white;
  font-family: 'Montserrat', sans-serif;
  font-weight: 900;
  padding: 13px;
  font-size: 32px;
}
.projects > .project > p{
  color: white;
  font-family: 'Open Sans', sans-serif;
  font-weight: 400;
  padding: 0 13px 20px 13px;
  font-size: 20px;
}
.about{
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
}
.about > img{
  height: 300px;
}
.about > h1{
  color: white;
  font-family: 'Montserrat', sans-serif;
  font-weight: 900;
  font-size: 50px;
  margin-top: 20px;
}
.about > p{
  color: white;
  font-family: 'Open Sans', sans-serif;
  font-weight: 400;
  font-size: 24px;
  margin-top: 30px;
  text-align: center;
  padding: 0 15%;
}
.sm{
  display: flex;
  margin-top: 20px;
}
.sm > a{
  display: flex;
  background-color: #8a8aff;
  border-radius: 50%;
  width: 60px;
  height: 60px;
  justify-content: center;
  align-items: center;
  text-decoration: none;
  color: white;
  font-size: 30px;
  margin: 0 10px;
}
.footer{
  text-align: center;
  color: white;
  font-family: 'Open Sans', sans-serif;
  font-weight: 400;
  font-size: 20px;
  margin: 70px 0 10px 0;
}
.footer > a{
  color: white;
}
form{
  width: 70%;
  display: block;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
}
form p{
  color: white;
  font-size: 24px;
  font-family: 'Open Sans', sans-serif;
  font-weight: 400;
}
form .input{
  display: block;
  width: 100%;
  margin: 10px 0;
}
.next_to{
  display: flex;
  justify-content: space-between;
}
.next_to > .input{
  width: 48%;
}
form .input > input{
  width: 100%;
  font-size: 20px;
  padding: 5px 8px;
  font-family: 'Open Sans', sans-serif;
  font-weight: 400;
}
form > textarea{
  height: 300px;
  resize: vertical;
  font-family: 'Open Sans', sans-serif;
  font-weight: 400;
  padding: 5px 8px;
}
form > button{
  width: 50%;
  background-color: #8a8aff;
  border: none;
  font-family: 'Open Sans', sans-serif;
  font-weight: 400;
  padding: 10px;
  text-align: center;
  margin: 30px auto;
  color: #fff;
  font-size: 26px;
  border-radius: 100px;
}
@media only screen and (max-width: 1210px) {
  .projects > .project > .img{
    height: 160px;
  }
  .projects > .project > p{
    font-size: 16px;
  }
  .header > h1{
    font-size: 50px;
  }
}
@media only screen and (max-width: 1000px) {
  .projects > .project{
    width: 45%;
  }
  .header > h1{
    font-size: 40px;
  }
  .about > p{
    font-size: 20px;
    padding: 0 5%;
  }
  form{
    width: 90%;
  }
}
@media only screen and (max-width: 900px) {
  .header > h1 > a{
    font-size: 30px;
  }
  .header > img{
    height: 200px;
  }
}
@media only screen and (max-width: 760px) {
  .header{
    flex-direction: column;
  }
  .header > h1{
    text-align: center;
    margin-top: 30px;
  }
  .header > img{
    margin: 0;
  }
}
@media only screen and (max-width: 675px) {
  .projects > .project{
    width: 100%;
  }
  .projects > .project > .img{
    height: 250px;
  }
  .about > p{
    font-size: 16px;
    padding: 0;
  }
  .footer{
    font-size: 14px;
  }
  .next_to{
    display: block;
    justify-content: space-between;
  }
  .next_to > .input{
    width: 100%;
  }
}
@media only screen and (max-width: 490px) {
  .projects > .project > .img{
    height: 200px;
  }
  .about > p{
    font-size: 16px;
    padding: 0;
  }
  .header > h1{
    font-size: 32px;
  }
  .header > h1 > a{
    font-size: 20px;
  }
}
@media only screen and (max-width: 450px) {
  .sm > a{
    width: 50px;
    height: 50px;
    font-size: 26px;
    margin: 0 6px;
  }
  .about > p{
    font-size: 14px;
  }
  .projects > .project > .img{
    height: 170px;
  }
  .footer{
    font-size: 12px;
  }
}

html {
  scroll-behavior: smooth;
}