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

  color: #fff;
  background-color: #000000;
  z-index: 0;
}
p {
  color: #616161;
}

#hero{
   height: 400px !important;
   display: grid;
   place-items: center;
   text-align: center;
   background:  linear-gradient(rgba(0, 0, 0, 0.62), rgba(0, 0, 0, 0.597)), /* black overlay */ url('../media/ab-bg.jpg') !important;
   background-position: center;
   background-repeat: no-repeat;
   background-size: cover;
   max-width: 1300px;
   margin: 20px auto;
   border-radius: 40px;
}
#hero h4{
    font-size: 15px;
    color: #000;
    padding: 4px 30px;
    border-radius: 40px;
    background-color: #fff;
    width: fit-content;
    text-align: center;
    margin: 0px auto;
}
#hero h1{
    font-size: 60px;
    color: #fff;
    font-weight: 700;
    margin: 10px 0px 10px 0px;
}
#hero p{
    color: #8d8d8d;
    font-size: 14px;
    max-width:800px;
    margin: 10px auto;
    text-align: center;
}
/* -----------------------------------
      Gallery Section
--------------------------------------*/
.portfolio-section {
  padding: 20px 0 50px 0;
  background-color: #ffffff;
}
.portfolio-section h2 {
  font-size: 28px;
  font-weight: 600;
  color: #000000;
  text-transform: uppercase;
}
.portfolio-menu {
  text-align: center;
}
.controls{
  display: flex;
  flex-direction: row;
  gap: 10px !important;
  align-items: center !important;
  justify-content: center !important;
}
.control {
   background-color: #000;
  color: #fff;
  padding: 5px 10px;
  border: 1px solid #ffffff;
  border-radius: 3px;
  margin: 0px 5px;
  margin: 5px;
  cursor: pointer;
  -webkit-transition: all 05s ease;
  -moz-transition: all 05s ease;
  -ms-transition: all 05s ease;
  -o-transition: all 05s ease;
  transition: all 0.5s ease;
  outline: none;
  border: none;
}
.control:hover {
  background: #ffb013;
  color: #000;
}
.mixitup-control-active {
  color: #000;
  background: #ffb013;
}
.fancybox-container button:focus {
  outline: 0;
  box-shadow: none;
  border: none;
}
.portfolio-item {
  padding-top: 0px;
  max-width: 1300px;
  margin: 0px auto !important;
}
.portfolio-item li{
  list-style-type: none;
  padding: 10px !important;
}
.pd {
  padding: 0 !important;
  
}
.pd img {
  height: 350px !important;
  transition: all 0.5s;
  width: 100%;
  object-fit: cover;
  object-position: top;
}
.modalshoot img{
  object-position: center !important;
}
.portfolio-overlay {
  position: absolute;
  z-index: 2;
  top: 0;
  left: 0;
  background: rgba(0, 0, 0, 0.39);
  width: 100%;
  height: 100%;
  text-align: center;
  visibility: hidden;
  transition: all 0.5s;
  transform: scale(0);
}
.portfolio-overlay p,
.portfolio-overlay a {
  position: relative;
  z-index: 4;
}
.portfolio-overlay::before {
  content: "";
  width: 0;
  height: 0;
  border-width: 0;
  position: absolute;
  left: 10%;
  top: 10%;
  transition: 50ms height ease 150ms;
  z-index: 3;
}
.portfolio-overlay::after {
  content: "";
  width: 0;
  height: 0;
  border-width: 0;
  position: absolute;
  right: 10%;
  bottom: 10%;
  transition: 100ms width ease 200ms;
  z-index: 3;
}
.portfolio-item:hover .portfolio-overlay::before {
  width: 80%;
  height: 80%;
  border-top: 1px solid #50977f;
  border-right: 1px solid #50977f;
  transition: width 0.1s ease 0.3s, height 0.1s ease 0.5s;
}
.portfolio-item:hover .portfolio-overlay::after {
  width: 80%;
  height: 80%;
  border-bottom: 1px solid #50977f;
  border-left: 1px solid #50977f;
  transition: width 0.1s ease 0.6s, height 0.1s ease 0.7s;
}
.portfolio-item li:hover .portfolio-overlay {
  visibility: visible;
  transform: scale(1);
}
.portfolio-overlay .category {
  margin-top: 70px;
  margin-bottom: 20px;
  font-size: 16px;
  color: #fff;
  font-weight: 500;
}
.portfolio-overlay .magnify-icon {
  height: 40px;
  width: 40px;
  border-radius: 20px;
  background: #ffffff;
  margin: 0 5px;
  cursor: pointer;
  display: inline-block;
  transition: all 0.25s;
}
.portfolio-overlay .magnify-icon:hover {
  background: #000;
}
.portfolio-overlay .magnify-icon p span i {
  font-size: 15px;
  color: #fff;
  line-height: 40px;
  cursor: pointer;
}

/*******Responsive media query******/

/* Extra small devices (portrait phones, less than 576px)*/

@media(max-width:700px)
{
  .controls {
    display: grid !important
;
grid-template-columns: repeat(2,1fr);
    
}
.controls .control{
  width: 100% !important;
  max-width: 200px !important;
}
}

@media (max-width:550px)
{

#about-journey h2 {
    font-size: 24px;
    font-weight: 600;
    margin: 0 0 10px 0;
}
#hero{
   margin: 20px 10px;
   border-radius: 40px;
   padding: 5px ;
}
#hero h4{
    font-size: 15px !important;
    color: #000;
    padding: 4px 30px;
    border-radius: 40px;
    background-color: #fff;
    width: fit-content;
    text-align: center;
    margin: 0px auto;
}
#hero h1{
    font-size: 40px !important;
    color: #fff;
    font-weight: 700;
    margin: 10px 0px 10px 0px;
}
#hero p{
    color: #8d8d8d;
    font-size: 14px;
    max-width:800px;
    margin: 10px auto;
    text-align: center;
}
}