h1 {
    font-family: 'Abril Fatface', sans-serif;
    font-size: 3rem;
}

body {
     font-family: "Montserrat", serif;
    line-height: 1.6;
  background: url("/walls/ballerin.jpg") no-repeat center center fixed;
  background-size: cover;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

header{
    display: block;
    /* align-items: center; */
    /* position: relative; */
    /* margin: 0 auto; */
    margin-top: 6px;
    margin-bottom: 6px;
    left: 300px;
    width: 99%;
    color: rgb(233, 228, 221);
    padding: 1rem;
    text-align: center;
    justify-content: center;
    /* margin: 12px; */

}
.backdrop{
    /* blur effect*/
background: rgba(31, 32, 32, 0.53);
border-radius: 16px;
box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1);
backdrop-filter: blur(11.3px);
-webkit-backdrop-filter: blur(11.3px);
border: 1px solid rgba(52, 54, 56, 0.05);
}
header nav ul {
    list-style: none;
    display: flex;
    justify-content: center;
}

header nav ul li {
    margin: 0 15px;
}

header nav ul li a {
    color: #fff;
    text-decoration: none;
}

.social-buttons {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-top: 1rem;
}

.social-buttons a {
    display: inline-block;
    width: 40px;
    height: 40px;
    background-color: #333;
    color: #fff;
    border-radius: 50%;
    text-align: center;
    line-height: 40px;
    font-size: 1.2rem;
    transition: background-color 0.3s, transform 0.3s;
}

.social-buttons a:hover {
    background-color: #777;
    transform: scale(1.1);
}

/* proposed */
.social-buttons {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-top: 1rem;
}

.social-buttons a {
    display: inline-block;
    width: 40px;
    height: 40px;
    background-color: #333;
    color: #fff;
    border-radius: 50%;
    text-align: center;
    line-height: 40px;
    font-size: 1.2rem;
    transition: background-color 0.3s, transform 0.3s;
}

.social-buttons a:hover {
    background-color: #777;
    transform: scale(1.1);
}

#about {
    /* width: fit-content; */
    width: 99%;
    height: 756px;
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    padding: 12px;
    margin: 6px;
}

#about p{
    
    max-width: 700px;
    text-align: center;
    /* margin: 0 auto; */
    margin-top: 6px;
    margin-bottom: 16px;
    color: rgb(233, 228, 221);
    padding: 12px;

}

#about img{
     width: 200px;        /* adjust size as needed */
      height: 200px;       /* should be equal to width for a perfect circle */
      border-radius: 50%;  /* makes the image round */
      object-fit: cover;   /* ensures image doesn't stretch */
      display: block;      /* centers with margin auto if needed */
      /* margin: 20px auto;   centers horizontally */
      border: none;
}

/* Skills section */
.skill-category{
    /* align-items: center; */
    width: 100%;
    height: auto;
    padding-top: 6px;
    padding-bottom: 6px;
    margin-top: 6px;
    margin-bottom: 6px;
    padding-left: 2rem;
    padding-right: 2rem;
}

.skill-category h3{
    text-align: center;
    margin-top: 6px;
    align-items: center;
    color: #fff;
}

.skills-list {
    padding: 6px;
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: center;
    gap: 13px;
    /* margin-left: 6rem;
    margin-right: 6rem; */
    margin-top: 6px;
    margin-bottom: 6px;
    color: #fff;
}

.skills-list li {
    list-style: none;
    padding: 0.5rem 1rem;
    transition: transform 0.3s;
    width: 5.5rem;
    text-align: center;
}

.skills-list li img {
    height: 3rem;
}

.skills-list li:hover {
    transform: scale(1.1);
}

.skills-list li p {
    font-size: 0.8rem;
}
/* .backdrop {
    -webkit-backdrop-filter: blur(16px);
  -webkit-mask-image: linear-gradient(
    to bottom,
    black 0% 50%,
    transparent 50% 100%
  );
} */
.proj{
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
        color: #fff;
        padding: 12px;
        height: 50px;
        margin: 6px;
}

#projects .project-list {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    justify-content: center;
}

.project {
    /* background: #f4f4f4; */
    padding: 1.4rem;
    border-radius: 8px;
    color: #fff;
    width: 90%;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    margin: 0 auto;
    display: flex;
    flex-direction: row;
    margin: 6px;
}

.project-image {
    flex: 1;
    margin: .5rem;
    max-width: 50%;
    position: relative;
    overflow: hidden;
}

.project-image img {
    width: 70%;
    height: auto;
}

.project-description {
    flex: 1;
    text-align: left;
    /* Ensure the content inside is left aligned */
    margin: 0.5rem;
    /* Add margin to the project description */
}

@media (max-width: 950px) {
    .project {
        flex-direction: column;
        /* Change to column layout on smaller screens */
    }

    .project-image {
        min-width: 100%;
        margin: 0;
    }
}

.project-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-direction: row;
}

.project-header h3 {
    font-size: 1.5rem;
}

.project-links a {
    color: #333;
    font-size: 1.5rem;
    /* Increase the size of the icons */
    margin: 0 0.5rem;
    /* Add some spacing between icons */
    transition: color 0.3s, transform 0.3s;
    text-decoration: none;
}

.project-links a:hover {
    color: #777;
    /* Change the color on hover */
    transform: scale(2);
    /* Slightly increase the size on hover */
}

.tech-pill {
    display: inline-block;
    padding: 2px 8px;
    border-radius: 5px;
    font-size: 12px;
    font-weight: bold;
    color: white;
    margin: 5px;
    text-align: center;
    cursor: pointer;
}

.tech-pill i {
    margin-right: .25rem;
    margin-left: .25rem;
}

hr {
    border-top: 1px solid #ccc;
    margin: .5rem 0;
}



footer {
    background: #333;
    color: #fff;
    width:99%;
    text-align: center;
    padding: 1rem;
    margin-top: 2rem;
}

footer a{
    color: aliceblue; 
    text-decoration: none;
}

/* footer a:hover {
    color: red;
    font-size: larger;
} */

/* @keyframes contact-button{
    
    0% { transform: skewX(-15deg); }
    5% { transform: skewX(15deg); }
    10% { transform: skewX(-15deg); }
    15% { transform: skewX(15deg); }
    20% { transform: skewX(0deg); }
    100% { transform: skewX(0deg); }
} */

@keyframes skew-x-shaking {
 0% { transform: skewX(-15deg); }
 5% { transform: skewX(15deg); }
 10% { transform: skewX(-15deg); }
 15% { transform: skewX(15deg); }
 20% { transform: skewX(0deg); }
 100% { transform: skewX(0deg); }
}

.contact-button:hover{
    color: red;
    animation: skew-x-shaking 0.83s infinite;
}



@keyframes skew-y-shaking {
 0% { transform: skewY(-15deg); }
 5% { transform: skewY(15deg); }
 10% { transform: skewY(-15deg); }
 15% { transform: skewY(15deg); }
 20% { transform: skewY(0deg); }
 100% { transform: skewY(0deg); }
}

.mini-project{
    width: 80%;
    display: flex;
    flex-direction: column;
    color: #fff;
    padding: 6px 6px 6px 6px;
    /* align-items: center; */
}

.mini-project-contents{
    display: flex;
    flex-direction: row;
    align-items: center;
    margin: 16px;
    justify-content: space-between;
}

/* .mini-project-contents h4 button{
    margin: 45px;
} */

.glow-on-hover {
    width: 80px;
    height: 40px;
    border-radius: 50rem;
    border:#333;
    outline: none;
    color: #fff;
    background: #333;
    cursor: pointer;
    position: relative;
    z-index: 0;
    border-radius: 10px;
}

.glow-on-hover:before {
    content: '';
    background: linear-gradient(45deg, #ff0000, #ff7300, #fffb00, #48ff00, #00ffd5, #002bff, #7a00ff, #ff00c8, #ff0000);
    position: absolute;
    top: -2px;
    left:-2px;
    background-size: 400%;
    z-index: -1;
    filter: blur(5px);
    width: calc(100% + 4px);
    height: calc(100% + 4px);
    animation: glowing 20s linear infinite;
    opacity: 0;
    transition: opacity .3s ease-in-out;
    border-radius: 10px;
}

.glow-on-hover:active {
    color: #333;
}

.glow-on-hover:active:after {
    background: transparent;
}

.glow-on-hover:hover:before {
    opacity: 1;
}

.glow-on-hover:after {
    z-index: -1;
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    background: #333;
    left: 0;
    top: 0;
    border-radius: 50px;
}

@keyframes glowing {
    0% { background-position: 0 0; }
    50% { background-position: 400% 0; }
    100% { background-position: 0 0; }
}