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

html {
    scroll-behavior: smooth;

}

body {
    background-color: #ffffff;
    color: #111;
    font-family: 'Poppins', sans-serif;
}

body::-webkit-scrollbar {
    width: 5px;
}

body::-webkit-scrollbar-thumb {
    background-color: #ff1e1e;
    border-radius: 5px;
}

h1{
    font-family: 'Silkscreen', monospace;
    font-size: 48px;
    font-weight: 400;
    padding: 10px;
    margin-bottom: 10px;
}
h2{
    font-family: 'Geo', monospace;
    font-size: 26px;
    font-weight: 400;
    padding: 4px 6px;
}

p{
    padding: 10px;
    font-family: 'Monda', sans-serif;
    font-size: 16px;
    line-height: 1.5;
    max-width: 900px;
}

.highlight-name{
    color: #ffffff;
    background-color: #000000;
    padding: 5px 10px;
}

.desc1{
    font-family: 'Monda', sans-serif;
    font-size: 20px;
    line-height: 1.5;
    padding: 5px;
    max-width: 600px;
}
.pfp{
    border-radius: 5px;
    align-self: right;
    height: 50px;
    width: 50px;
}



.socials {
    display: flex;
    gap: 20px;
    margin-top: 20px;
    
    padding: 10px;
}

.socials a {
    color: #ffffff;
    text-decoration: none;
    background-color: #000000;
    font-family: 'Bitcount Single', sans-serif;
    font-size: 16px;
    font-weight: 400;
    padding: 10px 15px;
    border-radius: 5px;
    transition: transform 0.2s ease, background-color 0.2s ease, color 0.2s ease;
}

.socials a:hover {
    background-color: #ff1e1e;
    color: #ffffff;
    transform: scale(1.1);
}

.page {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 0 100px;
    background-color: #ffffff;
}
.typing {
  display: inline-block;
  overflow: hidden;
  white-space: nowrap;
  width: 0px;
  padding: 15px 5px;
  background-color: rgba(0, 255, 255, 0);
  border-right: 3px solid #ff0000;
  position: relative;
  top: 27px;
  animation:
    typing 1.5s steps(13, end) forwards,
    blink 0.75s step-end infinite;
}

@keyframes typing {
  from { width: 0; }
  to { width: 13ch; }
}

@keyframes blink {
  50% { border-color: transparent; }
}

#home h1,
#home .desc1,
#home .socials {
  opacity: 0;
  transform: translateY(15px);
  animation: fadeIn 0.7s ease forwards;
}

#home h1 {
  animation-delay: 0.1s;
}

#home .desc1 {
  animation-delay: 0.3s;
}

#home .socials {
  animation-delay: 0.5s;
}

@keyframes fadeIn {
    to {
        opacity: 1;
        transform: translateY(0px);
    }
}

.nav {
    border-left: 2px solid #000000;
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    width:90px;
    background-color:#ffffff00;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 36px;
    padding: 20px;
    
}
.nav-btn{
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 5px;
    color:#111111;
    font-size: 14px;
    font-family: 'Bitcount Single', sans-serif;
    font-weight: 400;
    background-color: #ffffff00;
    text-decoration: none;
}
.nav-btn .icon {
    width: 24px;
    height: 24px;
}

.nav-btn:hover {
    color: #ff1e1e;
}
.nav-btn:hover .icon {
  filter: brightness(0) saturate(100%) invert(21%) sepia(94%) saturate(7472%) hue-rotate(357deg) brightness(97%) contrast(119%);
}

.project-card {
    list-style: none;
    background-color: #ffffff;
    padding: 8px;
    border: #000000 2px solid;
    border-radius: 8px;
    margin-bottom: 10px;
    transition: transform 0.2s ease, border-color 0.2s ease;
    max-width: 900px;
}

.project-card:hover{
    border-color: #ff1e1e;
    transform: scale(1.02);
}

summary {
  list-style: none;
}

summary::-webkit-details-marker {
  display: none;
}

.tags{
    background-color: #ffffff;
    display: flex;
    justify-content: left;
    gap: 10px;
}

.tag{
    background-color: #000000;
    color: #ffffff;
    padding: 2px 10px;
    border-radius: 5px;
    font-family: 'Monda', sans-serif;
    font-size: 10px;
}

.project-card a {
    display: inline-block;
    margin-top: 10px;
    padding: 8px 12px;
    background-color: #000000;
    color: #ffffff;
    text-decoration: none;
    border-radius: 5px;
    font-family: 'Bitcount Single', sans-serif;
    font-size: 14px;
    transition: transform 0.2s ease, background-color 0.2s ease, color 0.2s ease;
}
.project-card a:hover {
    background-color: #ff1e1e;
    color: #ffffff;
    transform: scale(1.1);
}
#progress {
  position: fixed;
  top: 50%;
  right: 15px; 
  width: 200px; 
  height: 6px;
  transform: translateY(-50%) rotate(90deg);
  transform-origin: center ;
  appearance: none;
  
}

#progress::-webkit-progress-bar {
  background-color: #eee;
  border-radius: 5px;
}

#progress::-webkit-progress-value {
  border-radius: 5px;
  background-color: #ff1e1e;
  transition: width 0.1s ease-out;
}

.blogcard{
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    list-style: none;
    background-color: #ffffff;
    padding: 8px;
    border: #000000 2px solid;
    border-radius: 8px;
    margin-bottom: 10px;
    transition: transform 0.2s ease, border-color 0.2s ease;
    max-width: 900px;
}

.blogcard a{
    margin-left: auto;
    display: inline-block;
    padding: 8px 12px;
    background-color: #000000;
    color: #ffffff;
    text-decoration: none;
    border-radius: 5px;
    font-family: 'Bitcount Single', sans-serif;
    font-size: 14px;
    transition: transform 0.2s ease, background-color 0.2s ease, color 0.2s ease;
}

.blogcard:hover{
    border-color: #ff1e1e;
    transform: scale(1.02);
}
.blogcard a:hover {
    background-color: #ff1e1e;
    color: #ffffff;
    transform: scale(1.1);
}

.formboxbox {
    display: flex;
    justify-content: left;
}
.formbox{
    display:flex;
    flex-direction:column;
    justify-content: center;
    gap:15px;
    max-width:900px;
    margin-top:20px;
    
}
.formbox input{
    width: 400px;
    padding: 10px;
    border-radius: 5px;
    border:2px solid #000;
    font-family:'Bitcount Single', sans-serif;
    transition: transform 0.2s ease, background-color 0.2s ease, color 0.2s ease;
}
.formbox input:hover {
    border-color: #ff1e1e;
    color: #ffffff;
    transform: scale(1.01);
}
.formbox textarea{
    height: 100px;
    width: 400px;
    padding: 10px;
    border-radius: 5px;
    border:2px solid #000;
    font-family:'Bitcount Single', sans-serif;
    transition: transform 0.2s ease, background-color 0.2s ease, color 0.2s ease;

}
.formbox textarea:hover {
    border-color: #ff1e1e;
    color: #ffffff;
    transform: scale(1.01);
}

.formbox button{

        background-color: #000000;
        color: #ffffff;
        border: none;
        height: 40px;
        width: 100px;
        padding: 10px;
        border-radius: 5px;
        font-family:'Bitcount Single', sans-serif;
        align-self: center;
        transition: transform 0.2s ease, background-color 0.2s ease, color 0.2s ease ;
}

.formbox button:hover {
    background-color: #ff1e1e;
    color: #ffffff;
    transform: scale(1.1);
}
