@import url('https://fonts.googleapis.com/css2?family=PT+Serif&family=Poppins:wght@500;600&display=swap');
@import url('https://fonts.googleapis.com/css2?family=PT+Serif&family=Poppins:wght@500;600&family=Rampart+One&family=Readex+Pro:wght@500&display=swap');

:root{

    --theme: #111111b9;
  --theme_text: 'PT Serif', serif;
  --head_text: 'Rampart One', cursive;
}


html {
  overflow-x: hidden;
  scroll-behavior: smooth;
}

body {
  margin: 0;
  padding: 0;
  overflow-x: hidden;
  font-family: "Nunito";
}

body::-webkit-scrollbar {
  width: 0.5rem;
}

body::-webkit-scrollbar-track {
  background: rgb(12, 12, 12);
}

body::-webkit-scrollbar-thumb {
  background: rgb(19, 161, 102);
  border-radius: 5px;
  border: 2px solid rgb(0, 0, 0);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

#burgir-div{
  padding-left:6px;
  padding-right:10px;
  padding-top: 10px;
  padding-bottom: 10px;
  border-radius: 100%;
  margin-right:-20px;
    backdrop-filter: blur(1rem);
  box-shadow: 0 0 30px 5px rgba(7, 7, 7, 0.733);

}

#loading-sec{
  height:100vh;
}

.loader {
  border: 4px solid #070606; /* Light grey */
  border-top: 5px solid #10c56a; /* Blue */
  border-radius: 50%;
  width: 90px;
  height: 90px;
  animation: spin 2s linear infinite;
}

@keyframes spin {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

.heading{
    font-family: "Poppins";
    color: white;
}

/* .para{
  font-family: "Nunito";
} */


/* NEW NAVBBBBBAARRR*/

#primary-nav{
  list-style-type: none;
  position:fixed;
  align-items: center;
  justify-content: center;
  inset: 0 0 0 60%;
  background: var(--theme);
  height: 100vh;
  flex-direction: column;
  padding:15rem 1em;
  backdrop-filter: blur(1rem);
  z-index:1000;
  transform: translateX(100%);
  transition: transform 370ms ease-out;

}

#primary-nav[data-visible="true"]{
  transform: translateX(0%);
}

.burgir{
  list-style-type: none;
  background-color: white;
  width:40px;
  height:4px; 
  margin: 8px;
  border-radius: 7px;
  transition: all 0.3s ease-in-out;
}

.active{
  transform: translateX(0%);
}


#main-menu{
  
  position: fixed;
  aspect-ratio: 1;
  z-index:9999;
  width:3rem;
  top:0.5rem;
  right:1rem;
}

@media (max-width:500px){
  #main-menu{
    right:0.2rem;
  }

  .burgir{
    width:30px;
  }
}

@media (max-width:330px){
  #main-menu{
    right:0;
  }

  .burgir{
    width:25px;
  }
}

.nav-types{
  font-family: var(--theme_text);
  margin:auto;
  padding:auto;
  text-decoration:solid;
  letter-spacing: 3px;
  
  

}


.nav-types > a{
   text-shadow: 3px 3px black;
   transition: all 0.1s ease-in;
}

.nav-types > a:hover{
  text-shadow: 1px 1px 2px rgb(241, 175, 32), 0 0 1.3em rgb(255, 174, 0), 0 0 0.2em rgb(255, 72, 0);
}

@media (max-width: 35em){
  #primary-nav{
    inset: 0 0 0 0;
  }
}




/* XXXXXXXXX*/

.column {
  flex: 25%;
  max-width: 25%;
  padding: 0 4px;
  
}

.row {
  display: flex;
  flex-wrap: wrap;
  padding: 0 10px;
  
}



.column img {
  margin-top: 8px;
  vertical-align: middle;
  width: 70%;
  margin: 10px;
}



/* Responsive layout - makes a two column-layout instead of four columns */
@media screen and (max-width: 800px) {
  .column {
    flex: 50%;
    max-width: 50%;
    margin: 0 auto;
  }

  .column img {
  margin-top: 8px;
  vertical-align: middle;
  width: 100%;
}

}

/* Responsive layout - makes the two columns stack on top of each other instead of next to each other */
@media screen and (max-width: 600px) {
  .column {
    flex: 100%;
    max-width: 100%;

  }
  

}



/* ?FOOTER */

#myfoot {
  background-image: linear-gradient(
    89.8deg,
    rgb(182, 26, 26) 4.7%,
    rgb(97, 8, 14)
  );
}

#fb:hover {
  background-color: rgb(77, 77, 206);
}

#twitter:hover {
  background-color: rgb(37, 152, 247);
}
#insta:hover {
  background: radial-gradient(
      circle farthest-corner at 35% 90%,
      #fec564,
      transparent 50%
    ),
    radial-gradient(circle farthest-corner at 0 140%, #fec564, transparent 50%),
    radial-gradient(ellipse farthest-corner at 0 -25%, #5258cf, transparent 50%),
    radial-gradient(
      ellipse farthest-corner at 20% -50%,
      #5258cf,
      transparent 50%
    ),
    radial-gradient(ellipse farthest-corner at 100% 0, #893dc2, transparent 50%),
    radial-gradient(
      ellipse farthest-corner at 60% -20%,
      #893dc2,
      transparent 50%
    ),
    radial-gradient(ellipse farthest-corner at 100% 100%, #d9317a, transparent),
    linear-gradient(
      #6559ca,
      #bc318f 30%,
      #e33f5f 50%,
      #f77638 70%,
      #fec66d 100%
    );
}
.list-items {
  font-size: large;
  font-weight: 400;
}

.list-items > .fas {
  width: 30px;
  padding: 5px;
  margin: 5px;
}

.footer-text {
  font-family: "Poppins", serif;
  font-weight: 700;
}

.footer-rows {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

@media (max-width: 460px) {
  .footer-rows {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
  }
}


/*MODAL BG:
*/
#modal-bg{
    position: fixed;
    top:0;
    left:0;
    background: rgba(0, 0, 0, 0.8);
    width: 100vw;
    height: 100vh;
    backdrop-filter: blur(20px);
    overflow-y: none;
    justify-content: center;
    align-items: flex-start;
    transition: opacity 0.5s ease-in-out;
    display: none;
    opacity: 0;
    z-index: 1;
}

.mymodal{
    position: relative;
    width: 90vw;
    padding-top: 56.25%;
    margin: 2em 0;
}

.mymodal iframe{
    margin: 0 auto;
    position: absolute;
    top:0;
    width: 100%;
    height:75%;
    left:0;
    border: none;
  z-index: 999;

}

.mymodal video{
    margin: 0 auto;
    position: absolute;
    top:0;
    width: 100%;
    height:75%;
    left:0;
    border: none;

}

#closeM{
  z-index: 99;
  transform: scale(0.8);
  padding: 7px;
  padding-left: 13px;
  padding-right: 13px;

  border-radius: 100%;
  position: fixed;
  top:3px;
  left:3px;
  cursor: pointer;
  opacity: 0;
  display: none;
  transition: all 0.2s ease-in-out;
}



@media(max-width:1024px){

    #modal-bg{
        align-items: center;
    }

    .mymodal iframe{
        width:100%;
        height:95%;
    }

}

@media(max-width:800px){
    .mymodal iframe{
        height:100%;
    }
}

/* ! TAB*/



.tab{
 user-select: none;
font-family:"Poppins",serif;
transition: all 0.4s ease-in-out;
}

.tab:hover{
  transform: translateY(-3px);
  box-shadow: 0 0 20px 3px rgba(0, 0, 0, 0.685);
}


/* VIDEO SECTION
*/

.overlaytxt{
user-select: none;
font-family:"Poppins",serif;
border-bottom-left-radius: 3px;
border-bottom-right-radius: 3px;
position: relative;
top: -2rem;
bottom:0;
left: 0;
right: 0;
margin: 0;
transition: all 0.5s ease;

}

#endw{
  max-height:190px;
}

.myicons {
  opacity: 0;
  transform: scale(3.5);
  border-radius: 3px;
  color: rgba(255, 255, 255, 0.822);
  position: relative;
  top: 50%;
  left: 50%;
  bottom: 150px;
  pointer-events: none;
  transition: all 0.5s ease;
}

.muico {
  opacity: 0;
  transform: scale(3.5);
  border-radius: 3px;
  color: rgba(255, 255, 255, 0.822);
  position: relative;
  top: 50%;
  left: 50%;
  bottom: 100px;
  pointer-events: none;
  transition: all 0.5s ease;
}

.video-img{
    user-select: none;
    max-width: 320px;
    margin: 0 auto;
  border-radius: 3px;
  transition: all 0.5s ease;
  z-index: -1;
}

.music-img{
    user-select: none;
    max-width: 320px;
    margin: 0 auto;
  border-radius: 3px;
  transition: all 0.5s ease;
  z-index: -1;
}

.tag{
    position: absolute;
    right:10px;
    /* top: 15px; */
}


.iframe-cont > iframe {
  position: absolute;
  top: 0;
  left: 0;
  bottom: 0;
  right: 0;
  width: 100%;
  height: 100%;
}

.iframe-cont {
  box-shadow: 0 0 10px 5px rgba(0, 0, 0, 0.438);
  border-radius: 4px;
  position: relative;
  overflow: hidden;
  width: 100%;
  padding-top: 56.25%;

}

#video-section{
  transition: all 0.4s ease-in-out;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-content: center;

  
}

.endor-section{
  transition: all 0.4s ease-in-out;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;  
  
}



#movie-section{
  transition: all 0.4s ease-in-out;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;   
}

#web-section{
  transition: all 0.4s ease-in-out;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;   
}

#music-section{
  transition: all 0.4s ease-in-out;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;   
}


.frame{
width:50%;
margin:0 auto;
}

@media(max-width:800px){

  .frame{
    width:100%;
  }

  .video-img{
    max-width: 350px;
   
}
  .music-img{
    max-width: 350px;
   
}

}

@media(max-width:400px){

  
  .video-img{
    max-width: 300px;
   
}

  .music-img{
    max-width: 300px;
   
}

}


.topbtn{
    
    position: fixed;
    right: 0;
    bottom: 5rem;
    z-index:9999;
    border-radius:2px;
  border:3px solid rgb(75, 77, 235);
  outline:none;
  width:3rem;
  transition: all 0.7s cubic-bezier(0.77, 0, 0.175, 1);
  transform: translateX(50px)rotate(90deg);
  background-color: rgb(27, 26, 26);
}
.active-topbtn{
  transform: translateX(0px);
}

/*UPDATE:*/

#projects-section{
  opacity: 0;
  display:none;
  transition: all 0.2s ease-in-out;
}


/* STILL SHOOTS */
.masonry {
  column-count: 4;
  column-gap: 1rem;
  margin-top:40px;
}

@media (max-width: 1024px) {
  .masonry {
    column-count: 3;
  }
}

@media (max-width: 768px) {
  .masonry {
    column-count: 2;
  }
}

@media (max-width: 480px) {
  .masonry {
    column-count: 1;
  }
}

@media (max-width: 599px) {
  #imageModal {
    display: none !important;
  }
}


.masonry-img {
  width: 100%;
  display: block;
  border-radius: 2px;
  break-inside: avoid;
  opacity: 0;
  transition: opacity 0.6s ease-in-out;
  background-color: #f0f0f0;
}

.masonry-img.loaded {
  opacity: 1;
}

#still-shoot-section {
  display: grid;
   grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
   margin: 1rem;
  opacity: 0;
  transition: opacity 8s ease;
}

.masonry-item {
  position: relative;
  margin-bottom: 1rem;
  break-inside: avoid;
  transition: transform 0.3s ease;
}


.caption {
  font-family: "Poppins", serif;
  position: absolute;
  bottom: 0;
  right: 0;
  color: white;
  padding: 4px 8px;
}

.caption1 { background-color: #7e1204; }  /* Toyota Hilux */
.caption2 { background-color: #219464; }  /* Landrover */
.caption3 { background-color: #cc4c0b; }  /* Fortuner */
.caption4 { background-color: #57039b; }  /* Rohit Singh */
.caption5 { background-color: #05618f; }  /* Philips Trimmer */
.caption6 { background-color: #c9234f; }  /* Philips Dryer */
.caption7 { background-color: #020030; }  /* Philips Trimmer */
.caption8 { background-color: #58b105; }  /* Philips OneBlade */


.modal {
  display: none;
  position: fixed;
  z-index: 999;
  padding-top: 60px;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  overflow: auto;
  background-color: rgba(0, 0, 0, 0.926);
}

.modal-content {
  margin: auto;
  display: flex;
  justify-content: center;
  align-items: center;
  max-height: 80vh;
  max-width: 80vw;
  height: auto;
  width: auto;
  object-fit: cover;
}

.modal-body {
  display: flex;
  justify-content: center;
  align-items: center;
  user-select: none;
}

.close {
  position: absolute;
  top: 20px;
  left: 30px;
  font-size: 40px;
  color: white;
  cursor: pointer;
  z-index: 1000;
}

.close:hover {
  color: #ccc;
}

.grid-loader {
  border: 6px solid #f3f3f3;
  border-top: 6px solid #10c56a;
  border-radius: 50%;
  width: 60px;
  height: 60px;
  animation: spin 1s linear infinite;
  margin: 100px auto;
  display: block;
  margin-top: 5 rem;
  margin-bottom: 10rem;
  display: none;
}