/* font-family: 'Nunito', sans-serif;
font-family: 'Open Sans', sans-serif; */

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

html {
  font-size: 62.5%;
}

body {
  font-family: "Open Sans", sans-serif;
  line-height: 1;
  color: #5c5c5c;
  background-color: #fff;
  font-size: 1.6rem;
}

/**************************/
/* GENRAL REUSABLE COMPONENTS */
/**************************/

.container {
  width: 117rem;
  margin: 0 auto;
}

.linked-section {
  padding-top: 4.8rem;
  margin-bottom: 4.8rem;
}

.section-headings {
  margin: 4rem 0;
  text-align: center;
}

.section-heading {
  color: #333;
  font-size: 2.8rem;
  font-weight: 700;
  font-family: "Nunito", sans-serif;
  margin: 2rem;
  text-transform: uppercase;
}

.section-subheading {
  font-size: 1.8rem;
  font-style: italic;
}

.section-underline {
  height: 2px;
  width: 7rem;
  background-color: #4d8cf5;
  margin: 2rem auto 0;
}

.white-color {
  /* background-color: #fff; */
  color: #fff;
}
.white-bg {
  background-color: #fff;
}

/**************************/
/* SECTION HERO */
/**************************/

.section-hero {
  color: #fff;
  padding-top: 3.2rem;
  background-image: linear-gradient(rgba(0, 0, 0, 0.75), rgba(0, 0, 0, 0.75)),
    url(images/hero-img.jpg);
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
  margin-bottom: 4.8rem;
}

/* NAV BAR */

.main-nav {
  display: flex;

  justify-content: space-between;
}

.main-nav--logo {
  padding: 3rem 1.5rem;
}

.main-nav--list {
  list-style: none;

  display: flex;
  align-items: center;
}

.main-nav--link:link,
.main-nav--link:visited {
  color: #fff;
  font-size: 1.5rem;
  padding: 3rem 2rem;
  text-transform: uppercase;
  text-decoration: none;
  font-weight: 500;

  display: inline-block;

  /*#0082f3*/
}

.main-nav--link:hover,
.main-nav--link:active {
  color: #4d8cf5;
}

/* HERO CONTENT */

.hero-content {
  text-align: center;
  width: 90.8rem;
  height: 61.5rem;

  display: flex;
  flex-direction: column;
  justify-content: center;
}

.hero-heading {
  font-size: 5.8rem;
  font-weight: 400;
  font-family: "Nunito", sans-serif;
  text-transform: uppercase;
  margin-bottom: 3.2rem;
}

.hero-subheading {
  font-size: 1.8rem;
  line-height: 1.5;
  margin-bottom: 2rem;
}

/* CTA BUTTONS */

.hero-cta {
  padding: 1.5rem;
}

.btn:link,
.btn:visited {
  color: #fff;
  text-decoration: none;
  text-transform: uppercase;
  font-weight: 500;
  display: inline-block;
  padding: 1.5rem 3rem;
  margin: 1rem;
  border-radius: 5px;
  transition: all 0.4s;
}

.btn-fill:link,
.btn-fill:visited {
  background-color: #4d8cf5;
}
.btn-fill:hover,
.btn-fill:active {
  background-color: #222;
}

.btn-outline:link,
.btn-outline:visited {
  border: 1px solid #4d8cf5;
}
.btn-outline:hover,
.btn-outline:active {
  background-color: #4d8cf5;
}

/* SCROLL BUTTON */

.hero-scroll {
  text-align: center;
  padding: 1.5rem;
}

.arrow-icon {
  height: 4rem;
}

/**************************/
/* SECTION ABOUT */
/**************************/

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

.about-text,
.about-img {
  width: 50%;
}

.about-text {
  line-height: 1.5;
}

.p-separation {
  display: inline-block;
  margin-top: 2rem;
}

.about-img {
  display: flex;
  justify-content: center;
}

/**************************/
/* SECTION PORTFOLIO */
/**************************/

.portfolio-cta {
  text-align: center;
  padding: 3.5rem;
}

.portfolio-images {
  /* width: 100%; */
  display: flex;
  align-items: center;
  flex-wrap: wrap;
}

.portfolio-img--container {
  width: 25%;
  position: relative;
}

.portfolio-img {
  display: block;
  max-height: auto;
  width: 100%;
}

.portfolio-btn:link,
.portfolio-btn:visited {
  color: #333;
}
.portfolio-btn:active,
.portfolio-btn:hover {
  color: #fff;
}

.portfloio-cta--text {
  font-size: 2.2rem;
  font-style: italic;
  margin-bottom: 3rem;
}

/**************************/
/* SECTION TESTIMONIALS */
/**************************/

.testimonials {
  background-image: linear-gradient(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.7)),
    url(images/testimonial-img.jpg);
  height: 45rem;
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center;

  text-align: center;
}

.testimonial-text {
  color: #fff;
  font-style: italic;
  font-size: 1.8rem;
  line-height: 1.8;
  width: 94rem;
  margin: 0 auto 1.5rem;
}

.testimonial-author {
  color: #4d8cf5;
  font-weight: 700;
  margin-bottom: 4rem;
}

.testimonial-carasel {
  display: flex;
  gap: 1rem;
  justify-content: center;
}

.testimonial-carasel--dot {
  background-color: rgba(255, 255, 255, 0.4);
  width: 1.5rem;
  height: 1.5rem;
  border-radius: 50%;
}

.dot-active {
  background-color: #fff;
}

/**************************/
/* SECTION SERVICES */
/**************************/

.services {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
}

.service {
  width: 33%;
  padding: 1.5rem;
}

.service-icon {
  display: inline-block;
  font-size: 4.5rem;
  color: #4d8cf5;
  margin-bottom: 2rem;
}

.service-heading {
  font-family: "Nunito", sans-serif;
  font-size: 2.1rem;
  font-weight: 600;
  color: #333;
  letter-spacing: 0.7px;
  margin-bottom: 1.5rem;
}

.service-text {
  line-height: 1.3;
  margin-bottom: 2rem;
}

/**************************/
/* SECTION SERVICES */
/**************************/

.team {
  display: flex;
}

.team-member {
  position: relative;
  padding: 1.5rem;
  text-align: center;
}

.member-img {
  width: 100%;
  margin-bottom: 1rem;
}
.member-name {
  font-family: "Nunito", sans-serif;
  font-size: 1.8rem;
  font-weight: 600;
  color: #333;
  margin-bottom: 1rem;
}

/**************************/
/* SECTION VIDEO */
/**************************/

.section-video {
  text-align: center;
  background-image: linear-gradient(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.7)),
    url(images/video-background.jpg);
  background-repeat: no-repeat;
  background-size: cover;
  height: 47rem;

  display: flex;
  align-items: center;
}

.video-btn {
  width: 8.2rem;
  margin-bottom: 2.5rem;
}

.video-text {
  font-size: 2.2rem;
  font-style: italic;
  color: #fff;
  margin-bottom: 2.5rem;
  line-height: 1.5;
}

/**************************/
/* SECTION VIDEO */
/**************************/

.news {
  display: flex;
  justify-content: space-between;
}

.news-article {
  width: 33%;
  padding: 1.5rem;
}

.article-img {
  width: 100%;
  margin-bottom: 2rem;
}

.article-name {
  font-family: "Nunito", sans-serif;
  font-size: 2rem;
  font-weight: 600;
  color: #333;
  margin-bottom: 1rem;
}

.article-date {
  font-style: italic;
  color: #999;
  margin-bottom: 1rem;
}

.article-description {
  margin-bottom: 2rem;
}

.article-link:link,
.article-link:visited {
  font-size: 1.4rem;
  color: #4d8cf5;
  text-decoration: none;
  font-weight: 600;
}

.link-arrow {
  font-size: 2rem;
}

.btn-blog:link,
.btn-blog:visited {
  font-weight: 600;
  color: #333;
}
.btn-blog:hover,
.btn-blog:active {
  color: #fff;
}

.blog-btn-container {
  padding: 3.5rem;
  text-align: center;
}

/**************************/
/* SECTION CONTACT */
/**************************/

.contact-form {
  margin: 0 auto;
  max-width: 82rem;
  text-align: center;
}

.name-container {
  display: flex;
  gap: 3rem;
  margin-bottom: 3rem;
}
.form-name {
  width: 50%;
}

.form-email {
  width: 100%;
  margin-bottom: 3rem;
}

.from-text {
  resize: none;
  width: 100%;
}

.submit-btn {
  color: #fff;
  font-size: 1.5rem;
  background-color: #4d8cf5;
  border: none;
  text-transform: uppercase;
  font-weight: 500;
  padding: 1.2rem 2.4rem;
  margin: 5rem;
  border-radius: 5px;
  transition: all 0.4s;
}

.submit-btn:hover {
  background-color: #000;
}

.form-name,
.form-email,
.from-text {
  font-family: "Open Sans", sans-serif;
  font-size: 1.6rem;

  padding: 1.5rem;
  border: 1px solid #ccc;
}

.form-name::placeholder,
.form-email::placeholder,
.from-text::placeholder {
  color: #999;
  font-size: 1.5rem;
  /* font-family: 'Nunito', sans-serif; */
  font-family: "Open Sans", sans-serif;
}

/**************************/
/* FOOTER */
/**************************/

.footer {
  background-color: #222;
  padding: 2rem 0;
}

.social-links {
  list-style-type: none;
  width: fit-content;
  font-weight: 600;
  margin: 0 auto;
  display: flex;
  gap: 2.6rem;
  padding: 1.5rem;
}
.social-link:link,
.social-link:visited {
  text-decoration: none;
  color: #fff;
  font-size: 1.3rem;
  transition: all 0.3s;
}
.social-link:hover,
.social-link:active {
  color: #4d8cf5;
}
.license {
  text-align: center;
  font-size: 1.3rem;
  color: #777;
  font-weight: 600;
}
.credit:link,
.credit:visited {
  text-decoration: none;
  color: #4d8cf5;
  font-size: 1.3rem;
  transition: all 0.3s;
}
.credit:hover,
.credit:active {
  color: #fff;
}

/**************************/
/* JS STZLES */
/**************************/

.fixed-nav {
  z-index: 2;
  width: 100%;
  background-color: rgba(34, 34, 34, 0.9);
  position: fixed;
  top: -85px;
  transform: translateY(85px);
  transition: all 0.5s ease-out;
}

.nav-missing {
  padding-top: 11.54rem;
}

.observed:link,
.observed:visited {
  color: #0082f3;
  transition: all 0.5s;
}

.portfolio-caption {
  position: absolute;
  top: 0;
  width: 100%;
  height: 100%;
  color: #fff;
  font-size: 2.5rem;
  font-weight: 600;
  text-shadow: 0px 1px 1px #000;
  /* transition: background 1s; */
  transition: all 1s ease-out;
  padding-top: 7rem;
  opacity: 0;

  display: flex;
  justify-content: center;
  align-items: center;
}

.visible {
  padding-top: 0;
  background: rgba(77, 139, 245, 0.75); /* Black see-through */
  opacity: 1;
}
