*{
    font-family: "Tajawal";
}
body {
  width: 100%;
  height: 100%;
  margin: 0px;
  padding: 0px;
  overflow-x: hidden;
  margin-right: -100px;
}

.info {
  margin-top: -15px;
}
/* ===== ====== ===== */
/* ===== titles ===== */
/* ===== ====== ===== */

.home {
  margin-top: -20px;
}

.header {
  margin-top: 20px;
  margin-bottom: 100px;
}

.title {
  padding-top: 50px;
  text-align: center;
  position: relative;
  font-weight: bold;
  font-size: 40px;
  color: #192231;
}

.header-bar {
  margin: auto;
  width: 70px;
  height: 4px;
  background: #192231;
  animation: headers 3s;
}

.header .text-center {
  margin-top: 50px;
}

/* ===== ====== ===== */
/* ====== home ====== */
/* ===== ====== ===== */

#particles-js{
  background-color: #192231;
  margin-left: -15px;
  margin-right: -15px;
}

.highlight {
  color: #985E6D;
}

.page-link a {
  text-decoration: none;
  color: white;
  background-color: transparent;
  border-radius: 0;
  border: 1px solid white;
  width: 30%;
  padding: 10px 15px;
  transition: .3s;
}

.page-link a:hover {
  color: #192231;
  background-color: white;
  border: 1px solid white;
}

.home-main {
  display: flex;
  justify-content: space-around;
  flex-shrink: 1;
  position: absolute;
  transform: translate(-50%,-50%);
  padding: .3em;
  color: white;
}

/* If the screen size is 350px wide or more... */
@media screen and (min-width: 350px) {
  .home-main{
    left: 50%;
    top: 15%;
  }
  .home-text {
    font-size: 15px;
  }
  .btn {
    display: none;
  }
}

/* If the screen size is 600px wide or more... */
@media screen and (min-width: 600px) {
  .home-main{
    left: 50%;
    top: 15%;
    color: white;
  }
  .home-text {
    font-size: 20px;
  }
}

/* If the screen size is 768px wide or more... */
@media screen and (min-width: 768px) {
  .home-main{
    left: 50%;
    top: 18%;
    color: white;
  }
  .home-text {
    font-size: 25px;
  }
  .btn {
    display: inline;
    font-size: 15px;
  }
}

/* If the screen size is 992px wide or more... */
@media screen and (min-width: 992px) {
  .home-main{
    left: 50%;
    top: 30%;
    color: white;
  }
  .home-text {
    font-size: 30px;
  }
  .btn {
    font-size: 15px;
  }
}

/* If the screen size is 1200px wide or more... */
@media screen and (min-width: 1200px) {
  .home-main{
    left: 50%;
    top: 40%;
    color: white;
  }
  .home-text {
    font-size: 40px;
  }
  .btn {
    font-size: 18px;
  }
}

/* ===== ====== ===== */
/* ===== navbar ===== */
/* ===== ====== ===== */
.navbar {
  background-color: #494E6B;
  border: none;
  width: 100%;
  border-radius: 0;
  border-bottom: 3px solid #985E6D;
  margin: 0px;
  padding-left: 40px;
  box-shadow: 0px 3px 3px #192218;
  font-size: 20px;
  font-weight: lighter;
}

.navbar-toggle {
  border: none;
  border-radius: 0;
  background-color: white;
}

#myNavbar ul li{
  padding: 0 15px;
}

#myNavbar ul li a,
#myNavbar ul li a:visited {
  color: white;
}

#myNavbar ul li.active a {
  background-color: transparent;
  color: #985E6D;
}

#myNavbar ul li a:hover {
  color: #985E6D;
}

.dropdown-menu {
  max-height: 300px;
  overflow-y: scroll;
}

.sticky {
  position: fixed;
  top: 0;
  width: 100%;
  z-index:1;
}

.sticky + .home {
  padding-top: 60px;
}

/* ===== Portfolio ===== */
.wrap {
  padding: 20px;
  margin-top: 10px;
  margin-bottom: 60px;
}

.card {
  position: relative;
}

.overlay {
  text-align: center;
  padding-top: 35px;
  color: #985E6D;
  position: absolute;
  opacity: 0;
  top: 0;
  left: 0;
  height: 100%;
  width:100%;
  background-color: white;
  transition: 1s ease;
}

.card:hover .overlay {
  opacity: .95;
}

.button {
  margin: auto;
  width: 50%;
  padding: 10px;
  border: 1px solid #985E6D;
  transition: .5s ease;
}

.button:hover {
  color: white;
  background-color: #985E6D;
}

/* ===== Modal ===== */
.modal-content {
  border-radius: 0px;
}
.modal-body button {
  border-radius: 0;
  border: 1px solid #985E6D;
  background-color: white;
  color: #985E6D;
  padding: 10px;
  transition: 1s ease;
}
.modal-body button:hover {
  color: white;
  background-color: #985E6D;
}

.gallery {
  width: 600px;
  margin: auto;
  overflow: hidden;
}
.img-w {
  position: absolute;
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
  transition: transform ease-in-out 300ms;
}

.modal-body p {
  font-size: 18px;
}

.links {
  width: 100px;
  display: inline;
  margin-bottom: 20px;
  float: left;
}

.links a {
  text-align: center;
  font-size: 12px;
  border: 1px solid #985E6D;
  padding: 10px;
  text-decoration: none;
  color: #985E6D;
  width: 100%;
  height: 40px;
  transition: 1s ease;
}

.links a:hover {
  color: white;
  background-color: #985E6D;
}

/* ===== Contact ====== */
#contact{
  background-color: #494E6B;
  text-align: center;
  margin: 0;
  padding-bottom: 30px;
}

svg{
  display: block;
  top: 0;
  left:0;
}

.contact {
  margin-top: 10px;
  margin-bottom: 20px;
}

.contact .title {
  color: white;
}

.contact .header-bar {
  background-color: white;
}

.contact-me p {
  margin-bottom: 20px;
  color: #90AFC5;
}

.submit {
  background-color: #192231;
  padding: 20px;
  color: white;
  transition: .5s;
}

.submit:hover {
  text-decoration: none;
  color: #192231;
  background-color: #90AFC5;
}

/* ====== Footer ====== */

footer {
  box-shadow: 0px -3px 3px #192218;
  background: #192231;
  padding: 25px;
  text-align: center;
}

.footer {
  display: inline-block;
  margin: auto;
  padding: 0 15px;
  position: relative;
}
.footer li {
  display: inline-block;
  padding: 15px;
}

.footer a {
  border-bottom: 2px solid transparent;
  display: block;
  font-size:22px;
  color: #98878F;
  padding-bottom: 10px;
  transition: .3s;
  margin-bottom: 4px;
}

.footer a:hover{
  color: #fff;
  text-shadow: 1px 1px 2px #14171A;
  border-bottom: 2px solid #985E6D;
}

.copyright {
  margin-top: 4px;
  color: white;
  font-size: 10px;
}
