@import url('https://fonts.googleapis.com/css2?family=Poppins:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&display=swap');

*{
    padding: 0;
    margin: 0;
    box-sizing: border-box;
}

:root {

    --main-Color: #068980;
    --second-Color:#106d858e; 
}
/* Ensure no margin or padding on the body */

  
  /* Wrapper for the video background */
  .video-background {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    z-index: -1; /* Ensures video is behind the content */
    background: url('fallbackimg.jpg') no-repeat center center/cover; /* Fallback Image */
    filter: blur(1.5px);
  }
  
  /* Make the video responsive and cover the entire viewport */
  #bg-video {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    /* min-width: 100%;
    min-height: 100%; */
    width: fit-content;
    object-fit: cover; /* Ensures the video scales to cover */
  }

  .contactcontainer img:hover{
    color: #068980;
  }
  
body{
    background-size: cover;
    font-family: "Poppins", sans-serif;
}

html{
    scroll-behavior: smooth;
}

h4{
    text-align: center;
    font-weight: 600  ;
    color: rgb(85, 85, 85);
    text-transform: capitalize;
}

h3{
    color: rgb(196, 196, 196);
    text-transform: capitalize;
}

a,
 .Btn{
   transition: all 300ms ease; 
}

nav,
.nav-links,
.footer-nav{
    display:flex;
}

nav{
    position: fixed;
    top: 0;
    width: 100%;
    background-color: rgba(34, 33, 33, 0.1);
    backdrop-filter:blur(10px);
    z-index: 1000;
    justify-content: space-around;
    align-items: center;
    height: 50px;
}

.nav-links{
    gap: 2rem;
    list-style: none;
    font-size: 1.2rem;
}


a{
    text-transform: capitalize;
    color: white;
    text-decoration: none;
    text-decoration-color: white;
}

a:hover{
    color: rgb(168, 125, 6);
    text-decoration: underline;
    text-underline-offset:10px;
    text-decoration-color: rgb(168, 125, 6);
}

.logo{
    font-size: 2rem;
    color: rgb(168, 125, 6);
    text-transform: uppercase;
}

#hamburger-nav{
    display: none;
}

.hamburger-menu{
    position: relative;
    display: inline-block;
}

.hamburger-icon{
    color: white;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    height: 24px;
    width: 30px;
    cursor: pointer;
}

.hamburger-icon span{
    width: 100%;
    height: 2px;
    background-color: rgb(168, 125, 6);
    transition: all 0.3 ease-in-out;
}

.menu-links{
    z-index: 1000;
    position: absolute;
    top: 100%;
    right: 0;
    margin-top: 20px;
    box-shadow:var(--main-Color) -3px 1px 5px ;
    width: fit-content;
    max-height: 0;
    overflow: hidden;
    transition:all 0.3 ease-in-out;
}

.menu-links a{
    display: block;
    padding: 10px;
    text-align: center;
    font-size: 1.5rem;
    color: white;
    text-decoration: none;
    transition: all 0.3 ease-in-out;
}

.menu-links a:hover{
    color: rgb(168, 125, 6);
}

.menu-links li{
    list-style: none;
}

.menu-links.open{
    max-height: 300px;
    transition: max-height 0.4s ease-in-out;
}

.hamburger-icon.open span:first-child{
    transform: rotate(45deg) translate(10px, 5px);
}

.hamburger-icon.open span:nth-child(2){
    opacity: 0;
}
.hamburger-icon.open span:last-child{
    transform: rotate(-45deg) translate(10px, -5px);
}

.hamburger-icon span:first-child{
transform: none;
}

.hamburger-icon span:first-child{
   opacity: 1;
}

.hamburger-icon span:first-child{
    transform: none;
}

.profile {
    position: relative;
    top: 70px;
    display:flex;
    justify-content: space-evenly;
    align-items: center;
}
.profilepicture{
    border: var(--main-Color) solid 1px;
    width: 200px;
    height: 200px;
    border-radius: 50%;
    box-shadow: -1px -1px 30px var(--main-Color);
    transition: all 300ms ease-in-out;

}
.profilepicture:hover{
    box-shadow: -2px -2px 55px var(--main-Color);
}

button{
    cursor: pointer;
    margin: 10px;
    padding: 10px;
    border: none;
    border-radius: 5px;
    font-weight: 600;
    text-transform: capitalize;
    background: none;
    color: rgb(223, 215, 215);
}

.cv-Btn{
    border: solid 2px var(--main-Color);
    transition: all ease 300ms;
}
.contact-Btn{
    align-self: center;
    color: #141515;
    border: solid 2px var(--main-Color);
    background: var(--main-Color);
    transition: all ease 300ms;
}

.cv-Btn:hover{
    color: #141515;
    background: var(--main-Color);
}
.contact-Btn:hover{
    color: #ffffff;
    background: var(--second-Color);
    border: solid 2px var(--second-Color);
}

/* SECTIONS */

#about{
    margin-left: 20px;
    margin-right: 20px;
    position: relative;
    top: 50px;
    display: flex;
    gap: 20px;
    justify-content: space-evenly;
}

.aboutcontainer{
    display: flex;
    justify-content: space-around;
}

h6{
    font-size: 12px;
    margin-top: 150px;
    display: block;
    color: rgb(193, 191, 191);
    text-transform: capitalize;
    text-align: center;
}
h4{
font-weight: 700;
color: rgb(168, 125, 6);
text-transform: capitalize;
}
.aboutPic{
    width: 300px;
    height: 200px;
    border-radius: 5px;
    box-shadow: -1px -1px 10px var(--main-Color);
    transition: all 300ms ease-in-out;
}
.aboutPic:hover{
    box-shadow: -1px -1px 20px var(--main-Color);
    width: 301px;
    height: 201px;
}

#about p span{
    font-size: larger;
    display: block;
    text-align: center;
    text-transform: capitalize;
    font-weight: 600;
    color: rgb(232, 241, 227);
}

#about p{
    font-size: 12px;
    width: fit-content;
    background-color: rgba(34, 33, 33, 0.1);
    backdrop-filter:blur(10px);
    color: rgb(240, 240, 240);
    padding: 5px;
    border: 1px var(--main-Color) solid;
    border-radius: 5px;
    transition: all 300ms ease-in-out;
    width: 300px;
    height: fit-content;
}

#about p:hover{
    box-shadow: -2px -2px 15px var(--main-Color);
    padding: 6px;
}

#services{
    margin-left: 20px;
    margin-right: 20px;
    position: relative;
    top: 30px;
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 30px;
}

.service1{
    cursor: pointer;
    padding: 5px;
    gap: 10px;
    border-radius: 5px;
    border: 1px solid var(--main-Color);
    display: flex;
    flex-direction: column;
    align-items: center;
    background-color: rgba(34, 33, 33, 0.1);
    backdrop-filter:blur(10px);
    transition: all 300ms ease-in-out;
    width: 300px;
}

.service1:hover{
    box-shadow: -2px -2px 15px var(--main-Color);
    padding: 6px;
}

.service1 img{
border-radius: 5px;
width: 150px;
height: 150px;
}

.service1 p span{
    margin-top:5px ;
    margin-bottom: 5px;
    display: block;
    text-align: center;
    text-transform: capitalize;
    font-weight: 600;
    color: #88a9db;
}

.service1 p{
    color: rgb(254, 254, 254);
}

#projects{
    margin-left: 20px;
    margin-right: 20px;
    gap: 30px;
    position: relative;
    top: 30px;
    display: flex; 
    justify-content: center; 
    flex-wrap: wrap;
}
.projectContainer,
.projectContainervideo,
.projectContainerGrapic{
    border: solid 1px var(--main-Color);
    border-radius: 5px;
    padding: 10px;
    gap: 10px;
    display: flex;
    flex-direction: column;
    background-color: rgba(34, 33, 33, 0.1);
    backdrop-filter:blur(10px);
    transition:  all 300ms ease-in-out;
}

.projectpicdis{
    gap: 10px;
    display: flex;
    flex-direction: column;
    align-content: space-evenly;
}

.projectpicdis img{
    width: 200px;
    height: 100px;
}
.projectpicdis h5{
    font-weight: 600;
    color: azure;
    text-align: center;
    text-transform: capitalize;
}
#projects .projectContainer .btnscontainer{
    display: flex;
    justify-content: space-evenly;
}

.projectContainervideo .btnscontainer,
.projectContainerGrapic .btnscontainer{
    display: flex;
    justify-content: center;
}

.btnscontainer button{
    transition: all ease 300ms;
    padding:5px;
    color: #ffffff;
    width: fit-content;
}

#dynamic-text{
    text-shadow: 1px 1px black;
}

.git-Btn{
    background: none;
    border: solid 2px var(--main-Color);
}
.live-Btn{
    background: var(--main-Color);
    
    border: solid 2px var(--main-Color);
}

.git-Btn:hover{
    background: var(--main-Color);
}

.live-Btn:hover{
    background: var(--second-Color);
    border: 2px solid var(--second-Color);
}

#contact{
    display: flex;
    justify-content: center;
    
}

.contactcontainer{
    background-color: rgba(34, 33, 33, 0.1);
    backdrop-filter:blur(10px);
    padding:20px;
    border-radius: 5px;
    border: var(--main-Color) solid 1px;
    display: flex;
    flex-direction: column;
    gap: 20px;
    align-content: center;
    justify-content: center;
    align-items: flex-start;
    position: relative;
    width: fit-content;
    top: 30px;
}

#contact .contactcontainer .email{
    text-transform: lowercase;
}

#contact img{
    position: relative;
    right: 10px;
    top: 8px;
}

.projectContainer p,
.projectContainervideo p,
.projectContainerGrapic p{
    font-size: 8px;
    color: rgba(255, 255, 255, 0.62);
}
.projectContainer p span,
.projectContainervideo p span,
.projectContainerGrapic p span{
    color: var(--main-Color);
    text-transform: capitalize;
}

hr{
    margin-top: 50px;
    color: var(--main-Color);
}
.footer-nav{
    padding: 20px;
    display: flex;
    justify-content: center;
}
.copyright{
    padding: 20px;
    display: flex;
    justify-content: center;
}

.copyright p{
    color: white;
    text-transform: capitalize;
}
.copyright p span{
    color: rgb(168, 125, 6);
    text-transform: uppercase;
    font-weight: 600;
}

#lightbox {
    display: none; /* Hide lightbox by default */
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.8); /* Semi-transparent background */
    justify-content: center;
    align-items: center;
    z-index: 1000;
}

#lightbox img {
    max-width: 90%;
    max-height: 90%;
    border-radius: 5px;
    outline: 3px rgb(168, 125, 6) solid;
}