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

html {
  position: relative;
}

body {
  position: relative;
  font-family: "Open Sans", "lucida console", monospace;
}

/* Classes used in app.js */
.transparency {
  opacity: 0.1;
}

.active {
  text-decoration: underline #e6b800 !important;
  font-size: 20px;
  color: #000 !important;
  line-height: 25px;
}

.hidden {
  display: none;
}

/*GENERAL*/
h1,
h2,
h3,
h4 {
  margin: 0;
  padding: 0;
  font-family: "Open Sans", "lucida console", monospace;
}

hr {
  width: 26%;
  border: 3px solid #bfbfbf;
}

header {
  background: url("../img/header-background.jpg");
  background-position: center center;
  background-repeat: no-repeat;
  background-size: cover;
  width: 100%;
  height: 100vh;
}

.hidden {
  display: none;
}

.reveal {
  display: initial;
}

/* NAV */
.navbar {
  background: #1a1a1a;
}

.navbar .navbar-brand img {
  width: 350px;
}

.navbar ul .navbar-item {
  display: inline-block;
  padding: 10px;
}

.navbar ul .navbar-item .bn {
  color: #e6e6e6;
  text-decoration: none;
  font-size: 17px;
  font-family: "Open Sans", "Open Sans Condensed", monospace;
  opacity: 0.7;
}

.navbar ul .navbar-item .bn:hover {
  padding-bottom: 5px;
  color: #f2f2f2;
  text-decoration: none;
  font-weight: bold;
  opacity: 1;
}

.navbar ul .navbar-item .bn .fab {
  color: #e6e6e6;
  font-size: 18px;
}

.navbar ul .navbar-item .bn .fab:hover {
  color: #cccccc;
  cursor: pointer;
  text-decoration: none;
  border: 0;
}

/* SECTIONS */

/* Photography section */

.photography-section {
  padding-top: 7%;
  padding-bottom: 7%;
}

.photography-section .col-text {
  margin: 0 auto;
  text-align: left;
  width: 100%;
  background: #f2f2f2;
  padding-bottom: 10px;
  margin-bottom: 10px;
}

.photography-section .col2 .coltext1 {
  background: #fff;
}

.photography-section .col-text h3 {
  font-size: 25px;
  margin: 30px 80px 20px 35px;
  font-weight: bold;
  text-decoration: none;
}

.photography-section .col-text a {
  color: #000;
  text-decoration: none;
  border: none;
}

.photography-section .col-text a:hover {
  color: #e6b800;
  text-decoration: none;
}

.photography-section .coltext1 h3 {
  margin: 30px 51px 19px 20px;
  font-variant: small-caps;
  font-size: 35px;
}

.photography-section .coltext1 h5 {
  font-size: 1.1rem;
  color: #808080;
  opacity: 2.5;
}

.photography-section .coltext1 hr {
  margin: 5px 20px 20px 0px;
}

.photography-section .col-text img {
  width: 100%;
}

.photography-section .col-text p {
  padding: 0 46px 20px 20px;
  text-align: left;
  font-size: 12px;
  font-family: sans-serif;
}

/* Front-end-developer section */

.web-developer {
  position: relative;
  background-image: url("../img/front_img.jpg");
  background-position: center center;
  background-size: cover;
  background-repeat: no-repeat;
  height: 271px;
}

.web-developer .text-box {
  position: absolute;
  top: 60px;
  right: 25px;
  text-align: right;
}

.web-developer .text-box h1 {
  font-weight: bold;
  font-size: 45px;
  color: #808080;
  padding-bottom: 15px;
}

.web-developer .text-box h4 {
  font-size: 17px;
  color: #808080;
  opacity: 2.5;
  padding-top: 15px;
}

.web-developer .text-box hr {
  margin-left: 65%;
  width: 35%;
  border: 1px solid #e6b800;
}

/* Recent-projects */

.recent-projects {
  background: #f2f2f2;
  padding-bottom: 8%;
}

.recent-projects .nav {
  color: #666666;
  font-family: sans-serif;
}

.recent-projects .nav p {
  color: #666666;
  cursor: pointer;
}

.recent-projects .nav p:hover {
  text-decoration: underline #e6b800;
}

.recent-projects-title {
  background: #f2f2f2;
  text-align: center;
  padding-top: 8%;
}

.recent-projects-title .recent-header {
  margin-bottom: 40px;
  width: 100%;
}

.recent-projects-title .recent-header h1 {
  margin-bottom: 10px;
  font-size: 30px;
  font-variant: small-caps;
  color: #666666;
  font-family: sans-serif;
  text-align: center;
}

.recent-projects-title .recent-header hr {
  margin: 0 auto;
  width: 11%;
  border: 1px solid #e6b800;
}

.recent-projects-work {
  background: #f2f2f2;
  text-align: center;
}

.recent-projects-work .subsections img {
  margin: 0 auto;
  width: 100%;
  opacity: 0.8;
  border-radius: 5px;
  -webkit-transform: scale(1);
  transform: scale(1);
  -webkit-transition: opacity 0.5s, -webkit-transform 0.5s;
  transition: opacity 0.5s, -webkit-transform 0.5s;
  transition: transform 0.5s, opacity 0.5s;
  transition: transform 0.5s, opacity 0.5s, -webkit-transform 0.5s;
}

.recent-projects-work img:hover {
  opacity: 1.1;
  -webkit-transform: scale(0.98);
  transform: scale(0.98);
}

.recent-projects-work .subsections a {
  text-decoration: none;
}

.recent-projects-work .subsections {
  margin: 0 auto;
  margin-bottom: 10px;
  text-align: center;
  width: 100%;
}

.recent-projects-work .subsections h2 {
  margin-top: 12px;
  margin-bottom: 12px;
  color: #666666;
  font-size: 25px;
  font-family: sans-serif;
}

.recent-projects-work .card .card-body h5 {
  margin-top: 12px !important;
  margin-bottom: 12px;
  color: #666666 !important;
  font-size: 21px;
  font-family: sans-serif !important;
}

.recent-projects-work .subsections hr {
  margin: 0 auto;
  width: 26%;
  border: 1px solid #e6b800;
}

.recent-projects-work .subsections h4 {
  font-size: 15px;
  margin-top: 12px;
  color: #666666;
  opacity: 0.6;
}

.recent-projects-work .subsections .btn {
  padding: 0.375rem 0.35rem;
  font-size: 0.9rem;
}

/*****.recent-projects-work animation class *****/

/* ----------------------------------------------
 * Generated by Animista on 2020-1-7 19:5:24
 * Licensed under FreeBSD License.
 * See http://animista.net/license for more info. 
 * w: http://animista.net, t: @cssanimista
 * ---------------------------------------------- */

.slide-in-blurred-top {
  -webkit-animation: slide-in-blurred-top 0.6s cubic-bezier(0.23, 1, 0.32, 1)
    both;
  animation: slide-in-blurred-top 0.6s cubic-bezier(0.23, 1, 0.32, 1) both;
}

@-webkit-keyframes slide-in-blurred-top {
  0% {
    -webkit-transform: translateY(-1000px) scaleY(2.5) scaleX(0.2);
    transform: translateY(-1000px) scaleY(2.5) scaleX(0.2);
    -webkit-transform-origin: 50% 0%;
    transform-origin: 50% 0%;
    -webkit-filter: blur(40px);
    filter: blur(40px);
    opacity: 0;
  }

  100% {
    -webkit-transform: translateY(0) scaleY(1) scaleX(1);
    transform: translateY(0) scaleY(1) scaleX(1);
    -webkit-transform-origin: 50% 50%;
    transform-origin: 50% 50%;
    -webkit-filter: blur(0);
    filter: blur(0);
    opacity: 1;
  }
}

@keyframes slide-in-blurred-top {
  0% {
    -webkit-transform: translateY(-1000px) scaleY(2.5) scaleX(0.2);
    transform: translateY(-1000px) scaleY(2.5) scaleX(0.2);
    -webkit-transform-origin: 50% 0%;
    transform-origin: 50% 0%;
    -webkit-filter: blur(40px);
    filter: blur(40px);
    opacity: 0;
  }

  100% {
    -webkit-transform: translateY(0) scaleY(1) scaleX(1);
    transform: translateY(0) scaleY(1) scaleX(1);
    -webkit-transform-origin: 50% 50%;
    transform-origin: 50% 50%;
    -webkit-filter: blur(0);
    filter: blur(0);
    opacity: 1;
  }
}

.slide-out-blurred-top {
  -webkit-animation: slide-out-blurred-top 0.45s
    cubic-bezier(0.755, 0.05, 0.855, 0.06) both;
  animation: slide-out-blurred-top 0.45s cubic-bezier(0.755, 0.05, 0.855, 0.06)
    both;
}

@-webkit-keyframes slide-out-blurred-top {
  0% {
    -webkit-transform: translateY(0) scaleY(1) scaleX(1);
    transform: translateY(0) scaleY(1) scaleX(1);
    -webkit-transform-origin: 50% 0%;
    transform-origin: 50% 0%;
    -webkit-filter: blur(0);
    filter: blur(0);
    opacity: 1;
  }

  100% {
    -webkit-transform: translateY(-1000px) scaleY(2) scaleX(0.2);
    transform: translateY(-1000px) scaleY(2) scaleX(0.2);
    -webkit-transform-origin: 50% 0%;
    transform-origin: 50% 0%;
    -webkit-filter: blur(40px);
    filter: blur(40px);
    opacity: 0;
  }
}

@keyframes slide-out-blurred-top {
  0% {
    -webkit-transform: translateY(0) scaleY(1) scaleX(1);
    transform: translateY(0) scaleY(1) scaleX(1);
    -webkit-transform-origin: 50% 0%;
    transform-origin: 50% 0%;
    -webkit-filter: blur(0);
    filter: blur(0);
    opacity: 1;
  }

  100% {
    -webkit-transform: translateY(-1000px) scaleY(2) scaleX(0.2);
    transform: translateY(-1000px) scaleY(2) scaleX(0.2);
    -webkit-transform-origin: 50% 0%;
    transform-origin: 50% 0%;
    -webkit-filter: blur(40px);
    filter: blur(40px);
    opacity: 0;
  }
}

/* CONTACT */

.contact-up {
  height: 93%;
  width: 100%;
  position: fixed;
  bottom: -1000px;
  padding: 20px 0px 20px 0px;
  background-color: #ece9e9;
  overflow: scroll;
  -webkit-transition: heigth 0s;
  transition: heigth 0s;
}

#contact {
  position: fixed;
  bottom: 0;
  width: 100%;
  padding: 20px 0px 20px 0px;
  background-color: #ece9e9;
}

#contact ul {
  padding-top: 5px;
}

#contact ul,
#contact2 ul {
  text-align: center;
}

#contact2 ul {
  padding-top: 15px;
}

#contact ul li,
#contact2 ul li {
  list-style: none;
  display: inline-block;
  color: #666666;
}

#contact ul li a .fas,
#contact2 ul li a .fas {
  text-decoration: none;
  color: #666666;
}

#contact ul h4,
#contact2 ul h4 {
  font-size: 20px;
  color: #666666;
  font-family: "Saira Semi Condensed", sans-serif;
  padding-left: 20px;
  padding-right: 20px;
  cursor: pointer;
}

#contact ul li a,
#contact2 ul li a {
  text-decoration: none;
}

#contact ul li .fa-angle-double-up,
.fa-angle-double-down,
#contact2 ul li .fa-angle-double-up,
.fa-angle-double-down {
  width: 20px;
  font-size: 20px;
}

.form {
  padding-top: 10%;
}

.form-group {
  position: relative;
}

.mask {
  position: absolute;
  width: 100%;
  height: calc(1.5em + 0.75rem + 2px);
  background-color: #343a40;
  text-align: center;
  color: #fff;
  cursor: pointer;
}

.mask h5 {
  font-size: 1em;
  padding: 0.575rem 0.75rem;
}

.form-contact {
  padding-right: 3%;
  font-family: "Saira Semi Condensed", sans-serif;
}

.form-control {
  text-align: left;
  width: 80%;
  margin-left: 20%;
}

#about-me-section {
  font-family: "Saira Semi Condensed", sans-serif;
}

#about-me-section h3 {
  margin-bottom: 20px;
}

#about-me-section .my-name {
  font-weight: 600;
}

#about-me-section .fa-download {
  margin-right: 5px;
}

/* Media Query */

@media screen and (min-width: 320px) {
  header {
    height: 29vh;
  }

  .navbar .navbar-brand img {
    width: 215px;
    margin-bottom: 5px;
  }

  .navbar ul .navbar-item {
    padding: 4px;
  }
  .navbar ul .navbar-item .bn {
    font-size: 16px;
  }

  .web-developer .text-box {
    width: 300px;
  }

  .web-developer .text-box h1 {
    font-size: 22px;
    padding: 0;
  }

  .web-developer .text-box hr {
    margin-left: 42%;
    width: 58%;
  }

  .web-developer .text-box h4 {
    font-size: 10px;
    padding: 0;
  }

  .recent-projects-work .subsections h2 {
    font-size: 22px;
  }

  .recent-projects .nav {
    font-size: 13px;
  }

  .recent-projects .active {
    font-size: 15px;
    line-height: 18px;
  }

  .recent-projects .nav-link {
    padding: 0.5rem 0.3rem;
  }

  .card-container {
    width: 48%;
  }

  #about-me-section {
    margin-bottom: 50px;
  }

  #about-me-section h3 {
    font-size: 1.5em;
  }

  .contact-up {
    overflow: scroll;
  }
}
@media screen and (min-width: 320px) and (max-width: 375px) {
  .card-container {
    width: 80%;
  }
}

@media screen and (min-width: 320px) and (max-width: 400px) {
  .navbar-dark .navbar-toggler {
    margin: auto;
  }
}

@media screen and (min-width: 320px) and (max-width: 576px) {
  .recent-projects .row {
    justify-content: center;
  }
}
@media screen and (min-width: 320px) and (max-width: 768px) {
  .photography-section .coltext4 {
    margin-bottom: 55px;
  }
 
  .recent-projects .nav {
    display: flex;
    justify-content: center;
  }

  .recent-projects-work .card .card-body {
    padding: 0 5px 10px 5px;
  }

  .recent-projects-work .card .card-body h5 {
    font-size: 16px;
  }
  .recent-projects-work .card .card-body p {
    font-size: 14px;
  }
}

@media screen and (min-width: 320px) and (max-width: 992px) {
	.recent-projects-title .recent-header h1 {
		font-size: 20px;
	  }
}

@media screen and (min-width: 360px) {
  .navbar .navbar-brand img {
    width: 255px;
  }
}

@media screen and (min-width: 380px) {
  .navbar .navbar-brand img {
    width: 275px;
  }

  .web-developer .text-box hr {
    margin-left: 36%;
    width: 63%;
  }

  t .web-developer .text-box h4 {
    font-size: 11px;
  }

  .recent-projects .nav {
    font-size: 14px;
  }
}

@media screen and (min-width: 400px) {
  .navbar .navbar-brand img {
    width: 300px;
  }
}

@media screen and (min-width: 480px) and (max-width: 500px) {
  .web-developer .text-box {
    margin-left: 33%;
  }
}

@media screen and (min-width: 480px) {
  .contact-up {
    overflow: hidden;
  }

  .web-developer .text-box h4 {
    font-size: 15px;
  }

  .recent-projects .nav {
    font-size: 15px;
  }

  .recent-projects .active {
    font-size: 18px;
    line-height: 21px;
  }
}

@media screen and (min-width: 576px) {
  .recent-projects-work .subsections {
    width: 100%;
  }
}

@media screen and (min-width: 501px) and (max-width: 599px) {
  .web-developer .text-box {
    width: 310px;
  }

  .web-developer .text-box h1 {
    font-size: 26px;
  }

  .web-developer .text-box hr {
    margin-left: 20%;
    width: 79%;
  }

  .web-developer .text-box h4 {
    font-size: 13px;
  }
}

@media screen and (min-width: 600px) and (max-width: 767px) {
  .web-developer .text-box {
    width: 310px;
  }

  .web-developer .text-box h1 {
    font-size: 26px;
  }

  .web-developer .text-box hr {
    margin-left: 20%;
    width: 80%;
  }
}

@media screen and (min-width: 768px) {
  header {
    height: 45vh;
  }

  .web-developer .text-box {
    width: 540px;
  }

  .web-developer .text-box h1 {
    margin-right: 3px;
    font-size: 30px;
  }

  .web-developer .text-box hr {
    margin-left: 46%;
    width: 53%;
  }
}

@media screen and (min-width: 992px) {
  header {
    height: 50vh;
  }

  .photography-section .col-text h3 {
    font-size: 20px;
  }

  .web-developer .text-box h1 {
    margin-right: 3px;
    font-size: 35px;
  }

  .web-developer .text-box hr {
    margin-left: 37%;
    width: 62%;
  }

  .photography-section .coltext1 h3 {
    font-size: 30px;
  }
}

@media screen and (min-width: 992px) and (max-width: 1100px) {
  .recent-projects-work .subsections {
    width: 112%;
  }
}

@media screen and (min-width: 1080px) {
  .web-developer .text-box hr {
    margin-left: 38%;
    width: 61%;
  }
}

@media screen and (min-width: 1200px) {
  .web-developer .text-box h1 {
    font-size: 38px;
  }

  .web-developer .text-box hr {
    margin-left: 32%;
    width: 67%;
  }
}

@media screen and (min-width: 1200px) and (max-width: 1450px) {
  .col-xl-3 {
    flex: 0 0 33.333333%;
    max-width: 33.333333%;
  }
}

@media screen and (min-width: 1366px) {
  header {
    height: 70vh;
  }

  .web-developer .text-box hr {
    margin-left: 32%;
  }
}

@media screen and (min-width: 1400px) {
  header {
    background-attachment: fixed;
    height: 100vh;
  }
}
