@import url('https://fonts.googleapis.com/css?family=Oswald|Rambla|Staatliches&display=swap');

body{
    margin: 0;
    padding: 0;
    background-color: white;
}

:root{
    --color-black: #000000;
    --color-white: #ffffff !important;
    --color-border: #ffffff6b;
    --color-blue: #0ccceeb7 !important;
    --font-staat: 'Montserrat', sans-serif;
    --font-os:  'Open Sans', sans-serif;
    --font-ram: 'Roboto', sans-serif;
    
}

/* global classes */
.font-staat{
    font: normal 400 18px var(--font-staat);
}
.font-os{
    font: normal 300 18px var(--font-os);
}
.font-ram{
    font: normal bold 18px var(--font-ram);
}

.font-size-40{
    font-size: 40px;
}
.font-size-34{
    font-size: 34px;
}
.font-size-27{
    font-size: 27px;
}
.font-size-20{
    font-size: 20px;
}
.font-size-16{
    font-size: 16px;
}

.bgcolor-blue{
    background-color: var(--color-blue);
}

.bgcolor-black{
    background-color: var(--color-black);
}

.bgcolor-white{
    background-color: var(--color-white)
}

.text-white-80 {
    color: rgba(255, 255, 255, 0.8); /* 70% opacity white */
}

.text-center {
    text-align: center; /* Center text for all text-center classes */
}

/* #global classes */

#header{
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index:2;
    transition: left .5s ease;
    }

#header nav{
    height: 100vh;
    
}
#header .site-title .navbar-brand{
    letter-spacing: 2px;
    color: var(--color-white);
}

#header .nav-link{
    margin: .7rem 1rem;
    border-bottom: 1px solid var(--color-border);
    text-transform: uppercase;
    color: var(--color-white) !important;
    
}

#header .nav-link:hover{
    color: var(--color-blue) !important;
}

#header .toggle-button{
    background: none;
    color: var(--color-black);
    position: fixed;
    top: 25px;
    right: 20px;
    border: 1px solid var(--color-border);
}

.toggle-left{
    left: 0 !important;
    width: 1000px !important;
}

/* site-main */

.site-banner .banner-area{

    background-size: cover;
    width: 100%;
    height: 100vh;
    position: relative;
}

.site-banner .banner-area .author{
    margin: 0;
    position: absolute;
    top: 45%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.site-banner .banner-area .author .author-img{
    width: 294px;
    height: 345px;
   
    margin: auto;
    background: url(./me.jpg) no-repeat;
    background-size: cover;
    background-position: 40% 0;
}

.skill .bars p, .site-content .skill .bars span{
    line-height: 10px;
}

#footer form .row .col input[type="text"],
#footer form .row .col input[type="email"],
#footer form textarea{
    border: none;
    border-radius: 0;
    border-bottom: 1px solid gray;
    padding: 1.5rem 1rem;
}

@media screen and (min-width: 768px){
    .toggle-button{
        display: none;
    }
    #header{
        z-index:0;
    }
    .img-fluid {
        min-height: 150px;
    }
}

@media screen and (max-width: 767px) {
    .bgcolor-black {
        background-color: rgba(0, 0, 0, 0.95); /* Adjust the alpha value for transparency */
    }
    .proj-img {
        min-width: 100%;
    }

}

.cert {
    height: 210px;
    width: 210px;
    margin:15px;
    display: flex;
    vertical-align: middle;

}

.cert-container {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
}


#typed{
    color: var(--color-blue);
}
/* #site-main */


/*icons*/
.social-icons a{
    display:inline-block;height:3.5rem;
    width:3.5rem;
    background-color: #fff;
    color:#343a40!important;
    border-radius:100%;
    text-align:center;
    font-size:1.5rem;
    line-height:3.5rem;
    margin-right:1rem
  }
  
  .social-icons a:last-child{
    margin-right:0
  }
  
  .social-icons a:hover{
    background-color:var(--color-blue);
    transform: scale(1.2)
  }
  
  .social-icons a:hover i {
    transform: scale(1.3);
  }

  .dev-icons {
    font-size: 5rem;
  }
  
  .dev-icons .list-inline-item :hover {
    color: var(--color-blue);

  }


  /*icons*/


 /*project*/
/*   
.project-card {
    
    padding: 20px;
    width: 100%;
    display: flex;
    flex-direction: column;
    
}
.project-card h2 {
    font-size: 24px;
    margin-bottom: 10px;
}

.project-description {
    font-size: 16px;
    color: #333;
    margin-bottom: 15px;
}

.project-details {
    list-style-type:disc;
    padding: 0;
    margin-bottom: 15px;
}

.project-details li {
    margin-bottom: 5px;
} 

*/
.project-container {
    display: flex;
    align-items: center;
    justify-content: center;
   
}

.project img {
    max-width: 100%; /* Ensures the image won't stretch beyond its natural size */
    height: auto; /* Maintains aspect ratio */
}

.frame {

  text-align: center;
  justify-content: center;
  
  cursor: pointer;
  perspective: 5000px;
  
}

.project-details {
    list-style-type:disc;
    padding: 1;
    margin-bottom: 15px;
}
.project-details li {
    padding: 6px
}

.frame .details {
  width: 100%; 
  min-height: 400px;
  height: 100%;
  padding: 5% 8%;
  position: absolute;
  content: "";
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%) rotateY(90deg);
  transform-origin: 50%;
  background: var(--color-black);
  opacity: 0;
  transition: all 0.2s ease-in;
  color: var(--color-white);
  font-family: var(--font-ram);
  border-radius: 70px; /* Adding rounded corners */
  display: flex;
    flex-direction: column;
    justify-content: center; /* Vertically centers the items */
    align-items: center; /* Horizontally centers the items */
  
}

.frame:hover .details {
  transform: translate(-50%, -50%) rotateY(0deg);
  opacity: 1;
}



/*project icons- github and live site*/
.giti, .eye{
    font-size: 3rem;
    color: var(--color-white);
}

.eye :hover{
    color: var(--color-white);
}


/* Alternative Counter Styling */
.counter-number {
    background-color: transparent; /* Transparent background */
    color: #ffffff; /* Text color */
    font-size: 18px; /* Font size */
    align-items: center;
    text-align: center;
    
   
    z-index: 999; /* Ensure it's above other elements */
  }
  
  /* Border-bottom for Separation */
  .counter-number::after {
    content: "";
    display: block;
    width: 100%;
    height: 1px;
    background-color: #333; /* Separator color */
    position: absolute;
    top: 100%;
    left: 0;
  }
  
  /* Hover Effect for Counter */
  .counter-number:hover {
    color: #030000; /* Adjust text color on hover */
  }

.row{
        display: flex;
        flex-direction: row; /* Aligns children horizontally */
        flex-wrap: wrap; /* Allows items to wrap onto the next line */
        justify-content: space-between; /* Spacing between items */
    }
    .row {
        display: flex;
        flex-wrap: wrap;
      }
      
      .col-md-4 {
        display: flex;
        flex-direction: column;
        justify-content: flex-start; /* Aligns items to the top */
      }
      
      .fa-ul {
        display: flex;
        flex-direction: column;
        justify-content: space-between; /* Spreads the li elements evenly */
      }