/*
#79212E
#C43D40
#EEC2AA


*/



:root{
    --primary-color: #79212E;
    --secondary-color: #C43D40;
    --b:#153AA0;
    --border:#a1a191;
    --hover:#EEC2AA;
    --txt:#161612;

    /* CSS HEX */
    --black-bean: #260402ff;
    --fern-green: #588157ff;
    --hunter-green: #3a5a40ff;
}
* {
    padding: 0;
    margin: 0;
    outline: none;
    font-family: Arial, Helvetica, sans-serif;
    box-sizing: border-box;
    color: var(--txt);
    scroll-behavior: smooth;
}
a {
    text-decoration: none;
}
header{
    display: flex;
    margin:1rem;
    justify-content: center;
    background: url(/images/bbg.jpg);
    border-radius: 1rem;

    background-size: cover;
    background-repeat: no-repeat;
}

.solid{
    color: var(--primary-color);
    background-color: #8C736550;
    backdrop-filter: blur(8px);
    padding: 8px;
    border-radius: 8px;
    text-align: center;
    border: var(--primary-color) solid 1px;

    -webkit-border-radius: 8px;
    -moz-border-radius: 8px;
    -ms-border-radius: 8px;
    -o-border-radius: 8px;
}
body {
    background: url(/images/back.jpg), var(--b);
    background-size: cover;
    background-attachment: fixed;
    min-height: 100vh;
}

footer.blur{
    text-align: center;
    border-bottom-left-radius: 0;
    border-bottom-right-radius: 0;
    border-bottom: 0;
    border-left: 0;
    border-right: 0;
}
.blur{
    background-color: #a3a3a053;
    backdrop-filter: blur(24px);
    border-radius: 1rem;
    padding: 1rem;
    border: var(--border) 1px solid;
    /*background-color: #f8f8f6;
    */box-shadow: .125rem .125rem 8px #52524633;
}
h1{
    font-size: 2.5rem;
    font-weight: 700;
}
h3{
    font-size: 1.5rem;
    font-weight: 400;
    text-align: center;
}
#title{
    color: var(--primary-color);
    text-underline-offset: 2px;
    transition: background-color .25s ease;
    text-decoration: none;
}
main{
    max-width: 1000px;
    width: 100%;
    margin: 16px auto ;
    padding: 0 16px;
    flex-grow: 1;
}
#me{
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
}
.banner{
    margin-bottom: 2rem;
    background-image: none;
}
#projects{
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px,1fr));
    grid-column-gap: 12px;
    grid-row-gap: 12px;
    margin-top: -24px;
    margin-bottom: 0;
}
.card{
    padding-bottom: 2rem;
    min-width: 350px;
}
.link{
    color: var(--primary-color);
    text-decoration: underline;
    text-underline-offset: 2px;
    transition: background-color .25s ease;
    &:hover {
        background-color: var(--hover);
    }
}
.avatar{
    margin:1rem;
    margin-top: 0;
    width: 100%;
}
.avatar > img{
    width: 100%;
    /* width: 240px;
    height: 240px; */
    border-radius: 50%;
}
.blur > :not(:last-child) {
    margin-bottom: .5rem;
}
#bio{
    max-width: 500px;
}
h2{
    font-size: 2rem;
    font-weight: 400;
    color: var(--primary-color);
}
h4{
    font-size: 1.5rem;
    font-weight: 700;
}
#bio > :not(:last-child) {
    margin-bottom: 12px;
}
p{
    font-size: 1rem;
    font-weight: 400;
    line-height: 1.5rem;
}
#contact{
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    margin-top: 1.5rem;
    gap: 8px;
}
.icon-link > svg{
    height: 2rem;
    width: 2rem;
    fill: white;
}
.icon-link{
    padding: 5px;
    border-radius: 1rem;
    padding: .5rem;
    border: var(--border) 1px solid;
    border-radius: 10px;
    aspect-ratio: 1;
}
.tags{
    text-align: right;
    position: absolute;
    bottom: 1rem;
    right: 1rem;
}

.tag {
    display: inline-block;
    border-radius: 3px;
    padding: 0 .2em ;
    border-radius: 2px;
    background: var(--tag-bg);
    color: var(--text-color);
    font-weight: 600;
    margin: .25em .1em
}
.tag-js{
    background: #EFD81D;
    color: #000
}
.tag-html{
    background: #E96228;
    color: #000
}
.tag-css{
    background: #2862E9;
    color: #000
}


#bio >p {
    text-align: center;
}

@media (min-width: 774px){
    body{
        display: flex;
    }
    #me{
        width: 360px;
    }
}

@media (max-width: 773px){
    .avatar >img{
        max-width: 320px;
    }
    .avatar{
        display: flex;
        justify-content: center;
    }
}