@font-face {
  font-family: 'MyCustomFont';
  src: url('fonts/Florsn39.ttf') format('truetype');
  font-weight: normal;
  font-style: normal;
}

@font-face {
  font-family: 'MyCustomFont2';
  src: url('fonts/Florsn35.ttf') format('truetype');
  font-weight: normal;
  font-style: normal;
}

body{
  font-family: 'Lato', sans-serif;
  color: #f9f6e0;
  line-height: 24px;
  text-align: center;
  /*min-height: 100vh;*/
  background-color: #080808;
  margin: auto;
}

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

ul{
  list-style-type: none;
}

a{
  text-decoration: none;
  color: #fff;
}

header, footer{
  background-color: #222;
  display: flex;
  justify-content: center;
  align-items: center;
}

.project-div {
  position: relative;
}

header, .card{
  padding: 3em 2em 1em 2em;
  height: 100vh;
  display: flex;
  justify-content: center;
  align-items: center;
  position: sticky;
  top: 0;
}

.card{
  box-shadow: -1em 0 2em 1em rgba(0,0,0,0.3);
}

header::before, .card::before{
  content: "";
  /*background: rgba(0,0,0,.3);*/
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
}

header img, .card img{
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

header .text, .card .text{
  max-width: 800px; /*600 initially*/
  color: #fff;
  position: relative;
  text-align: left;
  z-index: 2;
}

header h1, .card h1{
  font-size: 3em;
  font-weight: 400;
  font-family: 'Raleway', sans-serif;
  margin-bottom: 30px;
  margin-bottom: 1.0em;
}

.card p{
  font-size: 1em;
  /*line-height: 30px;*/
  color: #dbdbdb;
  margin: 1em 0em;
}

.type{
    color: white;
    text-transform: uppercase;
    /* background-color: #eaa088; */
    background: rgba(0, 0, 0, 0.3);
    margin-top: 10px;
    margin-bottom: 10px;
    padding: 5px 15px;
    font-family: Inconsolata, monospace;
    font-weight: 500;
    width: fit-content;
    border-radius: 10px;
}


.btn{
  font-size: 1.1em;
  display: inline-block;
  text-decoration: none;
  margin-top: 1em;
  padding: 0.8em 1.5em;
  border-radius: 3em;
  background: #fff;
  color: #000;
  transition: 0.3s;
}

.btn:hover{
  background: #000;
  color: #fff;
}

.btn-secondary{
  border: 3px #fff solid;
  background: transparent;
  color:#fff;
  margin-top: 1em;
}

.btn-secondary:hover{
  background: rgba(255,255,255,0.3);
  color:#fff;
}

.box-view-active{
  /*position: absolute;*/
  bottom: 0;
  width: 100%;
}

.navbar{
  background: rgba(255,255,255,0.25);
  box-shadow: 0 8px 32px 0 rgba(0,0,0,0.3);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  border: 1px solid rgba(255,255,255,0.18);
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 9;
  overflow-x: auto;
  white-space: nowrap;
}

.navbar ul{
  list-style-type: none;
  padding: 0;
  margin: 0;
}

.navbar li{
  display: inline-block;
  margin-right: 20px;
}

.navbar li:last-child {
  margin-right: 0;
}

.navbar .container{
  max-width: 1100px;
  margin: 0 auto;
  padding: 1em 2em;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 10px;
}

.navbar a,
.menu-btn {
  display: block;
  padding: 10px 20px;
  background-color: #ccc;
  border-radius: 5px;
  text-decoration: none;
  color: #333;
  transition: 0.3s;
}


.navbar a:hover,
.menu-btn:hover {
  color: #ccc;
}

::-webkit-scrollbar{
  width: 10px;
}

::-webkit-scrollbar-track{
  background: #232323;
}

::-webkit-scrollbar-thumb{
  background: #707070;
}
::-webkit-scrollbar-thumb:hover{
  background: #fff;
}

.menu{
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1.5em;
}

.menu div{
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 1.5em;
}

.menu-btn{
  background: none;
  border: none;
  font-size: 1.5em;
  cursor: pointer;
  color: #fff;
}

.menu-btn{
  display: none;
}

.brand{
  font-size: 1.5em;
  font-weight: bold;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 0.5em;
}

.navbar .btn{
  margin: 0;
}

@media  screen and (min-width: 900px) {
  .navbar .menu .brand{
    margin: 0 1em;
  }
  
  .container >  .brand{
    display: none;
  }
}


@media  screen and (max-width: 900px) {
header h1, .card h1{
  font-size: 2.5em;
}

.menu-btn{
  display: block;
}

.menu{
  background-color: rgba(24,24,24,0.8);
  position: absolute;
  top: 3.7em;
  left: 0;
  width: 100%;
  height: 0;
  padding: 0 2.5em;
  transition: 0.5s ease-in-out;
  overflow-y: scroll;
}

.menu, .menu div{
  flex-direction: column;
  justify-content: flex-start;
  align-items: stretch;
}

.menu a{
  padding: 0.7em 0;
  display: block;
  width: 100%;
  text-align: center;
}

.menu .brand{
  display: none;
}

.menu-open{
  height: 14em;
  padding: 2.5em 2em;
}
}

@media  screen and (max-width: 500px) {
  html{
    font-size: 14px;
  }
}

.list-view h3{
  justify-content: left;
}

.list-view  h2{
  line-height: 30px;
  margin: 1em 0em;
}
.list-view, .box-view {
  display: none;
}
.list-view.active, .box-view.active {
  display: block;
}

.portfolio-container, h3 {
  max-width: 1000px;
  margin: 0 auto;
  display: flex;
  justify-content: left;
  gap: 30px;
  flex-wrap: wrap;
}

.card1 {
  width: 400px;
  padding: 2rem 2rem;
  border-radius: 20px;
  display: flex;
  flex-direction: column;
  transition: transform 0.3s ease;
  background-color: #141414;
}

.card1:hover {
  transform: scale(1.05);
}

.card1 h3 {
  margin-bottom: 1rem !important;
  margin: 0;
  font-weight: 600;
}

.card1 p{
  text-align: left;
  color:rgba(249,246,224,.6)
}

.card1 .cta-btn{
  margin: 1.5em 0;
  border: 3px #f9f6e0 solid;
  color: #f9f6e0;
}

.cta-section {
  /* background-color: #f9f9fa; */
  padding: 1rem 1rem;
}

.cta-section h3{
  text-align: left;
  margin-bottom: 30px;
}

.view-all-button {
  text-align: center;
  margin-top: 30px;
}

.cta-card {
  background-color: #141414;
}

.cta-btn {
  width: max-content;
  font-size: 1em;
  text-decoration: none;
  margin: 1em;
  padding: 0.5em 1.0em;
  border-radius: 3em;
  border: 3px black solid;
  background: transparent;
  color: black;
  transition: 0.3s;
  text-align: center;
}

.cta-btn:hover {
  background: rgba(255, 255, 255, 0.3);
  color: #fff;
}

.second-part{
  color: #bababa;
}

.first-part{
  font-size: 22px;
}

.footer{
  padding-bottom: 20px;
}

.contact-section a {
  padding-right: 10px;
}

.contact-section a img{
  width: 30px;
  height: 30px;
}


.contact-section {
  text-align: center;
  margin-top: 50px;
}

.contact-section h2 {
  font-size: 24px;
  margin-bottom: 10px;
}

.contact-section p {
  font-size: 16px;
  margin: 30px;
}

.last{
  margin-bottom: 0px !important;
  color: #bababa;
}


/*
Background colors for each card
*/

.color1{
  background-color: #f1b17e;
  background-image: linear-gradient(62deg, #f1b17e 0%, #d4722d 100%);
}
.color2{
  /*background-color: #BF4822;*/
  background: linear-gradient(135deg, #BF4822, #FFA07A);
}
.color3{
  background-color: #000562;
  background-image: linear-gradient(45deg, #000562 0%, #5a63ff 100%);
  
}
.color4{
  background-color: #61d0a6;
  background-image: linear-gradient(135deg, #61d0a6 0%, #154734 100%);
}
.color5{
  background-color: #f8e296;
  background-image: linear-gradient(19deg, #f8e296 23%, #f4d35e 81%);  
}

.toggle-button{
  background: none;
  border: none;
  cursor: pointer;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 5px;
}

.toggle {
  display: inline-block;
  margin-right: 20px; /* Adjust spacing between buttons */
}

.section2 .main_heading{
  margin-top: 4em;
 font-family: 'MyCustomFont', sans-serif;
}

.section3 .main_heading{
  margin-top: 2em;
  font-family: 'MyCustomFont2', sans-serif;
}

.section2, .section3{
  .main_heading{
    margin-bottom: 1em;
    font-size: 40px;
    color:#f9f6e0;
  }
}

.toggle1.active, .toggle2.active {
  background-color: #e0e0e0; /* Background color when active */
  border-radius: 6px;
  padding: 5px;
  background-color: rgba(0, 0, 0, 0.2);
}

.toggle1 button img, .toggle1 button span{
  padding-top: 3px;
  color: white;
}

.toggle2 button span{
  padding-top: 1px;
  color: white;
}

.project-background{
    display: flex;
    justify-content: center;
    gap: 30px;
    flex-wrap: wrap;
    align-items: center;
}

.alternate{
  flex-direction: row-reverse;
}

.alternate .project-image{
  margin-right: 30px;
}

.text {
  flex: 1;
}

.black{
  color: gray;
}

.black_tag{
  color: white !important;
}

.project-image {
  flex-shrink: 0;
  margin-left: 30px;
}

.project-image img{
  position: relative;
  width: 300px;
}

.project-image .saras, .project-image .spn, .project-image .utpark{
  width: 600px;
}

.project-media {
  flex-shrink: 0;
  margin-left: 20px;
  max-width: 300px; /* Set a max width for the media */
}

.project-media video {
  border-radius: 10px; /* Optional: adds rounded corners to the video */
  width: 100%; /* Ensures video fits within its container */
  height: auto;
}