@import url('https://fonts.googleapis.com/css2?family=Metrophobic&family=Poppins:wght@100&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Dangrek&family=Edu+TAS+Beginner&family=League+Spartan:wght@300&family=Metrophobic&family=Playpen+Sans&family=Poppins:wght@100&family=Quicksand:wght@500&family=Rancho&display=swap');


* {
    /* font-family: 'Metrophobic'; */
    font-family: 'Rancho';
}

@layer utilities {
    .content-auto {
        content-visibility: auto;
    }
}
a {
    color: inherit;
    text-decoration: none;
}
body {
    padding: 0;
    margin: 0;
    color: #fafaff;
    /* background: #3b3a37; */
    background-color: black;
 }


/* Add this CSS to style the mobile navbar */
.mobile-navbar {
    display: none;
    background-color: #0e1111;
    color: red;
    border-top: 3px solid red;
    text-align: right;
    display: none;
    position: sticky;
    top: 0;
    z-index: 100;

}

.mb-nav-container{
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.menu {
    font-size: 24px;
    cursor: pointer;
}

.mobile-menu-items {
    display: none;
    list-style: none;
    padding: 0;
    margin: 0;
    text-align: center;
}

.mobile-menu-items li {
    padding: 10px;
}

.mobile-menu-items li :hover{
    border-bottom: 3px solid red;
}

.navbar {
    position: sticky;
    top: 0;
    background-color: #0e1111;
    /* border-top: 3px solid red; */
    z-index: 100;
    color: red;
    font-weight: 900;
    padding: 5px;
    box-shadow:5px 0px 12px 5px red;
}

.scrolled {
    background-color: #3b3a37;
    color: white;
    font-weight: 900;
    box-shadow: 0.5px 0.5px 0.5px 0.5px #3b3a37;
}

.nav-section {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    margin: 0 25px 0 5px;
    font-weight: 900;
}

.nav-section a {
    cursor: pointer;
    font-size: large;
}

.nav-section-items {
    display: flex;
    flex-direction: row;
    gap: 35px;
    list-style: none;
    cursor: pointer;
    font-weight: 900;
    font-size: 18px;
    padding-bottom: 8px;
    height: 20px;
}

.nav-section-items li:hover {
    font-weight: 600;
    padding-bottom: 22px;
    border-bottom: 3px solid red;
}

.intro-image {
    height: 460px;
    width: auto
}

.introduction-section {
    /* background-color: red; */
    height: 80vh;
    display: flex;
    flex-basis: 10%;
    justify-content: space-around;
    align-items: center;
    padding: 0 5px 0 5px;
   background-image: url('/assets/images/red-black.jpg');
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
}

.profile {
    border-radius: 60%;
    margin-top: 5px;
    box-shadow: 3px 3px 40px 20px red;
}

.btn {
    padding: 15px;
    border-radius: 8px;
    cursor: pointer;
    font-size: 18px;
    box-shadow: 2px 2px 5px rgba(0, 0, 0, 0.2);
}

.custombtn1 {
    background-color: black;
    color: red;
    margin-right: 5px;
}

.custombtn1:hover {
    border: 1px solid red;
    box-shadow: 4px 4px 18px 14px red;
}

.custombtn2 {
    background-color: black;
    color: red;
    margin-left: 5px;
}

.custombtn2:hover {
    border: 1px solid red;
    box-shadow: 4px 4px 18px 14px red;
}

.pf-heading {
    font-size: 40px;
    font-weight: 900;
    color: red;
    font-family: 'Rancho';
}

.name {
    font-size: 60px;
    font-weight: 900;
    margin: 5px;
    display: inline-block;
    font-family: 'Rancho';
    
}

.designation {
    margin: 0;
    font-size: xx-large;
    font-family: 'Rancho';
}

.intro-text {
    font-size: 20px;
    margin-bottom: 40px;
}

/* about section */
.about-section {
    background-color: black;
    font-family: 'Rancho'!important;
    background-size: cover;
    background-repeat: none;
    background-position: center;
    padding: 25px 15px 45px 30px;
    /* height: 1500px; */
    width: 100%;
}

.about-question{
    font-family:'Dangrek' ;
}
.about-question::first-letter{
    color: red;
}

.about-section-heading {
    text-align: center;
}

.about-section-heading span {
    text-align: center;
    border-bottom: 1px solid red;
    font-weight: 900;
}

.about-me-section-2 {
    display: flex;
    flex-wrap: wrap;
    gap: 25px;
}

.as-card {
    width: 50%;
}

.as-card:nth-child(2) {
    width: 45%;
    border-left: 1px solid;
    padding-left: 50px;
}

.sub-hd {
    color: #cccccc;
    font-size: large;
    font-family: 'Dangrek';
}

.ab-skill-heaing{
    font-family:'Dangrek' ;
}

.ab-skill-heaing::first-letter {
    color: red;
}
.skills-container {
    margin-bottom: 16px !important;
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 5px;
}

.skill-name {
    background-color: aliceblue;
    color: black;
    border-radius: 8px;
    padding: 5px;
    font-size: medium;
}

.as-text {
    font-size: 22px;
    color: #cccccc;
    font-weight: 400;
}

.btn-contact {
    background-color: black;
    color: red;
}

.btn-contact:hover {
    border: 1px solid red;
    box-shadow: 4px 4px 18px 14px red;
}

.myprojects-section {
    background-color: black;
    background-position:inherit;
    background-repeat: no-repeat;
    background-size: cover;
    text-align: center;
    /* background-image: url('../assets/images/4683.jpg');  */
    /* height: 800px; */
    /* background-repeat: no-repeat; */
    background-size: cover;
}


.projects-section-heading {
    text-align: center;
    margin: 0;
    margin-bottom: 30px;
}

.projects-section-heading span {
    text-align: center;
    border-bottom: 1px solid red;
    font-weight: 900;
}

.project-container {
    margin-top: 25px;
    padding-bottom: 25px;
    display: flex;
    background-color: #0e1111;
    flex-wrap: wrap;
    width: 100%;
    gap: 50px;
    justify-content: center;
}

.card-container {
    transform: scale(1);
    transition: transform 0.3s ease;
    background-color: whitesmoke;
}

.card-container:hover {
    transform: scale(1.1);
}

.mp-card {
    width: 360px;
    background-color: white;
    color: white;
    border-radius: 8px;

}

.website-pic {
    height: 200px;
    width: -webkit-fill-available;
}

.mp-card .card-des {
    padding-left: 5px;
    padding-right: 5px;
    padding-top: 4px;
    width: fit-content;
    padding-bottom: 0;
    height: 300px;
    border-top-right-radius:4px;
    border-top-left-radius: 4px;
}

.pj-text {
    font-size: 20px;
    padding-left: 8px;
    padding-right: 8px;
    text-align: start;
}

.card-heading {
    font-size: 18px;
    margin: 20px 0 0 0;
    padding: 0;
    color: darkblue;
    font-weight: 500;
}

.card-text {
    font-size: 14px;
    margin: 2px;
    color: darkblue;
}

.link{
 color: blue ;
 font-weight: 500;
}

.link:hover{
   color: green ;
}

.live-btn {
    padding: 10px 25px 10px 25px;
    border-radius: 6px;
    cursor: pointer;
    font-size: 18px;
    box-shadow: 2px 2px 5px rgba(0, 0, 0, 0.2);
    color: red;
    background-color: black;
    font-weight: 800;
    cursor: pointer;
    margin-top: 5px;
    margin-bottom: 5px;
    float: center;
    margin-top: 0;
}

.live-btn:hover {
    border: 1px solid red;
    box-shadow: 4px 4px 18px 14px #0e1111;
}

.arrow-icon {
    color: #3b3a37;
}

.arrow-icon:hover {
    color: blue;
}

.cd-skills {
    font-size: 14px;
    padding: 8px;
    color: darkblue;
    border-radius: 8px;
    display: inline-block;
}

.cd-skills span {
    font-size: 14px;
    color: darkblue;
}

.menu{
    display: none;
}


@media  only screen and(min-width: 1200px) {
    introduction-section{
        height: fit-content;
        padding: 25px;
    }
    
}

@media only screen and (max-width: 1200px) {
    .introduction-section {
         height: fit-content;
        margin-bottom: 5px;
        padding-bottom: 50px; 
    } 
    .profile{
      width: 30%;
      height: auto;
    }
    .project-container {
        gap: 30px;
    }
    .as-card {
        width: 100%;
    }
    .as-card:nth-child(2) {
        width: 100%;
        border-left: none;
        padding-left: 0;
    }
}

.mp-card:hover {
    background-color: whitesmoke;
}

.card-container:hover {
    box-shadow: 3px 3px 40px 20px red;
}

@media screen and (max-width: 600px) {
  .mp-card{
    width: 440px;
  }  
  .intro-image {
    display: block;
    height:180px;
    width: auto;
  }
  .about-section{
    padding:0px 0px 0px 0px;
  }
  .pf-heading{
    font-size: medium;
  }
  .name{
    font-size: 26px;
    margin: 0px;
    padding: 0px;
  }
  .designation{
    font-size: medium;
  }
  .intro-text{
    font-size: small;
    margin-bottom: 45px;
  }
  .btn{
    font-size: 14px;
    padding: 14px;
  }
  .as-text{
    display: block;
    padding:0px 15px 0px 15px;
    font-size: small;
  }
  .as-card, .as-card:nth-child(2){
    padding: 10px
  }
  .sub-hd {
    font-size: small;
}
.skill-name{
   padding: 5px;
}
.projects-section-heading{
    padding-top: 30px;
}
.nav-section-items{
    display: none;
}
.mp-card{
    width: 280px;
    height: 600px;
}
.menu{
    display: block;
}
.navbar{
    display: none;
}
.mobile-navbar{
    display: block;
    padding: 15px 15px 15px 15px;
}
.about-section-heading span{
    font-size: 20px;
}
.projects-section-heading span {
    font-size: 20px;
}
}


/* Common styles for both mobile and large screens */
.footer {
    /* border-top: 1px solid red; */
    box-shadow:5px 0px 12px 5px red;
    background-color:black;
    color: red;
    text-align: center;
    padding: 10px;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
}

.footer-links ul li a{
     width: 100px;
     /* background-color: red; */
    color: red;
     display: flex;
     font-weight: 300;
     justify-content: start;
     align-items: center; 
}

.foooter-link ul{
    list-style: none;
    padding: 0;
    /* color: aliceblue; */
}

.footer-links ul,
.footer-contacts ul {
    list-style: none;
    padding: 0;
}


.footer-links li,
.footer-contacts li {
    display: flex;
    align-items: center;
    margin: 2px 4px 4px 2px;
    
}

.footer-links a {
    text-decoration: none;
    color: #fff;
    font-weight: bold;
    font-size: 16px;
    margin-left: 10px; /* Add some spacing between icon and text */
}

.footer-text {
    font-size: 14px;
    opacity: 0.8;
    font-family:'Dangrek' ;
    font-weight: 100;
}

.icons {
    padding: 6px;
    padding-top: 6px !important;
    border-radius: 50%;
    /* background-color: #fff; */
    color: red;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    margin-right: 10px;
    padding-top: 10px;
}

.icons:hover{
    box-shadow: red  3px 3px 40px 20px;
}

.icons span:hover{
    box-shadow: red  3px 3px 40px 20px;
}
/* Responsive styles for mobile screens */
/* Add this code for responsive footer */

@media (max-width:310px ) {
    .btn{
        font-size: 12px;
        padding: 12px;
    }
}

@media (max-width:530px){
    .footer-text{
        order:3;
        text-align: center;
        width: 100%;
    }
    .as-card h3{
        font-size: 14px;
    }
    
}

@media (max-width: 420px) {
    .introduction-section {
        flex-wrap: wrap-reverse;
        height: fit-content;
        margin-top: 5px;
        margin-bottom: -1px;
    }
    
}

@media(max-width:595px){
    .cursor{
    font-size:22px !important;
    }
}

/* Responsive styles for smaller screens */
@media (max-width: 768px) {
    .footer-links li,
    .footer-contacts li {
        margin: 10px 0;
    }

    .icons {
        width: 30px;
        height: 30px;
        padding: 3px;
        
    }

    /* Add more responsive styles as needed for smaller screens */
}

/* Common styles for both mobile and large screens */
.footer {
    /* Your existing footer styles */

    /* Add the following properties for responsive design */
    flex-direction:row;
    align-items: center;
    padding:20px 5px 0px 5px;
}

/* Add responsive styles for footer links on smaller screens */
.foooter-link {
 width: 500px ;
 background-color: red;
}

/* Responsive styles for links on smaller screens */
.footer-links a {
    font-size: 14px;
    margin-left: 0; /* Remove extra margin between icon and text on smaller screens */
}

/* Responsive styles for footer text on smaller screens */
.footer-text {
    font-size: 12px;
}

/* Add responsive styles for icons on smaller screens */
.icons {
    width: 30px;
    height: 30px;
    padding: 3px;
}

/* Add responsive styles for hovered icons */
.icons:hover {
    box-shadow: 3px 3px 40px 20px red;
}

/* Add responsive styles for hovered span elements */
.icons span:hover {
    box-shadow: 3px 3px 40px 20px red;
}

/* animation */



.blink-caret {
    animation: blink 1s step-end infinite;
}

@keyframes blink {
    0%, 100% {
        border-color: transparent;
    }
    50% {
        border-color: orange;
    }
}


.blink-caret {
    animation: 1s blink;
}

@keyframes blink {
    0%, 100% {
        border-color: transparent;
    }
    50% {
        border-color: orange;
    }
}

.cursor {
    display: inline-block;
    width: 1px;
    font-size: 54px;
    margin-left: 1px; 
    animation: blink 0.8s infinite;
    color: red;
    font-weight: bold;
}

@keyframes blink {
    50% {
        opacity: 0;
    }
}

@keyframes feedInAnimation {
    0% {
        transform: translateX(-100%);
        opacity: 0;
    }
    100% {
        transform: translateX(0);
        opacity: 1;
    }
}

.feed-in-text {
    animation: feedInAnimation 1.5s forwards;
}




/* Add media query for displaying the mobile navbar on smaller screens */
@media screen and (max-width: 768px) {
  
    .mobile-menu-items {
        display: none;
    }
}
