.page-top {
  z-index: -3;
}
body {
  box-sizing: border-box;
  font-family: 'Lato', sans-serif;
  font-weight: 400;
  font-size: 1.5rem;
  line-height: 1.7;
  color: #777;
  padding: 1rem;
}
/* HEADER*/
.header {
  overflow: hidden;
  text-align: center;
  padding: 1rem;
  background-image: linear-gradient(
    to right bottom,
    rgba(103, 158, 194, 0.7),
    rgba(134, 89, 139, 0.6)
  );
  background-size: cover;
  background-position: top;
}
.header-box {
  padding: 1rem;
  position: relative;
  height: 115px;

  backface-visibility: hidden;
}
.header-links {
  padding: 1rem;
  font-size: 1.5rem;
  font-weight: 350;
}
.section-heading {
  padding: 4rem;
  position: relative;
  font-size: 3rem;
  font-weight: 350;
  letter-spacing: 0.6rem;
}
.heading-primary--name {
  display: block;
  font-size: 3rem;
  font-weight: 350;
  letter-spacing: 0.6rem;

  animation-name: moveInLeft;
  animation-duration: 1s;
  animation-timing-function: ease-out;
}
.heading-primary--title {
  display: block;
  font-size: 1.5rem;
  font-weight: 350;
  letter-spacing: 0.6rem;

  animation-name: moveInRight;
  animation-duration: 1s;
  animation-timing-function: ease-out;
}
.btn-links {
  background: none;
  display: inline-block;
  padding: 10px 20px;
  color: #ddd;
  border: 2px solid #ccc;
  font-family: 'Lato', sans-serif;
  font-size: 16px;
  font-weight: 300;
  text-decoration: none;
  letter-spacing: 1px;
}
.btn-links:hover{
  transform: translateY(-3px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, .2);
}
.main-about {
  background-image: linear-gradient(
    to right bottom,
    rgba(255, 255, 255, 0.7),
    rgba(160, 135, 194, 0.6)
  );
  text-align: center;
  padding: 1rem;
  padding-bottom: 3rem;
}
.main-experience{
  background-color: rgba(221, 205, 247, 0.6);
  padding: 1rem;
  padding-bottom: 3rem;
}
.paragrpah{
  padding: 1rem;
}
.two-cols {
  column-count: 2;
}
.row [class^='col-'] {
  float: left;
}

.p-about {
  font-size: small;
  padding-top: 6rem;
  padding-bottom: 2rem;
}

.profile-pic {
  width: 170px;
  height: auto;
}
ul.technologies {
  list-style-type: circle;
}

.technology-icons {
  position: relative;
}
.technology-icon {
  width: 50%;
  -webkit-filter: drop-shadow(1px 1px 2px #222);
  filter: drop-shadow(1px 1px 2px #222);
  border-radius: 2px;
  z-index: 10;
  /*transition: all .2s;
  */
  position: absolute;
}
@media (max-width: 56.25em) {
  .technology-icon {
    float: left;
    position: relative;
    width: 28.33%;
  }
}
.technology-icon-1 {
  top: 0;
  left: 0;
  /*width 35%;
*/
}
@media (max-width: 56.25em) {
  .technology-icon-1 {
    top: 0;
    left: 0;
    width: 33%;
  }
}
.technology-icon-2 {
  top: 0;
  left: 66%;
  /*width 35%;
*/
}
@media (max-width: 56.25em) {
  .technology-icon-2 {
    top: 0;
    left: 0;
    width: 33%;
    z-index: 100;
  }
}
.technology-icon-3 {
  top: 50%;
  left: 33%;
  /*width 35%;
*/
}
@media (max-width: 56.25em) {
  .technology-icon-3 {
    top: 0;
    left: 0;
    width: 33%;
  }
}
/*PROJECTS*/
.main-projects {
  background-color: rgba(135, 141, 194, 0.6);
  padding: 2rem;
}
.p {
  font-size: xx-small;
}

#portfolio * {
  z-index: 2;
}
#portfolio .portfolio-row {
  margin-left: 50px;
  margin-right: 50px;
}

@media (max-width: 950px) {
  #portfolio .portfolio-row {
    margin-left: 0px;
    margin-right: 0px;
  }
}

#portfolio .section-heading {
  margin-bottom: 20px;
  padding-bottom: 2rem;
}
#portfolio .coming-soon {
  margin-bottom: 50px;
  text-transform: lowercase;
}
#portfolio .portfolio-item-wrapper {
  width: 31%;
  display: inline-block;
  padding: 0 0 5px;
  margin: 0 1% 30px;
  vertical-align: top;
}

@media (max-width: 950px) {
  #portfolio .portfolio-item-wrapper {
    width: 47%;
  }
}
@media (max-width: 630px) {
  #portfolio .portfolio-item-wrapper {
    width: 100%;
  }
}

#portfolio .portfolio-item {
  display: block;
  -webkit-box-shadow: rgba(0, 0, 0, 0.148438) 0 1px 2px;
  box-shadow: rgba(0, 0, 0, 0.148438) 0 1px 2px;
  padding: 0;
  margin-bottom: 10px;
  cursor: pointer;
  position: relative;
  overflow: hidden;
}
#portfolio .portfolio-item img {
  max-width: 100%;
  width: 100%;
  opacity: 1;
  transition: 0.3s ease-in-out;
  -moz-transition: 0.3s ease-in-out;
  -webkit-transition: 0.3s ease-in-out;
}
#portfolio .portfolio-overlay {
  position: absolute;
  background-color: rgba(26, 30, 31, 0.85);
  width: 100%;
  height: 100%;
  opacity: 0;
}
#portfolio .portfolio-info,
#portfolio .links,
#portfolio .links a i,
#portfolio .links a i::after,
#portfolio .portfolio-overlay {
  -webkit-transition: all 400ms;
  -moz-transition: all 400ms;
  -o-transition: all 400ms;
  transition: all 400ms;
}
#portfolio .links {
  width: 40px;
  height: 40px;
  position: absolute;
  top: 36%;
  left: 0;
  right: 0;
  text-align: center;
  margin: 0 auto;
  opacity: 0;
  -webkit-transform: translate(0, -50px);
  -moz-transform: translate(0, -50px);
  -ms-transform: translate(0, -50px);
  -o-transform: translate(0, -50px);
  transform: translate(0, -50px);
}
#portfolio .links a i {
  position: relative;
  color: #fff;
  font-size: 24px;
  margin: 0 13px;
  z-index: 100;
}
#portfolio .links a:hover i {
  color: #fff;
}
#portfolio .links a i::after {
  position: absolute;
  content: '';
  left: -7px;
  top: -7px;
  width: 30px;
  height: 30px;
  /*border: 1px solid #fff;*/
  z-index: -1;
  border-radius: 50%;
}
#portfolio .portfolio-info {
  position: absolute;
  bottom: -100%;
  left: 0;
  background-color: #00009c;
  color: #fff;
  height: 45px;
  width: 100%;
  text-align: center;
}
#portfolio .portfolio-item:hover .portfolio-overlay,
#portfolio .portfolio-item:hover .links {
  opacity: 1;
  -webkit-transform: translate(0, 0);
  -moz-transform: translate(0, 0);
  -ms-transform: translate(0, 0);
  -o-transform: translate(0, 0);
  transform: translate(0, 0);
}
#portfolio .portfolio-item:hover .portfolio-info {
  bottom: 0;
}
#portfolio .portfolio-info h3 {
  font-size: 14px;
  line-height: 45px;
  font-weight: 400;
  margin: 0;
}

/*PORTFOLIO MODALS*/
.modal-header,
.modal-footer {
  background-color: #f0f0f0;
}

.modal-header .close {
  margin-top: -13px;
}

.close {
  font-size: 40px;
  font-weight: 300;
}

@media screen and (min-width: 768px) {
  .modal-dialog {
    width: 700px;
  }
}

.modal-title {
  text-align: center;
  font-weight: 400;
}

.modal-title-description {
  text-align: center;
  margin: 10px 0 0 -25px;
  font-style: italic;
  font-weight: 400;
  color: #555;
}

.modal-content {
  border-radius: 0px;
}
.modal-body img {
  margin: 0 auto;
}
.modal-body p {
  text-align: center;
}
@media (max-width: 340px) {
  .modal-body p {
    font-size: 14px;
  }
}
.modal-body p.visit {
  margin-top: 50px;
}
.modal-body #visit-btn {
  padding: 10px;
  color: #00009c;
  border: 2px solid #00009c;
  text-decoration: none;
  text-transform: uppercase;
  font-family: 'Lato', sans-serif;
  font-weight: 400;
  margin: 40px 10px;
  -webkit-transition: 0.3s ease-in-out;
  transition: 0.3s ease-in-out;
}
.modal-body #visit-btn:hover {
  color: #fff;
  background-color: #00009c;
}
.modal-description {
  font-size: 15px;
  margin: 0px 25px;
}
@media (max-width: 340px) {
  .modal-description {
    margin: 0;
  }
}
.modal-footer .btn {
  border-radius: 0px;
  font-family: 'Lato', sans-serif;
}

/*FOOTER*/
.footer {
  overflow: hidden;
  text-align: center;
  padding: 2rem;
  background-image: linear-gradient(
    to right bottom,
    rgba(103, 158, 194, 0.7),
    rgba(134, 89, 139, 0.6)
  );
  background-size: cover;
  background-position: bottom;
}
.footer-contact {
  padding-top: 1rem;
}
#contact .footer-heading {
  margin-bottom: 20px;
}

.footer-copyright {
  color: rgba(0, 0, 0, 0.7);
  padding-top: 1rem;
  font-family: 'Times New Roman', Times, serif;
  font-size: small;
  text-shadow: 0 1px rgba(255, 255, 255, 0.1);
  text-align: center;
}

@keyframes moveInLeft {
  0% { 
      opacity: 0;
      transform: translateX(-100px);
  }
  80%{
      transform: translateX(10px)
  }
  100% {
      opacity: 1;
      transform: translate(0);
  }
}

@keyframes moveInRight {
  0% { 
      opacity: 0;
      transform: translateX(100px);
  }
  80%{
      transform: translateX(-10px)
  }
  100% {
      opacity: 1;
      transform: translate(0);
  }
}