/* Google Fonts */
@import url("https://fonts.googleapis.com/css2?family=Bebas+Neue&family=Roboto:wght@400;700&display=swap");

/* Default Style */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: "Roboto", sans-serif;
  line-height: 1.5;
  letter-spacing: 1.5px;
  color: #3e3e3e;
}

/*
==============
 Global Style 
==============
*/
h1,
h2 {
  font-family: "Bebas Neue", cursive;
  color: #363958;
}
h1 {
  font-size: 48px;
}
h2 {
  font-size: 32px;
}
@media screen and (min-width: 768px) {
  h1 {
    font-size: 80px;
  }
  h2 {
    font-size: 48px;
  }
}
h3 {
  font-size: 24px;
  color: #363958;
}
a {
  text-decoration: none;
}
.text-center {
  text-align: center;
}
.clearfix::after {
  content: "";
  clear: both;
  display: table;
}
.section-center {
  width: 90vw;
  max-width: 1170px;
  margin: 0 auto;
  padding: 4rem 0;
}

.btn-primary {
  display: inline-block;
  background: linear-gradient(#ff8063, #f46060);
  padding: 0.8rem 2.2rem;
  color: #fff;
  text-transform: capitalize;
  border-radius: 0.5rem;
  margin: 2rem 0;
}
.underline {
  width: 200px;
  height: 5px;
  background: #f46060;
  margin: 0 auto;
}
article {
  align-self: center;
}
.title {
  padding-top: 4rem;
}
.special-title {
  color: #f46060;
}

.projects,
.skills {
  background: #f8f9fc;
  padding-bottom: 4rem;
}
.single-project,
.skill {
  background: #fff;
  padding: 0.8rem;
  border-radius: 0.8rem;
  box-shadow: 0 6.58px 19.74px 0 rgba(0, 0, 0, 0.3);
}
.middle-project,
.middle-skill {
  margin: 1rem 0;
}
/*
====================
 End of Global Style
====================
*/

/* Hero Section Start */
h1 span {
  color: #ff8367;
}
.hero-text {
  max-width: 20rem;
}
.hero article {
  margin-bottom: 3rem;
}
.half-width img {
  width: 100%;
  height: 100%;
}

@media screen and (min-width: 768px) {
  .hero,
  .about {
    display: flex;
  }
  .half-width {
    flex: 0 0 50%;
  }
}
/* Hero Section End */

/* Skills Section Start */
.fa-3x {
  color: #f46060;
  margin: 3rem 0 1rem;
}
.skill h3 {
  text-transform: uppercase;
  margin: 1rem 0;
}
.skill p {
  margin-bottom: 3rem;
}

@media screen and (min-width: 768px) {
  .skills-section,
  .projects-section {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
  }
  .skill,
  .single-project {
    flex: 0 0 calc(50% - 1%);
    margin: 1rem 0;
  }
}
@media screen and (min-width: 992px) {
  .skill,
  .single-project {
    flex: 0 0 calc(33.3% - 1%);
  }
}
/* Skills Section End */

/* About Section Start */
.about-text {
  max-width: 32rem;
  margin: 1rem 0;
}
.about article {
  padding-top: 4rem;
}
@media screen and (min-width: 768px) {
  .about article {
    padding-top: 0;
    padding-left: 4rem;
  }
}

/* About Section End */

/* Project Section Start */

.single-project img {
  width: 100%;
  display: block;
}
.project-info {
  padding: 0.8rem 0;
}
.project-info p {
  padding: 0.5rem 0;
}
/* Project Section End */

/* Contact Section Start */
.call-to-action {
  max-width: 800px;
  margin: 0 auto;
  position: relative;
}
.call-to-action img {
  width: 100%;
  height: 100%;
  display: block;
  margin: 0 auto;
}
.call-to-action h2 {
  position: absolute;
  top: 50%;
  left: 25%;
  transform: translate(-50%, -50%);
  color: #fff;
}
.call-to-action a {
  position: absolute;
  margin: 0;
  padding: 0.5rem 0.7rem;
  top: 50%;
  right: 0;
  transform: translate(-50%, -50%);
}

.contact-info {
  text-align: center;
  margin-top: 5rem;
}
.contact-info h3 {
  font-size: 26px;
}
.contact-info a {
  color: #363958;
}
.contact-info h4 {
  font-size: 24px;
  font-family: "Bebas Neue", cursive;
}

.social-icon img {
  width: 40px;
  height: 40px;
  display: inline-block;
  margin: 2rem 0.5rem;
}

@media screen and (min-width: 768px) {
  .call-to-action a {
    padding: 0.8rem 2.2rem;
  }
  .contact-info h3 {
    font-size: 36px;
  }
}
/* Contact section End */

/* Footer Section Start */
footer p {
  text-transform: capitalize;
  margin-bottom: 1rem;
}
footer a {
  color: #f46060;
}
footer a:hover {
  color: #363958;
}
