#hero .grid {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    grid-gap: 2rem;
}

#hero .center {
    display: flex;
    justify-content: center;
}

#hero h1 {
    font-size: 3rem;
    font-size: clamp(2rem, 8vw, 3.5rem);
    max-width: 18em;
    text-align: center;
}

#hero h1 .pink {
    background-color: var(--light-pink);
    display: inline-block;
    padding: .25em .5em;
    border-radius: 2em;
}

#hero .card img {
    display: block;
    width: 100%;
    object-fit: cover;
}

@media screen and (max-width: 650px){
    #hero .grid{
        grid-template-columns: 1fr;
    }
}

#about h2 {
    text-align: center;
    margin: 0;
}

#about .flex {
    display: flex;
    justify-content: space-between;
    gap: 2rem;
    padding-top: 2rem;
    align-items: center;
}

#about p:nth-child(1) {
    margin-top: 0;
}

#about p{
    line-height: 2em;
    max-width: 50em;
}

#about .right {
    flex-grow: 1;
    max-width: 26rem;
}

#about .right img {
    display: block;
    width: 100%;
}

@media screen and (max-width: 850px){
    #about .flex{
        flex-direction: column;
    }
    #about .right{
        max-width: unset;
    }
}

#contact {
    --heading-color: #ffffff;
}

#contact .bg {
    background-image: url('/assets/about/contact.png');
    background-repeat: no-repeat;
    background-size: cover;
}

#contact .container {
    padding: 4rem 2rem;
    background: linear-gradient(90deg, #000000aa, #74747400);
}

#contact h2 {
    margin-top: 0px;
    font-family: "Libre Baskerville", serif;
    font-size: 3rem;
    font-size: clamp(2rem, 6vw, 3rem);
    max-width: 12em;
    line-height: 1.6em;
}

@media screen and (max-width: 650px){
    #contact .container{
        padding: 4rem 1rem;
        text-align: center;
    }
}

#accomplishments .flex {
    display: flex;
    flex-direction: row;
    overflow-x: auto;
    gap: 2rem;
}

#accomplishments .flex::-webkit-scrollbar {
    height: 10px;
    background-color: var(---text-color);
}

#accomplishments .flex::-webkit-scrollbar-thumb {
    border-radius: 10px;
    background-color: var(--pink);
}

#accomplishments h2{
    margin: 0;
    text-align: center;
}

#accomplishments .card {
    margin: 2rem 0;
    text-align: center;
    display: block;
    text-decoration: none;
    color: var(--text-color);
}


#accomplishments .card img {
    height: 25rem;
    width: auto;
    object-fit: cover;
    display: block;
    cursor: pointer;
}


#accomplishment .card:hover img {
    filter: brightness(1.1);
}

@media screen and (max-width: 650px) {
    #accomplishments .flex{
        gap: 1rem;
    }
    #accomplishments .card img {
        height: 15rem;
    }
}


#features h2 {
    text-align: center;
}

#features .grid {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr 1fr;
    grid-gap: 2rem;
    padding: 2rem 0;
}

#features .card {
    border: 2px solid var(--block-bg);
    padding: 2rem;
    text-align: center;
}

#features h3{
    margin-bottom: 0;
}


@media screen and (max-width: 650px) {
    #features .grid {
        grid-template-columns: 1fr 1fr;
        grid-gap: 1rem;
        padding: 1rem 0;
    }
}


@media screen and (max-width: 650px) {
    #features .grid {
        grid-template-columns: 1fr;
        grid-gap: 1rem;
    }
    
    #features .card{
        padding: 2rem 1rem;
    }
}
