/*
Theme name: Sara's Portfolio
Author: Sara Abdel Baset
Description: This theme is my portfolio design.
Version: 1.0
Tags: Portfolio, Web Design, Creative, Front-End Developer, UI/UX Designer
*/
* {
  margin: 0;
  padding: 0;
  -webkit-box-sizing: border-box;
          box-sizing: border-box;
}

.container {
  max-width: 1200px;
  width: 90%;
  margin-left: auto;
  margin-right: auto;
}

.glink.gt-current-lang {
  display: inline-block;
}

.glink {
  color: #000;
  font-size: 14px;
  -webkit-transition: 1.5s ease;
  transition: 1.5s ease;
}

.glink:first-of-type {
  border-right: 1px solid black;
  padding: 5px;
}

.glink:hover {
  color: #2EDDD3;
  -webkit-text-decoration: underline #000;
          text-decoration: underline #000;
}

img {
  max-width: 100%;
  display: block;
}

body h1, h2, h3, h5 {
  font-family: "DM Sans", sans-serif;
}

body p, h6, h4, a, .btn, .card-title {
  font-family: "Questrial", sans-serif;
}

h1 {
  font-size: 55px;
  font-weight: 600;
  line-height: 1.5em;
}

h2 {
  font-size: 45px;
  font-weight: 500;
  margin-bottom: 10px;
  line-height: 1.1em;
  text-transform: capitalize;
}

.hero-banner h2 {
  text-transform: none;
}

h3 {
  margin-bottom: 15px;
  line-height: 1.5em;
  font-size: 30px;
  font-weight: 500;
}

h4 {
  font-size: 18px;
  font-weight: 300;
  text-transform: capitalize;
  color: #5e5f5f;
}

h6 {
  font-size: 16px;
  line-height: 1.5em;
  font-weight: 700;
}

p {
  font-size: 17px;
  line-height: 1.5em;
}

/*General styling for header & footer*/
header, footer {
  color: #000;
  font-size: 16px;
  border: none;
  background-color: #fff;
}

/*logo*/
.custom-logo-link img {
  width: 150px;
  height: 150px;
}

/* Main banner- INTRO greeting styling*/
.gradient {
  color: transparent;
  background: -webkit-gradient(linear, left top, right top, from(#6AD3F3), color-stop(#5271FF), color-stop(#A5E7CC), to(#2EDDD3));
  background: linear-gradient(to right, #6AD3F3, #5271FF, #A5E7CC, #2EDDD3);
  -webkit-background-clip: text;
          background-clip: text;
  display: inline-block;
  -webkit-text-stroke: 1.5px #000;
}

.gradient-wb {
  color: transparent;
  background: -webkit-gradient(linear, left top, right top, from(#000000), color-stop(#7F7F7F), color-stop(#C0C0C0), to(#5f5f5f));
  background: linear-gradient(to right, #000000, #7F7F7F, #C0C0C0, #5f5f5f);
  -webkit-background-clip: text;
          background-clip: text;
  display: inline-block;
  -webkit-text-stroke: 1px #000;
}

/*Navigation bar*/
nav {
  text-transform: capitalize;
  font-size: 16px;
  font-weight: 700;
}
nav .navbar-brand {
  font-weight: 700;
  font-size: 18px;
}
nav .navbar-nav .nav-item {
  margin-right: 15px;
}
nav .nav-item {
  margin: auto;
  -webkit-transition: 0.5s ease;
  transition: 0.5s ease;
}
nav .nav-link {
  color: #000;
}
nav .nav-link:hover {
  cursor: pointer;
  text-decoration: underline;
}
nav .navbar-nav .nav-link:hover {
  color: #000;
  -webkit-text-decoration: #000 underline;
          text-decoration: #000 underline;
}
nav .nav-item.dropdown {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
}
nav .navbar-toggler, nav .navbar-toggler-icon {
  border: none;
}
nav .dropdown-menu {
  border: none;
  margin: 15px;
  background-blend-mode: overlay;
  background-color: #fff;
  -webkit-box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
          box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}
nav .dropdown-item:hover {
  background-color: #2EDDD3;
  -webkit-text-decoration: #000 underline;
          text-decoration: #000 underline;
  color: #000;
}

/* Hero-main-banner */
.hero-banner {
  background-image: url("1.png");
  background-blend-mode: overlay;
  background-color: rgba(255, 255, 255, 0.9);
  background-position: bottom;
  background-size: cover;
  padding: 190px 0px;
  text-align: center;
  color: #000;
  -webkit-animation: slide 20s infinite;
          animation: slide 20s infinite;
  -webkit-transition: background-position 0.5s ease-in-out;
  transition: background-position 0.5s ease-in-out;
  overflow: hidden;
}
@-webkit-keyframes slide {
  0% {
    background-image: url("1.png");
    background-position: 0% 0%;
  }
  25% {
    background-position: 50% 0%;
  }
  50% {
    background-position: 100% 0%;
  }
  75% {
    background-position: 50% 0%;
  }
  100% {
    background-position: 0% 0%;
  }
}
@keyframes slide {
  0% {
    background-image: url("1.png");
    background-position: 0% 0%;
  }
  25% {
    background-position: 50% 0%;
  }
  50% {
    background-position: 100% 0%;
  }
  75% {
    background-position: 50% 0%;
  }
  100% {
    background-position: 0% 0%;
  }
}
.hero-banner .name {
  color: #004aad;
}

/* About me section */
.about-me {
  background-image: url(po.png);
  background-blend-mode: overlay;
  background-color: rgba(255, 255, 255, 0.9);
  background-position: bottom right;
  background-size: cover;
  padding: 170px 0px;
  color: #000;
  -webkit-animation: slide2 20s infinite;
          animation: slide2 20s infinite;
  -webkit-transition: background-position 0.5s ease-in-out;
  transition: background-position 0.5s ease-in-out;
}
@-webkit-keyframes slide2 {
  0% {
    background-image: url("po.png");
    background-position: 0% 0%;
  }
  25% {
    background-position: 50% 0%;
  }
  50% {
    background-position: 100% 0%;
  }
  75% {
    background-position: 50% 0%;
  }
  100% {
    background-position: 0% 0%;
  }
}
@keyframes slide2 {
  0% {
    background-image: url("po.png");
    background-position: 0% 0%;
  }
  25% {
    background-position: 50% 0%;
  }
  50% {
    background-position: 100% 0%;
  }
  75% {
    background-position: 50% 0%;
  }
  100% {
    background-position: 0% 0%;
  }
}
.about-me .about-flex {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  gap: 40px;
}
.about-me .about-left {
  width: 70%;
  background-blend-mode: overlay;
  background-color: #fff;
  -webkit-box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
          box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  border: none;
  padding: 30px;
}
.about-me .about-right {
  width: 30%;
}

/*Skills section */
.skills {
  padding: 70px 0px;
  color: #000;
  text-align: center;
  background-blend-mode: overlay;
  background: rgba(255, 255, 255, 0.9);
  -webkit-box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
          box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  border: none;
  margin: 0 40px;
  border-bottom: 3px solid;
  -o-border-image: linear-gradient(to right, #6AD3F3, #5271FF, #A5E7CC, #2EDDD3) 1;
     border-image: -webkit-gradient(linear, left top, right top, from(#6AD3F3), color-stop(#5271FF), color-stop(#A5E7CC), to(#2EDDD3)) 1;
     border-image: linear-gradient(to right, #6AD3F3, #5271FF, #A5E7CC, #2EDDD3) 1;
}
.skills .skill-flex {
  padding: 10px 0;
}
.skills .icon-menu {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -ms-flex-wrap: wrap;
      flex-wrap: wrap;
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
  list-style: none;
  padding: 0;
  margin: 0;
}
.skills .icon-menu li {
  width: 120px;
  text-align: center;
}
.skills .icon-menu i {
  font-size: 60px;
}

/*Blog-Projects Section*/
.blog-projects {
  background-image: url(b.png);
  background-blend-mode: overlay;
  background-color: rgba(255, 255, 255, 0.9);
  background-position: center;
  background-size: cover;
  padding: 0px 0 100px;
  text-align: left;
  -webkit-animation: slide4 20s infinite;
          animation: slide4 20s infinite;
  -webkit-transition: background-position 0.5s ease-in-out;
  transition: background-position 0.5s ease-in-out;
  overflow: hidden;
  padding-top: 100px;
}
@-webkit-keyframes slide4 {
  0% {
    background-image: url("b.png");
    background-position: 0% 0%;
  }
  25% {
    background-position: 50% 0%;
  }
  50% {
    background-position: 100% 0%;
  }
  75% {
    background-position: 50% 0%;
  }
  100% {
    background-position: 0% 0%;
  }
}
@keyframes slide4 {
  0% {
    background-image: url("b.png");
    background-position: 0% 0%;
  }
  25% {
    background-position: 50% 0%;
  }
  50% {
    background-position: 100% 0%;
  }
  75% {
    background-position: 50% 0%;
  }
  100% {
    background-position: 0% 0%;
  }
}
.blog-projects .card {
  background-blend-mode: overlay;
  background-color: #fff;
  -webkit-box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
          box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  border: none;
  height: 100%;
}
.blog-projects .card-img-top {
  width: 100%;
  height: 300px;
  -o-object-fit: cover;
     object-fit: cover;
}
.blog-projects .card-text a {
  color: #004aad;
}
.blog-projects .card-title h5 {
  font-weight: 700;
}

/*Buttons*/
.btn {
  display: inline-block;
  padding: 10px 18px;
  font-size: 16px;
  line-height: 1.5em;
  cursor: pointer;
  text-decoration: none;
  text-transform: capitalize;
  -webkit-transition: 0.5s ease;
  transition: 0.5s ease;
}
.btn.btn3 {
  background-color: #fff;
  border: 0.5px solid #000;
  color: #000;
}
.btn.btn2 {
  background-color: #000;
  color: #fff;
}
.btn.btn2:hover, .btn.btn1:hover, .btn.btn3:hover {
  background-color: #2EDDD3;
  text-decoration: underline;
  color: #000;
  scale: 1.1;
}
.btn.btn1 {
  background-color: transparent;
  border: 1px solid #000;
}

/*Footer*/
footer {
  padding: 60px 0;
  text-align: center;
  text-transform: capitalize;
  font-weight: 700;
  border-top: 3px solid;
  -o-border-image: linear-gradient(to right, #6AD3F3, #5271FF, #A5E7CC, #2EDDD3) 1;
     border-image: -webkit-gradient(linear, left top, right top, from(#6AD3F3), color-stop(#5271FF), color-stop(#A5E7CC), to(#2EDDD3)) 1;
     border-image: linear-gradient(to right, #6AD3F3, #5271FF, #A5E7CC, #2EDDD3) 1;
  /*.footer-content{
      display: flex;
      align-items: center;
      justify-content: space-between;
  }*/
}
footer .name {
  color: #000;
  text-decoration: underline;
}
footer .socials {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  list-style: none;
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
  -ms-flex-wrap: wrap;
      flex-wrap: wrap;
  gap: 15px;
}
footer .socials i {
  font-size: 25px;
  -webkit-transition: 0.2s ease;
  transition: 0.2s ease;
}
footer .socials i:hover {
  color: #2EDDD3;
  scale: 1.2;
}
footer .socials a:hover {
  color: #000;
  -webkit-text-decoration: #000 underline;
          text-decoration: #000 underline;
}
footer .socials a {
  cursor: pointer;
  text-decoration: none;
  color: #000;
  -webkit-transition: 0.2s ease;
  transition: 0.2s ease;
}
footer .socials li {
  text-transform: capitalize;
}
footer .socials li:hover {
  text-decoration: underline;
}

/* Contact card - secondary page */
.contact-card {
  padding: 30px 0;
  background-blend-mode: overlay;
  background-color: #fff;
  -webkit-box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
          box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  border-top: 3px solid;
  -o-border-image: linear-gradient(to right, #000000, #7F7F7F, #C0C0C0, #5f5f5f) 1;
     border-image: -webkit-gradient(linear, left top, right top, from(#000000), color-stop(#7F7F7F), color-stop(#C0C0C0), to(#5f5f5f)) 1;
     border-image: linear-gradient(to right, #000000, #7F7F7F, #C0C0C0, #5f5f5f) 1;
}
.contact-card h3 {
  font-style: italic;
  font-size: 25px;
  color: #004aad;
}
.contact-card i {
  font-size: 16px;
  margin-right: 5px;
  -webkit-transition: 1.2s ease;
  transition: 1.2s ease;
}
.contact-card i:hover {
  color: #2EDDD3;
  scale: 1.2;
}
.contact-card .card-flex {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  gap: 20px;
  -webkit-box-pack: end;
      -ms-flex-pack: end;
          justify-content: end;
}
.contact-card .card-left {
  width: 50%;
  background-image: url("logo.png");
  background-size: cover;
  background-position: center;
  max-height: 300px;
  max-width: 300px;
  border-right: 1px solid;
}
.contact-card .card-right {
  width: 50%;
}

/*Contact-Message on-top of form */
.contact-message {
  padding: 50px 0;
  text-align: center;
  background-color: #fff;
}
.contact-message h3 {
  width: 700px;
  max-width: 100%;
  margin: auto;
  color: transparent;
  background: -webkit-gradient(linear, left top, right top, from(#6AD3F3), color-stop(#5271FF), color-stop(#A5E7CC), to(#2EDDD3));
  background: linear-gradient(to right, #6AD3F3, #5271FF, #A5E7CC, #2EDDD3);
  -webkit-background-clip: text;
          background-clip: text;
  display: inline-block;
  -webkit-text-stroke: 1.5px #000;
}

/*Contact form */
.contact-me-form {
  padding: 40px 0px 250px 0px;
  background-image: url(po.png);
  background-blend-mode: overlay;
  background-color: rgba(255, 255, 255, 0.9);
  background-position: center;
  background-size: cover;
  -webkit-animation: slide2 20s infinite;
          animation: slide2 20s infinite;
  -webkit-transition: background-position 0.5s ease-in-out;
  transition: background-position 0.5s ease-in-out;
  overflow: hidden;
}
.contact-me-form h2 {
  text-align: center;
}
.contact-me-form label {
  font-size: 17px;
  font-weight: 700;
  margin-bottom: 15px;
}
.contact-me-form input, .contact-me-form textarea {
  margin-bottom: 15px;
  width: 100%;
  background-color: #fff;
  border-color: #000;
  padding: 5px;
}
.contact-me-form form {
  padding: 50px 20px;
  color: #000;
  max-width: 600px;
  width: 100%;
  margin: auto;
  background: #fff;
  -webkit-box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
          box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}
.contact-me-form fieldset i {
  padding: 3px 5px;
  margin-right: 5px;
  -webkit-box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
          box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  border: none;
}
.contact-me-form label i {
  margin-right: 5px;
  color: #000000;
  font-size: 1.2em;
}

/* RESPONSIVE / MEDIA QUERIES*/
@media only screen and (max-width: 1200px) {
  h1 {
    font-size: 48px;
  }
  .hero-banner {
    padding: 280px 0 80px;
  }
  .about-me {
    padding: 140px 0;
  }
}
@media only screen and (max-width: 992px) {
  .hero-banner {
    padding: 220px 0 60px;
  }
  .about-me {
    padding: 120px 0;
  }
  .skills {
    padding: 50px 0;
  }
  .quote {
    padding: 200px 0;
  }
  .blog-projects {
    padding: 80px 0;
  }
  h2 {
    font-size: 36px;
  }
  p {
    font-size: 15px;
  }
  .about-flex {
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
        -ms-flex-direction: column;
            flex-direction: column;
    gap: 20px;
  }
}
@media only screen and (max-width: 800px) {
  .hero-banner {
    padding: 180px 0 50px;
  }
  .about-me {
    padding: 100px 0;
  }
  .skills {
    padding: 40px 0;
  }
  .quote {
    padding: 180px 0;
  }
  .blog-projects {
    padding: 60px 0;
  }
  .icon-menu li {
    width: 100%;
  }
  .icon-menu i {
    font-size: 28px;
  }
  .icon-menu p {
    font-size: 14px;
  }
  .about-left, .about-right {
    width: 100%;
    text-align: center;
  }
  h2 {
    font-size: 30px;
  }
}
@media only screen and (max-width: 768px) {
  .hero-banner {
    padding: 150px 0 30px;
  }
  .about-me {
    padding: 80px 0;
  }
  .skills {
    padding: 30px 0;
  }
  .quote {
    padding: 150px 0;
  }
  .blog-projects {
    padding: 40px 0;
  }
  .contact-message {
    padding: 50px 0;
  }
  h1 {
    font-size: 36px;
  }
  h2 {
    font-size: 28px;
  }
  p {
    font-size: 14px;
  }
  .icon-menu li {
    width: 100%;
  }
  .icon-menu i {
    font-size: 30px;
  }
  .icon-menu p {
    font-size: 14px;
  }
  .navbar-nav {
    display: block;
    margin: 8px 0;
  }
  .contact-card .card-flex {
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
        -ms-flex-direction: column;
            flex-direction: column;
    -webkit-box-align: center;
        -ms-flex-align: center;
            align-items: center;
  }
  .contact-card .card-left {
    width: 100%;
    height: 200px;
    border: none;
  }
  .contact-card .card-right {
    width: 100%;
    text-align: center;
  }
  .about-flex {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
        -ms-flex-direction: column;
            flex-direction: column;
  }
  .about-flex .about-left {
    width: 100%;
    text-align: center;
  }
  .about-flex .about-right {
    width: 100%;
  }
  .blog-projects h4, h2 {
    text-align: center;
  }
}
@media only screen and (max-width: 576px) {
  .hero-banner {
    padding: 120px 0 20px;
  }
  .about-me {
    padding: 60px 0;
  }
  .skills {
    padding: 20px 0;
  }
  .quote {
    padding: 120px 0;
  }
  .blog-projects {
    padding: 30px 0;
  }
  .contact-me-form {
    padding: 20px 0;
  }
  h1 {
    font-size: 30px;
  }
  h2 {
    font-size: 24px;
  }
  .card-img-top {
    height: auto;
  }
  .footer-content {
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
        -ms-flex-direction: column;
            flex-direction: column;
    text-align: center;
  }
}
@media only screen and (max-width: 480px) {
  .hero-banner {
    padding: 100px 0 10px;
  }
  .about-me {
    padding: 40px 0;
  }
  .skills {
    padding: 10px 0;
  }
  .quote {
    padding: 100px 0;
  }
  .blog-projects {
    padding: 20px 0;
  }
  .contact-message {
    padding: 20px 0;
  }
  h1 {
    font-size: 24px;
  }
  h2 {
    font-size: 22px;
  }
  p {
    font-size: 14px;
  }
  .contact-message h3 {
    font-size: 20px;
  }
  .contact-me-form {
    padding: 20px;
  }
}