html {
    background-color: #202020;
    color: white;
    scroll-behavior: smooth;
}

body {
    margin: 0;
    padding: 20px;
    font-family: 'Lato', sans-serif;
    font-weight: 400;
    font-size: 18px;
}

h1 {
    font-style: italic;
    font-size: 50px;
    margin-bottom: 0px;
}

.hero-container {
    margin-top: 185px;
    display: flex;
    flex-direction: row;
    justify-content: space-evenly;
    height: 72vh;
}




/* ----------------- */
/* LEFT COLUMN STUFF */
/* ----------------- */

#left-column {
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
}

#profile-pic {
    width: 275px;
    height: 275px;
    border: 3px solid #d69618;
    border-radius: 100%;
    box-shadow: 0 0 15px rgba(214, 150, 24, 0.5);
    transition: box-shadow 0.3s ease-in-out;
}

#profile-pic:hover {
    box-shadow: 0 0 25px rgba(214, 150, 24, 0.7);
}


#profile-pic img {
    width: 100%;
    height: 100%;
    border-radius: 100%;
}

#left-row {
    display: flex;
    flex-direction: row;
    justify-content: center;
    width: 100%;
    margin-top: 5px;
}


#left-row i {
    font-size: 30px;
    margin-top: 15px;
    padding: 0 10px;
    color: #d69618;
    transition: font-size 0.1s ease-in-out;
}

#left-row i:hover {
    color: #f0c14b;
    font-size: 35px;
    
}




/* ------------------ */
/* RIGHT COLUMN STUFF */
/* ------------------ */

#right-column {
    width: 45%;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: flex-start;
}

#bio {
    line-height: 1.5;
}

.btn {
    color: white;
    padding: 10px 20px;
    margin-right: 10px;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    font-size: 18px;
    transition: background-color 0.3s ease-in-out, transform 0.2s ease-in-out, border-color 0.3s ease-in-out;
}

#left-btn {
    background-color: #d69618;
    border: #d69618 solid 2px;
}

#left-btn:hover {
    background-color: #f0c14b;
    border-color: #f0c14b;
    transform: scale(1.05);
}

#right-btn {
    background-color: #3c3c3c;
    border: #d69618 solid 2px;
}

#right-btn:hover {
    background-color:#f0c14b;
    border-color: #f0c14b;
    transform: scale(1.05);
}


#back-to-top-btn {
    display: none;
    position: fixed;
    bottom: 50px;
    right: 35px;
    color: white;
    background-color: #3c3c3c;
    font-size: 18px;
    padding: 10px 16px;
    border: #d69618 solid 2px;
    border-radius: 8px;
    transition: background-color 0.3s ease-in-out, transform 0.2s ease-in-out, border-color 0.3s ease-in-out;
}

#back-to-top-btn:hover {
    background-color: #f0c14b;
    border-color: #f0c14b;
    transform: scale(1.05);
}



/* --------------- */
/* Project Gallery */
/* --------------- */

h2 {
    font-size: 30px;
    margin: -10px 185px 15px 185px; 
}

#project-gallery-link {
    text-decoration: none;
    color: inherit;
}

#project-gallery {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: space-between;
    margin: 0 185px 200px 185px;
    padding-top: 10px;
}

.project-item-anchor-tag {
    display: block;
    text-decoration: none;
}

.project-item {
    border: #797978 solid 2px;
    border-radius: 10px;
    background-color:#3c3c3c;
    width: calc(30% - 10px);
    margin-bottom: 20px;
    padding: 15px;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    transition: background-color 0.3s ease-in-out, transform 0.2s ease-in-out, border-color 0.3s ease-in-out;
}

.project-item:hover {
    background-color: #4c4c4c;
    border-color: #f0c14b;
    transform: scale(1.01);
    
}

.project-item p {
    margin-top: 0px;
}

.project-title-row {
    display: flex;
    flex-direction: row;
    justify-content: flex-start;
    align-items: center;
    margin-top: 8px;
    margin-bottom: 3px;
    height: 25px;
}

.project-title {
    font-size: 22px;
    font-weight: 700;
    color: #f0c14b;
}

.project-info-icons {
    margin-left: 6px;
    padding-bottom: 2px;
    color: #fff;
    font-size: 16px;
}

.project-image-container {
    border-radius: 10px;
    margin-bottom: 15px;
}

.project-image {
    width: 100%;
    object-fit: cover;
    border-radius: 10px;
}

.project-description {
    color: #fff !important;
}

.project-description-fix {
    color: #fff !important;
}

.project-description a {
    color: #f0c14b;
    text-decoration: none;
}



/* ------------ */
/* CV Container */
/* ------------ */
#cv-pdf-link {
    text-decoration: none;
    color: #fff;
    margin-bottom: 15px;
}

#cv-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 15px 20px 0 20px;
    /* border: #797978 solid 2px; */
    border-radius: 10px;
}

#cv-pdf {
    border: none;
    border-radius: 10px;
    box-shadow: 0 0 15px rgba(0, 0, 0, 0.5);
}

/* ---------------- */
/* Link Preview Bar */
/* ---------------- */
#link-preview-bar {
    position: fixed;
    left: 0;
    bottom: 0;
    width: 100%;
    background: #222;
    color: #f0c14b;
    padding: 12px 24px;
    font-size: 16px;
    z-index: 9999;
    box-shadow: 0 -2px 10px rgba(0,0,0,0.3);
    pointer-events: none;
    font-family: 'Lato', sans-serif;
}


footer {
    margin: auto;
    text-align: center;
    padding-top: 150px;
    color: #f0c14b;
    font-size: 16px;
}

footer p {
    margin: 0;
    padding-top: 5px;
}



/* ----------------------------- */
/* For Portrait Screens & Phones */
/* ----------------------------- */
@media (max-width: 700px) {
    .hero-container {
        flex-direction: column;
        align-items: center;
        margin-top: 25px;
        margin-bottom: 85px;
        height: auto;
        padding: 0 10px;
    }

    #left-column {
        flex-direction: column;
        align-items: flex-start;
        width: 100%;
        margin-bottom: 25px;
    }

    #profile-pic {
        width: 200px;
        height: 200px;
        margin: auto;
        border-color: #f0c14b;
    }

    #left-row {
        position: absolute;
        top: 7px;
        left: 10px;
        flex-direction: column;
        align-items: center;
        margin-top: 0;
        width: auto;
    }

    #left-row a {
        margin: 6px 0;
        display: block;
    }

    #left-row i {
        color: #f0c14b;
        font-size: 28px;
        margin-top: 0;
        padding: 0 2px 0 0;
    }

    #left-row i:hover {
        font-size: 30px;
    }

    #right-column {
        width: 100%;
        align-items: center;
        margin-top: -10px;
    }

    #bio {
        text-align: center;
        font-size: 16px;
        margin-bottom: 20px;
    }

    .btn-row {
        display: flex;
        flex-direction: column;
        align-items: center;
        width: 100%;
        gap: 10px;
    }

    .btn {
        width: 90vw;
        max-width: 200px;
        margin: 0 0 10px 0;
        font-size: 16px;
    }

    #left-btn {
        background-color: #f0c14b;
        border: #f0c14b solid 2px;
    }

    #right-btn {
        border: #f0c14b solid 2px;
    }
    

    h1 {
        font-size: 32px;
        text-align: center;
    }

    h2 {
        font-size: 22px;
        margin: 20px 0 10px 0;
        text-align: center;
    }

    #project-gallery {
        flex-direction: column;
        margin: 0 0 80px 0;
        padding: 0;
        align-items: center;
    }

    .project-item {
        width: 80vw;
        max-width: 400px;
        margin: 0 0 20px 0;
        padding: 10px;
    }

    .project-title {
        color: #f0c14b;
    }

    .project-title-row {
        flex-direction: row;
        align-items: center;
    }

    .project-image {
        max-height: 180px;
        object-fit: cover;
    }

    #cv-container {
        padding: 10px 0 0 0;
    }

    #cv-pdf {
        width: 90vw;
        height: 90vw;
        min-height: 350px;
        max-width: 400px;
    }

    footer {
        padding-top: 60px;
        font-size: 14px;
    }

    #back-to-top-btn {
        right: 10px;
        bottom: 10px;
        font-size: 15px;
        padding: 8px 12px;
        border-color: #f0c14b;
    }

    #link-preview-bar {
        font-size: 13px;
        padding: 8px 10px;
    }
}