@import "common.css";

.page{
    font-family:Arial, Helvetica, sans-serif;
    max-width: var(--maxw);
    margin: 20px auto;
    color: var(--light);
    position: relative;
    z-index: 1;
}

.hero{
    display: flex;
    max-width: var(--maxw);
    margin: 30px auto;
    padding: 0 50px;
    flex-wrap: wrap;
    text-align: left;
    align-items: center;
}
.hero-text{
    flex: 3 1 0;
    min-width: 0;
}
.hero-image{
    flex:1;
    transform: rotateZ(30deg);
}

@media screen and (max-width: 950px) {
    .hero-image svg {
        width: 100px;
        height: 100px;
    }
}

.hero-image img{
    display: block;
    max-width: 100%;
    height: auto;
}

.hero-icons{
    display: flex;
    gap: 40px;
}

.hicon{
    display: block;
    padding: 4px 4px;
    fill: white;
    transition: fill 0.3s ease;
}

.hicon:hover{
    background-color: #cfcfcf;
    border-radius: 8px;
    fill:var(--accent);
    transition: fill 0.3s ease;
}

.moreBtn {
    min-width: 250px;
    flex-basis: 100%;
    display: flex;
    justify-content: center;
    margin-bottom: 20px;
}

.hbutton {
    color: white;
    background-size: 200% 100%;
    background: linear-gradient(90deg, #cd5c11, #ff8737) left;
    font-size: 1rem;
    padding: 0.8em 1.1em;
    border: 1px solid rgb(52, 52, 52);
    border-radius: var(--radius);
    transition: background-position 0.7s ease, box-shadow 0.1s ease;
    display: inline-flex;
    align-items: center;
    gap: 10px;
}

.hbutton .arrow{
    margin-bottom: -5px;
    transition: transform 0.3s ease;
}

.hbutton:hover .arrow{
    transform: translateX(5px);
}

.hbutton:hover{
    background-position: right;
    border: 1px solid white;
    box-shadow:0 16px 20px rgba(0,0,0,.45);
}

.section-header{
    margin-top: 10rem;
    font-size: 25px;
    text-align: center;
}

.projects-container{
    position: relative;
    z-index: 1;
    display: flex;
    flex-wrap: wrap;
    min-width: 200px;
    max-width: 800px;
    margin: 0 auto;
    justify-content: center;
    background: rgba(49, 49, 49, 0.301);                 
    box-shadow: 0 10px 30px rgba(0,0,0,.35), inset 0 1px 0 rgba(255,255,255,.06);
    border-radius: 25px;
}

.card {
    width: 300px;
    margin: 24px auto;
    border-radius: 28px;
    background: linear-gradient(180deg, #242424 0%, #1f1f1f 100%);
    border: 1px solid rgba(255, 255, 255, 0.276);
    overflow: hidden;
    transition: transform .2s ease, box-shadow .2s ease;
}

.card:hover{
    transform: translateY(-2px);
    box-shadow:0 16px 40px rgba(0,0,0,.45);
}

.card-header{
    padding: 24px;
    background: linear-gradient(180deg, rgba(255,255,255,.04) 0%, rgba(0,0,0,.0) 100%);
}

.card-header a{
    color: white;
}

.card-header h3{
    margin: 0;
    font-size: 28px;
    letter-spacing: 1px;
}

.badge{
    display: inline-block;
    font-weight: 100;
    margin-top:8px; 
    border-radius:12px;
    color:#ddd; 
    font-size:.9rem; 
    transition: text-decoration .5s ease;
}

.ghlink:hover .badge{
    text-decoration: underline;
}

.card-arrow{
    opacity: 0;
    transition: opacity .3s ease;
}

.ghlink:hover .card-arrow{
    opacity: 1;
    transition: opacity .3s ease;
}

.card-body{ padding: 24px; background: linear-gradient(180deg, rgba(255,255,255,.02), rgba(0,0,0,.1)); }
.card-body h4{ margin:0 0 10px; color:#e8e8e8; }
.card-body ul{ margin:0 0 18px 1.1rem; color:#bcbcbc; }
.card-body li{
    margin: 6px 0 6px -30px;
}

.pills{ display:flex; flex-wrap:wrap; gap:10px; }
.pill{
  background: var(--accent);
  color:#fff;
  padding:6px 12px;
  border-radius:10px;
  font-size:.9rem;
  box-shadow: inset 0 -2px 0 rgba(0,0,0,.2);
}

.about{
    max-width: 800px;
    margin: 30px auto;
    padding: 0 50px;
    flex-wrap: wrap;
    text-align: left;
    z-index: 1;
    position: relative;
}

.about-container{
    background: rgba(49, 49, 49, 0.301);                 
    box-shadow: 0 10px 30px rgba(0,0,0,.35), inset 0 1px 0 rgba(255,255,255,.06);
    padding: 20px;
    border-radius: 15px;
    font-weight: 100;
}

.footer{
    padding: 1rem;
    text-align: center;
}