@import "https://fonts.googleapis.com/css?family=Montserrat:300, 400, 700&display=swap";
* {
  padding: 0;
  margin: 0;
  box-sizing: border-box;
}
html {
  font-family: "Montserrat", sans-serif;
  scroll-behavior: smooth;
}
.container {
  min-height: 100vh;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}

a {
  text-decoration: none;
}
img {
  height: 100%;
  width: 100%;
  object-fit: cover;
}
p {
  color: #000;
  font-size: 1.4rem;
  margin-top: 5px;
  line-height: 2.5rem;
  font-weight: 300;
  letter-spacing: 0.05rem;
}
.section-title {
  font-size: 4rem;
  font-weight: 300;
  color: #000;
  margin-bottom: 10px;
  text-transform: uppercase;
  letter-spacing: 0.2rem;
  text-align: left;
}
.section-title span {
  color: #dc143c;
}

.brand h1 {
  text-transform: uppercase;
  color: #fff;
  padding-left: 3rem;
}
.brand h1 span {
  color: #dc143c;
}
header {
  background: linear-gradient(60deg, #29323c 0%, #485563 100%);
  color: #fff;
  padding: 1em 0;
  text-align: center;
}
header.sticky {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  background: linear-gradient(60deg, #29323c 0%, #485563 100%);
  color: #fff;
  padding: 1em 0;
  text-align: center;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

header .nav-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  height: 100%;
  max-width: 1300px;
  padding: 0 10px;
}
header nav ul {
  list-style: none;
  padding: 0;
}

header nav ul li {
  display: inline;
  margin: 0 1em;
}

header nav ul li a {
  color: #fff;
  text-decoration: none;
}

section {
  padding: 2em 0;
  padding-top: 0;
  text-align: center;
}
/* Intro */
#hero {
  background: hsla(348, 59%, 40%, 1);

  background: linear-gradient(
    315deg,
    hsla(348, 59%, 40%, 1) 20%,
    hsla(329, 20%, 24%, 1) 100%
  );

  background: -moz-linear-gradient(
    315deg,
    hsla(348, 59%, 40%, 1) 20%,
    hsla(329, 20%, 24%, 1) 100%
  );

  background: -webkit-linear-gradient(
    315deg,
    hsla(348, 59%, 40%, 1) 20%,
    hsla(329, 20%, 24%, 1) 100%
  );

  filter: progid: DXImageTransform.Microsoft.gradient( startColorstr="#A42A42", endColorstr="#4A313E", GradientType=1 );
  background-size: cover;
  background-position: top center;
  position: relative;
  z-index: 1;
}

#hero .hero {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 50px;
  justify-content: flex-start;
}

.intro {
  text-align: center;
  height: 34rem;
  display: flex;
}

.intro p {
  padding-left: 1.5rem;
  padding-top: 5rem;
  font-size: 2.5rem;
  margin: 2rem 1.5rem;
  text-align: left;
  font-weight: 200;
}

.intro h1 {
  font-size: 4rem;
  font-weight: bold;
  text-transform: uppercase;
  margin: 2.5rem;
  letter-spacing: 2px;
  color: hsla(348, 59%, 40%, 1);
  color: linear-gradient(
    315deg,
    hsla(348, 59%, 40%, 1) 20%,
    hsla(329, 20%, 24%, 1) 100%
  );
  color: -moz-linear-gradient(
    315deg,
    hsla(348, 59%, 40%, 1) 20%,
    hsla(329, 20%, 24%, 1) 100%
  );
  color: -webkit-linear-gradient(
    315deg,
    hsla(348, 59%, 40%, 1) 20%,
    hsla(329, 20%, 24%, 1) 100%
  );
  filter: progid:DXImageTransform.Microsoft.gradient(startColorstr="#A42A42", endColorstr="#4A313E", GradientType=1);

  text-shadow: -1px -1px 0 #fff, 1px -1px 0 #fff, -1px 1px 0 #fff,
    1px 1px 0 #fff;
}

.intro h2 {
  font-size: 2rem;
  font-weight: 300;
  margin: 0;
}

.text-container {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.text-container p,
.text-container h1,
.text-container h2 {
  margin: 0;
  margin-left: 5rem;
}
.text-container p {
  margin-top: 5rem;
  font-size: 1.5rem;
  color: #fff;
}

.text-container h1 {
  font-size: 4rem;
  font-weight: bold;
  text-transform: uppercase;
  margin-bottom: 10px;
  letter-spacing: 2px;
}

.text-container h2 {
  font-size: 2rem;
  font-weight: 300;
  color: #fff;
}
.typed-text {
  white-space: nowrap;
  overflow: hidden;
}

.cursor {
  display: inline-block;
  background-color: #fff;
  width: 2px;
  animation: blink 0.7s infinite;
}

#home {
  background: #f4f4f4;
  padding: 4em 0;
}

/* About Section */
#about {
  display: flex;
  justify-content: space-between;
  align-items: center;
  max-width: 1200px;
  margin: 0 auto;
  padding: 50px 20px;
  text-align: left;
}

#about .container {
  display: flex;
  align-items: center;
}

#about .col-left {
  width: 500px;
  height: 450px;
  padding-left: 60px;
  padding-right: 60px;
}

#about .col-right {
  flex: 1;
}

#about .col-right h2 {
  font-size: 1.4rem;
  font-weight: 500;
  letter-spacing: 0.2rem;
  margin-bottom: 10px;
}

#about .col-right p {
  margin-bottom: 20px;
  font-size: 1rem;
}

#about .col-left .about-img {
  height: 100%;
  width: 100%;
  position: relative;
  border: 10px solid white;
}

#about .col-left .about-img::after {
  content: "";
  position: absolute;
  left: -33px;
  top: 19px;
  height: 98%;
  width: 98%;
  border: 7px solid #dc143c;
  z-index: -1;
}

/* End About Section */

/* Projects section */
#projects .projects {
  flex-direction: column;
  max-width: 1200px;
  margin: 0 auto;
  padding: 50px 0;
}
#projects .projects-header h1 {
  margin-bottom: 50px;
}

#projects .all-projects {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
}
#projects .project-item {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  margin: 0px auto 0;
  overflow: hidden;
  border-radius: 10px;
}

#projects .project-item.side-by-side {
  flex-direction: row;
}
#projects .project-item.reverse {
  flex-direction: row-reverse;
}
#projects .project-info,
#projects .project-img {
  flex-basis: 50%;
  height: 450px;
  display: flex;
  align-items: center;
  justify-content: center;
}
#projects .project-info {
  padding: 30px;
  flex-direction: column;
  background-image: linear-gradient(60deg, #29323c 0%, #485563 100%);
  color: white;
}
#projects .project-info h1 {
  font-size: 2rem;
  font-weight: 500;
}
#projects .project-info h2 {
  font-size: 1.8rem;
  font-weight: 500;
  margin-top: 10px;
}
#projects .project-info p {
  font-size: 1rem;
  color: white;
  text-align: left;
}
#projects .project-img {
  position: relative;
  overflow: hidden;
}
#projects .project-img:after {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  height: 100%;
  width: 100%;
  background-image: linear-gradient(60deg, #29323c 0%, #485563 100%);
  opacity: 0.2;
}
#projects .project-img img {
  width: 100%;
  height: auto;
  transition: 0.3s ease transform;
}
#projects .project-item:hover .project-img img {
  transform: scale(1.1);
}

/* End Projects section */

/* contact Section */
#contact .contact {
  flex-direction: column;
  max-width: 1200px;
  margin: 0 auto;
  padding: 50px 0;
}
#contact .contact-items {
  /* max-width: 400px; */
  width: 100%;
  height: 12rem;
  display: flex;
}
#contact .contact-item {
  width: 30%;
  padding: 20px;
  text-align: center;
  border-radius: 10px;
  padding: 30px;
  margin: 30px;
  display: flex;
  justify-content: center;
  align-items: center;
  /* flex-direction: column; */
  box-shadow: 0px 0px 18px 0 #0000002c;
  transition: 0.3s ease box-shadow;
  flex-direction: row;
}
#contact .contact-item:hover {
  box-shadow: 0px 0px 5px 0 #0000002c;
}

#contact .contact-item .contact-info {
  width: 100%;
  text-align: left;
  padding-left: 20px;
}
#contact .icon {
  width: 70px;
  margin: 0 auto;
  margin-bottom: 10px;
}
#contact .contact-info h1 {
  font-size: 1.5rem;
  font-weight: 500;
  margin-bottom: 5px;
}
#contact .contact-info h2 {
  font-size: 1rem;
  line-height: 2rem;
  font-weight: 500;
}
/*End contact Section */

/* Footer */
#footer {
  background-image: linear-gradient(60deg, #29323c 0%, #485563 100%);
}
#footer .footer {
  min-height: 200px;
  flex-direction: column;
  padding-top: 50px;
  padding-bottom: 10px;
}
#footer h2 {
  color: white;
  font-weight: 500;
  font-size: 1.2rem;
  letter-spacing: 0.1rem;
  margin-top: 10px;
  margin-bottom: 10px;
}
#footer .social-icon {
  display: flex;
  margin-bottom: 30px;
}
#footer .social-item {
  height: 50px;
  width: 50px;
  margin: 0 5px;
}
#footer .social-item img {
  filter: grayscale(1);
  transition: 0.3s ease filter;
}
#footer .social-item:hover img {
  filter: grayscale(0);
}
#footer p {
  color: white;
  font-size: 1rem;
}
/* End Footer */
