@import url('https://fonts.googleapis.com/css2?family=Open+Sans:wght@300;400;500;600&display=swap');
@font-face {
    font-family: 'MyFont';
    src: url(./assets/font/Thunder-BoldLC.otf);
    }

*{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body{
    font-family: var(--main-font);
    background-color: var(--background);
}

/* html {
    scroll-behavior: smooth;
    transition-timing-function: ease-in-out;
} */

:root {
    --main-font:'Open Sans', sans-serif;
    --background: rgb(8, 8, 8);
    --primary-text: #fba041;
    --color: color: rgb(237, 237, 237);
  }

#main{
    padding: 0 40px;
    background-color: var(--background);
    color: rgb(237, 237, 237);
    font-family: var(--main-font);
}

@keyframes scroll {
    form{
        transform: translateY(0);
    }

    to{
        transform: translateY(20px);
        opacity: 0;
    }
    
}

.scroll-down{
    pointer-events: none;
    position: absolute;
    display: flex;
    justify-content: center;
    padding: 4px;
    bottom: 20px;
    height: 45px;
    width: 30px;
    border-radius: 30px;
    border: 1px rgba(237, 237, 237, 0.258) solid;
}

.scroll-down-ball{
    position: relative;

    width: 5px;
    height: 7px;
    border-radius: 3px;
    background-color: rgba(237, 237, 237, 0.69);

    animation: ease scroll 2s infinite ;
}

#intro {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100vh;
    color: rgb(151, 161, 170);
}

#intro .intro-title{
    opacity: 0;
    transform: translateY(50px);
}

#intro a{
    text-decoration: none;
    color: rgb(151, 161, 170);
}

#intro .intro-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    display: flex;
    flex-wrap: wrap;
    overflow: hidden;
    justify-content: center;
    align-items: center;
}

.intro-background-block {
    height: 69px;
    width: 69px;
    margin: 1px;
}


 

#intro>div>h3, #intro>div>h2{
  
    pointer-events: none;
    position: relative;
     
}

#intro h2{
    font-size: 110px;
    font-weight: 800;
}

#navbar{
    display: flex;
    position: fixed;
    right: 50px;
    top: 50px;
    z-index: 11;
}

.navbar-links {
    position: absolute;
    top: -10px;
    right: -10px;
    visibility: hidden; /* Initially hidden */
    opacity: 0; /* Initially transparent */
    transform: scale(0); /* Initially scaled down to make it invisible */
    transform-origin: top right;
    display: flex;
    flex-direction: column;
    padding: 50px 100px 30px 20px;
    line-height: 50px;
    border-radius: 38px;
    background-color: rgba(35, 35, 35, 0.2);
    backdrop-filter: blur(5px);
    border:1px solid rgba(255, 255, 255, 0.116);
    font-size: 26px;
    
}

.navbar-external-link1{
    margin: 5px 0;
    border-top: 1px solid rgba(255, 255, 255, 0.116);
    width: 270px;
}

.show-navbar-links {
    visibility: visible; 
    opacity: 1; 
    transform: scale(1);
}

.close-navbar-icon{
    transform: rotate(45deg);
}
    
.navbar-links a{
    text-decoration: none;
    color: rgb(151, 161, 170);
    font-weight: 500;
    padding: 5px 14px;
    border-radius: 10px;
    width: min-content;
}

#navbar .navbar-external-link{
    line-height: 35px;
    font-weight: 300;
    font-size: 20px;
    color: rgb(131, 131, 131);
}

#navbar a:hover{
    
    background-color: #000000d8;
    color: var(--primary-text);
}

#navbar img{
    width: 60px;
    height: 60px;
    filter: invert();
    opacity: calc(60%);
}

.plus-icon{
    transition: 0.2s;
    z-index: 10;
    display: inline-flex;
    background-color: rgba(35, 35, 35, 0.497);
    backdrop-filter: blur(5px);
    border-radius: 50%;
    border:1px solid rgba(255, 255, 255, 0.116);
}

/* Cursor tracker */

#cursor-tracker{
    height: 18px;
    width: 18px;
    position: fixed;
    top:0;
    left: 0;
    pointer-events: none;
    filter: blur(10px);
    background-color: var(--primary-text);
    display: none;
}
 
#hero {
    width: 100%;
    height: 650px;
    padding: 60px 40px;
    display: flex;
}
  
#hero .hero-section {
    flex: 1; 
    margin: 5px; 
    border-radius: 10px;
    border:1px solid rgba(255, 255, 255, 0.116);
    box-shadow: rgba(0, 0, 0, 1) 0px 3px 8px;
}

#hero .hero-section:first-child {
    flex: 2;
}

#hero .hero-section-image{
    background-image: url('/assets/me3.jpg');
    background-size: cover;
  background-repeat: no-repeat;
  background-position: center;  
}

#hero .hero-section:hover{
    background-color: rgb(18, 18, 18);
}

#hero .first-hero-section {
    display: flex;
    align-items: center;
}

#hero .hero-section{
    padding: 20px;
}

#hero .hero-section>h4{
    padding: 16px;
    font-weight: 400;
    font-size: 25px;
    color: rgb(151, 161, 170);
}
 

#hero .hero-section>p{
    text-transform: uppercase;
    font-size: 14px;
    font-weight: 300;
    color: rgb(151, 161, 170);
}
 
#hero .first-hero-section>div>div>p {
    font-size: 35px;
    font-weight: 700;
    /* text-transform: uppercase; */
    color: rgb(151, 161, 170);
    display: inline;   
}

#hero .first-hero-section>div>div>span {
    font-weight: 700;
    font-size: 35px;
    color: var(--primary-text);   
}

#hero .first-hero-section>div>p {
    margin-top: 30px;
    font-size: 20px;
    color: rgba(171, 183, 194, 0.549);
    
}

.quick-link-container {
    display: flex;
    flex-direction: column;
    gap: 20px;
    margin-top: 10px;
}

.quick-link-container p {
    color: white;
}

.quick-link-container a {
    text-decoration: none;
}

.quick-link-item{
    display: flex;
    gap: 20px;
    align-items: center;
    padding: 8px 10px;
    border : 1px solid transparent;
}

.quick-link-item:hover{
    background-color: rgb(26, 26, 26);
    border : 1px solid rgba(255, 255, 255, 0.116);
    border-radius: 12px;
}

.quick-link-item>div>h4{
    font-weight: 400;
    font-size: 20px;
    color: var(--primary-text);
}

.quick-link-item>div>p{
    font-weight: 300;
    font-size: 20px;
    
}

.quick-link-container .quick-link-item img{
    width: 30px;
    height: 30px;
    filter: invert();
}

/* About */

#about{
    border-radius: 40px;
    border:1px solid rgba(255, 255, 255, 0.116);
    height: auto;
    padding: 50px;
    margin:50px 0 70px 0;
}

#about h2{
    font-size: 45px;
    font-weight: 600;
    color: rgb(151, 161, 170);
}

#about>p{
    color: rgb(253, 253, 253);
    font-weight: 400;
    line-height: 50px;
    font-size: 30px;
    margin: 30px 0;
}

#about .about-items{
    padding: 0 9vw;

}
#about div>.about-item{
    margin: 20px;
    border-radius: 40px;
    display: flex;
    align-items: center;
    gap: 30px;
    border:1px solid rgba(255, 255, 255, 0.116);
}

#about .about-items>.about-item>div {
    background-color: #181818;
    text-align: center;
    width: 100%;
    padding: 10px;
    margin: 5px;
    border-radius: 30px ;

}
#about .about-items>.about-item>div>p{
    font-size: 18px;
}

#about .about-items>.about-item>h5{
    font-weight: 400;
    color: var(--primary-text);
    font-size: 18px;
}

#about>.about-items>.about-item>img{
    width: 20px;
    margin-left: 20px;
    filter: invert(78%) sepia(53%) saturate(2163%) hue-rotate(328deg) brightness(101%) contrast(97%);
}


#about>.skill-section{
    padding: 30px;
    margin: 90px 0 ;
    border:1px solid rgba(255, 255, 255, 0.116);
    border-radius: 30px;
}

#about>.skill-section>h2{
    font-size: 25px;
    margin-bottom: 20px;
}

#about>.skill-section>.skill-section-items{
    display: flex;
    flex-wrap: wrap;
    /* padding: 30px; */
}

#about>.skill-section>.skill-section-items>div{
    color: white;
    padding: 10px 20px;
    margin: 10px;
    border-radius: 20px;
    background-color: #181818;
}


/* Projects */

#projects {
    border:1px solid rgba(255, 255, 255, 0.116);
    border-radius: 30px;
    height:auto;
    padding: 30px;
    /* background-color: red; */
  
}

#projects>.project-titles .project-container{
    display: flex;
    flex-wrap: wrap;
    gap: 30px;
    justify-content: center;
}

#projects>.project-titles>div .project-detail{
    overflow: hidden;
    border:1px solid  rgba(255, 255, 255, 0.116);
    border-radius: 30px;
    width: 400px;
    min-height: 300px;
    padding: 3px;
    transition: 0.5s ;
}

 


#projects>.project-titles>div .project-view {
    overflow: hidden;
    width: 100%;
    border-radius: 24px 24px 0 0;
    height: 200px;
    object-fit: cover;
}

#projects>.project-titles>div .project-view img,#projects>.project-titles>div .project-view video {
    overflow: hidden;
    width: 100%;
    object-fit: cover;
}

#projects>.project-titles>div .project-name{
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px ;
}
#projects>.project-titles>div .project-name img{
    filter: invert();
    width: 20px;
    height: 20px;
    transform: rotate(90deg);
    transition: 0.2s;
}
#projects>.project-titles>div .project-name img:hover{
    filter: invert();
    transform: scale(1.2);
    transform: rotate(95deg);
}

#projects>.project-titles>div h3{
    font-size: 20px;
    font-weight: 500;
    color: rgb(255, 255, 255);
}

#projects>.project-titles>div>h4{
    font-size: 30px;
    font-weight: 500;
    color: rgb(151, 161, 170);
    padding-top: 30px;
    padding-bottom: 40px;
}

#projects>.project-titles>div p{
    padding: 0 10px;
    font-size: 16px;
    font-weight: 400;
    line-height: 25px;
    color: rgb(151, 161, 170);
}

#projects>.project-titles>div .tech-detail {
    padding: 10px;
    padding-top: 15px;
}

#projects>.project-titles>div .tech-detail h4 {
    font-weight: 500;
    color: rgb(151, 161, 170);
}

#projects>.project-titles>div .tech-detail .tech{
    padding: 10px 0 0 0;
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}
#projects>.project-titles>div .tech-detail .tech div{
    font-size: 14px;
    padding: 12px 16px;
    border-radius: 30px;
    background-color: #181818;

}


/* Contact */

#contact{
    height: auto;
    display: flex;
    gap: 40px;
    padding: 100px;
    margin: 60px 0 0 0;
    border-radius: 40px;
    border:1px solid rgba(255, 255, 255, 0.116);
}

.contact-alert{
    color: black;
    font-weight: 500;
    padding: 20px;
    text-align: center;
    border-radius: 5px;
    background-color: white;
    display: none;
    transition: 2s;
}

#contact .follow-me{
    flex: 1;
}

#contact .follow-me>div{
    padding: 30px;
    border-radius: 30px;
    margin-top: 30px;
    border:1px solid rgba(255, 255, 255, 0.115);
}

#contact .follow-me>div>h4{
    font-size: 30px;
    font-weight: 500;
    color: white ;
    margin-bottom: 20px;
}

#contact .follow-me>div>p.follower-count>span{
    color: var(--primary-text);
    margin-right: 18px;
    font-size: 14px;
    font-weight: 300;
}

#contact .follow-me>div>p.follower-count{
     margin-bottom: 20px;
}

#contact .follow-me>div>p{
    margin-bottom: 10px;
    color: rgb(151, 161, 170);
    font-size: 18px;
}

#contact .follow-me>div>a{
    background-color: var(--primary-text);
    display: inline-block;
    padding: 10px 20px;
    color: rgb(18, 18, 18);
    text-decoration: none;
    font-size: 18px;
    border-radius: 30px;
    font-weight: 500;
}

#contact .follow-me>div>a:hover{
    background-color: rgb(151, 161, 170);
}

#contact .follow-me>div>img{
    width: 150px;
    display: block;
    margin:30px auto;
}

#contact .contact-me{
    flex: 1; 
}

#contact .follow-me>h4 {
    font-weight: 600;
    font-size: 45px;
    color: rgb(151, 161, 170);
}

#contact .contact-me>h4 {
    font-size: 45px;
    font-weight: 600;
    color: rgb(151, 161, 170);
}

#contact .contact-me .contact-form-container>form{
    display: flex;
    flex-direction: column;
    gap: 20px;
    padding: 30px 60px 30px 0;
}

#contact .contact-me .contact-form-container>form>input{
    padding: 20px;
    color: white;
    font-size: 20px;
    border-radius: 30px;
    border:1px solid rgba(255, 255, 255, 0.116);
    background-color: rgba(30, 30, 30, 0.3);
}

#contact .contact-me .contact-form-container>form>textarea{
    padding: 20px;
    font-family: var(--main-font);
    color: white;
    font-size: 20px;
    border-radius: 30px;
    border:1px solid rgba(255, 255, 255, 0.116);
    background-color: rgba(30, 30, 30, 0.3);
    resize: none;
}

 input:focus, textarea:focus{
    outline: 1px solid rgba(255, 166, 0, 0.451);
}

#contact .contact-me .contact-form-container>form>input.contact-submit-button {
    color: #080808;
    font-weight: 600;
    background-color: var(--primary-text);
}

#contact .contact-me .contact-form-container>form>input.contact-submit-button:hover {
    background-color: rgb(151, 161, 170) ;
}
/* Footer */
#footer{
    font-size: 14px;
    font-weight: 300;
    text-align: center;
    padding: 20px 0;
}
#footer a{
    color: var(--primary-text);
    text-decoration: none;
    margin-left:4px;
}
#footer p{
    color: white;
}







/* ------------------------------------------------------- */

/* Tablet view */

@media screen and (max-width: 1300px){

    #intro h3, h2{
        margin-left: 30px;
    }
    
    #cursor-tracker{
        transform: scale(0);
    }
    #hero {
        
        height: 450px;
        padding: 20px 0;
        display: flex;
        flex-direction: row;
    }
      
    #hero .hero-section {
        width: auto;
        margin: 5px;
    }
    
    #hero .hero-section-image{
       display: none;
    }

    
#hero .first-hero-section {
    display: flex;
    align-items: center;
}

#hero .hero-section{
    padding: 10px;
}

#hero .hero-section>h4{
    padding: 16px;
    font-weight: 400;
    font-size: 22px;
    color: rgb(151, 161, 170);
}

#hero .hero-section>p{
    text-transform: uppercase;
    font-size: 14px;
    font-weight: 300;
    color: rgb(151, 161, 170);
}

#hero .first-hero-section>div>p {
    margin: 30px 0;
    font-size: 20px;
    color: rgba(171, 183, 194, 0.549);
    
}

 
#hero .first-hero-section>div>div>p {
    font-size: 35px;
    font-weight: 700;
    /* text-transform: uppercase; */
    color: rgb(151, 161, 170);
    display: inline;   
}

#hero .first-hero-section>div>div>span {
    font-weight: 700;
    font-size: 35px;
    color: var(--primary-text);   
}

.quick-link-item{
    display: flex;
    gap: 20px;
    align-items: center;
    padding: 8px 5px;
}

.quick-link-item:hover{
    background-color: rgb(26, 26, 26);
    border : 1px solid rgba(255, 255, 255, 0.116);
    border-radius: 12px;
}

.quick-link-item>div>h4{
    font-weight: 400;
    font-size: 18px;
    color: var(--primary-text);
}

.quick-link-item>div>p{
    font-weight: 300;
    font-size: 20px;
    
}

.quick-link-container .quick-link-item img{
    width: 30px;
    height: 30px;
    filter: invert();
}

/* about */

#about{
    
    height: auto;
    padding: 50px;
    margin:50px 0 70px 0;
}

#about h2{
    font-size: 26px;
    font-weight: 600;
    color: rgb(151, 161, 170);
}

#about>p{
    line-height: 30px;
    font-weight: 400;
    font-size: 18px;
    margin: 30px 0;
}



#about .about-items>.about-item>div>p{
    font-size: 18px;
}


#about .about-items{
    padding: 0;
}
#about div>.about-item{
    margin: 10px;
    gap: 0px;
}

#about .about-items>.about-item>div {
    background-color: #181818;
    text-align: center;
    width: 100%;
    padding: 10px;
    margin: 5px;
    border-radius: 30px ;

}
#about .about-items>.about-item>div>p{
    padding: 2px;
    font-size: 15px;
}

#about .about-items>.about-item>h5{
    font-weight: 400;
    color: var(--primary-text);
    font-size: 18px;
}

#about>.about-items>.about-item>img{
    width: 20px;
    margin-left: 20px;
    filter: invert(78%) sepia(53%) saturate(2163%) hue-rotate(328deg) brightness(101%) contrast(97%);
}

#projects .project-details {
    display: none;
}

/* contact me */

#contact{
    /* flex-direction: column; */
    gap: 40px;
    padding: 25px 15px;
    margin: 60px 0 0 0;
}

#contact .follow-me>div>h4{
    font-size: 20px;
}

#contact .follow-me>div>p.follower-count>span{
    font-size: 14px;
}

#contact .follow-me>div>p.follower-count{
     margin-bottom: 20px;
}

#contact .follow-me>div>p{
    margin-bottom: 10px;
    font-size: 18px;
}

#contact .follow-me>div>a{
    padding: 10px 20px;
    font-size: 18px;
}

#contact .follow-me>h4 {
    font-size: 25px;
}

#contact .contact-me>h4 {
    font-size: 25px;
}

#contact .contact-me .contact-form-container>form{
    flex-direction: column;
}

#contact .contact-me .contact-form-container>form>input{
    font-size: 18px;
}

#contact .contact-me .contact-form-container>form>textarea{
    padding: 20px;

    font-size: 20px;

}
}

/* Mobile view */
@media screen and (max-width:700px) {
    #main{
        padding: 0 10px;
    }
    
#hero {
    padding: 60px 10px;
}
 
#projects{
    padding: 10px 20px;
}
    
.navbar-links {
    padding: 50px 30px 30px 20px;
}

.show-navbar-links {
    visibility: visible; 
    opacity: 1; 
    transform: scale(1);
}

.close-navbar-icon{
    transform: rotate(45deg);
}
    
.navbar-links a{
    text-decoration: none;
    color: rgb(151, 161, 170);
    font-weight: 500;
    padding: 5px 14px;
    border-radius: 10px;
    width: min-content;
}

#navbar .navbar-external-link{
    line-height: 35px;
    font-weight: 300;
    font-size: 20px;
    color: rgb(131, 131, 131);
}

    #intro{
        height: 90vh;
    }

    #hero{
        flex-direction: column;
        height: 800px;
    }
    
#about{
    height: auto;
    padding: 10 20px;
    margin:0px 0 70px 0;
}

    #about>h2{
        margin-left: 0;
    }
    #about div>.about-item{
        padding: 10px;
        flex-direction: column;
        margin: 10px;
        gap: 10px;
    }

    #about div>.about-item p{
        padding: 10px;     
    }

    #about>.about-items>.about-item>img{
        margin-left: 0px;
    }

    #about .skill-section{
        margin-top: 60px;
        padding:10px 0px;
    }

    #contact{
        flex-direction: column;
        gap: 40px;
        padding: 30px 20px;
        margin: 60px 10px 0 10px;
    }

    .contact-me{
        padding: 0;        
    } 

    #contact .contact-me .contact-form-container>form{      
        padding: 30px 0 0 0;
        width: 90%;
    }
    
    .contact-form-container{
        display: flex;
        justify-content: center;
    }
    #footer{
        font-size: 12px;
    }
    
}
