hr{
    opacity: 0.3;
}

.nav-container
{
    background-color: #FAFAF9;
    height: 70px;
    width: 100%;
    /* border-bottom: .1px solid #5C5C5C; */
    /* box-shadow: 0 3px 5px rgba(0, 0, 0, 0.1); */
    /* background: transparent; */
    display: flex;
    justify-content: space-between;
    flex-direction: row;
    align-items: center;
    position: sticky;
    top: 0;    
    z-index: 9999;
}
.brand-logo 
{
    display: flex;
    justify-content: space-evenly;
    align-items: center;
}
.brand-logo:hover img
{
    border-radius: 50%;
    border: 1px solid yellow;
}
.first-name
{
    font-family: fraunces,sans-serif;
    font-size: 21px;
}
.last-name
{
    font-family: fraunces,sans-serif;
    color: #5C5C5C;
    font-size: 21px;
}
.brand-image
{
    width: 40px;
    height: 40px;
}

.nav-links
{
    display: flex;
    justify-content: space-evenly;
    align-items: center;
    gap: 2rem;
    font-family: sora;
}

.nav-links li a
{
    color: #5C5C5C;
}


.nav-links li a:hover
{
     color: black;
}

/* main section */
.main-section
{
    width: 90%;
    min-height: 100vh;
}

.main-section h1
{
    font-family: fraunces;
    font-size: 4rem;
    letter-spacing: -3px;
    color: #1A1A1A;
    line-height: 70px;
}

.main-above
{
    font-size: 13px;
}

.main-above span
{
    background-color: #B38CFC;
}

.text-highlight
{
    color: #B38CFC;
}

.main-description
{
    max-width: 600px;
    font-size: 1.3rem;
    line-height:1.5;
    color: #5C5C5C;
}

.get-in-touch-btn
{
    border-radius: 100px;
    /* width: 12%; */
    padding: 12px;
    font-family: sora;
}

.about-me-btn
{ 
    border-radius: 100px;
    border: 0.5px solid black;
    padding: 12px;
    font-family: sora;
}


/* about me section */
.about-me span
{
    font-family: sora;
    font-size: 1rem;
    color: #5C5C5C;
}

.about-me h2
{
    font-family: fraunces;
    font-size: 2rem;
    color: #1A1A1A;
}

.about-description p
{
    color: #5C5C5C;
    font-size: 1.1rem;
    margin-bottom: 30px;
    line-height: 1.8rem;
    font-weight: 500;
}

/* skills */
.skills li
{
    font-family: sora;
    border-radius: 100px;
    padding: 8px 16px;
    margin-right: 10px;
    background-color: #F5F4F2;
    border: .2px solid #E5E5E5;
    font-weight: 500;
    font-size: 15px;
    transition: all 0.3s;
}

.skills li:hover
{
    background-color: #B38CFC ;
    color: white;
}


/* about card section */
.about-card-section
{
    /* display: flex;
    flex-direction: column ;
    justify-content: space-evenly;
    align-items: center; */
    /* flex-wrap: wrap; */
    /* gap: 1.5rem; */

    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1rem;
    position: relative;
}

.about-card
{
    padding: 1.7rem;
    border: 1px solid lightgrey;
    border-radius: 16px;
    background-color: white;
}
.about-card *
{
    background-color: white;

}

.about-card h4
{
    font-size: 0.9rem;
    font-family: sora;
    color: #1A1A1A;
}

.about-card p
{
    font-size: 0.9rem;
    font-family: sora;
    color: #5C5C5C;
}

.about-card:hover
{
    border: 2px solid #B38CFC;
    transition: all .1s ease;
    
}

/* icons sprites */
.icon-sprites
{
    background: url('./images/icons-sprites.png');
    background-size: 80px 22px;
    background-repeat: no-repeat;
    width: 20px;
    height: 22px;
    display: inline-block;
}

.sprite-rocket
{
    background-position: -20px 0px;
}
.sprite-fire
{
    background-position: -40px 0px;
}

.sprite-painting
{
    background-position: -60px 0px;
}

.sprite-dart
{
    background-position: 0px 0px;
}


/* Expericence section */

.experience p
{
    font-family: sora;
    font-size: 1rem;
    color: #5C5C5C;
}

.experience h4
{
    font-size: 2rem;
}

.exp-card
{
    /* background-color: white; */
    display: grid;
   /* grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); */
    grid-template-columns: 1fr 3fr;
    gap: 2rem;
    border: 0.1px solid lightgrey;
    padding: 2.3rem;
    border-radius: 13px;
    margin-bottom: 30px;
}

.exp-card:hover
{
    border: 2px solid #B38CFC;
    transition: all .1s ease;
}

.exp-card-left h6
{
    font-size: 1.1rem;
}
.exp-card-left p
{
    font-size: 0.8rem;
}

.exp-card-right h4
{
    font-size: 1.1rem;
}

.exp-card-right p
{
    font-size: 0.9rem;
    line-height: 1.4rem;
}

.tags
{
    display: flex;
    flex-wrap: wrap;
    /* justify-content: space-evenly; */
    /* align-items: center; */
    gap: 1rem;
    /* flex-direction:; */
    
}

.tags span
{
    font-size: 0.7rem;
    font-weight: 500;
    font-family: sora;
    border-radius: 100px;
    background-color: #F5F4F2;
    color: black;
    padding: 7px 12px;
}

.exp-card 
{
    background-color: white;
}

.exp-card *
{
    background-color: white;
}
/* .exp-card-left
{
    grid: 1fr;
}

.exp-card-right
{
    grid: 2fr;
} */


/* projects section */
.projects p
{
    font-family: sora;
    font-size: 1rem;
    color: #5C5C5C;
}

.projects h4
{
    font-size: 2rem;
}

.project-grid
{
    display: grid;
   /* grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); */
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
}

.project-card
{
    border: 0.1px solid lightgrey;
    padding: 2.3rem;
    border-radius: 13px;
    margin-bottom: 30px;
}
.project-card:hover
{
    border: 2px solid #B38CFC;
    transition: all .1s ease;
}
.project-card h4
{
    font-size: 1.1rem;
}
.view-pro
{
    font-size: 0.9rem;
}

.project-card 
{
    background-color: white;
}
.project-card p{
    font-size: 0.9rem;
    line-height: 1.4rem;
}

.project-card *
{
    background-color: white;
}

/* contact section */

.contact p {
    font-family: sora;
    font-size: 1rem;
    color: #5c5c5c;
}

.contact h4 {
    font-size: 2rem;
}

/* MAIN GRID */

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    margin-top: 4rem;
}

/* LEFT */

.contact-heading {
    font-family: fraunces;
    font-size: 1.2rem;
    line-height: 1.3;
    margin-bottom: 1.5rem;
}

.contact-description {
    margin-bottom: 2rem;
    max-width: 550px;
}

.contact-email {
    display: inline-block;
    font-family: sora;
    font-size: 0.9rem;
    font-weight: 500;
    color: #111;
    text-decoration: none;
    border-bottom: 1px solid #8b5cf6;
    padding-bottom: .4rem;
    margin-bottom: 2rem;
}

/* SOCIAL GRID */

.social-links {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
}

.social-card {
    display: flex;
    align-items: center;
    gap: 1rem;

    padding: 1.2rem;
    border: 1px solid #ddd;
    border-radius: 12px;

    text-decoration: none;
    color: inherit;
}

.social-icon {
    font-size: 1rem;
}

.social-info h5 {
    font-family: sora;
    font-size: 0.8rem;
    margin-bottom: .25rem;
}

.social-info p {
    font-size: .7rem;
    margin: 0;
}

/* RIGHT FORM */

.contact-form {
    border: 1px solid #ddd;
    border-radius: 16px;
    padding: 2rem;
}

.contact-form h3 {
    font-family: fraunces;
    margin-bottom: 2rem;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

.form-group {
    margin-bottom: 1.2rem;
}

.form-group label {
    display: block;
    font-family: sora;
    margin-bottom: .5rem;
    font-size: .9rem;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: .7rem 0.9rem;
    border: 1px solid #ddd;
    border-radius: 10px;
    outline: none;

    font-family: sora;
}

.form-group textarea {
    min-height: 120px;
    resize: vertical;
}

.contact-btn {
    border: none;
    padding: 0.9rem 1.7rem;
    border-radius: 999px;

    background: #8b5cf6;
    color: #fff;

    font-family: sora;
    cursor: pointer;
}

/* MOBILE */

@media (max-width: 768px) {

    .contact-grid {
        grid-template-columns: 1fr;
    }

    .social-links {
        grid-template-columns: 1fr;
    }

    .form-row {
        grid-template-columns: 1fr;
    }
}

/* footer */
.footer-flex
{
    display: flex;
    justify-content: space-between;
    align-items: center;
}

/* all card hover effect */

.about-card,
.exp-card,
.project-card ,
.social-card
{
    transition: all 0.3s ease;
}

.about-card:hover,
.exp-card:hover,
.project-card:hover ,
.social-card:hover
{
    border: 1px solid #B38CFC;
    box-shadow: 0 10px 25px rgba(179, 140, 252, 0.2);
    transform: translateY(-0.2rem);
}

/* media queries */
@media (max-width: 768px){
    .exp-card{
        grid-template-columns: 1fr;
    }
    
}

@media (max-width: 950px){
    .nav-links
    {
        display: none;
    }

    .nav-container{
        flex-direction: column;
        justify-content: center;
        align-items: center;
        gap: 1rem;
        height: auto;
        padding: 1rem 0;
    }
} 